Set inbox and sent preview panels to read only.

This commit is contained in:
UnderSampled 2013-08-15 10:01:36 -04:00
parent 782214c7b7
commit 13f029f34c
2 changed files with 11 additions and 2 deletions

View File

@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'bitmessageui.ui' # Form implementation generated from reading ui file 'bitmessageui.ui'
# #
# Created: Wed Aug 14 23:19:43 2013 # Created: Thu Aug 15 09:54:36 2013
# by: PyQt4 UI code generator 4.10 # by: PyQt4 UI code generator 4.10
# #
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!
@ -98,6 +98,7 @@ class Ui_MainWindow(object):
self.tableWidgetInbox.verticalHeader().setDefaultSectionSize(26) self.tableWidgetInbox.verticalHeader().setDefaultSectionSize(26)
self.textEditInboxMessage = QtGui.QTextEdit(self.splitter) self.textEditInboxMessage = QtGui.QTextEdit(self.splitter)
self.textEditInboxMessage.setBaseSize(QtCore.QSize(0, 500)) self.textEditInboxMessage.setBaseSize(QtCore.QSize(0, 500))
self.textEditInboxMessage.setReadOnly(True)
self.textEditInboxMessage.setObjectName(_fromUtf8("textEditInboxMessage")) self.textEditInboxMessage.setObjectName(_fromUtf8("textEditInboxMessage"))
self.verticalLayout_2.addWidget(self.splitter) self.verticalLayout_2.addWidget(self.splitter)
icon1 = QtGui.QIcon() icon1 = QtGui.QIcon()
@ -223,6 +224,7 @@ class Ui_MainWindow(object):
self.tableWidgetSent.verticalHeader().setVisible(False) self.tableWidgetSent.verticalHeader().setVisible(False)
self.tableWidgetSent.verticalHeader().setStretchLastSection(False) self.tableWidgetSent.verticalHeader().setStretchLastSection(False)
self.textEditSentMessage = QtGui.QTextEdit(self.splitter_2) self.textEditSentMessage = QtGui.QTextEdit(self.splitter_2)
self.textEditSentMessage.setReadOnly(True)
self.textEditSentMessage.setObjectName(_fromUtf8("textEditSentMessage")) self.textEditSentMessage.setObjectName(_fromUtf8("textEditSentMessage"))
self.verticalLayout.addWidget(self.splitter_2) self.verticalLayout.addWidget(self.splitter_2)
icon3 = QtGui.QIcon() icon3 = QtGui.QIcon()

View File

@ -193,6 +193,9 @@
<height>500</height> <height>500</height>
</size> </size>
</property> </property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget> </widget>
</widget> </widget>
</item> </item>
@ -486,7 +489,11 @@ p, li { white-space: pre-wrap; }
</property> </property>
</column> </column>
</widget> </widget>
<widget class="QTextEdit" name="textEditSentMessage"/> <widget class="QTextEdit" name="textEditSentMessage">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</widget> </widget>
</item> </item>
</layout> </layout>