blob: 72733a5068f4d54390740f0951e1e3fa88f2893b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
from PyQt4 import QtGui, QtCore
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.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()
|