ui_DlgMaterialProperties.h

Go to the documentation of this file.
00001 /********************************************************************************
00002 ** Form generated from reading ui file 'DlgMaterialProperties.ui'
00003 **
00004 ** Created: Wed 19. Oct 19:02:30 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_DLGMATERIALPROPERTIES_H
00011 #define UI_DLGMATERIALPROPERTIES_H
00012 
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QDialog>
00018 #include <QtGui/QGridLayout>
00019 #include <QtGui/QGroupBox>
00020 #include <QtGui/QHBoxLayout>
00021 #include <QtGui/QHeaderView>
00022 #include <QtGui/QLabel>
00023 #include <QtGui/QPushButton>
00024 #include <QtGui/QSpacerItem>
00025 #include <QtGui/QSpinBox>
00026 #include "Gui/Widgets.h"
00027 
00028 namespace Gui {
00029 namespace Dialog {
00030 
00031 class Ui_DlgMaterialProperties
00032 {
00033 public:
00034     QGridLayout *gridLayout;
00035     QGroupBox *groupBox4;
00036     QGridLayout *gridLayout1;
00037     QLabel *label;
00038     QLabel *textLabel3;
00039     QLabel *textLabel2;
00040     QLabel *textLabel1;
00041     Gui::ColorButton *emissiveColor;
00042     Gui::ColorButton *specularColor;
00043     QHBoxLayout *hboxLayout;
00044     QLabel *textLabel4;
00045     QSpacerItem *spacerItem;
00046     QSpinBox *shininess;
00047     Gui::ColorButton *diffuseColor;
00048     Gui::ColorButton *ambientColor;
00049     QHBoxLayout *hboxLayout1;
00050     QSpacerItem *spacerItem1;
00051     QPushButton *buttonCancel;
00052 
00053     void setupUi(QDialog *Gui__Dialog__DlgMaterialProperties)
00054     {
00055         if (Gui__Dialog__DlgMaterialProperties->objectName().isEmpty())
00056             Gui__Dialog__DlgMaterialProperties->setObjectName(QString::fromUtf8("Gui__Dialog__DlgMaterialProperties"));
00057         Gui__Dialog__DlgMaterialProperties->resize(292, 247);
00058         Gui__Dialog__DlgMaterialProperties->setSizeGripEnabled(true);
00059         Gui__Dialog__DlgMaterialProperties->setModal(true);
00060         gridLayout = new QGridLayout(Gui__Dialog__DlgMaterialProperties);
00061         gridLayout->setSpacing(6);
00062         gridLayout->setMargin(9);
00063         gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00064         groupBox4 = new QGroupBox(Gui__Dialog__DlgMaterialProperties);
00065         groupBox4->setObjectName(QString::fromUtf8("groupBox4"));
00066         gridLayout1 = new QGridLayout(groupBox4);
00067         gridLayout1->setSpacing(6);
00068         gridLayout1->setMargin(9);
00069         gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
00070         label = new QLabel(groupBox4);
00071         label->setObjectName(QString::fromUtf8("label"));
00072 
00073         gridLayout1->addWidget(label, 2, 0, 1, 1);
00074 
00075         textLabel3 = new QLabel(groupBox4);
00076         textLabel3->setObjectName(QString::fromUtf8("textLabel3"));
00077 
00078         gridLayout1->addWidget(textLabel3, 3, 0, 1, 1);
00079 
00080         textLabel2 = new QLabel(groupBox4);
00081         textLabel2->setObjectName(QString::fromUtf8("textLabel2"));
00082 
00083         gridLayout1->addWidget(textLabel2, 0, 0, 1, 1);
00084 
00085         textLabel1 = new QLabel(groupBox4);
00086         textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
00087 
00088         gridLayout1->addWidget(textLabel1, 1, 0, 1, 1);
00089 
00090         emissiveColor = new Gui::ColorButton(groupBox4);
00091         emissiveColor->setObjectName(QString::fromUtf8("emissiveColor"));
00092 
00093         gridLayout1->addWidget(emissiveColor, 2, 1, 1, 1);
00094 
00095         specularColor = new Gui::ColorButton(groupBox4);
00096         specularColor->setObjectName(QString::fromUtf8("specularColor"));
00097 
00098         gridLayout1->addWidget(specularColor, 3, 1, 1, 1);
00099 
00100         hboxLayout = new QHBoxLayout();
00101         hboxLayout->setSpacing(6);
00102         hboxLayout->setMargin(0);
00103         hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00104         textLabel4 = new QLabel(groupBox4);
00105         textLabel4->setObjectName(QString::fromUtf8("textLabel4"));
00106 
00107         hboxLayout->addWidget(textLabel4);
00108 
00109         spacerItem = new QSpacerItem(81, 31, QSizePolicy::Expanding, QSizePolicy::Minimum);
00110 
00111         hboxLayout->addItem(spacerItem);
00112 
00113         shininess = new QSpinBox(groupBox4);
00114         shininess->setObjectName(QString::fromUtf8("shininess"));
00115 
00116         hboxLayout->addWidget(shininess);
00117 
00118 
00119         gridLayout1->addLayout(hboxLayout, 4, 0, 1, 2);
00120 
00121         diffuseColor = new Gui::ColorButton(groupBox4);
00122         diffuseColor->setObjectName(QString::fromUtf8("diffuseColor"));
00123 
00124         gridLayout1->addWidget(diffuseColor, 1, 1, 1, 1);
00125 
00126         ambientColor = new Gui::ColorButton(groupBox4);
00127         ambientColor->setObjectName(QString::fromUtf8("ambientColor"));
00128 
00129         gridLayout1->addWidget(ambientColor, 0, 1, 1, 1);
00130 
00131 
00132         gridLayout->addWidget(groupBox4, 0, 0, 1, 1);
00133 
00134         hboxLayout1 = new QHBoxLayout();
00135         hboxLayout1->setSpacing(6);
00136         hboxLayout1->setMargin(0);
00137         hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00138         spacerItem1 = new QSpacerItem(20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00139 
00140         hboxLayout1->addItem(spacerItem1);
00141 
00142         buttonCancel = new QPushButton(Gui__Dialog__DlgMaterialProperties);
00143         buttonCancel->setObjectName(QString::fromUtf8("buttonCancel"));
00144         buttonCancel->setAutoDefault(true);
00145 
00146         hboxLayout1->addWidget(buttonCancel);
00147 
00148 
00149         gridLayout->addLayout(hboxLayout1, 1, 0, 1, 1);
00150 
00151         QWidget::setTabOrder(ambientColor, diffuseColor);
00152         QWidget::setTabOrder(diffuseColor, emissiveColor);
00153         QWidget::setTabOrder(emissiveColor, specularColor);
00154         QWidget::setTabOrder(specularColor, shininess);
00155         QWidget::setTabOrder(shininess, buttonCancel);
00156 
00157         retranslateUi(Gui__Dialog__DlgMaterialProperties);
00158         QObject::connect(buttonCancel, SIGNAL(clicked()), Gui__Dialog__DlgMaterialProperties, SLOT(reject()));
00159 
00160         QMetaObject::connectSlotsByName(Gui__Dialog__DlgMaterialProperties);
00161     } // setupUi
00162 
00163     void retranslateUi(QDialog *Gui__Dialog__DlgMaterialProperties)
00164     {
00165         Gui__Dialog__DlgMaterialProperties->setWindowTitle(QApplication::translate("Gui::Dialog::DlgMaterialProperties", "Material properties", 0, QApplication::UnicodeUTF8));
00166         groupBox4->setTitle(QApplication::translate("Gui::Dialog::DlgMaterialProperties", "Material", 0, QApplication::UnicodeUTF8));
00167         label->setText(QApplication::translate("Gui::Dialog::DlgMaterialProperties", "Emissive color:", 0, QApplication::UnicodeUTF8));
00168         textLabel3->setText(QApplication::translate("Gui::Dialog::DlgMaterialProperties", "Specular color:", 0, QApplication::UnicodeUTF8));
00169         textLabel2->setText(QApplication::translate("Gui::Dialog::DlgMaterialProperties", "Ambient color:", 0, QApplication::UnicodeUTF8));
00170         textLabel1->setText(QApplication::translate("Gui::Dialog::DlgMaterialProperties", "Diffuse color:", 0, QApplication::UnicodeUTF8));
00171         emissiveColor->setText(QString());
00172         specularColor->setText(QString());
00173         textLabel4->setText(QApplication::translate("Gui::Dialog::DlgMaterialProperties", "Shininess:", 0, QApplication::UnicodeUTF8));
00174         shininess->setSuffix(QApplication::translate("Gui::Dialog::DlgMaterialProperties", "%", 0, QApplication::UnicodeUTF8));
00175         diffuseColor->setText(QString());
00176         ambientColor->setText(QString());
00177         buttonCancel->setText(QApplication::translate("Gui::Dialog::DlgMaterialProperties", "&Close", 0, QApplication::UnicodeUTF8));
00178         buttonCancel->setShortcut(QApplication::translate("Gui::Dialog::DlgMaterialProperties", "Alt+C", 0, QApplication::UnicodeUTF8));
00179         Q_UNUSED(Gui__Dialog__DlgMaterialProperties);
00180     } // retranslateUi
00181 
00182 };
00183 
00184 } // namespace Dialog
00185 } // namespace Gui
00186 
00187 namespace Gui {
00188 namespace Dialog {
00189 namespace Ui {
00190     class DlgMaterialProperties: public Ui_DlgMaterialProperties {};
00191 } // namespace Ui
00192 } // namespace Dialog
00193 } // namespace Gui
00194 
00195 #endif // UI_DLGMATERIALPROPERTIES_H

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