diff options
Diffstat (limited to 'tqtinterface/qt4/tools/qtconfig/paletteeditoradvancedbase.ui')
| -rw-r--r-- | tqtinterface/qt4/tools/qtconfig/paletteeditoradvancedbase.ui | 682 | 
1 files changed, 682 insertions, 0 deletions
diff --git a/tqtinterface/qt4/tools/qtconfig/paletteeditoradvancedbase.ui b/tqtinterface/qt4/tools/qtconfig/paletteeditoradvancedbase.ui new file mode 100644 index 0000000..8daf961 --- /dev/null +++ b/tqtinterface/qt4/tools/qtconfig/paletteeditoradvancedbase.ui @@ -0,0 +1,682 @@ +<!DOCTYPE UI><UI version="3.0" stdsetdef="1"> +<class>PaletteEditorAdvancedBase</class> +<comment>********************************************************************* +** 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. +** +*********************************************************************</comment> +<widget class="TQDialog"> +    <property name="name"> +        <cstring>PaletteEditorAdvancedBase</cstring> +    </property> +    <property name="enabled"> +        <bool>true</bool> +    </property> +    <property name="geometry"> +        <rect> +            <x>0</x> +            <y>0</y> +            <width>295</width> +            <height>346</height> +        </rect> +    </property> +    <property name="caption"> +        <string>Tune Palette</string> +    </property> +    <property name="sizeGripEnabled"> +        <bool>true</bool> +    </property> +    <property name="whatsThis" stdset="0"> +        <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> +    </property> +    <vbox> +        <property name="name"> +            <cstring>unnamed</cstring> +        </property> +        <property name="margin"> +            <number>11</number> +        </property> +        <property name="spacing"> +            <number>6</number> +        </property> +        <widget class="TQLayoutWidget"> +            <property name="name"> +                <cstring>Layout14</cstring> +            </property> +            <hbox> +                <property name="name"> +                    <cstring>unnamed</cstring> +                </property> +                <property name="margin"> +                    <number>0</number> +                </property> +                <property name="spacing"> +                    <number>6</number> +                </property> +                <widget class="TQLabel"> +                    <property name="name"> +                        <cstring>TextLabel1</cstring> +                    </property> +                    <property name="frameShape"> +                        <enum>MShape</enum> +                    </property> +                    <property name="frameShadow"> +                        <enum>MShadow</enum> +                    </property> +                    <property name="text"> +                        <string>Select &Palette:</string> +                    </property> +                    <property name="buddy" stdset="0"> +                        <cstring>paletteCombo</cstring> +                    </property> +                </widget> +                <widget class="TQComboBox"> +                    <item> +                        <property name="text"> +                            <string>Active Palette</string> +                        </property> +                    </item> +                    <item> +                        <property name="text"> +                            <string>Inactive Palette</string> +                        </property> +                    </item> +                    <item> +                        <property name="text"> +                            <string>Disabled Palette</string> +                        </property> +                    </item> +                    <property name="name"> +                        <cstring>paletteCombo</cstring> +                    </property> +                </widget> +            </hbox> +        </widget> +        <widget class="TQButtonGroup"> +            <property name="name"> +                <cstring>ButtonGroup1</cstring> +            </property> +            <property name="sizePolicy"> +                <sizepolicy> +                    <hsizetype>5</hsizetype> +                    <vsizetype>4</vsizetype> +                </sizepolicy> +            </property> +            <property name="title"> +                <string>Auto</string> +            </property> +            <vbox> +                <property name="name"> +                    <cstring>unnamed</cstring> +                </property> +                <property name="margin"> +                    <number>11</number> +                </property> +                <property name="spacing"> +                    <number>6</number> +                </property> +                <widget class="TQCheckBox"> +                    <property name="name"> +                        <cstring>checkBuildInactive</cstring> +                    </property> +                    <property name="text"> +                        <string>Build inactive palette from active.</string> +                    </property> +                    <property name="checked"> +                        <bool>true</bool> +                    </property> +                </widget> +                <widget class="TQCheckBox"> +                    <property name="name"> +                        <cstring>checkBuildDisabled</cstring> +                    </property> +                    <property name="text"> +                        <string>Build disabled palette from active.</string> +                    </property> +                    <property name="checked"> +                        <bool>true</bool> +                    </property> +                </widget> +            </vbox> +        </widget> +        <widget class="TQGroupBox"> +            <property name="name"> +                <cstring>groupCentral</cstring> +            </property> +            <property name="title"> +                <string>Central color &roles</string> +            </property> +            <vbox> +                <property name="name"> +                    <cstring>unnamed</cstring> +                </property> +                <property name="margin"> +                    <number>11</number> +                </property> +                <property name="spacing"> +                    <number>6</number> +                </property> +                <widget class="TQComboBox"> +                    <item> +                        <property name="text"> +                            <string>Background</string> +                        </property> +                    </item> +                    <item> +                        <property name="text"> +                            <string>Foreground</string> +                        </property> +                    </item> +                    <item> +                        <property name="text"> +                            <string>Button</string> +                        </property> +                    </item> +                    <item> +                        <property name="text"> +                            <string>Base</string> +                        </property> +                    </item> +                    <item> +                        <property name="text"> +                            <string>Text</string> +                        </property> +                    </item> +                    <item> +                        <property name="text"> +                            <string>BrightText</string> +                        </property> +                    </item> +                    <item> +                        <property name="text"> +                            <string>ButtonText</string> +                        </property> +                    </item> +                    <item> +                        <property name="text"> +                            <string>Highlight</string> +                        </property> +                    </item> +                    <item> +                        <property name="text"> +                            <string>HighlightText</string> +                        </property> +                    </item> +                    <item> +                        <property name="text"> +                            <string>Link</string> +                        </property> +                    </item> +                    <item> +                        <property name="text"> +                            <string>LinkVisited</string> +                        </property> +                    </item> +                    <property name="name"> +                        <cstring>comboCentral</cstring> +                    </property> +                    <property name="toolTip" stdset="0"> +                        <string>Choose central color role</string> +                    </property> +                    <property name="whatsThis" stdset="0"> +                        <string><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></string> +                    </property> +                </widget> +                <widget class="TQLayoutWidget"> +                    <property name="name"> +                        <cstring>Layout32_2</cstring> +                    </property> +                    <hbox> +                        <property name="name"> +                            <cstring>unnamed</cstring> +                        </property> +                        <property name="margin"> +                            <number>0</number> +                        </property> +                        <property name="spacing"> +                            <number>6</number> +                        </property> +                        <spacer> +                            <property name="name"> +                                <cstring>Horizontal_Spacing1</cstring> +                            </property> +                            <property name="orientation"> +                                <enum>Horizontal</enum> +                            </property> +                            <property name="sizeType"> +                                <enum>Expanding</enum> +                            </property> +                            <property name="tqsizeHint"> +                                <size> +                                    <width>20</width> +                                    <height>20</height> +                                </size> +                            </property> +                        </spacer> +                        <widget class="TQLabel"> +                            <property name="name"> +                                <cstring>labelCentral</cstring> +                            </property> +                            <property name="sizePolicy"> +                                <sizepolicy> +                                    <hsizetype>1</hsizetype> +                                    <vsizetype>1</vsizetype> +                                </sizepolicy> +                            </property> +                            <property name="tqminimumSize"> +                                <size> +                                    <width>0</width> +                                    <height>0</height> +                                </size> +                            </property> +                            <property name="text"> +                                <string>&Select Color:</string> +                            </property> +                            <property name="buddy" stdset="0"> +                                <cstring>buttonCentral</cstring> +                            </property> +                        </widget> +                        <widget class="ColorButton"> +                            <property name="name"> +                                <cstring>buttonCentral</cstring> +                            </property> +                            <property name="sizePolicy"> +                                <sizepolicy> +                                    <hsizetype>0</hsizetype> +                                    <vsizetype>0</vsizetype> +                                </sizepolicy> +                            </property> +                            <property name="focusPolicy"> +                                <enum>TabFocus</enum> +                            </property> +                            <property name="toolTip" stdset="0"> +                                <string>Choose a color</string> +                            </property> +                            <property name="whatsThis" stdset="0"> +                                <string>Choose a color for the selected central color role.</string> +                            </property> +                        </widget> +                    </hbox> +                </widget> +            </vbox> +        </widget> +        <widget class="TQGroupBox"> +            <property name="name"> +                <cstring>groupEffect</cstring> +            </property> +            <property name="title"> +                <string>3-D shadow &effects</string> +            </property> +            <vbox> +                <property name="name"> +                    <cstring>unnamed</cstring> +                </property> +                <property name="margin"> +                    <number>11</number> +                </property> +                <property name="spacing"> +                    <number>6</number> +                </property> +                <widget class="TQLayoutWidget"> +                    <property name="name"> +                        <cstring>Layout32_3</cstring> +                    </property> +                    <hbox> +                        <property name="name"> +                            <cstring>unnamed</cstring> +                        </property> +                        <property name="margin"> +                            <number>0</number> +                        </property> +                        <property name="spacing"> +                            <number>6</number> +                        </property> +                        <widget class="TQCheckBox"> +                            <property name="name"> +                                <cstring>checkBuildEffect</cstring> +                            </property> +                            <property name="text"> +                                <string>Build &from button color</string> +                            </property> +                            <property name="checked"> +                                <bool>true</bool> +                            </property> +                            <property name="toolTip" stdset="0"> +                                <string>Generate shadings</string> +                            </property> +                            <property name="whatsThis" stdset="0"> +                                <string>Check to let 3D-effect colors be calculated from button-color.</string> +                            </property> +                        </widget> +                        <widget class="TQComboBox"> +                            <item> +                                <property name="text"> +                                    <string>Light</string> +                                </property> +                            </item> +                            <item> +                                <property name="text"> +                                    <string>Midlight</string> +                                </property> +                            </item> +                            <item> +                                <property name="text"> +                                    <string>Mid</string> +                                </property> +                            </item> +                            <item> +                                <property name="text"> +                                    <string>Dark</string> +                                </property> +                            </item> +                            <item> +                                <property name="text"> +                                    <string>Shadow</string> +                                </property> +                            </item> +                            <property name="name"> +                                <cstring>comboEffect</cstring> +                            </property> +                            <property name="toolTip" stdset="0"> +                                <string>Choose 3D-effect color role</string> +                            </property> +                            <property name="whatsThis" stdset="0"> +                                <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> +                            </property> +                        </widget> +                    </hbox> +                </widget> +                <widget class="TQLayoutWidget"> +                    <property name="name"> +                        <cstring>Layout31_2</cstring> +                    </property> +                    <hbox> +                        <property name="name"> +                            <cstring>unnamed</cstring> +                        </property> +                        <property name="margin"> +                            <number>0</number> +                        </property> +                        <property name="spacing"> +                            <number>6</number> +                        </property> +                        <spacer> +                            <property name="name"> +                                <cstring>Horizontal_Spacing3</cstring> +                            </property> +                            <property name="orientation"> +                                <enum>Horizontal</enum> +                            </property> +                            <property name="sizeType"> +                                <enum>Expanding</enum> +                            </property> +                            <property name="tqsizeHint"> +                                <size> +                                    <width>20</width> +                                    <height>20</height> +                                </size> +                            </property> +                        </spacer> +                        <widget class="TQLabel"> +                            <property name="name"> +                                <cstring>labelEffect</cstring> +                            </property> +                            <property name="sizePolicy"> +                                <sizepolicy> +                                    <hsizetype>1</hsizetype> +                                    <vsizetype>1</vsizetype> +                                </sizepolicy> +                            </property> +                            <property name="tqminimumSize"> +                                <size> +                                    <width>0</width> +                                    <height>0</height> +                                </size> +                            </property> +                            <property name="text"> +                                <string>Select Co&lor:</string> +                            </property> +                            <property name="buddy" stdset="0"> +                                <cstring>buttonEffect</cstring> +                            </property> +                        </widget> +                        <widget class="ColorButton"> +                            <property name="name"> +                                <cstring>buttonEffect</cstring> +                            </property> +                            <property name="sizePolicy"> +                                <sizepolicy> +                                    <hsizetype>0</hsizetype> +                                    <vsizetype>0</vsizetype> +                                </sizepolicy> +                            </property> +                            <property name="focusPolicy"> +                                <enum>TabFocus</enum> +                            </property> +                            <property name="toolTip" stdset="0"> +                                <string>Choose a color</string> +                            </property> +                            <property name="whatsThis" stdset="0"> +                                <string>Choose a color for the selected effect color role.</string> +                            </property> +                        </widget> +                    </hbox> +                </widget> +            </vbox> +        </widget> +        <widget class="TQLayoutWidget"> +            <property name="name"> +                <cstring>Layout3</cstring> +            </property> +            <hbox> +                <property name="name"> +                    <cstring>unnamed</cstring> +                </property> +                <property name="margin"> +                    <number>0</number> +                </property> +                <property name="spacing"> +                    <number>6</number> +                </property> +                <spacer> +                    <property name="name"> +                        <cstring>Horizontal_Spacing2</cstring> +                    </property> +                    <property name="orientation"> +                        <enum>Horizontal</enum> +                    </property> +                    <property name="sizeType"> +                        <enum>Expanding</enum> +                    </property> +                    <property name="tqsizeHint"> +                        <size> +                            <width>20</width> +                            <height>20</height> +                        </size> +                    </property> +                </spacer> +                <widget class="TQPushButton"> +                    <property name="name"> +                        <cstring>buttonOk</cstring> +                    </property> +                    <property name="text"> +                        <string>OK</string> +                    </property> +                    <property name="autoDefault"> +                        <bool>true</bool> +                    </property> +                    <property name="default"> +                        <bool>true</bool> +                    </property> +                    <property name="whatsThis" stdset="0"> +                        <string>Close dialog and apply all changes.</string> +                    </property> +                </widget> +                <widget class="TQPushButton"> +                    <property name="name"> +                        <cstring>buttonCancel</cstring> +                    </property> +                    <property name="text"> +                        <string>Cancel</string> +                    </property> +                    <property name="autoDefault"> +                        <bool>true</bool> +                    </property> +                    <property name="whatsThis" stdset="0"> +                        <string>Close dialog and discard all changes.</string> +                    </property> +                </widget> +            </hbox> +        </widget> +    </vbox> +</widget> +<customwidgets> +    <customwidget> +        <class>ColorButton</class> +        <header location="local">colorbutton.h</header> +        <sizehint> +            <width>40</width> +            <height>25</height> +        </sizehint> +        <container>0</container> +        <sizepolicy> +            <hordata>5</hordata> +            <verdata>5</verdata> +        </sizepolicy> +        <pixmap>image0</pixmap> +        <signal>clicked()</signal> +        <signal>colorChanged(const QColor &)</signal> +        <signal>changed()</signal> +        <property type="Color">color</property> +        <property type="Pixmap">pixmap</property> +    </customwidget> +</customwidgets> +<images> +    <image name="image0"> +        <data format="XPM.GZ" length="646">789c6dd2c10ac2300c00d07bbf2234b7229d1be245fc04c5a3201e4615f430059d0711ff5ddb2e6bb236ec90eed134cb5a19d8ef36602af5ecdbfeeac05dda0798d3abebde87e3faa374d3807fa0d633a52d38d8de6f679fe33fc776e196f53cd010188256a3600a292882096246517815ca99884606e18044a3a40d91824820924265a7923a2e8bcd05f33db1173e002913175f2a6be6d3294871a2d95fa00e8a94ee017b69d339d90df1e77c57ea072ede6758</data> +    </image> +</images> +<connections> +    <connection> +        <sender>buttonOk</sender> +        <signal>clicked()</signal> +        <receiver>PaletteEditorAdvancedBase</receiver> +        <slot>accept()</slot> +    </connection> +    <connection> +        <sender>buttonCancel</sender> +        <signal>clicked()</signal> +        <receiver>PaletteEditorAdvancedBase</receiver> +        <slot>reject()</slot> +    </connection> +    <connection> +        <sender>paletteCombo</sender> +        <signal>activated(int)</signal> +        <receiver>PaletteEditorAdvancedBase</receiver> +        <slot>paletteSelected(int)</slot> +    </connection> +    <connection> +        <sender>comboCentral</sender> +        <signal>activated(int)</signal> +        <receiver>PaletteEditorAdvancedBase</receiver> +        <slot>onCentral(int)</slot> +    </connection> +    <connection> +        <sender>buttonCentral</sender> +        <signal>clicked()</signal> +        <receiver>PaletteEditorAdvancedBase</receiver> +        <slot>onChooseCentralColor()</slot> +    </connection> +    <connection> +        <sender>buttonEffect</sender> +        <signal>clicked()</signal> +        <receiver>PaletteEditorAdvancedBase</receiver> +        <slot>onChooseEffectColor()</slot> +    </connection> +    <connection> +        <sender>comboEffect</sender> +        <signal>activated(int)</signal> +        <receiver>PaletteEditorAdvancedBase</receiver> +        <slot>onEffect(int)</slot> +    </connection> +    <connection> +        <sender>checkBuildEffect</sender> +        <signal>toggled(bool)</signal> +        <receiver>PaletteEditorAdvancedBase</receiver> +        <slot>onToggleBuildEffects(bool)</slot> +    </connection> +    <connection> +        <sender>checkBuildEffect</sender> +        <signal>toggled(bool)</signal> +        <receiver>comboEffect</receiver> +        <slot>setDisabled(bool)</slot> +    </connection> +    <connection> +        <sender>checkBuildEffect</sender> +        <signal>toggled(bool)</signal> +        <receiver>buttonEffect</receiver> +        <slot>setDisabled(bool)</slot> +    </connection> +    <connection> +        <sender>checkBuildInactive</sender> +        <signal>toggled(bool)</signal> +        <receiver>PaletteEditorAdvancedBase</receiver> +        <slot>onToggleBuildInactive(bool)</slot> +    </connection> +    <connection> +        <sender>checkBuildDisabled</sender> +        <signal>toggled(bool)</signal> +        <receiver>PaletteEditorAdvancedBase</receiver> +        <slot>onToggleBuildDisabled(bool)</slot> +    </connection> +    <slot access="protected" language="C++" returnType="void">init()</slot> +    <slot access="protected" language="C++" returnType="void">destroy()</slot> +    <slot access="protected" language="C++" returnType="void">onCentral(int)</slot> +    <slot access="protected" language="C++" returnType="void">onChooseCentralColor()</slot> +    <slot access="protected" language="C++" returnType="void">onChooseEffectColor()</slot> +    <slot access="protected" language="C++" returnType="void">onEffect(int)</slot> +    <slot access="protected" language="C++" returnType="void">onToggleBuildDisabled(bool)</slot> +    <slot access="protected" language="C++" returnType="void">onToggleBuildEffects(bool)</slot> +    <slot access="protected" language="C++" returnType="void">onToggleBuildInactive(bool)</slot> +    <slot access="protected" language="C++" returnType="void">paletteSelected(int)</slot> +</connections> +<tabstops> +    <tabstop>buttonOk</tabstop> +    <tabstop>buttonCancel</tabstop> +    <tabstop>paletteCombo</tabstop> +    <tabstop>checkBuildInactive</tabstop> +    <tabstop>checkBuildDisabled</tabstop> +    <tabstop>comboCentral</tabstop> +    <tabstop>buttonCentral</tabstop> +    <tabstop>checkBuildEffect</tabstop> +    <tabstop>comboEffect</tabstop> +    <tabstop>buttonEffect</tabstop> +</tabstops> +</UI>  | 
