00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_TASKFACECOLORS_H
00011 #define UI_TASKFACECOLORS_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/QPushButton>
00022 #include <QtGui/QSpacerItem>
00023 #include <QtGui/QWidget>
00024 #include "Gui/Widgets.h"
00025
00026 namespace PartGui {
00027
00028 class Ui_TaskFaceColors
00029 {
00030 public:
00031 QGridLayout *gridLayout_2;
00032 QLabel *label;
00033 QGroupBox *groupBox;
00034 QGridLayout *gridLayout;
00035 QLabel *faceLabel;
00036 QLabel *labelElement;
00037 Gui::ColorButton *colorButton;
00038 QPushButton *defaultButton;
00039 QSpacerItem *verticalSpacer;
00040
00041 void setupUi(QWidget *PartGui__TaskFaceColors)
00042 {
00043 if (PartGui__TaskFaceColors->objectName().isEmpty())
00044 PartGui__TaskFaceColors->setObjectName(QString::fromUtf8("PartGui__TaskFaceColors"));
00045 PartGui__TaskFaceColors->resize(247, 219);
00046 gridLayout_2 = new QGridLayout(PartGui__TaskFaceColors);
00047 gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
00048 label = new QLabel(PartGui__TaskFaceColors);
00049 label->setObjectName(QString::fromUtf8("label"));
00050
00051 gridLayout_2->addWidget(label, 0, 0, 1, 2);
00052
00053 groupBox = new QGroupBox(PartGui__TaskFaceColors);
00054 groupBox->setObjectName(QString::fromUtf8("groupBox"));
00055 groupBox->setTitle(QString::fromUtf8("Group box"));
00056 gridLayout = new QGridLayout(groupBox);
00057 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00058 faceLabel = new QLabel(groupBox);
00059 faceLabel->setObjectName(QString::fromUtf8("faceLabel"));
00060 QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::Preferred);
00061 sizePolicy.setHorizontalStretch(0);
00062 sizePolicy.setVerticalStretch(0);
00063 sizePolicy.setHeightForWidth(faceLabel->sizePolicy().hasHeightForWidth());
00064 faceLabel->setSizePolicy(sizePolicy);
00065
00066 gridLayout->addWidget(faceLabel, 0, 0, 1, 1);
00067
00068 labelElement = new QLabel(groupBox);
00069 labelElement->setObjectName(QString::fromUtf8("labelElement"));
00070 labelElement->setText(QString::fromUtf8("[]"));
00071
00072 gridLayout->addWidget(labelElement, 0, 1, 1, 1);
00073
00074 colorButton = new Gui::ColorButton(groupBox);
00075 colorButton->setObjectName(QString::fromUtf8("colorButton"));
00076
00077 gridLayout->addWidget(colorButton, 1, 0, 1, 2);
00078
00079
00080 gridLayout_2->addWidget(groupBox, 1, 0, 1, 2);
00081
00082 defaultButton = new QPushButton(PartGui__TaskFaceColors);
00083 defaultButton->setObjectName(QString::fromUtf8("defaultButton"));
00084
00085 gridLayout_2->addWidget(defaultButton, 2, 0, 1, 1);
00086
00087 verticalSpacer = new QSpacerItem(20, 135, QSizePolicy::Minimum, QSizePolicy::Expanding);
00088
00089 gridLayout_2->addItem(verticalSpacer, 2, 1, 1, 1);
00090
00091
00092 retranslateUi(PartGui__TaskFaceColors);
00093
00094 QMetaObject::connectSlotsByName(PartGui__TaskFaceColors);
00095 }
00096
00097 void retranslateUi(QWidget *PartGui__TaskFaceColors)
00098 {
00099 PartGui__TaskFaceColors->setWindowTitle(QApplication::translate("PartGui::TaskFaceColors", "Set color per face", 0, QApplication::UnicodeUTF8));
00100 label->setText(QApplication::translate("PartGui::TaskFaceColors", "Click on the faces in the 3d view to select them.", 0, QApplication::UnicodeUTF8));
00101 faceLabel->setText(QApplication::translate("PartGui::TaskFaceColors", "Faces:", 0, QApplication::UnicodeUTF8));
00102 defaultButton->setText(QApplication::translate("PartGui::TaskFaceColors", "Set to default", 0, QApplication::UnicodeUTF8));
00103 Q_UNUSED(PartGui__TaskFaceColors);
00104 }
00105
00106 };
00107
00108 }
00109
00110 namespace PartGui {
00111 namespace Ui {
00112 class TaskFaceColors: public Ui_TaskFaceColors {};
00113 }
00114 }
00115
00116 #endif // UI_TASKFACECOLORS_H