00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_DLGREVOLUTION_H
00011 #define UI_DLGREVOLUTION_H
00012
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QComboBox>
00018 #include <QtGui/QDialog>
00019 #include <QtGui/QDoubleSpinBox>
00020 #include <QtGui/QGridLayout>
00021 #include <QtGui/QHeaderView>
00022 #include <QtGui/QLabel>
00023 #include <QtGui/QSpacerItem>
00024 #include <QtGui/QTreeWidget>
00025
00026 namespace PartGui {
00027
00028 class Ui_DlgRevolution
00029 {
00030 public:
00031 QGridLayout *gridLayout;
00032 QGridLayout *gridLayout1;
00033 QLabel *label_3;
00034 QLabel *label_2;
00035 QDoubleSpinBox *baseZ;
00036 QLabel *label_5;
00037 QDoubleSpinBox *baseY;
00038 QComboBox *direction;
00039 QLabel *label_4;
00040 QLabel *label;
00041 QDoubleSpinBox *baseX;
00042 QDoubleSpinBox *angle;
00043 QSpacerItem *spacerItem;
00044 QTreeWidget *treeWidget;
00045
00046 void setupUi(QDialog *PartGui__DlgRevolution)
00047 {
00048 if (PartGui__DlgRevolution->objectName().isEmpty())
00049 PartGui__DlgRevolution->setObjectName(QString::fromUtf8("PartGui__DlgRevolution"));
00050 PartGui__DlgRevolution->resize(307, 231);
00051 gridLayout = new QGridLayout(PartGui__DlgRevolution);
00052 #ifndef Q_OS_MAC
00053 gridLayout->setSpacing(6);
00054 #endif
00055 #ifndef Q_OS_MAC
00056 gridLayout->setMargin(9);
00057 #endif
00058 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00059 gridLayout1 = new QGridLayout();
00060 #ifndef Q_OS_MAC
00061 gridLayout1->setSpacing(6);
00062 #endif
00063 #ifndef Q_OS_MAC
00064 gridLayout1->setMargin(0);
00065 #endif
00066 gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
00067 label_3 = new QLabel(PartGui__DlgRevolution);
00068 label_3->setObjectName(QString::fromUtf8("label_3"));
00069 label_3->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
00070
00071 gridLayout1->addWidget(label_3, 2, 0, 1, 1);
00072
00073 label_2 = new QLabel(PartGui__DlgRevolution);
00074 label_2->setObjectName(QString::fromUtf8("label_2"));
00075 label_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
00076
00077 gridLayout1->addWidget(label_2, 1, 0, 1, 1);
00078
00079 baseZ = new QDoubleSpinBox(PartGui__DlgRevolution);
00080 baseZ->setObjectName(QString::fromUtf8("baseZ"));
00081
00082 gridLayout1->addWidget(baseZ, 3, 1, 1, 1);
00083
00084 label_5 = new QLabel(PartGui__DlgRevolution);
00085 label_5->setObjectName(QString::fromUtf8("label_5"));
00086 label_5->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
00087
00088 gridLayout1->addWidget(label_5, 0, 0, 1, 1);
00089
00090 baseY = new QDoubleSpinBox(PartGui__DlgRevolution);
00091 baseY->setObjectName(QString::fromUtf8("baseY"));
00092
00093 gridLayout1->addWidget(baseY, 2, 1, 1, 1);
00094
00095 direction = new QComboBox(PartGui__DlgRevolution);
00096 direction->setObjectName(QString::fromUtf8("direction"));
00097
00098 gridLayout1->addWidget(direction, 4, 1, 1, 1);
00099
00100 label_4 = new QLabel(PartGui__DlgRevolution);
00101 label_4->setObjectName(QString::fromUtf8("label_4"));
00102 label_4->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
00103
00104 gridLayout1->addWidget(label_4, 3, 0, 1, 1);
00105
00106 label = new QLabel(PartGui__DlgRevolution);
00107 label->setObjectName(QString::fromUtf8("label"));
00108 label->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
00109
00110 gridLayout1->addWidget(label, 4, 0, 1, 1);
00111
00112 baseX = new QDoubleSpinBox(PartGui__DlgRevolution);
00113 baseX->setObjectName(QString::fromUtf8("baseX"));
00114
00115 gridLayout1->addWidget(baseX, 1, 1, 1, 1);
00116
00117 angle = new QDoubleSpinBox(PartGui__DlgRevolution);
00118 angle->setObjectName(QString::fromUtf8("angle"));
00119 angle->setMinimum(-360);
00120 angle->setMaximum(360);
00121 angle->setValue(360);
00122
00123 gridLayout1->addWidget(angle, 0, 1, 1, 1);
00124
00125
00126 gridLayout->addLayout(gridLayout1, 0, 1, 1, 1);
00127
00128 spacerItem = new QSpacerItem(21, 21, QSizePolicy::Minimum, QSizePolicy::Expanding);
00129
00130 gridLayout->addItem(spacerItem, 1, 1, 1, 1);
00131
00132 treeWidget = new QTreeWidget(PartGui__DlgRevolution);
00133 treeWidget->setObjectName(QString::fromUtf8("treeWidget"));
00134 treeWidget->setSelectionMode(QAbstractItemView::ExtendedSelection);
00135 treeWidget->setIndentation(20);
00136 treeWidget->setRootIsDecorated(false);
00137
00138 gridLayout->addWidget(treeWidget, 0, 0, 3, 1);
00139
00140 QWidget::setTabOrder(treeWidget, angle);
00141 QWidget::setTabOrder(angle, baseX);
00142 QWidget::setTabOrder(baseX, baseY);
00143 QWidget::setTabOrder(baseY, baseZ);
00144 QWidget::setTabOrder(baseZ, direction);
00145
00146 retranslateUi(PartGui__DlgRevolution);
00147
00148 QMetaObject::connectSlotsByName(PartGui__DlgRevolution);
00149 }
00150
00151 void retranslateUi(QDialog *PartGui__DlgRevolution)
00152 {
00153 PartGui__DlgRevolution->setWindowTitle(QApplication::translate("PartGui::DlgRevolution", "Revolve", 0, QApplication::UnicodeUTF8));
00154 label_3->setText(QApplication::translate("PartGui::DlgRevolution", "Y:", 0, QApplication::UnicodeUTF8));
00155 label_2->setText(QApplication::translate("PartGui::DlgRevolution", "X:", 0, QApplication::UnicodeUTF8));
00156 label_5->setText(QApplication::translate("PartGui::DlgRevolution", "Angle:", 0, QApplication::UnicodeUTF8));
00157 label_4->setText(QApplication::translate("PartGui::DlgRevolution", "Z:", 0, QApplication::UnicodeUTF8));
00158 label->setText(QApplication::translate("PartGui::DlgRevolution", "Axis:", 0, QApplication::UnicodeUTF8));
00159 QTreeWidgetItem *___qtreewidgetitem = treeWidget->headerItem();
00160 ___qtreewidgetitem->setText(0, QApplication::translate("PartGui::DlgRevolution", "Shape", 0, QApplication::UnicodeUTF8));
00161 Q_UNUSED(PartGui__DlgRevolution);
00162 }
00163
00164 };
00165
00166 }
00167
00168 namespace PartGui {
00169 namespace Ui {
00170 class DlgRevolution: public Ui_DlgRevolution {};
00171 }
00172 }
00173
00174 #endif // UI_DLGREVOLUTION_H