Making a lot of ui widgets read-only to avoid suggesting that the content is editable

parent 3d7e38d1
......@@ -70,6 +70,7 @@ public:
: QPlainTextEdit( pParent )
{
m_pOutStream = new COutStream( this );
};
inline ~RedstartCoreOutputPlainTextEdit()
......
......@@ -35,7 +35,7 @@ public:
this->setModel( m_pModel );
SetDefaults();
//setEditTriggers( QAbstractItemView::NoEditTriggers );
setEditTriggers( QAbstractItemView::NoEditTriggers );
//setSelectionMode( QAbstractItemView::SingleSelection );
};
......
......@@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>550</width>
<height>336</height>
<height>338</height>
</rect>
</property>
<property name="windowTitle">
......@@ -215,7 +215,11 @@
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="lineEdit_inverse_hpir_file"/>
<widget class="QLineEdit" name="lineEdit_inverse_hpir_file">
<property name="text">
<string>HD650_all_inv.wav</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QPushButton" name="pushButton_inverse_hpir_file_select">
......
......@@ -425,7 +425,11 @@ background-color: rgb(208, 255, 188);</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_7">
<item>
<widget class="QListView" name="listView_server_connected_clients"/>
<widget class="QListView" name="listView_server_connected_clients">
<property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set>
</property>
</widget>
</item>
</layout>
</widget>
......@@ -440,7 +444,11 @@ background-color: rgb(208, 255, 188);</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_9">
<item>
<widget class="QListView" name="listView_macros"/>
<widget class="QListView" name="listView_macros">
<property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set>
</property>
</widget>
</item>
</layout>
</widget>
......@@ -472,7 +480,11 @@ background-color: rgb(208, 255, 188);</string>
</widget>
</item>
<item row="0" column="0" colspan="2">
<widget class="QListView" name="listView_paths"/>
<widget class="QListView" name="listView_paths">
<property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set>
</property>
</widget>
</item>
</layout>
</widget>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment