00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_CROSSSECTIONS_H
00011 #define UI_CROSSSECTIONS_H
00012
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QCheckBox>
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/QRadioButton>
00026 #include <QtGui/QSpinBox>
00027
00028 namespace PartGui {
00029
00030 class Ui_CrossSections
00031 {
00032 public:
00033 QGridLayout *gridLayout_4;
00034 QGroupBox *planeBox;
00035 QGridLayout *gridLayout;
00036 QRadioButton *xyPlane;
00037 QRadioButton *xzPlane;
00038 QRadioButton *yzPlane;
00039 QHBoxLayout *horizontalLayout;
00040 QLabel *label;
00041 QDoubleSpinBox *position;
00042 QGroupBox *sectionsBox;
00043 QGridLayout *gridLayout_3;
00044 QCheckBox *checkBothSides;
00045 QGridLayout *gridLayout_2;
00046 QLabel *label_3;
00047 QSpinBox *countSections;
00048 QLabel *label_2;
00049 QDoubleSpinBox *distance;
00050
00051 void setupUi(QDialog *PartGui__CrossSections)
00052 {
00053 if (PartGui__CrossSections->objectName().isEmpty())
00054 PartGui__CrossSections->setObjectName(QString::fromUtf8("PartGui__CrossSections"));
00055 PartGui__CrossSections->resize(235, 240);
00056 gridLayout_4 = new QGridLayout(PartGui__CrossSections);
00057 gridLayout_4->setObjectName(QString::fromUtf8("gridLayout_4"));
00058 planeBox = new QGroupBox(PartGui__CrossSections);
00059 planeBox->setObjectName(QString::fromUtf8("planeBox"));
00060 gridLayout = new QGridLayout(planeBox);
00061 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00062 xyPlane = new QRadioButton(planeBox);
00063 xyPlane->setObjectName(QString::fromUtf8("xyPlane"));
00064 xyPlane->setChecked(true);
00065
00066 gridLayout->addWidget(xyPlane, 0, 0, 1, 1);
00067
00068 xzPlane = new QRadioButton(planeBox);
00069 xzPlane->setObjectName(QString::fromUtf8("xzPlane"));
00070
00071 gridLayout->addWidget(xzPlane, 0, 1, 1, 1);
00072
00073 yzPlane = new QRadioButton(planeBox);
00074 yzPlane->setObjectName(QString::fromUtf8("yzPlane"));
00075
00076 gridLayout->addWidget(yzPlane, 0, 2, 1, 1);
00077
00078 horizontalLayout = new QHBoxLayout();
00079 horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
00080 label = new QLabel(planeBox);
00081 label->setObjectName(QString::fromUtf8("label"));
00082
00083 horizontalLayout->addWidget(label);
00084
00085 position = new QDoubleSpinBox(planeBox);
00086 position->setObjectName(QString::fromUtf8("position"));
00087 position->setDecimals(4);
00088
00089 horizontalLayout->addWidget(position);
00090
00091
00092 gridLayout->addLayout(horizontalLayout, 1, 0, 1, 3);
00093
00094
00095 gridLayout_4->addWidget(planeBox, 0, 0, 1, 1);
00096
00097 sectionsBox = new QGroupBox(PartGui__CrossSections);
00098 sectionsBox->setObjectName(QString::fromUtf8("sectionsBox"));
00099 sectionsBox->setCheckable(true);
00100 sectionsBox->setChecked(false);
00101 gridLayout_3 = new QGridLayout(sectionsBox);
00102 gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3"));
00103 checkBothSides = new QCheckBox(sectionsBox);
00104 checkBothSides->setObjectName(QString::fromUtf8("checkBothSides"));
00105
00106 gridLayout_3->addWidget(checkBothSides, 0, 0, 1, 1);
00107
00108 gridLayout_2 = new QGridLayout();
00109 gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
00110 label_3 = new QLabel(sectionsBox);
00111 label_3->setObjectName(QString::fromUtf8("label_3"));
00112
00113 gridLayout_2->addWidget(label_3, 0, 0, 1, 1);
00114
00115 countSections = new QSpinBox(sectionsBox);
00116 countSections->setObjectName(QString::fromUtf8("countSections"));
00117 countSections->setMinimum(1);
00118 countSections->setMaximum(2000000);
00119
00120 gridLayout_2->addWidget(countSections, 0, 1, 1, 1);
00121
00122 label_2 = new QLabel(sectionsBox);
00123 label_2->setObjectName(QString::fromUtf8("label_2"));
00124
00125 gridLayout_2->addWidget(label_2, 1, 0, 1, 1);
00126
00127 distance = new QDoubleSpinBox(sectionsBox);
00128 distance->setObjectName(QString::fromUtf8("distance"));
00129 distance->setDecimals(4);
00130
00131 gridLayout_2->addWidget(distance, 1, 1, 1, 1);
00132
00133
00134 gridLayout_3->addLayout(gridLayout_2, 1, 0, 1, 1);
00135
00136
00137 gridLayout_4->addWidget(sectionsBox, 1, 0, 1, 1);
00138
00139 QWidget::setTabOrder(xyPlane, xzPlane);
00140 QWidget::setTabOrder(xzPlane, yzPlane);
00141 QWidget::setTabOrder(yzPlane, position);
00142 QWidget::setTabOrder(position, sectionsBox);
00143 QWidget::setTabOrder(sectionsBox, checkBothSides);
00144 QWidget::setTabOrder(checkBothSides, countSections);
00145 QWidget::setTabOrder(countSections, distance);
00146
00147 retranslateUi(PartGui__CrossSections);
00148
00149 QMetaObject::connectSlotsByName(PartGui__CrossSections);
00150 }
00151
00152 void retranslateUi(QDialog *PartGui__CrossSections)
00153 {
00154 PartGui__CrossSections->setWindowTitle(QApplication::translate("PartGui::CrossSections", "Cross sections", 0, QApplication::UnicodeUTF8));
00155 planeBox->setTitle(QApplication::translate("PartGui::CrossSections", "Guiding plane", 0, QApplication::UnicodeUTF8));
00156 xyPlane->setText(QApplication::translate("PartGui::CrossSections", "XY", 0, QApplication::UnicodeUTF8));
00157 xzPlane->setText(QApplication::translate("PartGui::CrossSections", "XZ", 0, QApplication::UnicodeUTF8));
00158 yzPlane->setText(QApplication::translate("PartGui::CrossSections", "YZ", 0, QApplication::UnicodeUTF8));
00159 label->setText(QApplication::translate("PartGui::CrossSections", "Position:", 0, QApplication::UnicodeUTF8));
00160 sectionsBox->setTitle(QApplication::translate("PartGui::CrossSections", "Sections", 0, QApplication::UnicodeUTF8));
00161 checkBothSides->setText(QApplication::translate("PartGui::CrossSections", "On both sides", 0, QApplication::UnicodeUTF8));
00162 label_3->setText(QApplication::translate("PartGui::CrossSections", "Count", 0, QApplication::UnicodeUTF8));
00163 label_2->setText(QApplication::translate("PartGui::CrossSections", "Distance:", 0, QApplication::UnicodeUTF8));
00164 Q_UNUSED(PartGui__CrossSections);
00165 }
00166
00167 };
00168
00169 }
00170
00171 namespace PartGui {
00172 namespace Ui {
00173 class CrossSections: public Ui_CrossSections {};
00174 }
00175 }
00176
00177 #endif // UI_CROSSSECTIONS_H