only allow to select rows

This commit is contained in:
Martin Brodbeck 2018-07-17 13:03:06 +02:00
parent 9d125bbd39
commit 46e7de47ec

View file

@ -39,6 +39,9 @@
<property name="sizeAdjustPolicy"> <property name="sizeAdjustPolicy">
<enum>QAbstractScrollArea::AdjustToContents</enum> <enum>QAbstractScrollArea::AdjustToContents</enum>
</property> </property>
<property name="selectionBehavior">
<enum>QAbstractItemView::SelectRows</enum>
</property>
</widget> </widget>
</item> </item>
<item> <item>
@ -52,6 +55,9 @@
</item> </item>
<item> <item>
<widget class="QPushButton" name="editButton"> <widget class="QPushButton" name="editButton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text"> <property name="text">
<string>Bearbeiten</string> <string>Bearbeiten</string>
</property> </property>