diff options
author | necoro <> | 2007-04-07 22:20:25 +0000 |
---|---|---|
committer | necoro <> | 2007-04-07 22:20:25 +0000 |
commit | f6b57b91d9af93a463b9549a6977feb48169c765 (patch) | |
tree | 6ae0881f73fd970f1387515527f122de2aedfb92 /portato/gui/qt/ui | |
parent | 6fdf641424e50fb7515b843612b0625e31c4cf02 (diff) | |
download | portato-f6b57b91d9af93a463b9549a6977feb48169c765.tar.gz portato-f6b57b91d9af93a463b9549a6977feb48169c765.tar.bz2 portato-f6b57b91d9af93a463b9549a6977feb48169c765.zip |
Some more functionality for the Qt-Frontend
Diffstat (limited to 'portato/gui/qt/ui')
-rw-r--r-- | portato/gui/qt/ui/MainWindow.ui | 51 | ||||
-rw-r--r-- | portato/gui/qt/ui/SearchDialog.ui | 78 |
2 files changed, 125 insertions, 4 deletions
diff --git a/portato/gui/qt/ui/MainWindow.ui b/portato/gui/qt/ui/MainWindow.ui index c7a5549..5a8f950 100644 --- a/portato/gui/qt/ui/MainWindow.ui +++ b/portato/gui/qt/ui/MainWindow.ui @@ -64,16 +64,23 @@ <property name="frameShadow" > <enum>QFrame::Sunken</enum> </property> + <property name="editTriggers" > + <set>QAbstractItemView::NoEditTriggers</set> + </property> </widget> </item> <item> - <widget class="QListView" name="pkgList" /> + <widget class="QListView" name="pkgList" > + <property name="editTriggers" > + <set>QAbstractItemView::NoEditTriggers</set> + </property> + </widget> </item> </layout> </widget> <widget class="QTabWidget" name="tabWidget" > <property name="currentIndex" > - <number>2</number> + <number>0</number> </property> <widget class="QWidget" name="pkgTab" > <attribute name="title" > @@ -214,6 +221,9 @@ p, li { white-space: pre-wrap; } <property name="horizontalScrollBarPolicy" > <enum>Qt::ScrollBarAsNeeded</enum> </property> + <property name="editTriggers" > + <set>QAbstractItemView::NoEditTriggers</set> + </property> <property name="rootIsDecorated" > <bool>true</bool> </property> @@ -295,7 +305,24 @@ p, li { white-space: pre-wrap; } <number>6</number> </property> <item> - <widget class="QTreeView" name="treeView" /> + <widget class="QTreeWidget" name="queueList" > + <property name="editTriggers" > + <set>QAbstractItemView::NoEditTriggers</set> + </property> + <property name="columnCount" > + <number>2</number> + </property> + <column> + <property name="text" > + <string>1</string> + </property> + </column> + <column> + <property name="text" > + <string>1</string> + </property> + </column> + </widget> </item> <item> <layout class="QHBoxLayout" > @@ -316,7 +343,7 @@ p, li { white-space: pre-wrap; } </sizepolicy> </property> <property name="text" > - <string>&Emerge</string> + <string>E&merge</string> </property> </widget> </item> @@ -419,5 +446,21 @@ p, li { white-space: pre-wrap; } </hint> </hints> </connection> + <connection> + <sender>searchEdit</sender> + <signal>returnPressed()</signal> + <receiver>searchBtn</receiver> + <slot>click()</slot> + <hints> + <hint type="sourcelabel" > + <x>287</x> + <y>49</y> + </hint> + <hint type="destinationlabel" > + <x>400</x> + <y>55</y> + </hint> + </hints> + </connection> </connections> </ui> diff --git a/portato/gui/qt/ui/SearchDialog.ui b/portato/gui/qt/ui/SearchDialog.ui new file mode 100644 index 0000000..02c62ff --- /dev/null +++ b/portato/gui/qt/ui/SearchDialog.ui @@ -0,0 +1,78 @@ +<ui version="4.0" > + <class>SearchDialog</class> + <widget class="QDialog" name="SearchDialog" > + <property name="windowModality" > + <enum>Qt::ApplicationModal</enum> + </property> + <property name="geometry" > + <rect> + <x>0</x> + <y>0</y> + <width>246</width> + <height>97</height> + </rect> + </property> + <property name="windowTitle" > + <string>Search...</string> + </property> + <layout class="QVBoxLayout" > + <property name="margin" > + <number>9</number> + </property> + <property name="spacing" > + <number>6</number> + </property> + <item> + <widget class="QComboBox" name="comboBox" /> + </item> + <item> + <widget class="QDialogButtonBox" name="buttonBox" > + <property name="orientation" > + <enum>Qt::Horizontal</enum> + </property> + <property name="standardButtons" > + <set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set> + </property> + <property name="centerButtons" > + <bool>true</bool> + </property> + </widget> + </item> + </layout> + </widget> + <resources/> + <connections> + <connection> + <sender>buttonBox</sender> + <signal>accepted()</signal> + <receiver>SearchDialog</receiver> + <slot>accept()</slot> + <hints> + <hint type="sourcelabel" > + <x>164</x> + <y>112</y> + </hint> + <hint type="destinationlabel" > + <x>157</x> + <y>70</y> + </hint> + </hints> + </connection> + <connection> + <sender>buttonBox</sender> + <signal>rejected()</signal> + <receiver>SearchDialog</receiver> + <slot>reject()</slot> + <hints> + <hint type="sourcelabel" > + <x>164</x> + <y>112</y> + </hint> + <hint type="destinationlabel" > + <x>173</x> + <y>70</y> + </hint> + </hints> + </connection> + </connections> +</ui> |