summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorunknown2019-06-03 18:55:57 +0530
committernilshah982019-06-07 11:02:16 +0530
commit7e7b6d372aac718f857fcad5c49faf019ff83bb4 (patch)
tree8611828e75486151b31100486b6a058f5f785650 /src
parent30c607ef581345958f0f9bdb5dd5603a1dd774c8 (diff)
downloadeSim-7e7b6d372aac718f857fcad5c49faf019ff83bb4.tar.gz
eSim-7e7b6d372aac718f857fcad5c49faf019ff83bb4.tar.bz2
eSim-7e7b6d372aac718f857fcad5c49faf019ff83bb4.zip
browser made pep8 compliant + documentation
Diffstat (limited to 'src')
-rw-r--r--src/browser/UserManual.py13
-rw-r--r--src/browser/Welcome.py8
2 files changed, 12 insertions, 9 deletions
diff --git a/src/browser/UserManual.py b/src/browser/UserManual.py
index bcff4f97..3bcfbace 100644
--- a/src/browser/UserManual.py
+++ b/src/browser/UserManual.py
@@ -1,17 +1,20 @@
from PyQt4 import QtGui
import webbrowser
+
class UserManual(QtGui.QWidget):
"""
This class creates Welcome page of eSim.
"""
+
def __init__(self):
QtGui.QWidget.__init__(self)
-
+
self.vlayout = QtGui.QVBoxLayout()
-
+
self.url = "../browser/pages/User-Manual/eSim.html"
- self.test = webbrowser.open("../browser/pages/User-Manual/eSim.html",new=2)
-
+ self.test = webbrowser.open(
+ "../browser/pages/User-Manual/eSim.html", new=2)
+
self.setLayout(self.vlayout)
- self.show() \ No newline at end of file
+ self.show()
diff --git a/src/browser/Welcome.py b/src/browser/Welcome.py
index 5f41f002..2ae8fce1 100644
--- a/src/browser/Welcome.py
+++ b/src/browser/Welcome.py
@@ -1,11 +1,11 @@
-from PyQt4 import QtGui,QtCore
+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."""
QtGui.QWidget.__init__(self)
self.vlayout = QtGui.QVBoxLayout()