summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfahim2015-08-03 18:21:02 +0530
committerfahim2015-08-03 18:21:02 +0530
commitac7e0e4bfc466af13cf6e600e08d8c055db31c3f (patch)
tree38a51fbfe18023623b4437b456f44d51a2c472f8 /src
parenta9e808fd75d09978d159678cf9ae39e38d8dbe37 (diff)
downloadeSim-ac7e0e4bfc466af13cf6e600e08d8c055db31c3f.tar.gz
eSim-ac7e0e4bfc466af13cf6e600e08d8c055db31c3f.tar.bz2
eSim-ac7e0e4bfc466af13cf6e600e08d8c055db31c3f.zip
Subject: Changes the way of opening user manual.
Description: User manual opens in firefox instead of dock area.
Diffstat (limited to 'src')
-rw-r--r--src/browser/UserManual.py14
-rw-r--r--src/browser/pages/welcome.html4
2 files changed, 11 insertions, 7 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
diff --git a/src/browser/pages/welcome.html b/src/browser/pages/welcome.html
index 5352da83..f525d5c1 100644
--- a/src/browser/pages/welcome.html
+++ b/src/browser/pages/welcome.html
@@ -30,6 +30,7 @@ pre{
#license{
font-size:8pt;
}
+
</style>
<head>
@@ -48,10 +49,9 @@ eSim is developed by the <b>FOSSEE team at IIT Bombay</b>. To know more about eS
<br />
<p>
To discuss more about eSim please visits at <a href=http://freeeda.in>http://freeeda.in</a>
+
</p>
<br />
-
-
</body>
</html>