summaryrefslogtreecommitdiff
path: root/src/browser/UserManual.py
blob: f733bb93f0fd494fec1e343e2472c5c36cff4aa2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
from PyQt4 import QtGui
import webbrowser


class UserManual(QtGui.QWidget):
    """
    This class opens User-Manual page in new tab of web browser
    when help button is clicked.
    """

    def __init__(self):
        QtGui.QWidget.__init__(self)

        self.vlayout = QtGui.QVBoxLayout()

        self.url = "library/browser/User-Manual/eSim.html"
        self.test = webbrowser.open(
            "library/browser/User-Manual/eSim.html", new=2)

        self.setLayout(self.vlayout)
        self.show()