source: trunk/tools/qtconfig/paletteeditoradvancedbase.ui@ 452

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

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

File size: 24.2 KB
Line 
1<ui version="4.0" stdsetdef="1" >
2 <author></author>
3 <comment>*********************************************************************
4**
5** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
6** Contact: Qt Software Information ([email protected])
7**
8** This file is part of the tools applications of the Qt Toolkit.
9**
10** $QT_BEGIN_LICENSE:LGPL$
11** Commercial Usage
12** Licensees holding valid Qt Commercial licenses may use this file in
13** accordance with the Qt Commercial License Agreement provided with the
14** Software or, alternatively, in accordance with the terms contained in
15** a written agreement between you and Nokia.
16**
17** GNU Lesser General Public License Usage
18** Alternatively, this file may be used under the terms of the GNU Lesser
19** General Public License version 2.1 as published by the Free Software
20** Foundation and appearing in the file LICENSE.LGPL included in the
21** packaging of this file. Please review the following information to
22** ensure the GNU Lesser General Public License version 2.1 requirements
23** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
24**
25** In addition, as a special exception, Nokia gives you certain
26** additional rights. These rights are described in the Nokia Qt LGPL
27** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
28** package.
29**
30** GNU General Public License Usage
31** Alternatively, this file may be used under the terms of the GNU
32** General Public License version 3.0 as published by the Free Software
33** Foundation and appearing in the file LICENSE.GPL included in the
34** packaging of this file. Please review the following information to
35** ensure the GNU General Public License version 3.0 requirements will be
36** met: http://www.gnu.org/copyleft/gpl.html.
37**
38** If you are unsure which license is appropriate for your use, please
39** contact the sales department at [email protected].
40** $QT_END_LICENSE$
41**
42*********************************************************************</comment>
43 <exportmacro></exportmacro>
44 <class>PaletteEditorAdvancedBase</class>
45 <widget class="QDialog" name="PaletteEditorAdvancedBase" >
46 <property name="objectName" >
47 <string notr="true" >PaletteEditorAdvancedBase</string>
48 </property>
49 <property name="enabled" >
50 <bool>true</bool>
51 </property>
52 <property name="geometry" >
53 <rect>
54 <x>0</x>
55 <y>0</y>
56 <width>295</width>
57 <height>346</height>
58 </rect>
59 </property>
60 <property name="windowTitle" >
61 <string>Tune Palette</string>
62 </property>
63 <property name="sizeGripEnabled" >
64 <bool>true</bool>
65 </property>
66 <property name="whatsThis" stdset="0" >
67 <string>&lt;b>Edit Palette&lt;/b>&lt;p>Change the palette of the current widget or form.&lt;/p>&lt;p>Use a generated palette or select colors for each color group and each color role.&lt;/p>&lt;p>The palette can be tested with different widget layouts in the preview section.&lt;/p></string>
68 </property>
69 <layout class="QVBoxLayout" >
70 <property name="objectName" >
71 <string notr="true" >unnamed</string>
72 </property>
73 <property name="margin" >
74 <number>11</number>
75 </property>
76 <property name="spacing" >
77 <number>6</number>
78 </property>
79 <item>
80 <layout class="QHBoxLayout" >
81 <property name="objectName" >
82 <string notr="true" >unnamed</string>
83 </property>
84 <property name="margin" >
85 <number>0</number>
86 </property>
87 <property name="spacing" >
88 <number>6</number>
89 </property>
90 <item>
91 <widget class="QLabel" name="TextLabel1" >
92 <property name="objectName" >
93 <string notr="true" >TextLabel1</string>
94 </property>
95 <property name="text" >
96 <string>Select &amp;Palette:</string>
97 </property>
98 <property name="buddy" stdset="0" >
99 <cstring>paletteCombo</cstring>
100 </property>
101 </widget>
102 </item>
103 <item>
104 <widget class="QComboBox" name="paletteCombo" >
105 <property name="objectName" >
106 <string notr="true" >paletteCombo</string>
107 </property>
108 <item>
109 <property name="text" >
110 <string>Active Palette</string>
111 </property>
112 </item>
113 <item>
114 <property name="text" >
115 <string>Inactive Palette</string>
116 </property>
117 </item>
118 <item>
119 <property name="text" >
120 <string>Disabled Palette</string>
121 </property>
122 </item>
123 </widget>
124 </item>
125 </layout>
126 </item>
127 <item>
128 <widget class="Q3ButtonGroup" name="ButtonGroup1" >
129 <property name="objectName" >
130 <string notr="true" >ButtonGroup1</string>
131 </property>
132 <property name="sizePolicy" >
133 <sizepolicy>
134 <hsizetype>5</hsizetype>
135 <vsizetype>4</vsizetype>
136 <horstretch>0</horstretch>
137 <verstretch>0</verstretch>
138 </sizepolicy>
139 </property>
140 <property name="title" >
141 <string>Auto</string>
142 </property>
143 <layout class="QVBoxLayout" >
144 <property name="objectName" >
145 <string notr="true" >unnamed</string>
146 </property>
147 <property name="margin" >
148 <number>11</number>
149 </property>
150 <property name="spacing" >
151 <number>6</number>
152 </property>
153 <item>
154 <widget class="QCheckBox" name="checkBuildInactive" >
155 <property name="objectName" >
156 <string notr="true" >checkBuildInactive</string>
157 </property>
158 <property name="text" >
159 <string>Build inactive palette from active</string>
160 </property>
161 <property name="checked" >
162 <bool>true</bool>
163 </property>
164 </widget>
165 </item>
166 <item>
167 <widget class="QCheckBox" name="checkBuildDisabled" >
168 <property name="objectName" >
169 <string notr="true" >checkBuildDisabled</string>
170 </property>
171 <property name="text" >
172 <string>Build disabled palette from active</string>
173 </property>
174 <property name="checked" >
175 <bool>true</bool>
176 </property>
177 </widget>
178 </item>
179 </layout>
180 </widget>
181 </item>
182 <item>
183 <widget class="Q3GroupBox" name="groupCentral" >
184 <property name="objectName" >
185 <string notr="true" >groupCentral</string>
186 </property>
187 <property name="title" >
188 <string>Central color &amp;roles</string>
189 </property>
190 <layout class="QVBoxLayout" >
191 <property name="objectName" >
192 <string notr="true" >unnamed</string>
193 </property>
194 <property name="margin" >
195 <number>11</number>
196 </property>
197 <property name="spacing" >
198 <number>6</number>
199 </property>
200 <item>
201 <widget class="QComboBox" name="comboCentral" >
202 <property name="objectName" >
203 <string notr="true" >comboCentral</string>
204 </property>
205 <property name="toolTip" stdset="0" >
206 <string>Choose central color role</string>
207 </property>
208 <property name="whatsThis" stdset="0" >
209 <string>&lt;b>Select a color role.&lt;/b>&lt;p>Available central roles are: &lt;ul> &lt;li>Window - general background color.&lt;/li> &lt;li>WindowText - general foreground color. &lt;/li> &lt;li>Base - used as background color for e.g. text entry widgets, usually white or another light color. &lt;/li> &lt;li>Text - the foreground color used with Base. Usually this is the same as WindowText, in what case it must provide good contrast both with Window and Base. &lt;/li> &lt;li>Button - general button background color, where buttons need a background different from Window, as in the Macintosh style. &lt;/li> &lt;li>ButtonText - a foreground color used with the Button color. &lt;/li> &lt;li>Highlight - a color to indicate a selected or highlighted item. &lt;/li> &lt;li>HighlightedText - a text color that contrasts to Highlight. &lt;/li> &lt;li>BrightText - a text color that is very different from WindowText and contrasts well with e.g. black. &lt;/li> &lt;/ul> &lt;/p></string>
210 </property>
211 <item>
212 <property name="text" >
213 <string>Window</string>
214 </property>
215 </item>
216 <item>
217 <property name="text" >
218 <string>WindowText</string>
219 </property>
220 </item>
221 <item>
222 <property name="text" >
223 <string>Button</string>
224 </property>
225 </item>
226 <item>
227 <property name="text" >
228 <string>Base</string>
229 </property>
230 </item>
231 <item>
232 <property name="text" >
233 <string>Text</string>
234 </property>
235 </item>
236 <item>
237 <property name="text" >
238 <string>BrightText</string>
239 </property>
240 </item>
241 <item>
242 <property name="text" >
243 <string>ButtonText</string>
244 </property>
245 </item>
246 <item>
247 <property name="text" >
248 <string>Highlight</string>
249 </property>
250 </item>
251 <item>
252 <property name="text" >
253 <string>HighlightedText</string>
254 </property>
255 </item>
256 </widget>
257 </item>
258 <item>
259 <layout class="QHBoxLayout" >
260 <property name="objectName" >
261 <string notr="true" >unnamed</string>
262 </property>
263 <property name="margin" >
264 <number>0</number>
265 </property>
266 <property name="spacing" >
267 <number>6</number>
268 </property>
269 <item>
270 <spacer name="Horizontal_Spacing1" >
271 <property name="sizeHint" >
272 <size>
273 <width>20</width>
274 <height>20</height>
275 </size>
276 </property>
277 <property name="sizeType" >
278 <enum>Expanding</enum>
279 </property>
280 <property name="orientation" >
281 <enum>Horizontal</enum>
282 </property>
283 </spacer>
284 </item>
285 <item>
286 <widget class="QLabel" name="labelCentral" >
287 <property name="objectName" >
288 <string notr="true" >labelCentral</string>
289 </property>
290 <property name="sizePolicy" >
291 <sizepolicy>
292 <hsizetype>1</hsizetype>
293 <vsizetype>1</vsizetype>
294 <horstretch>0</horstretch>
295 <verstretch>0</verstretch>
296 </sizepolicy>
297 </property>
298 <property name="minimumSize" >
299 <size>
300 <width>0</width>
301 <height>0</height>
302 </size>
303 </property>
304 <property name="text" >
305 <string>&amp;Select Color:</string>
306 </property>
307 <property name="buddy" stdset="0" >
308 <cstring>buttonCentral</cstring>
309 </property>
310 </widget>
311 </item>
312 <item>
313 <widget class="ColorButton" name="buttonCentral" >
314 <property name="objectName" >
315 <string notr="true" >buttonCentral</string>
316 </property>
317 <property name="sizePolicy" >
318 <sizepolicy>
319 <hsizetype>0</hsizetype>
320 <vsizetype>0</vsizetype>
321 <horstretch>0</horstretch>
322 <verstretch>0</verstretch>
323 </sizepolicy>
324 </property>
325 <property name="focusPolicy" >
326 <enum>Qt::TabFocus</enum>
327 </property>
328 <property name="toolTip" stdset="0" >
329 <string>Choose a color</string>
330 </property>
331 <property name="whatsThis" stdset="0" >
332 <string>Choose a color for the selected central color role.</string>
333 </property>
334 </widget>
335 </item>
336 </layout>
337 </item>
338 </layout>
339 </widget>
340 </item>
341 <item>
342 <widget class="Q3GroupBox" name="groupEffect" >
343 <property name="objectName" >
344 <string notr="true" >groupEffect</string>
345 </property>
346 <property name="title" >
347 <string>3-D shadow &amp;effects</string>
348 </property>
349 <layout class="QVBoxLayout" >
350 <property name="objectName" >
351 <string notr="true" >unnamed</string>
352 </property>
353 <property name="margin" >
354 <number>11</number>
355 </property>
356 <property name="spacing" >
357 <number>6</number>
358 </property>
359 <item>
360 <layout class="QHBoxLayout" >
361 <property name="objectName" >
362 <string notr="true" >unnamed</string>
363 </property>
364 <property name="margin" >
365 <number>0</number>
366 </property>
367 <property name="spacing" >
368 <number>6</number>
369 </property>
370 <item>
371 <widget class="QCheckBox" name="checkBuildEffect" >
372 <property name="objectName" >
373 <string notr="true" >checkBuildEffect</string>
374 </property>
375 <property name="text" >
376 <string>Build &amp;from button color</string>
377 </property>
378 <property name="checked" >
379 <bool>true</bool>
380 </property>
381 <property name="toolTip" stdset="0" >
382 <string>Generate shadings</string>
383 </property>
384 <property name="whatsThis" stdset="0" >
385 <string>Check to let 3D-effect colors be calculated from button-color.</string>
386 </property>
387 </widget>
388 </item>
389 <item>
390 <widget class="QComboBox" name="comboEffect" >
391 <property name="objectName" >
392 <string notr="true" >comboEffect</string>
393 </property>
394 <property name="toolTip" stdset="0" >
395 <string>Choose 3D-effect color role</string>
396 </property>
397 <property name="whatsThis" stdset="0" >
398 <string>&lt;b>Select a color role.&lt;/b>&lt;p>Available effect roles are: &lt;ul> &lt;li>Light - lighter than Button color. &lt;/li> &lt;li>Midlight - between Button and Light. &lt;/li> &lt;li>Mid - between Button and Dark. &lt;/li> &lt;li>Dark - darker than Button. &lt;/li> &lt;li>Shadow - a very dark color. &lt;/li> &lt;/ul></string>
399 </property>
400 <item>
401 <property name="text" >
402 <string>Light</string>
403 </property>
404 </item>
405 <item>
406 <property name="text" >
407 <string>Midlight</string>
408 </property>
409 </item>
410 <item>
411 <property name="text" >
412 <string>Mid</string>
413 </property>
414 </item>
415 <item>
416 <property name="text" >
417 <string>Dark</string>
418 </property>
419 </item>
420 <item>
421 <property name="text" >
422 <string>Shadow</string>
423 </property>
424 </item>
425 </widget>
426 </item>
427 </layout>
428 </item>
429 <item>
430 <layout class="QHBoxLayout" >
431 <property name="objectName" >
432 <string notr="true" >unnamed</string>
433 </property>
434 <property name="margin" >
435 <number>0</number>
436 </property>
437 <property name="spacing" >
438 <number>6</number>
439 </property>
440 <item>
441 <spacer name="Horizontal_Spacing3" >
442 <property name="sizeHint" >
443 <size>
444 <width>20</width>
445 <height>20</height>
446 </size>
447 </property>
448 <property name="sizeType" >
449 <enum>Expanding</enum>
450 </property>
451 <property name="orientation" >
452 <enum>Horizontal</enum>
453 </property>
454 </spacer>
455 </item>
456 <item>
457 <widget class="QLabel" name="labelEffect" >
458 <property name="objectName" >
459 <string notr="true" >labelEffect</string>
460 </property>
461 <property name="sizePolicy" >
462 <sizepolicy>
463 <hsizetype>1</hsizetype>
464 <vsizetype>1</vsizetype>
465 <horstretch>0</horstretch>
466 <verstretch>0</verstretch>
467 </sizepolicy>
468 </property>
469 <property name="minimumSize" >
470 <size>
471 <width>0</width>
472 <height>0</height>
473 </size>
474 </property>
475 <property name="text" >
476 <string>Select Co&amp;lor:</string>
477 </property>
478 <property name="buddy" stdset="0" >
479 <cstring>buttonEffect</cstring>
480 </property>
481 </widget>
482 </item>
483 <item>
484 <widget class="ColorButton" name="buttonEffect" >
485 <property name="objectName" >
486 <string notr="true" >buttonEffect</string>
487 </property>
488 <property name="sizePolicy" >
489 <sizepolicy>
490 <hsizetype>0</hsizetype>
491 <vsizetype>0</vsizetype>
492 <horstretch>0</horstretch>
493 <verstretch>0</verstretch>
494 </sizepolicy>
495 </property>
496 <property name="focusPolicy" >
497 <enum>Qt::TabFocus</enum>
498 </property>
499 <property name="toolTip" stdset="0" >
500 <string>Choose a color</string>
501 </property>
502 <property name="whatsThis" stdset="0" >
503 <string>Choose a color for the selected effect color role.</string>
504 </property>
505 </widget>
506 </item>
507 </layout>
508 </item>
509 </layout>
510 </widget>
511 </item>
512 <item>
513 <layout class="QHBoxLayout" >
514 <property name="objectName" >
515 <string notr="true" >unnamed</string>
516 </property>
517 <property name="margin" >
518 <number>0</number>
519 </property>
520 <property name="spacing" >
521 <number>6</number>
522 </property>
523 <item>
524 <spacer name="Horizontal_Spacing2" >
525 <property name="sizeHint" >
526 <size>
527 <width>20</width>
528 <height>20</height>
529 </size>
530 </property>
531 <property name="sizeType" >
532 <enum>Expanding</enum>
533 </property>
534 <property name="orientation" >
535 <enum>Horizontal</enum>
536 </property>
537 </spacer>
538 </item>
539 <item>
540 <widget class="QPushButton" name="buttonOk" >
541 <property name="objectName" >
542 <string notr="true" >buttonOk</string>
543 </property>
544 <property name="text" >
545 <string>OK</string>
546 </property>
547 <property name="autoDefault" >
548 <bool>true</bool>
549 </property>
550 <property name="default" >
551 <bool>true</bool>
552 </property>
553 <property name="whatsThis" stdset="0" >
554 <string>Close dialog and apply all changes.</string>
555 </property>
556 </widget>
557 </item>
558 <item>
559 <widget class="QPushButton" name="buttonCancel" >
560 <property name="objectName" >
561 <string notr="true" >buttonCancel</string>
562 </property>
563 <property name="text" >
564 <string>Cancel</string>
565 </property>
566 <property name="autoDefault" >
567 <bool>true</bool>
568 </property>
569 <property name="whatsThis" stdset="0" >
570 <string>Close dialog and discard all changes.</string>
571 </property>
572 </widget>
573 </item>
574 </layout>
575 </item>
576 </layout>
577 </widget>
578 <pixmapfunction></pixmapfunction>
579 <customwidgets>
580 <customwidget>
581 <class>ColorButton</class>
582 <extends></extends>
583 <header location="local" >colorbutton.h</header>
584 <sizehint>
585 <width>40</width>
586 <height>25</height>
587 </sizehint>
588 <container>0</container>
589 <sizepolicy>
590 <hordata>5</hordata>
591 <verdata>5</verdata>
592 </sizepolicy>
593 <pixmap>image0</pixmap>
594 <properties>
595 <property type="Color" >color</property>
596 <property type="Pixmap" >pixmap</property>
597 </properties>
598 </customwidget>
599 </customwidgets>
600 <tabstops>
601 <tabstop>buttonOk</tabstop>
602 <tabstop>buttonCancel</tabstop>
603 <tabstop>paletteCombo</tabstop>
604 <tabstop>checkBuildInactive</tabstop>
605 <tabstop>checkBuildDisabled</tabstop>
606 <tabstop>comboCentral</tabstop>
607 <tabstop>buttonCentral</tabstop>
608 <tabstop>checkBuildEffect</tabstop>
609 <tabstop>comboEffect</tabstop>
610 <tabstop>buttonEffect</tabstop>
611 </tabstops>
612 <images>
613 <image name="image0" >
614 <data format="XPM.GZ" length="646" >789c6dd2c10ac2300c00d07bbf2234b7229d1be245fc04c5a3201e4615f430059d0711ff5ddb2e6bb236ec90eed134cb5a19d8ef36602af5ecdbfeeac05dda0798d3abebde87e3faa374d3807fa0d633a52d38d8de6f679fe33fc776e196f53cd010188256a3600a292882096246517815ca99884606e18044a3a40d91824820924265a7923a2e8bcd05f33db1173e002913175f2a6be6d3294871a2d95fa00e8a94ee017b69d339d90df1e77c57ea072ede6758</data>
615 </image>
616 </images>
617</ui>
Note: See TracBrowser for help on using the repository browser.