diff options
author | Sunil Shetye | 2019-06-11 16:00:13 +0530 |
---|---|---|
committer | GitHub | 2019-06-11 16:00:13 +0530 |
commit | 19e57ec09fc6ddb8e1462ebc118841207497109b (patch) | |
tree | 85cc00b16004b7c64dc76ebdf4cc84d6b1a84499 /src/browser/Welcome.py.bak | |
parent | 8b986efb1c9216e284f6cc27a8f44d09e5c5cc59 (diff) | |
parent | 9e92a335fc364d391e9b524c226602a1677c2518 (diff) | |
download | eSim-19e57ec09fc6ddb8e1462ebc118841207497109b.tar.gz eSim-19e57ec09fc6ddb8e1462ebc118841207497109b.tar.bz2 eSim-19e57ec09fc6ddb8e1462ebc118841207497109b.zip |
Merge pull request #85 from nilshah98/pep8
Made pep8 compliant
Diffstat (limited to 'src/browser/Welcome.py.bak')
-rw-r--r-- | src/browser/Welcome.py.bak | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/browser/Welcome.py.bak b/src/browser/Welcome.py.bak new file mode 100644 index 00000000..5c0195e2 --- /dev/null +++ b/src/browser/Welcome.py.bak @@ -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.browser.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff) + + self.vlayout.addWidget(self.browser) + self.setLayout(self.vlayout) + self.show() |