********************************************************************* ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** Contact: Qt Software Information (qt-info@nokia.com) ** ** This file is part of the tools applications of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial Usage ** Licensees holding valid Qt Commercial licenses may use this file in ** accordance with the Qt Commercial License Agreement provided with the ** Software or, alternatively, in accordance with the terms contained in ** a written agreement between you and Nokia. ** ** GNU Lesser General Public License Usage ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License version 2.1 as published by the Free Software ** Foundation and appearing in the file LICENSE.LGPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU Lesser General Public License version 2.1 requirements ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. ** ** In addition, as a special exception, Nokia gives you certain ** additional rights. These rights are described in the Nokia Qt LGPL ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this ** package. ** ** GNU General Public License Usage ** Alternatively, this file may be used under the terms of the GNU ** General Public License version 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU General Public License version 3.0 requirements will be ** met: http://www.gnu.org/copyleft/gpl.html. ** ** If you are unsure which license is appropriate for your use, please ** contact the sales department at qt-sales@nokia.com. ** $QT_END_LICENSE$ ** ********************************************************************* PaletteEditorAdvancedBase PaletteEditorAdvancedBase true 0 0 295 346 Tune Palette true <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> unnamed 11 6 unnamed 0 6 TextLabel1 Select &Palette: paletteCombo paletteCombo Active Palette Inactive Palette Disabled Palette ButtonGroup1 5 4 0 0 Auto unnamed 11 6 checkBuildInactive Build inactive palette from active true checkBuildDisabled Build disabled palette from active true groupCentral Central color &roles unnamed 11 6 comboCentral Choose central color role <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> Window WindowText Button Base Text BrightText ButtonText Highlight HighlightedText unnamed 0 6 20 20 Expanding Horizontal labelCentral 1 1 0 0 0 0 &Select Color: buttonCentral buttonCentral 0 0 0 0 Qt::TabFocus Choose a color Choose a color for the selected central color role. groupEffect 3-D shadow &effects unnamed 11 6 unnamed 0 6 checkBuildEffect Build &from button color true Generate shadings Check to let 3D-effect colors be calculated from button-color. comboEffect Choose 3D-effect color role <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> Light Midlight Mid Dark Shadow unnamed 0 6 20 20 Expanding Horizontal labelEffect 1 1 0 0 0 0 Select Co&lor: buttonEffect buttonEffect 0 0 0 0 Qt::TabFocus Choose a color Choose a color for the selected effect color role. unnamed 0 6 20 20 Expanding Horizontal buttonOk OK true true Close dialog and apply all changes. buttonCancel Cancel true Close dialog and discard all changes. ColorButton
colorbutton.h
40 25 0 5 5 image0 color pixmap
buttonOk buttonCancel paletteCombo checkBuildInactive checkBuildDisabled comboCentral buttonCentral checkBuildEffect comboEffect buttonEffect 789c6dd2c10ac2300c00d07bbf2234b7229d1be245fc04c5a3201e4615f430059d0711ff5ddb2e6bb236ec90eed134cb5a19d8ef36602af5ecdbfeeac05dda0798d3abebde87e3faa374d3807fa0d633a52d38d8de6f679fe33fc776e196f53cd010188256a3600a292882096246517815ca99884606e18044a3a40d91824820924265a7923a2e8bcd05f33db1173e002913175f2a6be6d3294871a2d95fa00e8a94ee017b69d339d90df1e77c57ea072ede6758