Mercurial > hg > Feedworm
annotate Ui_Preferences.ui @ 51:8eee0e671696
set our custom window icon on all dialogs
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Tue, 18 May 2010 02:32:33 +0200 |
parents | 9fa1e33b67da |
children | db35ab7753f0 |
rev | line source |
---|---|
40 | 1 <?xml version="1.0" encoding="UTF-8"?> |
2 <ui version="4.0"> | |
3 <class>Preferences</class> | |
4 <widget class="QDialog" name="Preferences"> | |
5 <property name="geometry"> | |
6 <rect> | |
7 <x>0</x> | |
8 <y>0</y> | |
9 <width>400</width> | |
10 <height>300</height> | |
11 </rect> | |
12 </property> | |
13 <property name="windowTitle"> | |
14 <string>Preferences</string> | |
15 </property> | |
16 <property name="windowIcon"> | |
41
9fa1e33b67da
use Qt resources for window icons
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
40
diff
changeset
|
17 <iconset resource="Feedworm.qrc"> |
9fa1e33b67da
use Qt resources for window icons
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
40
diff
changeset
|
18 <normaloff>:/newPrefix/worm.png</normaloff>:/newPrefix/worm.png</iconset> |
40 | 19 </property> |
20 <widget class="QDialogButtonBox" name="buttonBox"> | |
21 <property name="geometry"> | |
22 <rect> | |
23 <x>30</x> | |
24 <y>240</y> | |
25 <width>341</width> | |
26 <height>32</height> | |
27 </rect> | |
28 </property> | |
29 <property name="orientation"> | |
30 <enum>Qt::Horizontal</enum> | |
31 </property> | |
32 <property name="standardButtons"> | |
33 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> | |
34 </property> | |
35 </widget> | |
36 <widget class="QCheckBox" name="startMaximized"> | |
37 <property name="geometry"> | |
38 <rect> | |
39 <x>10</x> | |
40 <y>10</y> | |
41 <width>141</width> | |
42 <height>22</height> | |
43 </rect> | |
44 </property> | |
45 <property name="text"> | |
46 <string>Start maximized</string> | |
47 </property> | |
48 </widget> | |
49 </widget> | |
41
9fa1e33b67da
use Qt resources for window icons
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
40
diff
changeset
|
50 <resources> |
9fa1e33b67da
use Qt resources for window icons
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
40
diff
changeset
|
51 <include location="Feedworm.qrc"/> |
9fa1e33b67da
use Qt resources for window icons
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
40
diff
changeset
|
52 </resources> |
40 | 53 <connections> |
54 <connection> | |
55 <sender>buttonBox</sender> | |
56 <signal>accepted()</signal> | |
57 <receiver>Preferences</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>Preferences</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 <connection> | |
87 <sender>startMaximized</sender> | |
88 <signal>stateChanged(int)</signal> | |
89 <receiver>Preferences</receiver> | |
90 <slot>startMaximizedChanged()</slot> | |
91 <hints> | |
92 <hint type="sourcelabel"> | |
93 <x>80</x> | |
94 <y>20</y> | |
95 </hint> | |
96 <hint type="destinationlabel"> | |
97 <x>199</x> | |
98 <y>149</y> | |
99 </hint> | |
100 </hints> | |
101 </connection> | |
102 </connections> | |
103 <slots> | |
104 <slot>startMaximizedChanged()</slot> | |
105 </slots> | |
106 </ui> |