diff options
Diffstat (limited to 'src/browser')
-rw-r--r-- | src/browser/UserManual.py | 8 | ||||
-rw-r--r-- | src/browser/Welcome.py | 10 |
2 files changed, 9 insertions, 9 deletions
diff --git a/src/browser/UserManual.py b/src/browser/UserManual.py index 886d88a5..e723680a 100644 --- a/src/browser/UserManual.py +++ b/src/browser/UserManual.py @@ -1,18 +1,18 @@ -from PyQt4 import QtGui +from PyQt5 import QtWidgets import subprocess import os -class UserManual(QtGui.QWidget): +class UserManual(QtWidgets.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) + QtWidgets.QWidget.__init__(self) - self.vlayout = QtGui.QVBoxLayout() + self.vlayout = QtWidgets.QVBoxLayout() manual = 'library/browser/User-Manual/eSim_Manual_2.1.pdf' diff --git a/src/browser/Welcome.py b/src/browser/Welcome.py index aa7b612f..f864a21f 100644 --- a/src/browser/Welcome.py +++ b/src/browser/Welcome.py @@ -1,17 +1,17 @@ -from PyQt4 import QtGui, QtCore +from PyQt5 import QtCore, QtWidgets import os -class Welcome(QtGui.QWidget): +class Welcome(QtWidgets.QWidget): """ This class contains content of dock area part of initial esim Window. It creates Welcome page of eSim. """ def __init__(self): - QtGui.QWidget.__init__(self) - self.vlayout = QtGui.QVBoxLayout() - self.browser = QtGui.QTextBrowser() + QtWidgets.QWidget.__init__(self) + self.vlayout = QtWidgets.QVBoxLayout() + self.browser = QtWidgets.QTextBrowser() init_path = '../../' if os.name == 'nt': |