src/settingseditor/librarieseditor.ui

changeset 8
44679e468ba9
parent 7
68443f5be176
--- a/src/settingseditor/librarieseditor.ui	Sat Oct 05 23:47:03 2019 +0300
+++ b/src/settingseditor/librarieseditor.ui	Sun Nov 03 12:17:41 2019 +0200
@@ -37,7 +37,25 @@
    </item>
    <item>
     <widget class="QTableView" name="librariesTable">
-     <attribute name="verticalHeaderCascadingSectionResizes">
+     <property name="dragEnabled">
+      <bool>true</bool>
+     </property>
+     <property name="dragDropMode">
+      <enum>QAbstractItemView::InternalMove</enum>
+     </property>
+     <property name="defaultDropAction">
+      <enum>Qt::MoveAction</enum>
+     </property>
+     <property name="alternatingRowColors">
+      <bool>true</bool>
+     </property>
+     <property name="selectionMode">
+      <enum>QAbstractItemView::SingleSelection</enum>
+     </property>
+     <property name="selectionBehavior">
+      <enum>QAbstractItemView::SelectRows</enum>
+     </property>
+     <attribute name="horizontalHeaderStretchLastSection">
       <bool>true</bool>
      </attribute>
     </widget>

mercurial