PaletteEditorAdvancedBase ********************************************************************* ** Copyright (C) 2000-2008 Trolltech ASA. All rights reserved. ** ** This file is part of Qt Designer. ** ** This file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free ** Software Foundation and appearing in the files LICENSE.GPL2 ** and LICENSE.GPL3 included in the packaging of this file. ** Alternatively you may (at your option) use any later version ** of the GNU General Public License if such license has been ** publicly approved by Trolltech ASA (or its successors, if any) ** and the KDE Free Qt Foundation. ** ** Please review the following information to ensure GNU General ** Public Licensing requirements will be met: ** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** If you are unsure which license is appropriate for your use, please ** review the following information: ** http://trolltech.com/products/qt/licenses/licensing/licensingoverview ** or contact the sales department at sales@trolltech.com. ** ** Licensees holding valid Qt Commercial licenses may use this file in ** accordance with the Qt Commercial License Agreement provided with ** the Software. ** ** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, ** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR ** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted ** herein. ** ********************************************************************* 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 Layout14 unnamed 0 6 TextLabel1 MShape MShadow Select &Palette: paletteCombo Active Palette Inactive Palette Disabled Palette paletteCombo ButtonGroup1 5 4 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 Background Foreground Button Base Text BrightText ButtonText Highlight HighlightText Link LinkVisited comboCentral Choose central color role <b>Select a color role.</b><p>Available central roles are: <ul> <li>Background - general background color.</li> <li>Foreground - 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 forground color used with Base. Usually this is the same as the Foreground, in what case it must provide good contrast both with Background and Base. </li> <li>Button - general button background color, where buttons need a background different from Background, 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 Foreground and contrasts well with e.g. black. </li> </ul> </p> Layout32_2 unnamed 0 6 Horizontal_Spacing1 Horizontal Expanding 20 20 labelCentral 1 1 0 0 &Select Color: buttonCentral buttonCentral 0 0 TabFocus Choose a color Choose a color for the selected central color role. groupEffect 3-D shadow &effects unnamed 11 6 Layout32_3 unnamed 0 6 checkBuildEffect Build &from button color true Generate shadings Check to let 3D-effect colors be calculated from button-color. Light Midlight Mid Dark Shadow 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> Layout31_2 unnamed 0 6 Horizontal_Spacing3 Horizontal Expanding 20 20 labelEffect 1 1 0 0 Select Co&lor: buttonEffect buttonEffect 0 0 TabFocus Choose a color Choose a color for the selected effect color role. Layout3 unnamed 0 6 Horizontal_Spacing2 Horizontal Expanding 20 20 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 clicked() colorChanged(const QColor &) changed() color pixmap
789c6dd2c10ac2300c00d07bbf2234b7229d1be245fc04c5a3201e4615f430059d0711ff5ddb2e6bb236ec90eed134cb5a19d8ef36602af5ecdbfeeac05dda0798d3abebde87e3faa374d3807fa0d633a52d38d8de6f679fe33fc776e196f53cd010188256a3600a292882096246517815ca99884606e18044a3a40d91824820924265a7923a2e8bcd05f33db1173e002913175f2a6be6d3294871a2d95fa00e8a94ee017b69d339d90df1e77c57ea072ede6758 buttonOk clicked() PaletteEditorAdvancedBase accept() buttonCancel clicked() PaletteEditorAdvancedBase reject() paletteCombo activated(int) PaletteEditorAdvancedBase paletteSelected(int) comboCentral activated(int) PaletteEditorAdvancedBase onCentral(int) buttonCentral clicked() PaletteEditorAdvancedBase onChooseCentralColor() buttonEffect clicked() PaletteEditorAdvancedBase onChooseEffectColor() comboEffect activated(int) PaletteEditorAdvancedBase onEffect(int) checkBuildEffect toggled(bool) PaletteEditorAdvancedBase onToggleBuildEffects(bool) checkBuildEffect toggled(bool) comboEffect setDisabled(bool) checkBuildEffect toggled(bool) buttonEffect setDisabled(bool) checkBuildInactive toggled(bool) PaletteEditorAdvancedBase onToggleBuildInactive(bool) checkBuildDisabled toggled(bool) PaletteEditorAdvancedBase onToggleBuildDisabled(bool) init() destroy() onCentral(int) onChooseCentralColor() onChooseEffectColor() onEffect(int) onToggleBuildDisabled(bool) onToggleBuildEffects(bool) onToggleBuildInactive(bool) paletteSelected(int) buttonOk buttonCancel paletteCombo checkBuildInactive checkBuildDisabled comboCentral buttonCentral checkBuildEffect comboEffect buttonEffect