tests/auto/uic/baseline/paletteeditoradvancedbase.ui.h
changeset 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 /*
       
     2 *********************************************************************
       
     3 **
       
     4 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     5 ** All rights reserved.
       
     6 ** Contact: Nokia Corporation (qt-info@nokia.com)
       
     7 **
       
     8 ** This file is part of the autotests of the Qt Toolkit.
       
     9 **
       
    10 ** $QT_BEGIN_LICENSE:LGPL$
       
    11 ** No Commercial Usage
       
    12 ** This file contains pre-release code and may not be distributed.
       
    13 ** You may use this file in accordance with the terms and conditions
       
    14 ** contained in the Technology Preview License Agreement accompanying
       
    15 ** this package.
       
    16 **
       
    17 ** GNU Lesser General Public License Usage
       
    18 ** Alternatively, this file may be used under the terms of the GNU Lesser
       
    19 ** General Public License version 2.1 as published by the Free Software
       
    20 ** Foundation and appearing in the file LICENSE.LGPL included in the
       
    21 ** packaging of this file.  Please review the following information to
       
    22 ** ensure the GNU Lesser General Public License version 2.1 requirements
       
    23 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
       
    24 **
       
    25 ** In addition, as a special exception, Nokia gives you certain additional
       
    26 ** rights.  These rights are described in the Nokia Qt LGPL Exception
       
    27 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
       
    28 **
       
    29 ** If you have questions regarding the use of this file, please contact
       
    30 ** Nokia at qt-info@nokia.com.
       
    31 **
       
    32 **
       
    33 **
       
    34 **
       
    35 **
       
    36 **
       
    37 **
       
    38 **
       
    39 ** $QT_END_LICENSE$
       
    40 **
       
    41 *********************************************************************
       
    42 */
       
    43 
       
    44 /********************************************************************************
       
    45 ** Form generated from reading UI file 'paletteeditoradvancedbase.ui'
       
    46 **
       
    47 ** Created: Fri Sep 4 10:17:14 2009
       
    48 **      by: Qt User Interface Compiler version 4.6.0
       
    49 **
       
    50 ** WARNING! All changes made in this file will be lost when recompiling UI file!
       
    51 ********************************************************************************/
       
    52 
       
    53 #ifndef PALETTEEDITORADVANCEDBASE_H
       
    54 #define PALETTEEDITORADVANCEDBASE_H
       
    55 
       
    56 #include <Qt3Support/Q3ButtonGroup>
       
    57 #include <Qt3Support/Q3GroupBox>
       
    58 #include <QtCore/QVariant>
       
    59 #include <QtGui/QAction>
       
    60 #include <QtGui/QApplication>
       
    61 #include <QtGui/QButtonGroup>
       
    62 #include <QtGui/QCheckBox>
       
    63 #include <QtGui/QComboBox>
       
    64 #include <QtGui/QDialog>
       
    65 #include <QtGui/QHBoxLayout>
       
    66 #include <QtGui/QHeaderView>
       
    67 #include <QtGui/QLabel>
       
    68 #include <QtGui/QPushButton>
       
    69 #include <QtGui/QSpacerItem>
       
    70 #include <QtGui/QVBoxLayout>
       
    71 #include "colorbutton.h"
       
    72 
       
    73 QT_BEGIN_NAMESPACE
       
    74 
       
    75 class Ui_PaletteEditorAdvancedBase
       
    76 {
       
    77 public:
       
    78     QVBoxLayout *vboxLayout;
       
    79     QHBoxLayout *hboxLayout;
       
    80     QLabel *TextLabel1;
       
    81     QComboBox *paletteCombo;
       
    82     Q3ButtonGroup *ButtonGroup1;
       
    83     QVBoxLayout *vboxLayout1;
       
    84     QCheckBox *checkBuildInactive;
       
    85     QCheckBox *checkBuildDisabled;
       
    86     Q3GroupBox *groupCentral;
       
    87     QVBoxLayout *vboxLayout2;
       
    88     QComboBox *comboCentral;
       
    89     QHBoxLayout *hboxLayout1;
       
    90     QSpacerItem *Horizontal_Spacing1;
       
    91     QLabel *labelCentral;
       
    92     ColorButton *buttonCentral;
       
    93     Q3GroupBox *groupEffect;
       
    94     QVBoxLayout *vboxLayout3;
       
    95     QHBoxLayout *hboxLayout2;
       
    96     QCheckBox *checkBuildEffect;
       
    97     QComboBox *comboEffect;
       
    98     QHBoxLayout *hboxLayout3;
       
    99     QSpacerItem *Horizontal_Spacing3;
       
   100     QLabel *labelEffect;
       
   101     ColorButton *buttonEffect;
       
   102     QHBoxLayout *hboxLayout4;
       
   103     QSpacerItem *Horizontal_Spacing2;
       
   104     QPushButton *buttonOk;
       
   105     QPushButton *buttonCancel;
       
   106 
       
   107     void setupUi(QDialog *PaletteEditorAdvancedBase)
       
   108     {
       
   109         if (PaletteEditorAdvancedBase->objectName().isEmpty())
       
   110             PaletteEditorAdvancedBase->setObjectName(QString::fromUtf8("PaletteEditorAdvancedBase"));
       
   111         PaletteEditorAdvancedBase->setEnabled(true);
       
   112         PaletteEditorAdvancedBase->resize(295, 346);
       
   113         PaletteEditorAdvancedBase->setSizeGripEnabled(true);
       
   114         vboxLayout = new QVBoxLayout(PaletteEditorAdvancedBase);
       
   115 #ifndef Q_OS_MAC
       
   116         vboxLayout->setSpacing(6);
       
   117 #endif
       
   118         vboxLayout->setContentsMargins(11, 11, 11, 11);
       
   119         vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
       
   120         vboxLayout->setObjectName(QString::fromUtf8("unnamed"));
       
   121         hboxLayout = new QHBoxLayout();
       
   122 #ifndef Q_OS_MAC
       
   123         hboxLayout->setSpacing(6);
       
   124 #endif
       
   125 #ifndef Q_OS_MAC
       
   126         hboxLayout->setContentsMargins(0, 0, 0, 0);
       
   127 #endif
       
   128         hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
       
   129         hboxLayout->setObjectName(QString::fromUtf8("unnamed"));
       
   130         TextLabel1 = new QLabel(PaletteEditorAdvancedBase);
       
   131         TextLabel1->setObjectName(QString::fromUtf8("TextLabel1"));
       
   132 
       
   133         hboxLayout->addWidget(TextLabel1);
       
   134 
       
   135         paletteCombo = new QComboBox(PaletteEditorAdvancedBase);
       
   136         paletteCombo->setObjectName(QString::fromUtf8("paletteCombo"));
       
   137 
       
   138         hboxLayout->addWidget(paletteCombo);
       
   139 
       
   140 
       
   141         vboxLayout->addLayout(hboxLayout);
       
   142 
       
   143         ButtonGroup1 = new Q3ButtonGroup(PaletteEditorAdvancedBase);
       
   144         ButtonGroup1->setObjectName(QString::fromUtf8("ButtonGroup1"));
       
   145         QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(4));
       
   146         sizePolicy.setHorizontalStretch(0);
       
   147         sizePolicy.setVerticalStretch(0);
       
   148         sizePolicy.setHeightForWidth(ButtonGroup1->sizePolicy().hasHeightForWidth());
       
   149         ButtonGroup1->setSizePolicy(sizePolicy);
       
   150         ButtonGroup1->setColumnLayout(0, Qt::Vertical);
       
   151 #ifndef Q_OS_MAC
       
   152         ButtonGroup1->layout()->setSpacing(6);
       
   153 #endif
       
   154         ButtonGroup1->layout()->setContentsMargins(11, 11, 11, 11);
       
   155         vboxLayout1 = new QVBoxLayout();
       
   156         QBoxLayout *boxlayout = qobject_cast<QBoxLayout *>(ButtonGroup1->layout());
       
   157         if (boxlayout)
       
   158             boxlayout->addLayout(vboxLayout1);
       
   159         vboxLayout1->setAlignment(Qt::AlignTop);
       
   160         vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
       
   161         vboxLayout1->setObjectName(QString::fromUtf8("unnamed"));
       
   162         checkBuildInactive = new QCheckBox(ButtonGroup1);
       
   163         checkBuildInactive->setObjectName(QString::fromUtf8("checkBuildInactive"));
       
   164         checkBuildInactive->setChecked(true);
       
   165 
       
   166         vboxLayout1->addWidget(checkBuildInactive);
       
   167 
       
   168         checkBuildDisabled = new QCheckBox(ButtonGroup1);
       
   169         checkBuildDisabled->setObjectName(QString::fromUtf8("checkBuildDisabled"));
       
   170         checkBuildDisabled->setChecked(true);
       
   171 
       
   172         vboxLayout1->addWidget(checkBuildDisabled);
       
   173 
       
   174 
       
   175         vboxLayout->addWidget(ButtonGroup1);
       
   176 
       
   177         groupCentral = new Q3GroupBox(PaletteEditorAdvancedBase);
       
   178         groupCentral->setObjectName(QString::fromUtf8("groupCentral"));
       
   179         groupCentral->setColumnLayout(0, Qt::Vertical);
       
   180 #ifndef Q_OS_MAC
       
   181         groupCentral->layout()->setSpacing(6);
       
   182 #endif
       
   183         groupCentral->layout()->setContentsMargins(11, 11, 11, 11);
       
   184         vboxLayout2 = new QVBoxLayout();
       
   185         QBoxLayout *boxlayout1 = qobject_cast<QBoxLayout *>(groupCentral->layout());
       
   186         if (boxlayout1)
       
   187             boxlayout1->addLayout(vboxLayout2);
       
   188         vboxLayout2->setAlignment(Qt::AlignTop);
       
   189         vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
       
   190         vboxLayout2->setObjectName(QString::fromUtf8("unnamed"));
       
   191         comboCentral = new QComboBox(groupCentral);
       
   192         comboCentral->setObjectName(QString::fromUtf8("comboCentral"));
       
   193 
       
   194         vboxLayout2->addWidget(comboCentral);
       
   195 
       
   196         hboxLayout1 = new QHBoxLayout();
       
   197 #ifndef Q_OS_MAC
       
   198         hboxLayout1->setSpacing(6);
       
   199 #endif
       
   200         hboxLayout1->setContentsMargins(0, 0, 0, 0);
       
   201         hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
       
   202         hboxLayout1->setObjectName(QString::fromUtf8("unnamed"));
       
   203         Horizontal_Spacing1 = new QSpacerItem(20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
       
   204 
       
   205         hboxLayout1->addItem(Horizontal_Spacing1);
       
   206 
       
   207         labelCentral = new QLabel(groupCentral);
       
   208         labelCentral->setObjectName(QString::fromUtf8("labelCentral"));
       
   209         QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(1), static_cast<QSizePolicy::Policy>(1));
       
   210         sizePolicy1.setHorizontalStretch(0);
       
   211         sizePolicy1.setVerticalStretch(0);
       
   212         sizePolicy1.setHeightForWidth(labelCentral->sizePolicy().hasHeightForWidth());
       
   213         labelCentral->setSizePolicy(sizePolicy1);
       
   214         labelCentral->setMinimumSize(QSize(0, 0));
       
   215 
       
   216         hboxLayout1->addWidget(labelCentral);
       
   217 
       
   218         buttonCentral = new ColorButton(groupCentral);
       
   219         buttonCentral->setObjectName(QString::fromUtf8("buttonCentral"));
       
   220         QSizePolicy sizePolicy2(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(0));
       
   221         sizePolicy2.setHorizontalStretch(0);
       
   222         sizePolicy2.setVerticalStretch(0);
       
   223         sizePolicy2.setHeightForWidth(buttonCentral->sizePolicy().hasHeightForWidth());
       
   224         buttonCentral->setSizePolicy(sizePolicy2);
       
   225         buttonCentral->setFocusPolicy(Qt::TabFocus);
       
   226 
       
   227         hboxLayout1->addWidget(buttonCentral);
       
   228 
       
   229 
       
   230         vboxLayout2->addLayout(hboxLayout1);
       
   231 
       
   232 
       
   233         vboxLayout->addWidget(groupCentral);
       
   234 
       
   235         groupEffect = new Q3GroupBox(PaletteEditorAdvancedBase);
       
   236         groupEffect->setObjectName(QString::fromUtf8("groupEffect"));
       
   237         groupEffect->setColumnLayout(0, Qt::Vertical);
       
   238 #ifndef Q_OS_MAC
       
   239         groupEffect->layout()->setSpacing(6);
       
   240 #endif
       
   241         groupEffect->layout()->setContentsMargins(11, 11, 11, 11);
       
   242         vboxLayout3 = new QVBoxLayout();
       
   243         QBoxLayout *boxlayout2 = qobject_cast<QBoxLayout *>(groupEffect->layout());
       
   244         if (boxlayout2)
       
   245             boxlayout2->addLayout(vboxLayout3);
       
   246         vboxLayout3->setAlignment(Qt::AlignTop);
       
   247         vboxLayout3->setObjectName(QString::fromUtf8("vboxLayout3"));
       
   248         vboxLayout3->setObjectName(QString::fromUtf8("unnamed"));
       
   249         hboxLayout2 = new QHBoxLayout();
       
   250 #ifndef Q_OS_MAC
       
   251         hboxLayout2->setSpacing(6);
       
   252 #endif
       
   253 #ifndef Q_OS_MAC
       
   254         hboxLayout2->setContentsMargins(0, 0, 0, 0);
       
   255 #endif
       
   256         hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
       
   257         hboxLayout2->setObjectName(QString::fromUtf8("unnamed"));
       
   258         checkBuildEffect = new QCheckBox(groupEffect);
       
   259         checkBuildEffect->setObjectName(QString::fromUtf8("checkBuildEffect"));
       
   260         checkBuildEffect->setChecked(true);
       
   261 
       
   262         hboxLayout2->addWidget(checkBuildEffect);
       
   263 
       
   264         comboEffect = new QComboBox(groupEffect);
       
   265         comboEffect->setObjectName(QString::fromUtf8("comboEffect"));
       
   266 
       
   267         hboxLayout2->addWidget(comboEffect);
       
   268 
       
   269 
       
   270         vboxLayout3->addLayout(hboxLayout2);
       
   271 
       
   272         hboxLayout3 = new QHBoxLayout();
       
   273 #ifndef Q_OS_MAC
       
   274         hboxLayout3->setSpacing(6);
       
   275 #endif
       
   276         hboxLayout3->setContentsMargins(0, 0, 0, 0);
       
   277         hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3"));
       
   278         hboxLayout3->setObjectName(QString::fromUtf8("unnamed"));
       
   279         Horizontal_Spacing3 = new QSpacerItem(20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
       
   280 
       
   281         hboxLayout3->addItem(Horizontal_Spacing3);
       
   282 
       
   283         labelEffect = new QLabel(groupEffect);
       
   284         labelEffect->setObjectName(QString::fromUtf8("labelEffect"));
       
   285         sizePolicy1.setHeightForWidth(labelEffect->sizePolicy().hasHeightForWidth());
       
   286         labelEffect->setSizePolicy(sizePolicy1);
       
   287         labelEffect->setMinimumSize(QSize(0, 0));
       
   288 
       
   289         hboxLayout3->addWidget(labelEffect);
       
   290 
       
   291         buttonEffect = new ColorButton(groupEffect);
       
   292         buttonEffect->setObjectName(QString::fromUtf8("buttonEffect"));
       
   293         sizePolicy2.setHeightForWidth(buttonEffect->sizePolicy().hasHeightForWidth());
       
   294         buttonEffect->setSizePolicy(sizePolicy2);
       
   295         buttonEffect->setFocusPolicy(Qt::TabFocus);
       
   296 
       
   297         hboxLayout3->addWidget(buttonEffect);
       
   298 
       
   299 
       
   300         vboxLayout3->addLayout(hboxLayout3);
       
   301 
       
   302 
       
   303         vboxLayout->addWidget(groupEffect);
       
   304 
       
   305         hboxLayout4 = new QHBoxLayout();
       
   306 #ifndef Q_OS_MAC
       
   307         hboxLayout4->setSpacing(6);
       
   308 #endif
       
   309         hboxLayout4->setContentsMargins(0, 0, 0, 0);
       
   310         hboxLayout4->setObjectName(QString::fromUtf8("hboxLayout4"));
       
   311         hboxLayout4->setObjectName(QString::fromUtf8("unnamed"));
       
   312         Horizontal_Spacing2 = new QSpacerItem(20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
       
   313 
       
   314         hboxLayout4->addItem(Horizontal_Spacing2);
       
   315 
       
   316         buttonOk = new QPushButton(PaletteEditorAdvancedBase);
       
   317         buttonOk->setObjectName(QString::fromUtf8("buttonOk"));
       
   318         buttonOk->setAutoDefault(true);
       
   319         buttonOk->setDefault(true);
       
   320 
       
   321         hboxLayout4->addWidget(buttonOk);
       
   322 
       
   323         buttonCancel = new QPushButton(PaletteEditorAdvancedBase);
       
   324         buttonCancel->setObjectName(QString::fromUtf8("buttonCancel"));
       
   325         buttonCancel->setAutoDefault(true);
       
   326 
       
   327         hboxLayout4->addWidget(buttonCancel);
       
   328 
       
   329 
       
   330         vboxLayout->addLayout(hboxLayout4);
       
   331 
       
   332 #ifndef QT_NO_SHORTCUT
       
   333         TextLabel1->setBuddy(paletteCombo);
       
   334         labelCentral->setBuddy(buttonCentral);
       
   335         labelEffect->setBuddy(buttonEffect);
       
   336 #endif // QT_NO_SHORTCUT
       
   337         QWidget::setTabOrder(buttonOk, buttonCancel);
       
   338         QWidget::setTabOrder(buttonCancel, paletteCombo);
       
   339         QWidget::setTabOrder(paletteCombo, checkBuildInactive);
       
   340         QWidget::setTabOrder(checkBuildInactive, checkBuildDisabled);
       
   341         QWidget::setTabOrder(checkBuildDisabled, comboCentral);
       
   342         QWidget::setTabOrder(comboCentral, buttonCentral);
       
   343         QWidget::setTabOrder(buttonCentral, checkBuildEffect);
       
   344         QWidget::setTabOrder(checkBuildEffect, comboEffect);
       
   345         QWidget::setTabOrder(comboEffect, buttonEffect);
       
   346 
       
   347         retranslateUi(PaletteEditorAdvancedBase);
       
   348 
       
   349         QMetaObject::connectSlotsByName(PaletteEditorAdvancedBase);
       
   350     } // setupUi
       
   351 
       
   352     void retranslateUi(QDialog *PaletteEditorAdvancedBase)
       
   353     {
       
   354         PaletteEditorAdvancedBase->setWindowTitle(QApplication::translate("PaletteEditorAdvancedBase", "Tune Palette", 0, QApplication::UnicodeUTF8));
       
   355 #ifndef QT_NO_WHATSTHIS
       
   356         PaletteEditorAdvancedBase->setProperty("whatsThis", QVariant(QApplication::translate("PaletteEditorAdvancedBase", "<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>", 0, QApplication::UnicodeUTF8)));
       
   357 #endif // QT_NO_WHATSTHIS
       
   358         TextLabel1->setText(QApplication::translate("PaletteEditorAdvancedBase", "Select &Palette:", 0, QApplication::UnicodeUTF8));
       
   359         paletteCombo->clear();
       
   360         paletteCombo->insertItems(0, QStringList()
       
   361          << QApplication::translate("PaletteEditorAdvancedBase", "Active Palette", 0, QApplication::UnicodeUTF8)
       
   362          << QApplication::translate("PaletteEditorAdvancedBase", "Inactive Palette", 0, QApplication::UnicodeUTF8)
       
   363          << QApplication::translate("PaletteEditorAdvancedBase", "Disabled Palette", 0, QApplication::UnicodeUTF8)
       
   364         );
       
   365         ButtonGroup1->setTitle(QApplication::translate("PaletteEditorAdvancedBase", "Auto", 0, QApplication::UnicodeUTF8));
       
   366         checkBuildInactive->setText(QApplication::translate("PaletteEditorAdvancedBase", "Build inactive palette from active", 0, QApplication::UnicodeUTF8));
       
   367         checkBuildDisabled->setText(QApplication::translate("PaletteEditorAdvancedBase", "Build disabled palette from active", 0, QApplication::UnicodeUTF8));
       
   368         groupCentral->setTitle(QApplication::translate("PaletteEditorAdvancedBase", "Central color &roles", 0, QApplication::UnicodeUTF8));
       
   369         comboCentral->clear();
       
   370         comboCentral->insertItems(0, QStringList()
       
   371          << QApplication::translate("PaletteEditorAdvancedBase", "Window", 0, QApplication::UnicodeUTF8)
       
   372          << QApplication::translate("PaletteEditorAdvancedBase", "WindowText", 0, QApplication::UnicodeUTF8)
       
   373          << QApplication::translate("PaletteEditorAdvancedBase", "Button", 0, QApplication::UnicodeUTF8)
       
   374          << QApplication::translate("PaletteEditorAdvancedBase", "Base", 0, QApplication::UnicodeUTF8)
       
   375          << QApplication::translate("PaletteEditorAdvancedBase", "Text", 0, QApplication::UnicodeUTF8)
       
   376          << QApplication::translate("PaletteEditorAdvancedBase", "BrightText", 0, QApplication::UnicodeUTF8)
       
   377          << QApplication::translate("PaletteEditorAdvancedBase", "ButtonText", 0, QApplication::UnicodeUTF8)
       
   378          << QApplication::translate("PaletteEditorAdvancedBase", "Highlight", 0, QApplication::UnicodeUTF8)
       
   379          << QApplication::translate("PaletteEditorAdvancedBase", "HighlightedText", 0, QApplication::UnicodeUTF8)
       
   380         );
       
   381 #ifndef QT_NO_TOOLTIP
       
   382         comboCentral->setProperty("toolTip", QVariant(QApplication::translate("PaletteEditorAdvancedBase", "Choose central color role", 0, QApplication::UnicodeUTF8)));
       
   383 #endif // QT_NO_TOOLTIP
       
   384 #ifndef QT_NO_WHATSTHIS
       
   385         comboCentral->setProperty("whatsThis", QVariant(QApplication::translate("PaletteEditorAdvancedBase", "<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>", 0, QApplication::UnicodeUTF8)));
       
   386 #endif // QT_NO_WHATSTHIS
       
   387         labelCentral->setText(QApplication::translate("PaletteEditorAdvancedBase", "&Select Color:", 0, QApplication::UnicodeUTF8));
       
   388 #ifndef QT_NO_TOOLTIP
       
   389         buttonCentral->setProperty("toolTip", QVariant(QApplication::translate("PaletteEditorAdvancedBase", "Choose a color", 0, QApplication::UnicodeUTF8)));
       
   390 #endif // QT_NO_TOOLTIP
       
   391 #ifndef QT_NO_WHATSTHIS
       
   392         buttonCentral->setProperty("whatsThis", QVariant(QApplication::translate("PaletteEditorAdvancedBase", "Choose a color for the selected central color role.", 0, QApplication::UnicodeUTF8)));
       
   393 #endif // QT_NO_WHATSTHIS
       
   394         groupEffect->setTitle(QApplication::translate("PaletteEditorAdvancedBase", "3-D shadow &effects", 0, QApplication::UnicodeUTF8));
       
   395         checkBuildEffect->setText(QApplication::translate("PaletteEditorAdvancedBase", "Build &from button color", 0, QApplication::UnicodeUTF8));
       
   396 #ifndef QT_NO_TOOLTIP
       
   397         checkBuildEffect->setProperty("toolTip", QVariant(QApplication::translate("PaletteEditorAdvancedBase", "Generate shadings", 0, QApplication::UnicodeUTF8)));
       
   398 #endif // QT_NO_TOOLTIP
       
   399 #ifndef QT_NO_WHATSTHIS
       
   400         checkBuildEffect->setProperty("whatsThis", QVariant(QApplication::translate("PaletteEditorAdvancedBase", "Check to let 3D-effect colors be calculated from button-color.", 0, QApplication::UnicodeUTF8)));
       
   401 #endif // QT_NO_WHATSTHIS
       
   402         comboEffect->clear();
       
   403         comboEffect->insertItems(0, QStringList()
       
   404          << QApplication::translate("PaletteEditorAdvancedBase", "Light", 0, QApplication::UnicodeUTF8)
       
   405          << QApplication::translate("PaletteEditorAdvancedBase", "Midlight", 0, QApplication::UnicodeUTF8)
       
   406          << QApplication::translate("PaletteEditorAdvancedBase", "Mid", 0, QApplication::UnicodeUTF8)
       
   407          << QApplication::translate("PaletteEditorAdvancedBase", "Dark", 0, QApplication::UnicodeUTF8)
       
   408          << QApplication::translate("PaletteEditorAdvancedBase", "Shadow", 0, QApplication::UnicodeUTF8)
       
   409         );
       
   410 #ifndef QT_NO_TOOLTIP
       
   411         comboEffect->setProperty("toolTip", QVariant(QApplication::translate("PaletteEditorAdvancedBase", "Choose 3D-effect color role", 0, QApplication::UnicodeUTF8)));
       
   412 #endif // QT_NO_TOOLTIP
       
   413 #ifndef QT_NO_WHATSTHIS
       
   414         comboEffect->setProperty("whatsThis", QVariant(QApplication::translate("PaletteEditorAdvancedBase", "<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>", 0, QApplication::UnicodeUTF8)));
       
   415 #endif // QT_NO_WHATSTHIS
       
   416         labelEffect->setText(QApplication::translate("PaletteEditorAdvancedBase", "Select Co&lor:", 0, QApplication::UnicodeUTF8));
       
   417 #ifndef QT_NO_TOOLTIP
       
   418         buttonEffect->setProperty("toolTip", QVariant(QApplication::translate("PaletteEditorAdvancedBase", "Choose a color", 0, QApplication::UnicodeUTF8)));
       
   419 #endif // QT_NO_TOOLTIP
       
   420 #ifndef QT_NO_WHATSTHIS
       
   421         buttonEffect->setProperty("whatsThis", QVariant(QApplication::translate("PaletteEditorAdvancedBase", "Choose a color for the selected effect color role.", 0, QApplication::UnicodeUTF8)));
       
   422 #endif // QT_NO_WHATSTHIS
       
   423         buttonOk->setText(QApplication::translate("PaletteEditorAdvancedBase", "OK", 0, QApplication::UnicodeUTF8));
       
   424 #ifndef QT_NO_WHATSTHIS
       
   425         buttonOk->setProperty("whatsThis", QVariant(QApplication::translate("PaletteEditorAdvancedBase", "Close dialog and apply all changes.", 0, QApplication::UnicodeUTF8)));
       
   426 #endif // QT_NO_WHATSTHIS
       
   427         buttonCancel->setText(QApplication::translate("PaletteEditorAdvancedBase", "Cancel", 0, QApplication::UnicodeUTF8));
       
   428 #ifndef QT_NO_WHATSTHIS
       
   429         buttonCancel->setProperty("whatsThis", QVariant(QApplication::translate("PaletteEditorAdvancedBase", "Close dialog and discard all changes.", 0, QApplication::UnicodeUTF8)));
       
   430 #endif // QT_NO_WHATSTHIS
       
   431     } // retranslateUi
       
   432 
       
   433 
       
   434 protected:
       
   435     enum IconID
       
   436     {
       
   437         image0_ID,
       
   438         unknown_ID
       
   439     };
       
   440     static QPixmap qt_get_icon(IconID id)
       
   441     {
       
   442     static const char* const image0_data[] = { 
       
   443 "22 22 2 1",
       
   444 ". c None",
       
   445 "# c #a4c610",
       
   446 "........######........",
       
   447 ".....###########......",
       
   448 "....##############....",
       
   449 "...################...",
       
   450 "..######......######..",
       
   451 "..#####........#####..",
       
   452 ".#####.......#..#####.",
       
   453 ".####.......###..####.",
       
   454 "####.......#####..####",
       
   455 "####......#####...####",
       
   456 "####....#######...####",
       
   457 "####....######....####",
       
   458 "####...########...####",
       
   459 ".####.##########..####",
       
   460 ".####..####.#########.",
       
   461 ".#####..##...########.",
       
   462 "..#####.......#######.",
       
   463 "..######......######..",
       
   464 "...###################",
       
   465 "....##################",
       
   466 "......###########.###.",
       
   467 "........######.....#.."};
       
   468 
       
   469 
       
   470     switch (id) {
       
   471         case image0_ID: return QPixmap((const char**)image0_data);
       
   472         default: return QPixmap();
       
   473     } // switch
       
   474     } // icon
       
   475 
       
   476 };
       
   477 
       
   478 namespace Ui {
       
   479     class PaletteEditorAdvancedBase: public Ui_PaletteEditorAdvancedBase {};
       
   480 } // namespace Ui
       
   481 
       
   482 QT_END_NAMESPACE
       
   483 
       
   484 #endif // PALETTEEDITORADVANCEDBASE_H