summaryrefslogtreecommitdiff
path: root/src/browser
diff options
context:
space:
mode:
Diffstat (limited to 'src/browser')
-rw-r--r--src/browser/UserManual.py11
-rw-r--r--src/browser/Welcome.py4
2 files changed, 3 insertions, 12 deletions
diff --git a/src/browser/UserManual.py b/src/browser/UserManual.py
index 72733a50..bcff4f97 100644
--- a/src/browser/UserManual.py
+++ b/src/browser/UserManual.py
@@ -1,4 +1,4 @@
-from PyQt4 import QtGui, QtCore
+from PyQt4 import QtGui
import webbrowser
class UserManual(QtGui.QWidget):
@@ -9,16 +9,9 @@ class UserManual(QtGui.QWidget):
QtGui.QWidget.__init__(self)
self.vlayout = QtGui.QVBoxLayout()
-
- """
- self.browser = QtGui.QTextBrowser()
- self.browser.setSource(QtCore.QUrl("../browser/pages/User-Manual/eSim.html"))
- self.browser.setOpenExternalLinks(True)
- """
-
+
self.url = "../browser/pages/User-Manual/eSim.html"
self.test = webbrowser.open("../browser/pages/User-Manual/eSim.html",new=2)
- #self.vlayout.addWidget(self.browser)
self.setLayout(self.vlayout)
self.show() \ No newline at end of file
diff --git a/src/browser/Welcome.py b/src/browser/Welcome.py
index 87fb3164..f9e3bbd7 100644
--- a/src/browser/Welcome.py
+++ b/src/browser/Welcome.py
@@ -12,9 +12,7 @@ class Welcome(QtGui.QWidget):
self.browser = QtGui.QTextBrowser()
self.browser.setSource(QtCore.QUrl("../browser/pages/welcome.html"))
self.browser.setOpenExternalLinks(True)
- #self.setSource(QtCore.QUrl("../browser/pages/welcome.html"))
- #self.setOpenExternalLinks(True)
-
+
self.vlayout.addWidget(self.browser)
self.setLayout(self.vlayout)
self.show() \ No newline at end of file