summaryrefslogtreecommitdiff
path: root/src/browser
diff options
context:
space:
mode:
authorrahulp132020-02-21 12:39:52 +0530
committerrahulp132020-02-21 12:39:52 +0530
commit567e3b725fcc9d22e27cfd854a573d3e64deaff1 (patch)
treeabd4d995d5891a1196a7ca421b7d7b33cad75552 /src/browser
parent982b49ef618222af80162aa98c07ab281dec1692 (diff)
downloadeSim-567e3b725fcc9d22e27cfd854a573d3e64deaff1.tar.gz
eSim-567e3b725fcc9d22e27cfd854a573d3e64deaff1.tar.bz2
eSim-567e3b725fcc9d22e27cfd854a573d3e64deaff1.zip
restructured code - pyinstaller
Diffstat (limited to 'src/browser')
-rw-r--r--src/browser/UserManual.py4
-rw-r--r--src/browser/Welcome.py4
2 files changed, 5 insertions, 3 deletions
diff --git a/src/browser/UserManual.py b/src/browser/UserManual.py
index 6f09190b..f733bb93 100644
--- a/src/browser/UserManual.py
+++ b/src/browser/UserManual.py
@@ -13,9 +13,9 @@ class UserManual(QtGui.QWidget):
self.vlayout = QtGui.QVBoxLayout()
- self.url = "../browser/pages/User-Manual/eSim.html"
+ self.url = "library/browser/User-Manual/eSim.html"
self.test = webbrowser.open(
- "../browser/pages/User-Manual/eSim.html", new=2)
+ "library/browser/User-Manual/eSim.html", new=2)
self.setLayout(self.vlayout)
self.show()
diff --git a/src/browser/Welcome.py b/src/browser/Welcome.py
index 2d91bcc9..69584f10 100644
--- a/src/browser/Welcome.py
+++ b/src/browser/Welcome.py
@@ -12,7 +12,9 @@ class Welcome(QtGui.QWidget):
self.vlayout = QtGui.QVBoxLayout()
self.browser = QtGui.QTextBrowser()
- self.browser.setSource(QtCore.QUrl("../browser/pages/welcome.html"))
+ self.browser.setSource(QtCore.QUrl(
+ "library/browser/welcome.html")
+ )
self.browser.setOpenExternalLinks(True)
self.browser.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)