From 81543e3a4c4e3a845507ee38308f52a8198204c3 Mon Sep 17 00:00:00 2001 From: fahim Date: Wed, 29 Jul 2015 16:05:35 +0530 Subject: Subject: Set Welcome and Note area ReadOnly Description: Set Welcome and Note area ReadOnly --- src/frontEnd/DockArea.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/frontEnd/DockArea.py') 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; } \ -- cgit