summaryrefslogtreecommitdiff
path: root/src/browser/Welcome.py
diff options
context:
space:
mode:
authorrahulp132020-08-03 12:03:41 +0530
committerrahulp132020-08-03 12:03:41 +0530
commit2eb6697de529a643127599070771a0278e9817b3 (patch)
treea024da46ce7e9712291ba6f7b3572ba37479c01a /src/browser/Welcome.py
parentd7e14cecfe0abdd9aeea5e589ddaeb5c302f5877 (diff)
downloadeSim-2eb6697de529a643127599070771a0278e9817b3.tar.gz
eSim-2eb6697de529a643127599070771a0278e9817b3.tar.bz2
eSim-2eb6697de529a643127599070771a0278e9817b3.zip
ported GUI to PyQt5
Diffstat (limited to 'src/browser/Welcome.py')
-rw-r--r--src/browser/Welcome.py10
1 files changed, 5 insertions, 5 deletions
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':