ui_DlgSettingsViewColor.h

Go to the documentation of this file.
00001 /********************************************************************************
00002 ** Form generated from reading ui file 'DlgSettingsViewColor.ui'
00003 **
00004 ** Created: Tue 15. Nov 17:29:15 2011
00005 **      by: Qt User Interface Compiler version 4.5.2
00006 **
00007 ** WARNING! All changes made in this file will be lost when recompiling ui file!
00008 ********************************************************************************/
00009 
00010 #ifndef UI_DLGSETTINGSVIEWCOLOR_H
00011 #define UI_DLGSETTINGSVIEWCOLOR_H
00012 
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QGridLayout>
00018 #include <QtGui/QGroupBox>
00019 #include <QtGui/QHeaderView>
00020 #include <QtGui/QLabel>
00021 #include <QtGui/QSpacerItem>
00022 #include <QtGui/QWidget>
00023 #include "Gui/PrefWidgets.h"
00024 #include "Gui/Widgets.h"
00025 
00026 namespace Gui {
00027 namespace Dialog {
00028 
00029 class Ui_DlgSettingsViewColor
00030 {
00031 public:
00032     QGridLayout *gridLayout;
00033     QGroupBox *groupBoxSelection;
00034     QGridLayout *gridLayout1;
00035     QSpacerItem *spacer_4;
00036     QGridLayout *_3;
00037     Gui::PrefColorButton *SelectionColor;
00038     Gui::PrefCheckBox *checkBoxSelection;
00039     Gui::PrefCheckBox *checkBoxPreselection;
00040     Gui::PrefColorButton *HighlightColor;
00041     QGroupBox *groupBoxColor;
00042     QGridLayout *gridLayout2;
00043     QSpacerItem *spacer;
00044     QGridLayout *_4;
00045     QSpacerItem *spacer_2;
00046     Gui::PrefColorButton *SelectionColor_Background;
00047     Gui::PrefCheckBox *checkMidColor;
00048     Gui::PrefColorButton *backgroundColorTo;
00049     Gui::PrefColorButton *backgroundColorMid;
00050     Gui::PrefRadioButton *radioButtonGradient;
00051     Gui::PrefColorButton *backgroundColorFrom;
00052     Gui::PrefRadioButton *radioButtonSimple;
00053     QSpacerItem *spacer_3;
00054     QGroupBox *groupBoxDefaultColors;
00055     QGridLayout *colgridLayout;
00056     QGridLayout *_2;
00057     QLabel *label;
00058     QLabel *label_2;
00059     QLabel *label_3;
00060     QLabel *label_4;
00061     Gui::PrefColorButton *ConstructionColor;
00062     Gui::PrefColorButton *FullyConstrainedColor;
00063     Gui::PrefColorButton *EditedVertexColor;
00064     Gui::PrefColorButton *EditedEdgeColor;
00065     QSpacerItem *horizontalSpacer;
00066 
00067     void setupUi(QWidget *Gui__Dialog__DlgSettingsViewColor)
00068     {
00069         if (Gui__Dialog__DlgSettingsViewColor->objectName().isEmpty())
00070             Gui__Dialog__DlgSettingsViewColor->setObjectName(QString::fromUtf8("Gui__Dialog__DlgSettingsViewColor"));
00071         Gui__Dialog__DlgSettingsViewColor->resize(601, 407);
00072         gridLayout = new QGridLayout(Gui__Dialog__DlgSettingsViewColor);
00073 #ifndef Q_OS_MAC
00074         gridLayout->setSpacing(6);
00075 #endif
00076 #ifndef Q_OS_MAC
00077         gridLayout->setMargin(9);
00078 #endif
00079         gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00080         groupBoxSelection = new QGroupBox(Gui__Dialog__DlgSettingsViewColor);
00081         groupBoxSelection->setObjectName(QString::fromUtf8("groupBoxSelection"));
00082         gridLayout1 = new QGridLayout(groupBoxSelection);
00083 #ifndef Q_OS_MAC
00084         gridLayout1->setSpacing(6);
00085 #endif
00086 #ifndef Q_OS_MAC
00087         gridLayout1->setMargin(9);
00088 #endif
00089         gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
00090         spacer_4 = new QSpacerItem(183, 23, QSizePolicy::Expanding, QSizePolicy::Minimum);
00091 
00092         gridLayout1->addItem(spacer_4, 0, 1, 1, 1);
00093 
00094         _3 = new QGridLayout();
00095 #ifndef Q_OS_MAC
00096         _3->setSpacing(6);
00097 #endif
00098 #ifndef Q_OS_MAC
00099         _3->setMargin(0);
00100 #endif
00101         _3->setObjectName(QString::fromUtf8("_3"));
00102         SelectionColor = new Gui::PrefColorButton(groupBoxSelection);
00103         SelectionColor->setObjectName(QString::fromUtf8("SelectionColor"));
00104         SelectionColor->setEnabled(false);
00105         SelectionColor->setColor(QColor(28, 173, 28));
00106         SelectionColor->setProperty("prefEntry", QVariant(QByteArray("SelectionColor")));
00107         SelectionColor->setProperty("prefPath", QVariant(QByteArray("View")));
00108 
00109         _3->addWidget(SelectionColor, 1, 1, 1, 1);
00110 
00111         checkBoxSelection = new Gui::PrefCheckBox(groupBoxSelection);
00112         checkBoxSelection->setObjectName(QString::fromUtf8("checkBoxSelection"));
00113         checkBoxSelection->setChecked(true);
00114         checkBoxSelection->setProperty("prefEntry", QVariant(QByteArray("EnableSelection")));
00115         checkBoxSelection->setProperty("prefPath", QVariant(QByteArray("View")));
00116 
00117         _3->addWidget(checkBoxSelection, 1, 0, 1, 1);
00118 
00119         checkBoxPreselection = new Gui::PrefCheckBox(groupBoxSelection);
00120         checkBoxPreselection->setObjectName(QString::fromUtf8("checkBoxPreselection"));
00121         checkBoxPreselection->setMinimumSize(QSize(240, 0));
00122         checkBoxPreselection->setChecked(true);
00123         checkBoxPreselection->setProperty("prefEntry", QVariant(QByteArray("EnablePreselection")));
00124         checkBoxPreselection->setProperty("prefPath", QVariant(QByteArray("View")));
00125 
00126         _3->addWidget(checkBoxPreselection, 0, 0, 1, 1);
00127 
00128         HighlightColor = new Gui::PrefColorButton(groupBoxSelection);
00129         HighlightColor->setObjectName(QString::fromUtf8("HighlightColor"));
00130         HighlightColor->setEnabled(false);
00131         QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
00132         sizePolicy.setHorizontalStretch(0);
00133         sizePolicy.setVerticalStretch(0);
00134         sizePolicy.setHeightForWidth(HighlightColor->sizePolicy().hasHeightForWidth());
00135         HighlightColor->setSizePolicy(sizePolicy);
00136         HighlightColor->setColor(QColor(225, 225, 20));
00137         HighlightColor->setProperty("prefEntry", QVariant(QByteArray("HighlightColor")));
00138         HighlightColor->setProperty("prefPath", QVariant(QByteArray("View")));
00139 
00140         _3->addWidget(HighlightColor, 0, 1, 1, 1);
00141 
00142 
00143         gridLayout1->addLayout(_3, 0, 0, 1, 1);
00144 
00145 
00146         gridLayout->addWidget(groupBoxSelection, 0, 0, 1, 1);
00147 
00148         groupBoxColor = new QGroupBox(Gui__Dialog__DlgSettingsViewColor);
00149         groupBoxColor->setObjectName(QString::fromUtf8("groupBoxColor"));
00150         gridLayout2 = new QGridLayout(groupBoxColor);
00151 #ifndef Q_OS_MAC
00152         gridLayout2->setSpacing(6);
00153 #endif
00154 #ifndef Q_OS_MAC
00155         gridLayout2->setMargin(9);
00156 #endif
00157         gridLayout2->setObjectName(QString::fromUtf8("gridLayout2"));
00158         spacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00159 
00160         gridLayout2->addItem(spacer, 0, 1, 1, 1);
00161 
00162         _4 = new QGridLayout();
00163 #ifndef Q_OS_MAC
00164         _4->setSpacing(6);
00165 #endif
00166 #ifndef Q_OS_MAC
00167         _4->setMargin(0);
00168 #endif
00169         _4->setObjectName(QString::fromUtf8("_4"));
00170         spacer_2 = new QSpacerItem(171, 20, QSizePolicy::Minimum, QSizePolicy::Minimum);
00171 
00172         _4->addItem(spacer_2, 2, 0, 1, 1);
00173 
00174         SelectionColor_Background = new Gui::PrefColorButton(groupBoxColor);
00175         SelectionColor_Background->setObjectName(QString::fromUtf8("SelectionColor_Background"));
00176         SelectionColor_Background->setEnabled(false);
00177         sizePolicy.setHeightForWidth(SelectionColor_Background->sizePolicy().hasHeightForWidth());
00178         SelectionColor_Background->setSizePolicy(sizePolicy);
00179         SelectionColor_Background->setColor(QColor(20, 20, 163));
00180         SelectionColor_Background->setProperty("prefEntry", QVariant(QByteArray("BackgroundColor")));
00181         SelectionColor_Background->setProperty("prefPath", QVariant(QByteArray("View")));
00182 
00183         _4->addWidget(SelectionColor_Background, 0, 1, 1, 1);
00184 
00185         checkMidColor = new Gui::PrefCheckBox(groupBoxColor);
00186         checkMidColor->setObjectName(QString::fromUtf8("checkMidColor"));
00187         checkMidColor->setProperty("prefEntry", QVariant(QByteArray("UseBackgroundColorMid")));
00188         checkMidColor->setProperty("prefPath", QVariant(QByteArray("View")));
00189 
00190         _4->addWidget(checkMidColor, 3, 0, 1, 1);
00191 
00192         backgroundColorTo = new Gui::PrefColorButton(groupBoxColor);
00193         backgroundColorTo->setObjectName(QString::fromUtf8("backgroundColorTo"));
00194         backgroundColorTo->setColor(QColor(151, 151, 170));
00195         backgroundColorTo->setProperty("prefEntry", QVariant(QByteArray("BackgroundColor3")));
00196         backgroundColorTo->setProperty("prefPath", QVariant(QByteArray("View")));
00197 
00198         _4->addWidget(backgroundColorTo, 2, 1, 1, 1);
00199 
00200         backgroundColorMid = new Gui::PrefColorButton(groupBoxColor);
00201         backgroundColorMid->setObjectName(QString::fromUtf8("backgroundColorMid"));
00202         backgroundColorMid->setEnabled(false);
00203         backgroundColorMid->setColor(QColor(111, 111, 147));
00204         backgroundColorMid->setProperty("prefEntry", QVariant(QByteArray("BackgroundColor4")));
00205         backgroundColorMid->setProperty("prefPath", QVariant(QByteArray("View")));
00206 
00207         _4->addWidget(backgroundColorMid, 3, 1, 1, 1);
00208 
00209         radioButtonGradient = new Gui::PrefRadioButton(groupBoxColor);
00210         radioButtonGradient->setObjectName(QString::fromUtf8("radioButtonGradient"));
00211         radioButtonGradient->setChecked(true);
00212         radioButtonGradient->setProperty("prefEntry", QVariant(QByteArray("Gradient")));
00213         radioButtonGradient->setProperty("prefPath", QVariant(QByteArray("View")));
00214 
00215         _4->addWidget(radioButtonGradient, 1, 0, 1, 1);
00216 
00217         backgroundColorFrom = new Gui::PrefColorButton(groupBoxColor);
00218         backgroundColorFrom->setObjectName(QString::fromUtf8("backgroundColorFrom"));
00219         backgroundColorFrom->setColor(QColor(51, 51, 101));
00220         backgroundColorFrom->setProperty("prefEntry", QVariant(QByteArray("BackgroundColor2")));
00221         backgroundColorFrom->setProperty("prefPath", QVariant(QByteArray("View")));
00222 
00223         _4->addWidget(backgroundColorFrom, 1, 1, 1, 1);
00224 
00225         radioButtonSimple = new Gui::PrefRadioButton(groupBoxColor);
00226         radioButtonSimple->setObjectName(QString::fromUtf8("radioButtonSimple"));
00227         radioButtonSimple->setMinimumSize(QSize(240, 0));
00228         radioButtonSimple->setProperty("prefEntry", QVariant(QByteArray("Simple")));
00229         radioButtonSimple->setProperty("prefPath", QVariant(QByteArray("View")));
00230 
00231         _4->addWidget(radioButtonSimple, 0, 0, 1, 1);
00232 
00233 
00234         gridLayout2->addLayout(_4, 0, 0, 1, 1);
00235 
00236 
00237         gridLayout->addWidget(groupBoxColor, 2, 0, 1, 1);
00238 
00239         spacer_3 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
00240 
00241         gridLayout->addItem(spacer_3, 3, 0, 1, 1);
00242 
00243         groupBoxDefaultColors = new QGroupBox(Gui__Dialog__DlgSettingsViewColor);
00244         groupBoxDefaultColors->setObjectName(QString::fromUtf8("groupBoxDefaultColors"));
00245         colgridLayout = new QGridLayout(groupBoxDefaultColors);
00246         colgridLayout->setObjectName(QString::fromUtf8("colgridLayout"));
00247         _2 = new QGridLayout();
00248 #ifndef Q_OS_MAC
00249         _2->setSpacing(6);
00250 #endif
00251 #ifndef Q_OS_MAC
00252         _2->setMargin(0);
00253 #endif
00254         _2->setObjectName(QString::fromUtf8("_2"));
00255         label = new QLabel(groupBoxDefaultColors);
00256         label->setObjectName(QString::fromUtf8("label"));
00257         label->setMinimumSize(QSize(240, 0));
00258 
00259         _2->addWidget(label, 0, 0, 1, 1);
00260 
00261         label_2 = new QLabel(groupBoxDefaultColors);
00262         label_2->setObjectName(QString::fromUtf8("label_2"));
00263 
00264         _2->addWidget(label_2, 1, 0, 1, 1);
00265 
00266         label_3 = new QLabel(groupBoxDefaultColors);
00267         label_3->setObjectName(QString::fromUtf8("label_3"));
00268 
00269         _2->addWidget(label_3, 2, 0, 1, 1);
00270 
00271         label_4 = new QLabel(groupBoxDefaultColors);
00272         label_4->setObjectName(QString::fromUtf8("label_4"));
00273 
00274         _2->addWidget(label_4, 3, 0, 1, 1);
00275 
00276         ConstructionColor = new Gui::PrefColorButton(groupBoxDefaultColors);
00277         ConstructionColor->setObjectName(QString::fromUtf8("ConstructionColor"));
00278         ConstructionColor->setColor(QColor(0, 0, 220));
00279         ConstructionColor->setProperty("prefEntry", QVariant(QByteArray("ConstructionColor")));
00280         ConstructionColor->setProperty("prefPath", QVariant(QByteArray("View")));
00281 
00282         _2->addWidget(ConstructionColor, 2, 1, 1, 1);
00283 
00284         FullyConstrainedColor = new Gui::PrefColorButton(groupBoxDefaultColors);
00285         FullyConstrainedColor->setObjectName(QString::fromUtf8("FullyConstrainedColor"));
00286         FullyConstrainedColor->setColor(QColor(0, 255, 0));
00287         FullyConstrainedColor->setProperty("prefEntry", QVariant(QByteArray("FullyConstrainedColor")));
00288         FullyConstrainedColor->setProperty("prefPath", QVariant(QByteArray("View")));
00289 
00290         _2->addWidget(FullyConstrainedColor, 3, 1, 1, 1);
00291 
00292         EditedVertexColor = new Gui::PrefColorButton(groupBoxDefaultColors);
00293         EditedVertexColor->setObjectName(QString::fromUtf8("EditedVertexColor"));
00294         EditedVertexColor->setColor(QColor(255, 38, 0));
00295         EditedVertexColor->setProperty("prefEntry", QVariant(QByteArray("EditedVertexColor")));
00296         EditedVertexColor->setProperty("prefPath", QVariant(QByteArray("View")));
00297 
00298         _2->addWidget(EditedVertexColor, 1, 1, 1, 1);
00299 
00300         EditedEdgeColor = new Gui::PrefColorButton(groupBoxDefaultColors);
00301         EditedEdgeColor->setObjectName(QString::fromUtf8("EditedEdgeColor"));
00302         EditedEdgeColor->setColor(QColor(255, 255, 255));
00303         EditedEdgeColor->setProperty("prefEntry", QVariant(QByteArray("EditedEdgeColor")));
00304         EditedEdgeColor->setProperty("prefPath", QVariant(QByteArray("View")));
00305 
00306         _2->addWidget(EditedEdgeColor, 0, 1, 1, 1);
00307 
00308 
00309         colgridLayout->addLayout(_2, 0, 0, 1, 1);
00310 
00311         horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00312 
00313         colgridLayout->addItem(horizontalSpacer, 0, 1, 1, 1);
00314 
00315 
00316         gridLayout->addWidget(groupBoxDefaultColors, 1, 0, 1, 1);
00317 
00318         QWidget::setTabOrder(checkBoxPreselection, checkBoxSelection);
00319         QWidget::setTabOrder(checkBoxSelection, HighlightColor);
00320         QWidget::setTabOrder(HighlightColor, SelectionColor);
00321         QWidget::setTabOrder(SelectionColor, radioButtonSimple);
00322         QWidget::setTabOrder(radioButtonSimple, radioButtonGradient);
00323         QWidget::setTabOrder(radioButtonGradient, checkMidColor);
00324         QWidget::setTabOrder(checkMidColor, SelectionColor_Background);
00325         QWidget::setTabOrder(SelectionColor_Background, backgroundColorFrom);
00326         QWidget::setTabOrder(backgroundColorFrom, backgroundColorTo);
00327         QWidget::setTabOrder(backgroundColorTo, backgroundColorMid);
00328 
00329         retranslateUi(Gui__Dialog__DlgSettingsViewColor);
00330         QObject::connect(checkBoxPreselection, SIGNAL(toggled(bool)), HighlightColor, SLOT(setEnabled(bool)));
00331         QObject::connect(checkBoxSelection, SIGNAL(toggled(bool)), SelectionColor, SLOT(setEnabled(bool)));
00332         QObject::connect(checkMidColor, SIGNAL(toggled(bool)), backgroundColorMid, SLOT(setEnabled(bool)));
00333         QObject::connect(radioButtonSimple, SIGNAL(toggled(bool)), SelectionColor_Background, SLOT(setEnabled(bool)));
00334         QObject::connect(radioButtonGradient, SIGNAL(toggled(bool)), backgroundColorFrom, SLOT(setEnabled(bool)));
00335         QObject::connect(radioButtonGradient, SIGNAL(toggled(bool)), backgroundColorTo, SLOT(setEnabled(bool)));
00336         QObject::connect(radioButtonSimple, SIGNAL(toggled(bool)), checkMidColor, SLOT(setDisabled(bool)));
00337 
00338         QMetaObject::connectSlotsByName(Gui__Dialog__DlgSettingsViewColor);
00339     } // setupUi
00340 
00341     void retranslateUi(QWidget *Gui__Dialog__DlgSettingsViewColor)
00342     {
00343         Gui__Dialog__DlgSettingsViewColor->setWindowTitle(QApplication::translate("Gui::Dialog::DlgSettingsViewColor", "Colors", 0, QApplication::UnicodeUTF8));
00344         groupBoxSelection->setTitle(QApplication::translate("Gui::Dialog::DlgSettingsViewColor", "Selection", 0, QApplication::UnicodeUTF8));
00345         SelectionColor->setText(QString());
00346         checkBoxSelection->setText(QApplication::translate("Gui::Dialog::DlgSettingsViewColor", "Enable selection highlighting", 0, QApplication::UnicodeUTF8));
00347         checkBoxPreselection->setText(QApplication::translate("Gui::Dialog::DlgSettingsViewColor", "Enable preselection highlighting", 0, QApplication::UnicodeUTF8));
00348         HighlightColor->setText(QString());
00349         groupBoxColor->setTitle(QApplication::translate("Gui::Dialog::DlgSettingsViewColor", "Background color", 0, QApplication::UnicodeUTF8));
00350         SelectionColor_Background->setText(QString());
00351         checkMidColor->setText(QApplication::translate("Gui::Dialog::DlgSettingsViewColor", "Middle color", 0, QApplication::UnicodeUTF8));
00352         backgroundColorTo->setText(QString());
00353         backgroundColorMid->setText(QString());
00354         radioButtonGradient->setText(QApplication::translate("Gui::Dialog::DlgSettingsViewColor", "Color gradient", 0, QApplication::UnicodeUTF8));
00355         backgroundColorFrom->setText(QString());
00356         radioButtonSimple->setText(QApplication::translate("Gui::Dialog::DlgSettingsViewColor", "Simple color", 0, QApplication::UnicodeUTF8));
00357         groupBoxDefaultColors->setTitle(QApplication::translate("Gui::Dialog::DlgSettingsViewColor", "Default colors", 0, QApplication::UnicodeUTF8));
00358         label->setText(QApplication::translate("Gui::Dialog::DlgSettingsViewColor", "Edited edge color", 0, QApplication::UnicodeUTF8));
00359         label_2->setText(QApplication::translate("Gui::Dialog::DlgSettingsViewColor", "Edited vertex color", 0, QApplication::UnicodeUTF8));
00360         label_3->setText(QApplication::translate("Gui::Dialog::DlgSettingsViewColor", "Construction geometry", 0, QApplication::UnicodeUTF8));
00361         label_4->setText(QApplication::translate("Gui::Dialog::DlgSettingsViewColor", "Fully constrained geometry", 0, QApplication::UnicodeUTF8));
00362 #ifndef QT_NO_TOOLTIP
00363         ConstructionColor->setToolTip(QApplication::translate("Gui::Dialog::DlgSettingsViewColor", "The color of construction geometry in editmode", 0, QApplication::UnicodeUTF8));
00364 #endif // QT_NO_TOOLTIP
00365 #ifndef QT_NO_TOOLTIP
00366         FullyConstrainedColor->setToolTip(QApplication::translate("Gui::Dialog::DlgSettingsViewColor", "The color of fully constrained geometry in editmode", 0, QApplication::UnicodeUTF8));
00367 #endif // QT_NO_TOOLTIP
00368 #ifndef QT_NO_TOOLTIP
00369         EditedVertexColor->setToolTip(QApplication::translate("Gui::Dialog::DlgSettingsViewColor", "The color of vertices being edited", 0, QApplication::UnicodeUTF8));
00370 #endif // QT_NO_TOOLTIP
00371 #ifndef QT_NO_TOOLTIP
00372         EditedEdgeColor->setToolTip(QApplication::translate("Gui::Dialog::DlgSettingsViewColor", "The color of edges being edited", 0, QApplication::UnicodeUTF8));
00373 #endif // QT_NO_TOOLTIP
00374         Q_UNUSED(Gui__Dialog__DlgSettingsViewColor);
00375     } // retranslateUi
00376 
00377 };
00378 
00379 } // namespace Dialog
00380 } // namespace Gui
00381 
00382 namespace Gui {
00383 namespace Dialog {
00384 namespace Ui {
00385     class DlgSettingsViewColor: public Ui_DlgSettingsViewColor {};
00386 } // namespace Ui
00387 } // namespace Dialog
00388 } // namespace Gui
00389 
00390 #endif // UI_DLGSETTINGSVIEWCOLOR_H

Generated on Wed Nov 23 19:00:54 2011 for FreeCAD by  doxygen 1.6.1