00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_DLGPARTCYLINDER_H
00011 #define UI_DLGPARTCYLINDER_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/QGroupBox>
00022 #include <QtGui/QHBoxLayout>
00023 #include <QtGui/QHeaderView>
00024 #include <QtGui/QLabel>
00025 #include <QtGui/QPushButton>
00026 #include <QtGui/QSpacerItem>
00027
00028 namespace PartGui {
00029
00030 class Ui_DlgPartCylinder
00031 {
00032 public:
00033 QGridLayout *gridLayout;
00034 QGroupBox *groupBox;
00035 QGridLayout *gridLayout1;
00036 QLabel *label;
00037 QLabel *TextLabel1_2;
00038 QDoubleSpinBox *length;
00039 QDoubleSpinBox *radius;
00040 QGroupBox *GroupBox5;
00041 QGridLayout *gridLayout2;
00042 QComboBox *direction;
00043 QLabel *TextLabel1_3;
00044 QLabel *TextLabel1;
00045 QLabel *TextLabel3;
00046 QLabel *TextLabel2;
00047 QDoubleSpinBox *zPos;
00048 QDoubleSpinBox *yPos;
00049 QDoubleSpinBox *xPos;
00050 QHBoxLayout *hboxLayout;
00051 QSpacerItem *spacerItem;
00052 QPushButton *OKButton;
00053 QPushButton *CancelButton;
00054
00055 void setupUi(QDialog *PartGui__DlgPartCylinder)
00056 {
00057 if (PartGui__DlgPartCylinder->objectName().isEmpty())
00058 PartGui__DlgPartCylinder->setObjectName(QString::fromUtf8("PartGui__DlgPartCylinder"));
00059 PartGui__DlgPartCylinder->resize(296, 323);
00060 gridLayout = new QGridLayout(PartGui__DlgPartCylinder);
00061 gridLayout->setSpacing(6);
00062 gridLayout->setMargin(9);
00063 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00064 groupBox = new QGroupBox(PartGui__DlgPartCylinder);
00065 groupBox->setObjectName(QString::fromUtf8("groupBox"));
00066 gridLayout1 = new QGridLayout(groupBox);
00067 gridLayout1->setSpacing(6);
00068 gridLayout1->setMargin(9);
00069 gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
00070 label = new QLabel(groupBox);
00071 label->setObjectName(QString::fromUtf8("label"));
00072
00073 gridLayout1->addWidget(label, 1, 0, 1, 1);
00074
00075 TextLabel1_2 = new QLabel(groupBox);
00076 TextLabel1_2->setObjectName(QString::fromUtf8("TextLabel1_2"));
00077
00078 gridLayout1->addWidget(TextLabel1_2, 0, 0, 1, 1);
00079
00080 length = new QDoubleSpinBox(groupBox);
00081 length->setObjectName(QString::fromUtf8("length"));
00082 length->setMaximum(2.14748e+09);
00083 length->setValue(100);
00084
00085 gridLayout1->addWidget(length, 1, 1, 1, 1);
00086
00087 radius = new QDoubleSpinBox(groupBox);
00088 radius->setObjectName(QString::fromUtf8("radius"));
00089 radius->setMaximum(2.14748e+09);
00090 radius->setValue(10);
00091
00092 gridLayout1->addWidget(radius, 0, 1, 1, 1);
00093
00094
00095 gridLayout->addWidget(groupBox, 1, 0, 1, 1);
00096
00097 GroupBox5 = new QGroupBox(PartGui__DlgPartCylinder);
00098 GroupBox5->setObjectName(QString::fromUtf8("GroupBox5"));
00099 gridLayout2 = new QGridLayout(GroupBox5);
00100 gridLayout2->setSpacing(6);
00101 gridLayout2->setMargin(9);
00102 gridLayout2->setObjectName(QString::fromUtf8("gridLayout2"));
00103 direction = new QComboBox(GroupBox5);
00104 direction->setObjectName(QString::fromUtf8("direction"));
00105
00106 gridLayout2->addWidget(direction, 3, 1, 1, 1);
00107
00108 TextLabel1_3 = new QLabel(GroupBox5);
00109 TextLabel1_3->setObjectName(QString::fromUtf8("TextLabel1_3"));
00110
00111 gridLayout2->addWidget(TextLabel1_3, 3, 0, 1, 1);
00112
00113 TextLabel1 = new QLabel(GroupBox5);
00114 TextLabel1->setObjectName(QString::fromUtf8("TextLabel1"));
00115
00116 gridLayout2->addWidget(TextLabel1, 0, 0, 1, 1);
00117
00118 TextLabel3 = new QLabel(GroupBox5);
00119 TextLabel3->setObjectName(QString::fromUtf8("TextLabel3"));
00120
00121 gridLayout2->addWidget(TextLabel3, 2, 0, 1, 1);
00122
00123 TextLabel2 = new QLabel(GroupBox5);
00124 TextLabel2->setObjectName(QString::fromUtf8("TextLabel2"));
00125
00126 gridLayout2->addWidget(TextLabel2, 1, 0, 1, 1);
00127
00128 zPos = new QDoubleSpinBox(GroupBox5);
00129 zPos->setObjectName(QString::fromUtf8("zPos"));
00130 zPos->setMaximum(2.14748e+09);
00131 zPos->setMinimum(-2.14748e+09);
00132
00133 gridLayout2->addWidget(zPos, 2, 1, 1, 1);
00134
00135 yPos = new QDoubleSpinBox(GroupBox5);
00136 yPos->setObjectName(QString::fromUtf8("yPos"));
00137 yPos->setMaximum(2.14748e+09);
00138 yPos->setMinimum(-2.14748e+09);
00139
00140 gridLayout2->addWidget(yPos, 1, 1, 1, 1);
00141
00142 xPos = new QDoubleSpinBox(GroupBox5);
00143 xPos->setObjectName(QString::fromUtf8("xPos"));
00144 xPos->setMaximum(2.14748e+09);
00145 xPos->setMinimum(-2.14748e+09);
00146
00147 gridLayout2->addWidget(xPos, 0, 1, 1, 1);
00148
00149
00150 gridLayout->addWidget(GroupBox5, 0, 0, 1, 1);
00151
00152 hboxLayout = new QHBoxLayout();
00153 hboxLayout->setSpacing(6);
00154 hboxLayout->setMargin(0);
00155 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00156 spacerItem = new QSpacerItem(88, 27, QSizePolicy::Expanding, QSizePolicy::Minimum);
00157
00158 hboxLayout->addItem(spacerItem);
00159
00160 OKButton = new QPushButton(PartGui__DlgPartCylinder);
00161 OKButton->setObjectName(QString::fromUtf8("OKButton"));
00162
00163 hboxLayout->addWidget(OKButton);
00164
00165 CancelButton = new QPushButton(PartGui__DlgPartCylinder);
00166 CancelButton->setObjectName(QString::fromUtf8("CancelButton"));
00167
00168 hboxLayout->addWidget(CancelButton);
00169
00170
00171 gridLayout->addLayout(hboxLayout, 2, 0, 1, 1);
00172
00173 QWidget::setTabOrder(xPos, yPos);
00174 QWidget::setTabOrder(yPos, zPos);
00175 QWidget::setTabOrder(zPos, direction);
00176 QWidget::setTabOrder(direction, radius);
00177 QWidget::setTabOrder(radius, length);
00178 QWidget::setTabOrder(length, OKButton);
00179 QWidget::setTabOrder(OKButton, CancelButton);
00180
00181 retranslateUi(PartGui__DlgPartCylinder);
00182 QObject::connect(OKButton, SIGNAL(clicked()), PartGui__DlgPartCylinder, SLOT(accept()));
00183 QObject::connect(CancelButton, SIGNAL(clicked()), PartGui__DlgPartCylinder, SLOT(reject()));
00184
00185 direction->setCurrentIndex(-1);
00186
00187
00188 QMetaObject::connectSlotsByName(PartGui__DlgPartCylinder);
00189 }
00190
00191 void retranslateUi(QDialog *PartGui__DlgPartCylinder)
00192 {
00193 PartGui__DlgPartCylinder->setWindowTitle(QApplication::translate("PartGui::DlgPartCylinder", "Cylinder definition", 0, QApplication::UnicodeUTF8));
00194 groupBox->setTitle(QApplication::translate("PartGui::DlgPartCylinder", "Parameter", 0, QApplication::UnicodeUTF8));
00195 label->setText(QApplication::translate("PartGui::DlgPartCylinder", "Height:", 0, QApplication::UnicodeUTF8));
00196 TextLabel1_2->setText(QApplication::translate("PartGui::DlgPartCylinder", "Radius:", 0, QApplication::UnicodeUTF8));
00197 GroupBox5->setTitle(QApplication::translate("PartGui::DlgPartCylinder", "Position:", 0, QApplication::UnicodeUTF8));
00198 TextLabel1_3->setText(QApplication::translate("PartGui::DlgPartCylinder", "Direction:", 0, QApplication::UnicodeUTF8));
00199 TextLabel1->setText(QApplication::translate("PartGui::DlgPartCylinder", "X:", 0, QApplication::UnicodeUTF8));
00200 TextLabel3->setText(QApplication::translate("PartGui::DlgPartCylinder", "Z:", 0, QApplication::UnicodeUTF8));
00201 TextLabel2->setText(QApplication::translate("PartGui::DlgPartCylinder", "Y:", 0, QApplication::UnicodeUTF8));
00202 OKButton->setText(QApplication::translate("PartGui::DlgPartCylinder", "OK", 0, QApplication::UnicodeUTF8));
00203 CancelButton->setText(QApplication::translate("PartGui::DlgPartCylinder", "Cancel", 0, QApplication::UnicodeUTF8));
00204 Q_UNUSED(PartGui__DlgPartCylinder);
00205 }
00206
00207 };
00208
00209 }
00210
00211 namespace PartGui {
00212 namespace Ui {
00213 class DlgPartCylinder: public Ui_DlgPartCylinder {};
00214 }
00215 }
00216
00217 #endif // UI_DLGPARTCYLINDER_H