source: trunk/examples/widgets/stylesheet/layouts/default.ui

Last change on this file was 2, checked in by Dmitry A. Kuminov, 16 years ago

Initially imported qt-all-opensource-src-4.5.1 from Trolltech.

File size: 8.7 KB
Line 
1<ui version="4.0" >
2 <class>MainWindow</class>
3 <widget class="QMainWindow" name="MainWindow" >
4 <property name="geometry" >
5 <rect>
6 <x>0</x>
7 <y>0</y>
8 <width>388</width>
9 <height>413</height>
10 </rect>
11 </property>
12 <property name="windowTitle" >
13 <string>MainWindow</string>
14 </property>
15 <widget class="QWidget" name="centralwidget" >
16 <layout class="QGridLayout" >
17 <property name="margin" >
18 <number>9</number>
19 </property>
20 <property name="spacing" >
21 <number>6</number>
22 </property>
23 <item row="0" column="0" >
24 <widget class="QLabel" name="nameLabel" >
25 <property name="text" >
26 <string>&amp;Name:</string>
27 </property>
28 <property name="buddy" >
29 <cstring>nameCombo</cstring>
30 </property>
31 </widget>
32 </item>
33 <item row="0" column="1" colspan="3" >
34 <widget class="QComboBox" name="nameCombo" >
35 <property name="toolTip" >
36 <string>Specify your name</string>
37 </property>
38 <property name="editable" >
39 <bool>true</bool>
40 </property>
41 <property name="currentIndex" >
42 <number>-1</number>
43 </property>
44 <item>
45 <property name="text" >
46 <string>Girish</string>
47 </property>
48 </item>
49 <item>
50 <property name="text" >
51 <string>Jasmin</string>
52 </property>
53 </item>
54 <item>
55 <property name="text" >
56 <string>Simon</string>
57 </property>
58 </item>
59 <item>
60 <property name="text" >
61 <string>Zack</string>
62 </property>
63 </item>
64 </widget>
65 </item>
66 <item row="1" column="3" >
67 <spacer>
68 <property name="orientation" >
69 <enum>Qt::Horizontal</enum>
70 </property>
71 <property name="sizeHint" >
72 <size>
73 <width>40</width>
74 <height>20</height>
75 </size>
76 </property>
77 </spacer>
78 </item>
79 <item row="1" column="2" >
80 <widget class="QRadioButton" name="femaleRadioButton" >
81 <property name="toolTip" >
82 <string>Check this if you are female</string>
83 </property>
84 <property name="text" >
85 <string>&amp;Female</string>
86 </property>
87 </widget>
88 </item>
89 <item row="6" column="0" colspan="4" >
90 <widget class="QCheckBox" name="agreeCheckBox" >
91 <property name="toolTip" >
92 <string>Please read the license before checking this</string>
93 </property>
94 <property name="text" >
95 <string>I &amp;accept the terms and conditions</string>
96 </property>
97 </widget>
98 </item>
99 <item row="1" column="1" >
100 <widget class="QRadioButton" name="maleRadioButton" >
101 <property name="toolTip" >
102 <string>Check this if you are male</string>
103 </property>
104 <property name="text" >
105 <string>&amp;Male</string>
106 </property>
107 </widget>
108 </item>
109 <item row="1" column="0" >
110 <widget class="QLabel" name="genderLabel" >
111 <property name="text" >
112 <string>Gender:</string>
113 </property>
114 </widget>
115 </item>
116 <item row="2" column="1" colspan="3" >
117 <widget class="QSpinBox" name="ageSpinBox" >
118 <property name="toolTip" >
119 <string>Specify your age</string>
120 </property>
121 <property name="statusTip" >
122 <string>Specify your age here</string>
123 </property>
124 <property name="minimum" >
125 <number>12</number>
126 </property>
127 <property name="value" >
128 <number>22</number>
129 </property>
130 </widget>
131 </item>
132 <item row="7" column="2" colspan="2" >
133 <widget class="QDialogButtonBox" name="buttonBox" >
134 <property name="orientation" >
135 <enum>Qt::Horizontal</enum>
136 </property>
137 <property name="standardButtons" >
138 <set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>
139 </property>
140 </widget>
141 </item>
142 <item row="2" column="0" >
143 <widget class="QLabel" name="ageLabel" >
144 <property name="text" >
145 <string>&amp;Age:</string>
146 </property>
147 <property name="buddy" >
148 <cstring>ageSpinBox</cstring>
149 </property>
150 </widget>
151 </item>
152 <item row="3" column="0" >
153 <widget class="QLabel" name="passwordLabel" >
154 <property name="text" >
155 <string>&amp;Password:</string>
156 </property>
157 <property name="buddy" >
158 <cstring>passwordEdit</cstring>
159 </property>
160 </widget>
161 </item>
162 <item row="3" column="1" colspan="3" >
163 <widget class="QLineEdit" name="passwordEdit" >
164 <property name="toolTip" >
165 <string>Specify your password</string>
166 </property>
167 <property name="statusTip" >
168 <string>Specify your password here</string>
169 </property>
170 <property name="text" >
171 <string>Password</string>
172 </property>
173 <property name="echoMode" >
174 <enum>QLineEdit::Password</enum>
175 </property>
176 </widget>
177 </item>
178 <item row="5" column="0" >
179 <widget class="QLabel" name="label" >
180 <property name="text" >
181 <string>Profession</string>
182 </property>
183 <property name="buddy" >
184 <cstring>professionList</cstring>
185 </property>
186 </widget>
187 </item>
188 <item row="4" column="0" >
189 <widget class="QLabel" name="countryLabel" >
190 <property name="text" >
191 <string>&amp;Country</string>
192 </property>
193 <property name="buddy" >
194 <cstring>professionList</cstring>
195 </property>
196 </widget>
197 </item>
198 <item row="5" column="1" colspan="3" >
199 <widget class="QListWidget" name="professionList" >
200 <property name="toolTip" >
201 <string>Select your profession</string>
202 </property>
203 <property name="statusTip" >
204 <string>Select your profession</string>
205 </property>
206 <property name="whatsThis" >
207 <string>Select your profession</string>
208 </property>
209 <property name="currentRow" >
210 <number>1</number>
211 </property>
212 <item>
213 <property name="text" >
214 <string>Developer</string>
215 </property>
216 </item>
217 <item>
218 <property name="text" >
219 <string>Student</string>
220 </property>
221 </item>
222 <item>
223 <property name="text" >
224 <string>Fisherman</string>
225 </property>
226 </item>
227 </widget>
228 </item>
229 <item row="4" column="1" colspan="3" >
230 <widget class="QComboBox" name="countryCombo" >
231 <property name="toolTip" >
232 <string>Specify your country</string>
233 </property>
234 <property name="statusTip" >
235 <string>Specify your country here</string>
236 </property>
237 <property name="currentIndex" >
238 <number>2</number>
239 </property>
240 <item>
241 <property name="text" >
242 <string>Germany</string>
243 </property>
244 </item>
245 <item>
246 <property name="text" >
247 <string>India</string>
248 </property>
249 </item>
250 <item>
251 <property name="text" >
252 <string>Norway</string>
253 </property>
254 </item>
255 <item>
256 <property name="text" >
257 <string>United States Of America</string>
258 </property>
259 </item>
260 <item>
261 <property name="text" >
262 <string>United Kingdom</string>
263 </property>
264 </item>
265 </widget>
266 </item>
267 </layout>
268 </widget>
269 <widget class="QMenuBar" name="menubar" >
270 <property name="geometry" >
271 <rect>
272 <x>0</x>
273 <y>0</y>
274 <width>388</width>
275 <height>21</height>
276 </rect>
277 </property>
278 <widget class="QMenu" name="menu_File" >
279 <property name="title" >
280 <string>&amp;File</string>
281 </property>
282 <addaction name="editStyleAction" />
283 <addaction name="separator" />
284 <addaction name="exitAction" />
285 </widget>
286 <widget class="QMenu" name="menu_Help" >
287 <property name="title" >
288 <string>&amp;Help</string>
289 </property>
290 <addaction name="aboutAction" />
291 <addaction name="separator" />
292 <addaction name="aboutQtAction" />
293 </widget>
294 <addaction name="menu_File" />
295 <addaction name="menu_Help" />
296 </widget>
297 <widget class="QStatusBar" name="statusbar" />
298 <action name="exitAction" >
299 <property name="text" >
300 <string>&amp;Exit</string>
301 </property>
302 </action>
303 <action name="aboutQtAction" >
304 <property name="text" >
305 <string>About Qt</string>
306 </property>
307 </action>
308 <action name="editStyleAction" >
309 <property name="text" >
310 <string>Edit &amp;Style</string>
311 </property>
312 </action>
313 <action name="aboutAction" >
314 <property name="text" >
315 <string>About</string>
316 </property>
317 </action>
318 </widget>
319 <tabstops>
320 <tabstop>maleRadioButton</tabstop>
321 <tabstop>femaleRadioButton</tabstop>
322 <tabstop>ageSpinBox</tabstop>
323 <tabstop>passwordEdit</tabstop>
324 <tabstop>professionList</tabstop>
325 <tabstop>agreeCheckBox</tabstop>
326 </tabstops>
327 <resources/>
328 <connections/>
329</ui>
Note: See TracBrowser for help on using the repository browser.