Mercurial > hg > Feedworm
annotate Ui_AddFeed.ui @ 150:babe14449162
the entries for the selected feeds had to be set onto the item delegate so had access to the selected feed entry. Keep the list in one place only (the model) and access it from the item delegate.
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Sat, 27 Aug 2011 06:43:28 +0200 |
parents | 8eee0e671696 |
children |
rev | line source |
---|---|
27 | 1 <?xml version="1.0" encoding="UTF-8"?> |
2 <ui version="4.0"> | |
3 <class>AddFeed</class> | |
4 <widget class="QDialog" name="AddFeed"> | |
5 <property name="geometry"> | |
6 <rect> | |
7 <x>0</x> | |
8 <y>0</y> | |
9 <width>557</width> | |
10 <height>108</height> | |
11 </rect> | |
12 </property> | |
13 <property name="windowTitle"> | |
14 <string>Add Feed</string> | |
15 </property> | |
51
8eee0e671696
set our custom window icon on all dialogs
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
27
diff
changeset
|
16 <property name="windowIcon"> |
8eee0e671696
set our custom window icon on all dialogs
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
27
diff
changeset
|
17 <iconset resource="Feedworm.qrc"> |
8eee0e671696
set our custom window icon on all dialogs
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
27
diff
changeset
|
18 <normaloff>:/newPrefix/worm.png</normaloff>:/newPrefix/worm.png</iconset> |
8eee0e671696
set our custom window icon on all dialogs
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
27
diff
changeset
|
19 </property> |
27 | 20 <property name="modal"> |
21 <bool>true</bool> | |
22 </property> | |
23 <layout class="QGridLayout" name="gridLayout"> | |
24 <item row="2" column="1"> | |
25 <widget class="QDialogButtonBox" name="buttonBox"> | |
26 <property name="orientation"> | |
27 <enum>Qt::Horizontal</enum> | |
28 </property> | |
29 <property name="standardButtons"> | |
30 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> | |
31 </property> | |
32 </widget> | |
33 </item> | |
34 <item row="1" column="1"> | |
35 <widget class="QLineEdit" name="url"/> | |
36 </item> | |
37 <item row="1" column="0"> | |
38 <widget class="QLabel" name="label"> | |
39 <property name="text"> | |
40 <string>Feed URL</string> | |
41 </property> | |
42 </widget> | |
43 </item> | |
44 </layout> | |
45 </widget> | |
46 <tabstops> | |
47 <tabstop>url</tabstop> | |
48 <tabstop>buttonBox</tabstop> | |
49 </tabstops> | |
51
8eee0e671696
set our custom window icon on all dialogs
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
27
diff
changeset
|
50 <resources> |
8eee0e671696
set our custom window icon on all dialogs
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
27
diff
changeset
|
51 <include location="Feedworm.qrc"/> |
8eee0e671696
set our custom window icon on all dialogs
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
27
diff
changeset
|
52 </resources> |
27 | 53 <connections> |
54 <connection> | |
55 <sender>buttonBox</sender> | |
56 <signal>accepted()</signal> | |
57 <receiver>AddFeed</receiver> | |
58 <slot>accept()</slot> | |
59 <hints> | |
60 <hint type="sourcelabel"> | |
61 <x>248</x> | |
62 <y>254</y> | |
63 </hint> | |
64 <hint type="destinationlabel"> | |
65 <x>157</x> | |
66 <y>274</y> | |
67 </hint> | |
68 </hints> | |
69 </connection> | |
70 <connection> | |
71 <sender>buttonBox</sender> | |
72 <signal>rejected()</signal> | |
73 <receiver>AddFeed</receiver> | |
74 <slot>reject()</slot> | |
75 <hints> | |
76 <hint type="sourcelabel"> | |
77 <x>316</x> | |
78 <y>260</y> | |
79 </hint> | |
80 <hint type="destinationlabel"> | |
81 <x>286</x> | |
82 <y>274</y> | |
83 </hint> | |
84 </hints> | |
85 </connection> | |
86 </connections> | |
87 </ui> |