closes #4: Allowed to multiselect items on voucher and delete them via context menu or Ctrl+Del shortcut.

This commit is contained in:
2021-05-10 13:23:54 +02:00
parent ab20fe9b34
commit 30e6180c82
3 changed files with 94 additions and 24 deletions
+15 -1
View File
@@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>988</width>
<width>990</width>
<height>643</height>
</rect>
</property>
@@ -174,6 +174,12 @@
<height>0</height>
</size>
</property>
<property name="contextMenuPolicy">
<enum>Qt::CustomContextMenu</enum>
</property>
<property name="selectionBehavior">
<enum>QAbstractItemView::SelectRows</enum>
</property>
</widget>
</item>
<item>
@@ -599,6 +605,14 @@
</widget>
</item>
</layout>
<action name="actionDelete_items">
<property name="text">
<string>Delete items</string>
</property>
<property name="shortcut">
<string>Ctrl+Del</string>
</property>
</action>
</widget>
<resources>
<include location="../core/rc.qrc"/>