00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_DLGEXTRUSION_H
00011 #define UI_DLGEXTRUSION_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/QHeaderView>
00023 #include <QtGui/QLabel>
00024 #include <QtGui/QPushButton>
00025 #include <QtGui/QSpacerItem>
00026 #include <QtGui/QTreeWidget>
00027
00028 namespace PartGui {
00029
00030 class Ui_DlgExtrusion
00031 {
00032 public:
00033 QGridLayout *gridLayout_3;
00034 QGroupBox *groupBox_2;
00035 QGridLayout *gridLayout_2;
00036 QGridLayout *gridLayout;
00037 QLabel *label_2;
00038 QDoubleSpinBox *dirX;
00039 QLabel *label_3;
00040 QDoubleSpinBox *dirY;
00041 QLabel *label_4;
00042 QDoubleSpinBox *dirZ;
00043 QLabel *label_5;
00044 QDoubleSpinBox *dirLen;
00045 QCheckBox *checkNormal;
00046 QPushButton *viewButton;
00047 QSpacerItem *horizontalSpacer;
00048 QLabel *labelNormal;
00049 QTreeWidget *treeWidget;
00050
00051 void setupUi(QDialog *PartGui__DlgExtrusion)
00052 {
00053 if (PartGui__DlgExtrusion->objectName().isEmpty())
00054 PartGui__DlgExtrusion->setObjectName(QString::fromUtf8("PartGui__DlgExtrusion"));
00055 PartGui__DlgExtrusion->resize(260, 504);
00056 gridLayout_3 = new QGridLayout(PartGui__DlgExtrusion);
00057 gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3"));
00058 groupBox_2 = new QGroupBox(PartGui__DlgExtrusion);
00059 groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
00060 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
00061 sizePolicy.setHorizontalStretch(0);
00062 sizePolicy.setVerticalStretch(0);
00063 sizePolicy.setHeightForWidth(groupBox_2->sizePolicy().hasHeightForWidth());
00064 groupBox_2->setSizePolicy(sizePolicy);
00065 gridLayout_2 = new QGridLayout(groupBox_2);
00066 gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
00067 gridLayout = new QGridLayout();
00068 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00069 label_2 = new QLabel(groupBox_2);
00070 label_2->setObjectName(QString::fromUtf8("label_2"));
00071 label_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
00072
00073 gridLayout->addWidget(label_2, 0, 0, 1, 1);
00074
00075 dirX = new QDoubleSpinBox(groupBox_2);
00076 dirX->setObjectName(QString::fromUtf8("dirX"));
00077 QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::Fixed);
00078 sizePolicy1.setHorizontalStretch(0);
00079 sizePolicy1.setVerticalStretch(0);
00080 sizePolicy1.setHeightForWidth(dirX->sizePolicy().hasHeightForWidth());
00081 dirX->setSizePolicy(sizePolicy1);
00082 dirX->setMinimum(-100);
00083 dirX->setMaximum(100);
00084
00085 gridLayout->addWidget(dirX, 0, 1, 1, 1);
00086
00087 label_3 = new QLabel(groupBox_2);
00088 label_3->setObjectName(QString::fromUtf8("label_3"));
00089 label_3->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
00090
00091 gridLayout->addWidget(label_3, 1, 0, 1, 1);
00092
00093 dirY = new QDoubleSpinBox(groupBox_2);
00094 dirY->setObjectName(QString::fromUtf8("dirY"));
00095 sizePolicy1.setHeightForWidth(dirY->sizePolicy().hasHeightForWidth());
00096 dirY->setSizePolicy(sizePolicy1);
00097 dirY->setMinimum(-100);
00098 dirY->setMaximum(100);
00099
00100 gridLayout->addWidget(dirY, 1, 1, 1, 1);
00101
00102 label_4 = new QLabel(groupBox_2);
00103 label_4->setObjectName(QString::fromUtf8("label_4"));
00104 label_4->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
00105
00106 gridLayout->addWidget(label_4, 2, 0, 1, 1);
00107
00108 dirZ = new QDoubleSpinBox(groupBox_2);
00109 dirZ->setObjectName(QString::fromUtf8("dirZ"));
00110 sizePolicy1.setHeightForWidth(dirZ->sizePolicy().hasHeightForWidth());
00111 dirZ->setSizePolicy(sizePolicy1);
00112 dirZ->setMinimum(-100);
00113 dirZ->setMaximum(100);
00114 dirZ->setValue(1);
00115
00116 gridLayout->addWidget(dirZ, 2, 1, 1, 1);
00117
00118 label_5 = new QLabel(groupBox_2);
00119 label_5->setObjectName(QString::fromUtf8("label_5"));
00120 label_5->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
00121
00122 gridLayout->addWidget(label_5, 3, 0, 1, 1);
00123
00124 dirLen = new QDoubleSpinBox(groupBox_2);
00125 dirLen->setObjectName(QString::fromUtf8("dirLen"));
00126 sizePolicy1.setHeightForWidth(dirLen->sizePolicy().hasHeightForWidth());
00127 dirLen->setSizePolicy(sizePolicy1);
00128 dirLen->setDecimals(3);
00129 dirLen->setMinimum(0.001);
00130 dirLen->setMaximum(2.14748e+09);
00131 dirLen->setValue(1);
00132
00133 gridLayout->addWidget(dirLen, 3, 1, 1, 1);
00134
00135
00136 gridLayout_2->addLayout(gridLayout, 0, 0, 1, 2);
00137
00138 checkNormal = new QCheckBox(groupBox_2);
00139 checkNormal->setObjectName(QString::fromUtf8("checkNormal"));
00140
00141 gridLayout_2->addWidget(checkNormal, 1, 0, 1, 1);
00142
00143 viewButton = new QPushButton(groupBox_2);
00144 viewButton->setObjectName(QString::fromUtf8("viewButton"));
00145
00146 gridLayout_2->addWidget(viewButton, 1, 1, 1, 1);
00147
00148 horizontalSpacer = new QSpacerItem(43, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00149
00150 gridLayout_2->addItem(horizontalSpacer, 1, 2, 1, 1);
00151
00152 labelNormal = new QLabel(groupBox_2);
00153 labelNormal->setObjectName(QString::fromUtf8("labelNormal"));
00154
00155 gridLayout_2->addWidget(labelNormal, 2, 0, 1, 3);
00156
00157
00158 gridLayout_3->addWidget(groupBox_2, 0, 0, 1, 1);
00159
00160 treeWidget = new QTreeWidget(PartGui__DlgExtrusion);
00161 treeWidget->setObjectName(QString::fromUtf8("treeWidget"));
00162 QSizePolicy sizePolicy2(QSizePolicy::Expanding, QSizePolicy::Expanding);
00163 sizePolicy2.setHorizontalStretch(0);
00164 sizePolicy2.setVerticalStretch(0);
00165 sizePolicy2.setHeightForWidth(treeWidget->sizePolicy().hasHeightForWidth());
00166 treeWidget->setSizePolicy(sizePolicy2);
00167 treeWidget->setSelectionMode(QAbstractItemView::ExtendedSelection);
00168 treeWidget->setIndentation(20);
00169 treeWidget->setRootIsDecorated(false);
00170
00171 gridLayout_3->addWidget(treeWidget, 1, 0, 1, 1);
00172
00173 QWidget::setTabOrder(treeWidget, dirX);
00174 QWidget::setTabOrder(dirX, dirY);
00175 QWidget::setTabOrder(dirY, dirZ);
00176 QWidget::setTabOrder(dirZ, dirLen);
00177 QWidget::setTabOrder(dirLen, checkNormal);
00178
00179 retranslateUi(PartGui__DlgExtrusion);
00180
00181 QMetaObject::connectSlotsByName(PartGui__DlgExtrusion);
00182 }
00183
00184 void retranslateUi(QDialog *PartGui__DlgExtrusion)
00185 {
00186 PartGui__DlgExtrusion->setWindowTitle(QApplication::translate("PartGui::DlgExtrusion", "Extrude", 0, QApplication::UnicodeUTF8));
00187 groupBox_2->setTitle(QApplication::translate("PartGui::DlgExtrusion", "Direction", 0, QApplication::UnicodeUTF8));
00188 label_2->setText(QApplication::translate("PartGui::DlgExtrusion", "X:", 0, QApplication::UnicodeUTF8));
00189 label_3->setText(QApplication::translate("PartGui::DlgExtrusion", "Y:", 0, QApplication::UnicodeUTF8));
00190 label_4->setText(QApplication::translate("PartGui::DlgExtrusion", "Z:", 0, QApplication::UnicodeUTF8));
00191 label_5->setText(QApplication::translate("PartGui::DlgExtrusion", "Length:", 0, QApplication::UnicodeUTF8));
00192 checkNormal->setText(QApplication::translate("PartGui::DlgExtrusion", "Along normal", 0, QApplication::UnicodeUTF8));
00193 viewButton->setText(QApplication::translate("PartGui::DlgExtrusion", "3D view", 0, QApplication::UnicodeUTF8));
00194 labelNormal->setText(QApplication::translate("PartGui::DlgExtrusion", "Note:This option works for planes only", 0, QApplication::UnicodeUTF8));
00195 QTreeWidgetItem *___qtreewidgetitem = treeWidget->headerItem();
00196 ___qtreewidgetitem->setText(0, QApplication::translate("PartGui::DlgExtrusion", "Shape", 0, QApplication::UnicodeUTF8));
00197 Q_UNUSED(PartGui__DlgExtrusion);
00198 }
00199
00200 };
00201
00202 }
00203
00204 namespace PartGui {
00205 namespace Ui {
00206 class DlgExtrusion: public Ui_DlgExtrusion {};
00207 }
00208 }
00209
00210 #endif // UI_DLGEXTRUSION_H