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