implement contextual menu to listWidgets

This commit is contained in:
arcan1s
2014-11-18 11:54:23 +03:00
parent f56f319075
commit f0c79a4dab
4 changed files with 66 additions and 8 deletions

View File

@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>700</width>
<height>592</height>
<height>590</height>
</rect>
</property>
<property name="sizePolicy">
@ -41,9 +41,9 @@
<property name="geometry">
<rect>
<x>0</x>
<y>-225</y>
<width>677</width>
<height>801</height>
<y>-239</y>
<width>675</width>
<height>813</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_8">
@ -469,7 +469,11 @@ $m - uptime minutes without zero</string>
</layout>
</item>
<item>
<widget class="QListWidget" name="listWidget_bars"/>
<widget class="QListWidget" name="listWidget_bars">
<property name="contextMenuPolicy">
<enum>Qt::CustomContextMenu</enum>
</property>
</widget>
</item>
</layout>
</item>