From a240b67affd00ac162329f736a430f35cc38baba Mon Sep 17 00:00:00 2001 From: fahim Date: Fri, 31 Jul 2015 11:59:21 +0530 Subject: Subject: Updated Welcome page of eSim. Description: Updated Welcome page of eSim. --- src/browser/Welcome.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/browser/Welcome.py (limited to 'src/browser/Welcome.py') diff --git a/src/browser/Welcome.py b/src/browser/Welcome.py new file mode 100644 index 00000000..87fb3164 --- /dev/null +++ b/src/browser/Welcome.py @@ -0,0 +1,20 @@ +from PyQt4 import QtGui,QtCore + + +class Welcome(QtGui.QWidget): + """ + This class creates Welcome page of eSim. + """ + def __init__(self): + QtGui.QWidget.__init__(self) + self.vlayout = QtGui.QVBoxLayout() + + self.browser = QtGui.QTextBrowser() + self.browser.setSource(QtCore.QUrl("../browser/pages/welcome.html")) + self.browser.setOpenExternalLinks(True) + #self.setSource(QtCore.QUrl("../browser/pages/welcome.html")) + #self.setOpenExternalLinks(True) + + self.vlayout.addWidget(self.browser) + self.setLayout(self.vlayout) + self.show() \ No newline at end of file -- cgit