PaletteEditorAdvancedBase ********************************************************************* ** Copyright (C) 2000 Trolltech AS. All rights reserved. ** ** This file is part of Qt Designer. ** ** This file may be distributed and/or modified under the terms of the ** GNU General Public License version 2 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. ** ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ** ** See http://www.trolltech.com/gpl/ for GPL licensing information. ** ** Contact info@trolltech.com if any conditions of this licensing are ** not clear to you. ** ********************************************************************* PaletteEditorAdvancedBase true 0 0 430 368 Tune Palette true <b>Edit Palette</b><p>Change the current widget or form's palette.</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 0 0 Auto unnamed 11 6 checkBuildInactive Build the inactive palette from the active palette. true checkBuildDisabled Build the disabled palette from the active palette. true groupCentral Central Color &Roles unnamed 11 6 Background Foreground Button Base Text BrightText ButtonText Highlight HighlightText Link LinkVisited comboCentral Choose the central color role <b>Select a color role.</b><p>Available central color roles are: <ul> <li>Background - general background color.</li> <li>Foreground - general foreground color. </li> <li>Base - used as the background color for example, for text entry widgets; it is usually white or another light color. </li> <li>Text - the forground color used with Base. Usually this is the same as the Foreground, in which case it must provide good contrast both with the Background and with the Base. </li> <li>Button - general button background color; useful 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 used 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, for example, black. </li> </ul> </p> Layout32_2 unnamed 0 6 Horizontal_Spacing1 Horizontal Expanding 20 20 labelPixmap 1 1 0 0 Choose pi&xmap: buttonPixmap buttonPixmap 0 0 0 0 TabFocus true Select a pixmap Choose a pixmap file for the selected central color role. labelCentral 1 1 0 0 0 0 &Select color: buttonCentral buttonCentral 0 0 0 0 TabFocus false Choose a color Choose a color for the selected central color role. groupEffect 3D 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 the button-color. Light Midlight Mid Dark Shadow comboEffect Choose 3D-effect color role <b>Select a color effect 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 0 0 Select co&lor: buttonEffect buttonEffect 0 0 0 0 TabFocus false Choose a color Choose a color for the selected effect color role. Layout3 unnamed 0 6 buttonHelp &Help true Horizontal_Spacing2 Horizontal Expanding 20 20 buttonOk &OK true true Close the dialog and apply all the changes. buttonCancel &Cancel true Close the dialog and discard any changes. StyledButton
styledbutton.h
40 25 0 5 5 0 0 image0 clicked() changed() color pixmap scale
789c9dd2cb8e9b301406e07d9e0225bba89a09601350d505302c5b7559a9eac23e6672b363620c0ca9faeef53949da2e2a55eab123f9e38f2f217e5e475f3e7f8cd6cf8bde0b7f8008f6c2456b3518337ffdf6e1fb62992451e8691ac5cb778be55304d1277b6e71fc12c6ab0d157222e61bd8e4c812196f6216535a13f318624a6764b2495842e99558249014c81e99c6294b69d3376291424ae9806431638cd28628183081f4489e70ce13e4852878c129ad905992f18cd291283295517a466ed32ddfa64847945bb595c80e99a739cf29d54499ab9c528b2c58c10b86344428540148400a26b8a0541241b482d215523299494a0551c9562ae409091c32e0c82351410b942aa4e22a53941e882d36e41ed966d8903b2215f215f99a6143b6442afaafff5aff485658622584a091941256948443d1cabbdd6ebf3f28753c09a9e9cdc1fe703c9e4ea19f689a0430fa4c8908082be093d08d016bbb0bbd5e7ceafade5b30de19d083b3fa9e008cd39b9fafd69495b473af7fcfb15325c1d61eea0afaf005ddf97b5295c658a866338f97591babef7340fa396c6c5ca9e7fe650807d0bf566b4262299986ba335a3b4a2cc84b69ac85b1b673037d8fabf95b023a9c09cc7530e104dd5419ed6e27083fb09a7c752db5a9bd31cde4ec634ed8a39aebbe337618c3f6fdc5dee6d8b0bb0d6b5b8b1fad43d78fe4e14e3f6aace8e29d9d736777fea3c686eee0138c9726d4d00c548df7a315ff750f7ebc5ffc04a0e5308d buttonOk clicked() PaletteEditorAdvancedBase accept() buttonCancel clicked() PaletteEditorAdvancedBase reject() paletteCombo activated(int) PaletteEditorAdvancedBase paletteSelected(int) comboCentral activated(int) PaletteEditorAdvancedBase onCentral(int) buttonPixmap clicked() PaletteEditorAdvancedBase onChoosePixmap() buttonCentral clicked() PaletteEditorAdvancedBase onChooseCentralColor() buttonEffect clicked() PaletteEditorAdvancedBase onChooseEffectColor() comboEffect activated(int) PaletteEditorAdvancedBase onEffect(int) checkBuildEffect toggled(bool) PaletteEditorAdvancedBase onToggleBuildEffects(bool) buttonHelp clicked() PaletteEditorAdvancedBase showHelp() checkBuildEffect toggled(bool) comboEffect setDisabled(bool) checkBuildEffect toggled(bool) buttonEffect setDisabled(bool) checkBuildInactive toggled(bool) PaletteEditorAdvancedBase onToggleBuildInactive(bool) checkBuildDisabled toggled(bool) PaletteEditorAdvancedBase onToggleBuildDisabled(bool) buttonOk buttonCancel paletteCombo checkBuildInactive checkBuildDisabled comboCentral buttonPixmap buttonCentral checkBuildEffect comboEffect buttonEffect buttonHelp init() destroy() onToggleBuildDisabled(bool) onCentral(int) onChooseCentralColor() onChooseEffectColor() onChoosePixmap() onEffect(int) onToggleBuildEffects(bool) onToggleBuildInactive(bool) paletteSelected(int) showHelp() styledbutton.h