comparison Ui_Preferences.ui @ 40:c858aab71e5b

add preferences dialog
author Dirk Olmes <dirk@xanthippe.ping.de>
date Fri, 14 May 2010 07:05:02 +0200
parents
children 9fa1e33b67da
comparison
equal deleted inserted replaced
39:0c2578196643 40:c858aab71e5b
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">
17 <iconset>
18 <normaloff>worm.png</normaloff>worm.png</iconset>
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>
50 <resources/>
51 <connections>
52 <connection>
53 <sender>buttonBox</sender>
54 <signal>accepted()</signal>
55 <receiver>Preferences</receiver>
56 <slot>accept()</slot>
57 <hints>
58 <hint type="sourcelabel">
59 <x>248</x>
60 <y>254</y>
61 </hint>
62 <hint type="destinationlabel">
63 <x>157</x>
64 <y>274</y>
65 </hint>
66 </hints>
67 </connection>
68 <connection>
69 <sender>buttonBox</sender>
70 <signal>rejected()</signal>
71 <receiver>Preferences</receiver>
72 <slot>reject()</slot>
73 <hints>
74 <hint type="sourcelabel">
75 <x>316</x>
76 <y>260</y>
77 </hint>
78 <hint type="destinationlabel">
79 <x>286</x>
80 <y>274</y>
81 </hint>
82 </hints>
83 </connection>
84 <connection>
85 <sender>startMaximized</sender>
86 <signal>stateChanged(int)</signal>
87 <receiver>Preferences</receiver>
88 <slot>startMaximizedChanged()</slot>
89 <hints>
90 <hint type="sourcelabel">
91 <x>80</x>
92 <y>20</y>
93 </hint>
94 <hint type="destinationlabel">
95 <x>199</x>
96 <y>149</y>
97 </hint>
98 </hints>
99 </connection>
100 </connections>
101 <slots>
102 <slot>startMaximizedChanged()</slot>
103 </slots>
104 </ui>