summaryrefslogtreecommitdiff
path: root/src/frontEnd/DockArea.py
diff options
context:
space:
mode:
authorfahim2015-07-29 16:05:35 +0530
committerfahim2015-07-29 16:05:35 +0530
commit81543e3a4c4e3a845507ee38308f52a8198204c3 (patch)
treef0d1ed00cceeb02f010f4c49163e7a9ae97df0a9 /src/frontEnd/DockArea.py
parent7cdabba6ca27643fc290c6fada8c8fa333e7f8fb (diff)
downloadeSim-81543e3a4c4e3a845507ee38308f52a8198204c3.tar.gz
eSim-81543e3a4c4e3a845507ee38308f52a8198204c3.tar.bz2
eSim-81543e3a4c4e3a845507ee38308f52a8198204c3.zip
Subject: Set Welcome and Note area ReadOnly
Description: Set Welcome and Note area ReadOnly
Diffstat (limited to 'src/frontEnd/DockArea.py')
-rw-r--r--src/frontEnd/DockArea.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/frontEnd/DockArea.py b/src/frontEnd/DockArea.py
index f1452497..c1a0b34d 100644
--- a/src/frontEnd/DockArea.py
+++ b/src/frontEnd/DockArea.py
@@ -20,7 +20,9 @@ class DockArea(QtGui.QMainWindow):
for dockName in dockList:
dock[dockName] = QtGui.QDockWidget(dockName)
- dock[dockName].setWidget(QtGui.QTextEdit())
+ self.welcome = QtGui.QTextEdit()
+ self.welcome.setReadOnly(True)
+ dock[dockName].setWidget(self.welcome)
#CSS
dock[dockName].setStyleSheet(" \
QWidget { border-radius: 15px; border: 1px solid gray; padding: 5px; width: 200px; height: 150px; } \