1 <ui version="4.0" stdsetdef="1" >
3 <comment>*********************************************************************
5 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
6 ** All rights reserved.
7 ** Contact: Nokia Corporation (qt-info@nokia.com)
9 ** This file is part of the tools applications of the Qt Toolkit.
11 ** $QT_BEGIN_LICENSE:LGPL$
12 ** No Commercial Usage
13 ** This file contains pre-release code and may not be distributed.
14 ** You may use this file in accordance with the terms and conditions
15 ** contained in the Technology Preview License Agreement accompanying
18 ** GNU Lesser General Public License Usage
19 ** Alternatively, this file may be used under the terms of the GNU Lesser
20 ** General Public License version 2.1 as published by the Free Software
21 ** Foundation and appearing in the file LICENSE.LGPL included in the
22 ** packaging of this file. Please review the following information to
23 ** ensure the GNU Lesser General Public License version 2.1 requirements
24 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
26 ** In addition, as a special exception, Nokia gives you certain additional
27 ** rights. These rights are described in the Nokia Qt LGPL Exception
28 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
30 ** If you have questions regarding the use of this file, please contact
31 ** Nokia at qt-info@nokia.com.
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>
49 <property name="enabled" >
52 <property name="geometry" >
60 <property name="windowTitle" >
61 <string>Tune Palette</string>
63 <property name="sizeGripEnabled" >
66 <property name="whatsThis" stdset="0" >
67 <string><b>Edit Palette</b><p>Change the palette of the current widget or form.</p><p>Use a generated palette or select colors for each color group and each color role.</p><p>The palette can be tested with different widget layouts in the preview section.</p></string>
69 <layout class="QVBoxLayout" >
70 <property name="objectName" >
71 <string notr="true" >unnamed</string>
73 <property name="margin" >
76 <property name="spacing" >
80 <layout class="QHBoxLayout" >
81 <property name="objectName" >
82 <string notr="true" >unnamed</string>
84 <property name="margin" >
87 <property name="spacing" >
91 <widget class="QLabel" name="TextLabel1" >
92 <property name="objectName" >
93 <string notr="true" >TextLabel1</string>
95 <property name="text" >
96 <string>Select &Palette:</string>
98 <property name="buddy" stdset="0" >
99 <cstring>paletteCombo</cstring>
104 <widget class="QComboBox" name="paletteCombo" >
105 <property name="objectName" >
106 <string notr="true" >paletteCombo</string>
109 <property name="text" >
110 <string>Active Palette</string>
114 <property name="text" >
115 <string>Inactive Palette</string>
119 <property name="text" >
120 <string>Disabled Palette</string>
128 <widget class="Q3ButtonGroup" name="ButtonGroup1" >
129 <property name="objectName" >
130 <string notr="true" >ButtonGroup1</string>
132 <property name="sizePolicy" >
134 <hsizetype>5</hsizetype>
135 <vsizetype>4</vsizetype>
136 <horstretch>0</horstretch>
137 <verstretch>0</verstretch>
140 <property name="title" >
141 <string>Auto</string>
143 <layout class="QVBoxLayout" >
144 <property name="objectName" >
145 <string notr="true" >unnamed</string>
147 <property name="margin" >
150 <property name="spacing" >
154 <widget class="QCheckBox" name="checkBuildInactive" >
155 <property name="objectName" >
156 <string notr="true" >checkBuildInactive</string>
158 <property name="text" >
159 <string>Build inactive palette from active</string>
161 <property name="checked" >
167 <widget class="QCheckBox" name="checkBuildDisabled" >
168 <property name="objectName" >
169 <string notr="true" >checkBuildDisabled</string>
171 <property name="text" >
172 <string>Build disabled palette from active</string>
174 <property name="checked" >
183 <widget class="Q3GroupBox" name="groupCentral" >
184 <property name="objectName" >
185 <string notr="true" >groupCentral</string>
187 <property name="title" >
188 <string>Central color &roles</string>
190 <layout class="QVBoxLayout" >
191 <property name="objectName" >
192 <string notr="true" >unnamed</string>
194 <property name="margin" >
197 <property name="spacing" >
201 <widget class="QComboBox" name="comboCentral" >
202 <property name="objectName" >
203 <string notr="true" >comboCentral</string>
205 <property name="toolTip" stdset="0" >
206 <string>Choose central color role</string>
208 <property name="whatsThis" stdset="0" >
209 <string><b>Select a color role.</b><p>Available central roles are: <ul> <li>Window - general background color.</li> <li>WindowText - general foreground color. </li> <li>Base - used as background color for e.g. text entry widgets, usually white or another light color. </li> <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. </li> <li>Button - general button background color, where buttons need a background different from Window, as in the Macintosh style. </li> <li>ButtonText - a foreground color used with the Button color. </li> <li>Highlight - a color to indicate a selected or highlighted item. </li> <li>HighlightedText - a text color that contrasts to Highlight. </li> <li>BrightText - a text color that is very different from WindowText and contrasts well with e.g. black. </li> </ul> </p></string>
212 <property name="text" >
213 <string>Window</string>
217 <property name="text" >
218 <string>WindowText</string>
222 <property name="text" >
223 <string>Button</string>
227 <property name="text" >
228 <string>Base</string>
232 <property name="text" >
233 <string>Text</string>
237 <property name="text" >
238 <string>BrightText</string>
242 <property name="text" >
243 <string>ButtonText</string>
247 <property name="text" >
248 <string>Highlight</string>
252 <property name="text" >
253 <string>HighlightedText</string>
259 <layout class="QHBoxLayout" >
260 <property name="objectName" >
261 <string notr="true" >unnamed</string>
263 <property name="margin" >
266 <property name="spacing" >
270 <spacer name="Horizontal_Spacing1" >
271 <property name="sizeHint" >
277 <property name="sizeType" >
278 <enum>Expanding</enum>
280 <property name="orientation" >
281 <enum>Horizontal</enum>
286 <widget class="QLabel" name="labelCentral" >
287 <property name="objectName" >
288 <string notr="true" >labelCentral</string>
290 <property name="sizePolicy" >
292 <hsizetype>1</hsizetype>
293 <vsizetype>1</vsizetype>
294 <horstretch>0</horstretch>
295 <verstretch>0</verstretch>
298 <property name="minimumSize" >
304 <property name="text" >
305 <string>&Select Color:</string>
307 <property name="buddy" stdset="0" >
308 <cstring>buttonCentral</cstring>
313 <widget class="ColorButton" name="buttonCentral" >
314 <property name="objectName" >
315 <string notr="true" >buttonCentral</string>
317 <property name="sizePolicy" >
319 <hsizetype>0</hsizetype>
320 <vsizetype>0</vsizetype>
321 <horstretch>0</horstretch>
322 <verstretch>0</verstretch>
325 <property name="focusPolicy" >
326 <enum>Qt::TabFocus</enum>
328 <property name="toolTip" stdset="0" >
329 <string>Choose a color</string>
331 <property name="whatsThis" stdset="0" >
332 <string>Choose a color for the selected central color role.</string>
342 <widget class="Q3GroupBox" name="groupEffect" >
343 <property name="objectName" >
344 <string notr="true" >groupEffect</string>
346 <property name="title" >
347 <string>3-D shadow &effects</string>
349 <layout class="QVBoxLayout" >
350 <property name="objectName" >
351 <string notr="true" >unnamed</string>
353 <property name="margin" >
356 <property name="spacing" >
360 <layout class="QHBoxLayout" >
361 <property name="objectName" >
362 <string notr="true" >unnamed</string>
364 <property name="margin" >
367 <property name="spacing" >
371 <widget class="QCheckBox" name="checkBuildEffect" >
372 <property name="objectName" >
373 <string notr="true" >checkBuildEffect</string>
375 <property name="text" >
376 <string>Build &from button color</string>
378 <property name="checked" >
381 <property name="toolTip" stdset="0" >
382 <string>Generate shadings</string>
384 <property name="whatsThis" stdset="0" >
385 <string>Check to let 3D-effect colors be calculated from button-color.</string>
390 <widget class="QComboBox" name="comboEffect" >
391 <property name="objectName" >
392 <string notr="true" >comboEffect</string>
394 <property name="toolTip" stdset="0" >
395 <string>Choose 3D-effect color role</string>
397 <property name="whatsThis" stdset="0" >
398 <string><b>Select a color role.</b><p>Available effect roles are: <ul> <li>Light - lighter than Button color. </li> <li>Midlight - between Button and Light. </li> <li>Mid - between Button and Dark. </li> <li>Dark - darker than Button. </li> <li>Shadow - a very dark color. </li> </ul></string>
401 <property name="text" >
402 <string>Light</string>
406 <property name="text" >
407 <string>Midlight</string>
411 <property name="text" >
416 <property name="text" >
417 <string>Dark</string>
421 <property name="text" >
422 <string>Shadow</string>
430 <layout class="QHBoxLayout" >
431 <property name="objectName" >
432 <string notr="true" >unnamed</string>
434 <property name="margin" >
437 <property name="spacing" >
441 <spacer name="Horizontal_Spacing3" >
442 <property name="sizeHint" >
448 <property name="sizeType" >
449 <enum>Expanding</enum>
451 <property name="orientation" >
452 <enum>Horizontal</enum>
457 <widget class="QLabel" name="labelEffect" >
458 <property name="objectName" >
459 <string notr="true" >labelEffect</string>
461 <property name="sizePolicy" >
463 <hsizetype>1</hsizetype>
464 <vsizetype>1</vsizetype>
465 <horstretch>0</horstretch>
466 <verstretch>0</verstretch>
469 <property name="minimumSize" >
475 <property name="text" >
476 <string>Select Co&lor:</string>
478 <property name="buddy" stdset="0" >
479 <cstring>buttonEffect</cstring>
484 <widget class="ColorButton" name="buttonEffect" >
485 <property name="objectName" >
486 <string notr="true" >buttonEffect</string>
488 <property name="sizePolicy" >
490 <hsizetype>0</hsizetype>
491 <vsizetype>0</vsizetype>
492 <horstretch>0</horstretch>
493 <verstretch>0</verstretch>
496 <property name="focusPolicy" >
497 <enum>Qt::TabFocus</enum>
499 <property name="toolTip" stdset="0" >
500 <string>Choose a color</string>
502 <property name="whatsThis" stdset="0" >
503 <string>Choose a color for the selected effect color role.</string>
513 <layout class="QHBoxLayout" >
514 <property name="objectName" >
515 <string notr="true" >unnamed</string>
517 <property name="margin" >
520 <property name="spacing" >
524 <spacer name="Horizontal_Spacing2" >
525 <property name="sizeHint" >
531 <property name="sizeType" >
532 <enum>Expanding</enum>
534 <property name="orientation" >
535 <enum>Horizontal</enum>
540 <widget class="QPushButton" name="buttonOk" >
541 <property name="objectName" >
542 <string notr="true" >buttonOk</string>
544 <property name="text" >
547 <property name="autoDefault" >
550 <property name="default" >
553 <property name="whatsThis" stdset="0" >
554 <string>Close dialog and apply all changes.</string>
559 <widget class="QPushButton" name="buttonCancel" >
560 <property name="objectName" >
561 <string notr="true" >buttonCancel</string>
563 <property name="text" >
564 <string>Cancel</string>
566 <property name="autoDefault" >
569 <property name="whatsThis" stdset="0" >
570 <string>Close dialog and discard all changes.</string>
578 <pixmapfunction></pixmapfunction>
581 <class>ColorButton</class>
583 <header location="local" >colorbutton.h</header>
588 <container>0</container>
593 <pixmap>image0</pixmap>
595 <property type="Color" >color</property>
596 <property type="Pixmap" >pixmap</property>
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>
613 <image name="image0" >
614 <data format="XPM.GZ" length="646" >789c6dd2c10ac2300c00d07bbf2234b7229d1be245fc04c5a3201e4615f430059d0711ff5ddb2e6bb236ec90eed134cb5a19d8ef36602af5ecdbfeeac05dda0798d3abebde87e3faa374d3807fa0d633a52d38d8de6f679fe33fc776e196f53cd010188256a3600a292882096246517815ca99884606e18044a3a40d91824820924265a7923a2e8bcd05f33db1173e002913175f2a6be6d3294871a2d95fa00e8a94ee017b69d339d90df1e77c57ea072ede6758</data>