eric7/Plugins/WizardPlugins/ColorDialogWizard/ColorDialogWizardDialog.ui

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

eric ide

mercurial