diff options
author | rahulp13 | 2020-07-24 01:57:19 +0530 |
---|---|---|
committer | rahulp13 | 2020-07-24 01:57:19 +0530 |
commit | cde494dc77c0d48cffa1e9aca77121fec0e94cf0 (patch) | |
tree | feec084c3df01ad0f79a3dca19d29878ed5ef019 /src/frontEnd/Workspace.py | |
parent | 8173e49d1a2d01d706dc8159aff507f7fc021964 (diff) | |
download | eSim-cde494dc77c0d48cffa1e9aca77121fec0e94cf0.tar.gz eSim-cde494dc77c0d48cffa1e9aca77121fec0e94cf0.tar.bz2 eSim-cde494dc77c0d48cffa1e9aca77121fec0e94cf0.zip |
fixed modality of workspace dialog with splash screen
Diffstat (limited to 'src/frontEnd/Workspace.py')
-rw-r--r-- | src/frontEnd/Workspace.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/frontEnd/Workspace.py b/src/frontEnd/Workspace.py index ee3a49f3..85dafdf3 100644 --- a/src/frontEnd/Workspace.py +++ b/src/frontEnd/Workspace.py @@ -49,11 +49,12 @@ class Workspace(QtGui.QWidget): self.grid = QtGui.QGridLayout() self.note = QtGui.QTextEdit(self) - self.workspace_label = QtGui.QLabel(self) - self.workspace_loc = QtGui.QLineEdit(self) - self.note.append(self.obj_appconfig.workspace_text) + self.note.setReadOnly(True) + + self.workspace_label = QtGui.QLabel(self) self.workspace_label.setText("Workspace:") + self.workspace_loc = QtGui.QLineEdit(self) self.workspace_loc.setText(self.obj_appconfig.home) # Buttons @@ -81,7 +82,7 @@ class Workspace(QtGui.QWidget): self.setMaximumSize(4000, 200) self.setWindowTitle("eSim") self.setWindowFlags(QtCore.Qt.WindowStaysOnTopHint) - self.note.setReadOnly(True) + self.setWindowModality(2) init_path = '../../' if os.name == 'nt': @@ -106,7 +107,7 @@ class Workspace(QtGui.QWidget): ) var_appView.show() - time.sleep(1) + time.sleep(1.5) var_appView.splash.close() def close(self, *args, **kwargs): @@ -166,7 +167,7 @@ class Workspace(QtGui.QWidget): ) var_appView.show() - time.sleep(1) + time.sleep(1.5) var_appView.splash.close() def browseLocation(self): |