summaryrefslogtreecommitdiff
path: root/portato/gui/templates/ui
diff options
context:
space:
mode:
authornecoro <>2007-05-07 07:30:41 +0000
committernecoro <>2007-05-07 07:30:41 +0000
commitc87ec9a27f2d70c7c6449ed1cadc58d003f6b0c0 (patch)
treed7156245c25f678535ae19018104fdda01f6c8c6 /portato/gui/templates/ui
parentce3139188ed3f4564d37a1ffb02bb20daff6adb1 (diff)
downloadportato-c87ec9a27f2d70c7c6449ed1cadc58d003f6b0c0.tar.gz
portato-c87ec9a27f2d70c7c6449ed1cadc58d003f6b0c0.tar.bz2
portato-c87ec9a27f2d70c7c6449ed1cadc58d003f6b0c0.zip
added the ability of sorting the pkglist by installation status
Diffstat (limited to 'portato/gui/templates/ui')
-rw-r--r--portato/gui/templates/ui/MainWindow.ui16
1 files changed, 15 insertions, 1 deletions
diff --git a/portato/gui/templates/ui/MainWindow.ui b/portato/gui/templates/ui/MainWindow.ui
index 5b8d0d9..def2d67 100644
--- a/portato/gui/templates/ui/MainWindow.ui
+++ b/portato/gui/templates/ui/MainWindow.ui
@@ -71,6 +71,9 @@
</item>
<item>
<widget class="QListWidget" name="pkgList" >
+ <property name="contextMenuPolicy" >
+ <enum>Qt::ActionsContextMenu</enum>
+ </property>
<property name="editTriggers" >
<set>QAbstractItemView::NoEditTriggers</set>
</property>
@@ -78,7 +81,7 @@
<bool>false</bool>
</property>
<property name="sortingEnabled" >
- <bool>true</bool>
+ <bool>false</bool>
</property>
</widget>
</item>
@@ -507,6 +510,17 @@ p, li { white-space: pre-wrap; }
<string>&amp;Oneshot</string>
</property>
</action>
+ <action name="pkgListSortAction" >
+ <property name="checkable" >
+ <bool>true</bool>
+ </property>
+ <property name="checked" >
+ <bool>true</bool>
+ </property>
+ <property name="text" >
+ <string>Sort by Name</string>
+ </property>
+ </action>
</widget>
<customwidgets>
<customwidget>