diff options
author | fahim | 2015-07-31 11:59:21 +0530 |
---|---|---|
committer | fahim | 2015-07-31 11:59:21 +0530 |
commit | a240b67affd00ac162329f736a430f35cc38baba (patch) | |
tree | 225ef1886c6fc83d3a67b8a3e9543e41e5dad785 /src/browser/Welcome.py | |
parent | 81543e3a4c4e3a845507ee38308f52a8198204c3 (diff) | |
download | eSim-a240b67affd00ac162329f736a430f35cc38baba.tar.gz eSim-a240b67affd00ac162329f736a430f35cc38baba.tar.bz2 eSim-a240b67affd00ac162329f736a430f35cc38baba.zip |
Subject: Updated Welcome page of eSim.
Description: Updated Welcome page of eSim.
Diffstat (limited to 'src/browser/Welcome.py')
-rw-r--r-- | src/browser/Welcome.py | 20 |
1 files changed, 20 insertions, 0 deletions
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 |