summaryrefslogtreecommitdiff
path: root/src/browser/Welcome.py.bak
diff options
context:
space:
mode:
Diffstat (limited to 'src/browser/Welcome.py.bak')
-rw-r--r--src/browser/Welcome.py.bak11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/browser/Welcome.py.bak b/src/browser/Welcome.py.bak
index 0f50e153..5c0195e2 100644
--- a/src/browser/Welcome.py.bak
+++ b/src/browser/Welcome.py.bak
@@ -1,19 +1,20 @@
-from PyQt4 import QtGui,QtCore
+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.browser.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
+
+ self.vlayout.addWidget(self.browser)
self.setLayout(self.vlayout)
self.show()