Plugins/WizardPlugins/ColorDialogWizard/ColorDialogWizardDialog.ui

changeset 0
de9c2efb9d02
child 2128
bf80601e12d3
equal deleted inserted replaced
-1:000000000000 0:de9c2efb9d02
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>ColorDialogWizardDialog</class>
4 <widget class="QDialog" name="ColorDialogWizardDialog">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>367</width>
10 <height>469</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>QColorDialog Wizard</string>
15 </property>
16 <property name="sizeGripEnabled">
17 <bool>true</bool>
18 </property>
19 <layout class="QVBoxLayout" name="verticalLayout_2">
20 <item>
21 <widget class="QGroupBox" name="qtGroup">
22 <property name="title">
23 <string>Qt Version</string>
24 </property>
25 <layout class="QHBoxLayout" name="_2">
26 <item>
27 <widget class="QRadioButton" name="rQt40">
28 <property name="focusPolicy">
29 <enum>Qt::TabFocus</enum>
30 </property>
31 <property name="toolTip">
32 <string>Select to generate code for Qt 4.0.0 but less than Qt 4.5.0</string>
33 </property>
34 <property name="text">
35 <string>Qt 4.0</string>
36 </property>
37 </widget>
38 </item>
39 <item>
40 <widget class="QRadioButton" name="rQt45">
41 <property name="focusPolicy">
42 <enum>Qt::TabFocus</enum>
43 </property>
44 <property name="toolTip">
45 <string>Select to generate code for Qt 4.5.0 or newer</string>
46 </property>
47 <property name="text">
48 <string>Qt 4.5</string>
49 </property>
50 <property name="checked">
51 <bool>true</bool>
52 </property>
53 </widget>
54 </item>
55 <item>
56 <spacer>
57 <property name="orientation">
58 <enum>Qt::Horizontal</enum>
59 </property>
60 <property name="sizeHint" stdset="0">
61 <size>
62 <width>161</width>
63 <height>21</height>
64 </size>
65 </property>
66 </spacer>
67 </item>
68 </layout>
69 </widget>
70 </item>
71 <item>
72 <widget class="QGroupBox" name="groupBox">
73 <property name="title">
74 <string>Type</string>
75 </property>
76 <layout class="QHBoxLayout">
77 <item>
78 <widget class="QRadioButton" name="rColor">
79 <property name="toolTip">
80 <string>Select to generate a QColorDialog.getColor dialog</string>
81 </property>
82 <property name="text">
83 <string>Colour</string>
84 </property>
85 <property name="checked">
86 <bool>true</bool>
87 </property>
88 </widget>
89 </item>
90 <item>
91 <widget class="QRadioButton" name="rRGBA">
92 <property name="toolTip">
93 <string>Select to generate a QColorDialog.getRgba dialog</string>
94 </property>
95 <property name="text">
96 <string>RGBA</string>
97 </property>
98 </widget>
99 </item>
100 </layout>
101 </widget>
102 </item>
103 <item>
104 <widget class="QGroupBox" name="titleGroup">
105 <property name="title">
106 <string>Title</string>
107 </property>
108 <layout class="QVBoxLayout" name="verticalLayout">
109 <item>
110 <widget class="QLineEdit" name="eTitle">
111 <property name="toolTip">
112 <string>Enter the dialog title</string>
113 </property>
114 </widget>
115 </item>
116 </layout>
117 </widget>
118 </item>
119 <item>
120 <widget class="QGroupBox" name="groupBox_2">
121 <property name="title">
122 <string>Colour</string>
123 </property>
124 <layout class="QVBoxLayout">
125 <item>
126 <widget class="QComboBox" name="eColor">
127 <property name="sizePolicy">
128 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
129 <horstretch>0</horstretch>
130 <verstretch>0</verstretch>
131 </sizepolicy>
132 </property>
133 <property name="toolTip">
134 <string>Enter a variable name or a colour</string>
135 </property>
136 <property name="editable">
137 <bool>true</bool>
138 </property>
139 <item>
140 <property name="text">
141 <string/>
142 </property>
143 </item>
144 <item>
145 <property name="text">
146 <string>Qt.red</string>
147 </property>
148 </item>
149 <item>
150 <property name="text">
151 <string>Qt.darkRed</string>
152 </property>
153 </item>
154 <item>
155 <property name="text">
156 <string>Qt.green</string>
157 </property>
158 </item>
159 <item>
160 <property name="text">
161 <string>Qt.darkGreen</string>
162 </property>
163 </item>
164 <item>
165 <property name="text">
166 <string>Qt.blue</string>
167 </property>
168 </item>
169 <item>
170 <property name="text">
171 <string>Qt.darkBlue</string>
172 </property>
173 </item>
174 <item>
175 <property name="text">
176 <string>Qt.cyan</string>
177 </property>
178 </item>
179 <item>
180 <property name="text">
181 <string>Qt.darkCyan</string>
182 </property>
183 </item>
184 <item>
185 <property name="text">
186 <string>Qt.magenta</string>
187 </property>
188 </item>
189 <item>
190 <property name="text">
191 <string>Qt.darkMagenta</string>
192 </property>
193 </item>
194 <item>
195 <property name="text">
196 <string>Qt.yellow</string>
197 </property>
198 </item>
199 <item>
200 <property name="text">
201 <string>Qt.darkYellow</string>
202 </property>
203 </item>
204 <item>
205 <property name="text">
206 <string>Qt.white</string>
207 </property>
208 </item>
209 <item>
210 <property name="text">
211 <string>Qt.lightGray</string>
212 </property>
213 </item>
214 <item>
215 <property name="text">
216 <string>Qt.gray</string>
217 </property>
218 </item>
219 <item>
220 <property name="text">
221 <string>Qt.darkGray</string>
222 </property>
223 </item>
224 <item>
225 <property name="text">
226 <string>Qt.black</string>
227 </property>
228 </item>
229 <item>
230 <property name="text">
231 <string>Qt.transparent</string>
232 </property>
233 </item>
234 <item>
235 <property name="text">
236 <string>Qt.color0</string>
237 </property>
238 </item>
239 <item>
240 <property name="text">
241 <string>Qt.color1</string>
242 </property>
243 </item>
244 </widget>
245 </item>
246 </layout>
247 </widget>
248 </item>
249 <item>
250 <widget class="QGroupBox" name="groupBox_3">
251 <property name="enabled">
252 <bool>false</bool>
253 </property>
254 <property name="title">
255 <string>RGBA</string>
256 </property>
257 <layout class="QGridLayout">
258 <property name="verticalSpacing">
259 <number>6</number>
260 </property>
261 <item row="3" column="0" colspan="4">
262 <widget class="QLineEdit" name="eRGB">
263 <property name="toolTip">
264 <string>Enter a variable name</string>
265 </property>
266 </widget>
267 </item>
268 <item row="2" column="0" colspan="4">
269 <widget class="QLabel" name="TextLabel2">
270 <property name="text">
271 <string>Variable</string>
272 </property>
273 </widget>
274 </item>
275 <item row="1" column="3">
276 <widget class="QSpinBox" name="sAlpha">
277 <property name="toolTip">
278 <string>Enter the alpha value</string>
279 </property>
280 <property name="maximum">
281 <number>255</number>
282 </property>
283 </widget>
284 </item>
285 <item row="1" column="2">
286 <widget class="QSpinBox" name="sBlue">
287 <property name="toolTip">
288 <string>Enter the blue value</string>
289 </property>
290 <property name="maximum">
291 <number>255</number>
292 </property>
293 <property name="value">
294 <number>128</number>
295 </property>
296 </widget>
297 </item>
298 <item row="1" column="1">
299 <widget class="QSpinBox" name="sGreen">
300 <property name="toolTip">
301 <string>Enter the green value</string>
302 </property>
303 <property name="maximum">
304 <number>255</number>
305 </property>
306 <property name="value">
307 <number>128</number>
308 </property>
309 </widget>
310 </item>
311 <item row="1" column="0">
312 <widget class="QSpinBox" name="sRed">
313 <property name="toolTip">
314 <string>Enter the red value</string>
315 </property>
316 <property name="maximum">
317 <number>255</number>
318 </property>
319 <property name="value">
320 <number>128</number>
321 </property>
322 </widget>
323 </item>
324 <item row="0" column="3">
325 <widget class="QLabel" name="TextLabel1_4">
326 <property name="text">
327 <string>Alpha</string>
328 </property>
329 </widget>
330 </item>
331 <item row="0" column="2">
332 <widget class="QLabel" name="TextLabel1_3">
333 <property name="text">
334 <string>Blue</string>
335 </property>
336 </widget>
337 </item>
338 <item row="0" column="0">
339 <widget class="QLabel" name="TextLabel1">
340 <property name="text">
341 <string>Red</string>
342 </property>
343 </widget>
344 </item>
345 <item row="0" column="1">
346 <widget class="QLabel" name="TextLabel1_2">
347 <property name="text">
348 <string>Green</string>
349 </property>
350 </widget>
351 </item>
352 </layout>
353 </widget>
354 </item>
355 <item>
356 <widget class="QDialogButtonBox" name="buttonBox">
357 <property name="orientation">
358 <enum>Qt::Horizontal</enum>
359 </property>
360 <property name="standardButtons">
361 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
362 </property>
363 </widget>
364 </item>
365 </layout>
366 </widget>
367 <layoutdefault spacing="6" margin="11"/>
368 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
369 <tabstops>
370 <tabstop>rQt40</tabstop>
371 <tabstop>rQt45</tabstop>
372 <tabstop>rColor</tabstop>
373 <tabstop>rRGBA</tabstop>
374 <tabstop>eTitle</tabstop>
375 <tabstop>eColor</tabstop>
376 <tabstop>sRed</tabstop>
377 <tabstop>sGreen</tabstop>
378 <tabstop>sBlue</tabstop>
379 <tabstop>sAlpha</tabstop>
380 <tabstop>eRGB</tabstop>
381 <tabstop>buttonBox</tabstop>
382 </tabstops>
383 <resources/>
384 <connections>
385 <connection>
386 <sender>rColor</sender>
387 <signal>toggled(bool)</signal>
388 <receiver>groupBox_2</receiver>
389 <slot>setEnabled(bool)</slot>
390 <hints>
391 <hint type="sourcelabel">
392 <x>38</x>
393 <y>35</y>
394 </hint>
395 <hint type="destinationlabel">
396 <x>36</x>
397 <y>66</y>
398 </hint>
399 </hints>
400 </connection>
401 <connection>
402 <sender>rRGBA</sender>
403 <signal>toggled(bool)</signal>
404 <receiver>groupBox_3</receiver>
405 <slot>setEnabled(bool)</slot>
406 <hints>
407 <hint type="sourcelabel">
408 <x>212</x>
409 <y>38</y>
410 </hint>
411 <hint type="destinationlabel">
412 <x>209</x>
413 <y>122</y>
414 </hint>
415 </hints>
416 </connection>
417 <connection>
418 <sender>buttonBox</sender>
419 <signal>accepted()</signal>
420 <receiver>ColorDialogWizardDialog</receiver>
421 <slot>accept()</slot>
422 <hints>
423 <hint type="sourcelabel">
424 <x>20</x>
425 <y>263</y>
426 </hint>
427 <hint type="destinationlabel">
428 <x>20</x>
429 <y>280</y>
430 </hint>
431 </hints>
432 </connection>
433 <connection>
434 <sender>buttonBox</sender>
435 <signal>rejected()</signal>
436 <receiver>ColorDialogWizardDialog</receiver>
437 <slot>reject()</slot>
438 <hints>
439 <hint type="sourcelabel">
440 <x>76</x>
441 <y>260</y>
442 </hint>
443 <hint type="destinationlabel">
444 <x>76</x>
445 <y>278</y>
446 </hint>
447 </hints>
448 </connection>
449 </connections>
450 </ui>

eric ide

mercurial