Extending QScopedPointer test case
[qt-netbsd.git] / demos / embedded / styledemo / stylewidget.ui
blob767f44aead7d57b79ee67e38bbafe5f0627ee2a0
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>StyleWidget</class>
4 <widget class="QWidget" name="StyleWidget">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>184</width>
10 <height>245</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Form</string>
15 </property>
16 <layout class="QGridLayout" name="gridLayout">
17 <item row="0" column="0" colspan="2">
18 <widget class="QGroupBox" name="groupBox">
19 <property name="title">
20 <string>Styles</string>
21 </property>
22 <layout class="QGridLayout" name="gridLayout_2">
23 <property name="margin">
24 <number>4</number>
25 </property>
26 <property name="spacing">
27 <number>4</number>
28 </property>
29 <item row="0" column="0">
30 <widget class="QPushButton" name="transparentStyle">
31 <property name="sizePolicy">
32 <sizepolicy hsizetype="Minimum" vsizetype="MinimumExpanding">
33 <horstretch>0</horstretch>
34 <verstretch>0</verstretch>
35 </sizepolicy>
36 </property>
37 <property name="focusPolicy">
38 <enum>Qt::StrongFocus</enum>
39 </property>
40 <property name="text">
41 <string>Transp.</string>
42 </property>
43 <property name="checkable">
44 <bool>true</bool>
45 </property>
46 <property name="checked">
47 <bool>false</bool>
48 </property>
49 <property name="autoExclusive">
50 <bool>true</bool>
51 </property>
52 </widget>
53 </item>
54 <item row="2" column="0">
55 <widget class="QPushButton" name="blueStyle">
56 <property name="sizePolicy">
57 <sizepolicy hsizetype="Minimum" vsizetype="MinimumExpanding">
58 <horstretch>0</horstretch>
59 <verstretch>0</verstretch>
60 </sizepolicy>
61 </property>
62 <property name="focusPolicy">
63 <enum>Qt::StrongFocus</enum>
64 </property>
65 <property name="text">
66 <string>Blue</string>
67 </property>
68 <property name="checkable">
69 <bool>true</bool>
70 </property>
71 <property name="checked">
72 <bool>false</bool>
73 </property>
74 <property name="autoExclusive">
75 <bool>true</bool>
76 </property>
77 </widget>
78 </item>
79 <item row="0" column="1">
80 <widget class="QPushButton" name="khakiStyle">
81 <property name="sizePolicy">
82 <sizepolicy hsizetype="Minimum" vsizetype="MinimumExpanding">
83 <horstretch>0</horstretch>
84 <verstretch>0</verstretch>
85 </sizepolicy>
86 </property>
87 <property name="focusPolicy">
88 <enum>Qt::StrongFocus</enum>
89 </property>
90 <property name="text">
91 <string>Khaki</string>
92 </property>
93 <property name="checkable">
94 <bool>true</bool>
95 </property>
96 <property name="checked">
97 <bool>false</bool>
98 </property>
99 <property name="autoExclusive">
100 <bool>true</bool>
101 </property>
102 </widget>
103 </item>
104 <item row="2" column="1">
105 <widget class="QPushButton" name="noStyle">
106 <property name="sizePolicy">
107 <sizepolicy hsizetype="Minimum" vsizetype="MinimumExpanding">
108 <horstretch>0</horstretch>
109 <verstretch>0</verstretch>
110 </sizepolicy>
111 </property>
112 <property name="focusPolicy">
113 <enum>Qt::StrongFocus</enum>
114 </property>
115 <property name="text">
116 <string>None</string>
117 </property>
118 <property name="checkable">
119 <bool>true</bool>
120 </property>
121 <property name="checked">
122 <bool>true</bool>
123 </property>
124 <property name="autoExclusive">
125 <bool>true</bool>
126 </property>
127 </widget>
128 </item>
129 </layout>
130 </widget>
131 </item>
132 <item row="1" column="0" colspan="2">
133 <spacer name="verticalSpacer_3">
134 <property name="orientation">
135 <enum>Qt::Vertical</enum>
136 </property>
137 <property name="sizeHint" stdset="0">
138 <size>
139 <width>0</width>
140 <height>0</height>
141 </size>
142 </property>
143 </spacer>
144 </item>
145 <item row="2" column="0" colspan="2">
146 <layout class="QHBoxLayout" name="horizontalLayout">
147 <property name="margin">
148 <number>4</number>
149 </property>
150 <item>
151 <widget class="QLabel" name="label">
152 <property name="sizePolicy">
153 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
154 <horstretch>0</horstretch>
155 <verstretch>0</verstretch>
156 </sizepolicy>
157 </property>
158 <property name="text">
159 <string>Value:</string>
160 </property>
161 <property name="alignment">
162 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
163 </property>
164 </widget>
165 </item>
166 <item>
167 <widget class="QSpinBox" name="spinBox">
168 <property name="focusPolicy">
169 <enum>Qt::WheelFocus</enum>
170 </property>
171 <property name="alignment">
172 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
173 </property>
174 <property name="keyboardTracking">
175 <bool>false</bool>
176 </property>
177 </widget>
178 </item>
179 </layout>
180 </item>
181 <item row="3" column="0">
182 <widget class="QScrollBar" name="horizontalScrollBar">
183 <property name="sizePolicy">
184 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
185 <horstretch>0</horstretch>
186 <verstretch>0</verstretch>
187 </sizepolicy>
188 </property>
189 <property name="minimumSize">
190 <size>
191 <width>0</width>
192 <height>24</height>
193 </size>
194 </property>
195 <property name="focusPolicy">
196 <enum>Qt::TabFocus</enum>
197 </property>
198 <property name="orientation">
199 <enum>Qt::Horizontal</enum>
200 </property>
201 </widget>
202 </item>
203 <item row="3" column="1">
204 <widget class="QScrollBar" name="horizontalScrollBar_2">
205 <property name="sizePolicy">
206 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
207 <horstretch>0</horstretch>
208 <verstretch>0</verstretch>
209 </sizepolicy>
210 </property>
211 <property name="minimumSize">
212 <size>
213 <width>0</width>
214 <height>24</height>
215 </size>
216 </property>
217 <property name="focusPolicy">
218 <enum>Qt::TabFocus</enum>
219 </property>
220 <property name="orientation">
221 <enum>Qt::Horizontal</enum>
222 </property>
223 </widget>
224 </item>
225 <item row="4" column="0">
226 <widget class="QPushButton" name="pushButton_2">
227 <property name="sizePolicy">
228 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
229 <horstretch>0</horstretch>
230 <verstretch>0</verstretch>
231 </sizepolicy>
232 </property>
233 <property name="focusPolicy">
234 <enum>Qt::StrongFocus</enum>
235 </property>
236 <property name="text">
237 <string>Show</string>
238 </property>
239 <property name="checkable">
240 <bool>true</bool>
241 </property>
242 <property name="checked">
243 <bool>true</bool>
244 </property>
245 <property name="flat">
246 <bool>false</bool>
247 </property>
248 </widget>
249 </item>
250 <item row="4" column="1">
251 <widget class="QPushButton" name="pushButton">
252 <property name="sizePolicy">
253 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
254 <horstretch>0</horstretch>
255 <verstretch>0</verstretch>
256 </sizepolicy>
257 </property>
258 <property name="focusPolicy">
259 <enum>Qt::StrongFocus</enum>
260 </property>
261 <property name="text">
262 <string>Enable</string>
263 </property>
264 <property name="checkable">
265 <bool>true</bool>
266 </property>
267 <property name="checked">
268 <bool>true</bool>
269 </property>
270 <property name="flat">
271 <bool>false</bool>
272 </property>
273 </widget>
274 </item>
275 <item row="5" column="0" colspan="2">
276 <spacer name="verticalSpacer">
277 <property name="orientation">
278 <enum>Qt::Vertical</enum>
279 </property>
280 <property name="sizeType">
281 <enum>QSizePolicy::Expanding</enum>
282 </property>
283 <property name="sizeHint" stdset="0">
284 <size>
285 <width>0</width>
286 <height>0</height>
287 </size>
288 </property>
289 </spacer>
290 </item>
291 <item row="6" column="0">
292 <spacer>
293 <property name="orientation">
294 <enum>Qt::Horizontal</enum>
295 </property>
296 <property name="sizeHint" stdset="0">
297 <size>
298 <width>40</width>
299 <height>20</height>
300 </size>
301 </property>
302 </spacer>
303 </item>
304 <item row="6" column="1">
305 <widget class="QPushButton" name="close">
306 <property name="focusPolicy">
307 <enum>Qt::StrongFocus</enum>
308 </property>
309 <property name="text">
310 <string>Close</string>
311 </property>
312 </widget>
313 </item>
314 </layout>
315 </widget>
316 <resources>
317 <include location="StyleDemo.qrc"/>
318 </resources>
319 <connections>
320 <connection>
321 <sender>horizontalScrollBar</sender>
322 <signal>valueChanged(int)</signal>
323 <receiver>horizontalScrollBar_2</receiver>
324 <slot>setValue(int)</slot>
325 <hints>
326 <hint type="sourcelabel">
327 <x>84</x>
328 <y>147</y>
329 </hint>
330 <hint type="destinationlabel">
331 <x>166</x>
332 <y>147</y>
333 </hint>
334 </hints>
335 </connection>
336 <connection>
337 <sender>horizontalScrollBar_2</sender>
338 <signal>valueChanged(int)</signal>
339 <receiver>horizontalScrollBar</receiver>
340 <slot>setValue(int)</slot>
341 <hints>
342 <hint type="sourcelabel">
343 <x>166</x>
344 <y>147</y>
345 </hint>
346 <hint type="destinationlabel">
347 <x>84</x>
348 <y>147</y>
349 </hint>
350 </hints>
351 </connection>
352 <connection>
353 <sender>pushButton</sender>
354 <signal>clicked(bool)</signal>
355 <receiver>horizontalScrollBar_2</receiver>
356 <slot>setEnabled(bool)</slot>
357 <hints>
358 <hint type="sourcelabel">
359 <x>166</x>
360 <y>175</y>
361 </hint>
362 <hint type="destinationlabel">
363 <x>166</x>
364 <y>147</y>
365 </hint>
366 </hints>
367 </connection>
368 <connection>
369 <sender>pushButton_2</sender>
370 <signal>clicked(bool)</signal>
371 <receiver>horizontalScrollBar</receiver>
372 <slot>setVisible(bool)</slot>
373 <hints>
374 <hint type="sourcelabel">
375 <x>84</x>
376 <y>175</y>
377 </hint>
378 <hint type="destinationlabel">
379 <x>84</x>
380 <y>147</y>
381 </hint>
382 </hints>
383 </connection>
384 <connection>
385 <sender>spinBox</sender>
386 <signal>valueChanged(int)</signal>
387 <receiver>horizontalScrollBar_2</receiver>
388 <slot>setValue(int)</slot>
389 <hints>
390 <hint type="sourcelabel">
391 <x>166</x>
392 <y>115</y>
393 </hint>
394 <hint type="destinationlabel">
395 <x>166</x>
396 <y>147</y>
397 </hint>
398 </hints>
399 </connection>
400 <connection>
401 <sender>horizontalScrollBar_2</sender>
402 <signal>valueChanged(int)</signal>
403 <receiver>spinBox</receiver>
404 <slot>setValue(int)</slot>
405 <hints>
406 <hint type="sourcelabel">
407 <x>132</x>
408 <y>132</y>
409 </hint>
410 <hint type="destinationlabel">
411 <x>135</x>
412 <y>110</y>
413 </hint>
414 </hints>
415 </connection>
416 </connections>
417 </ui>