summaryrefslogtreecommitdiff
path: root/src/browser
diff options
context:
space:
mode:
authormaddy-22019-05-27 12:32:49 +0530
committernilshah982019-06-07 11:03:14 +0530
commit28d8fd378bf717e8daba8a564708856769f24b98 (patch)
treeee8cc6592c690708d5f35cb5304feeae3d014c97 /src/browser
parent7e7b6d372aac718f857fcad5c49faf019ff83bb4 (diff)
downloadeSim-28d8fd378bf717e8daba8a564708856769f24b98.tar.gz
eSim-28d8fd378bf717e8daba8a564708856769f24b98.tar.bz2
eSim-28d8fd378bf717e8daba8a564708856769f24b98.zip
initialise pep8 compliance, using autopep8
Diffstat (limited to 'src/browser')
-rw-r--r--src/browser/Welcome.py4
-rw-r--r--src/browser/Welcome.py.bak11
2 files changed, 9 insertions, 6 deletions
diff --git a/src/browser/Welcome.py b/src/browser/Welcome.py
index 2ae8fce1..52e7d5bd 100644
--- a/src/browser/Welcome.py
+++ b/src/browser/Welcome.py
@@ -2,7 +2,9 @@ from PyQt4 import QtGui, QtCore
class Welcome(QtGui.QWidget):
- """This class creates Welcome page of eSim."""
+ """
+ This class creates Welcome page of eSim.
+ """
def __init__(self):
"""Sdf."""
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()