diff options
Diffstat (limited to 'src/browser/UserManual.py')
-rw-r--r-- | src/browser/UserManual.py | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/browser/UserManual.py b/src/browser/UserManual.py index fd0d94d9..72733a50 100644 --- a/src/browser/UserManual.py +++ b/src/browser/UserManual.py @@ -1,5 +1,5 @@ -from PyQt4 import QtGui,QtCore - +from PyQt4 import QtGui, QtCore +import webbrowser class UserManual(QtGui.QWidget): """ @@ -7,14 +7,18 @@ class UserManual(QtGui.QWidget): """ def __init__(self): 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.setSource(QtCore.QUrl("../browser/pages/welcome.html")) - #self.setOpenExternalLinks(True) + """ - self.vlayout.addWidget(self.browser) + 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 |