00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_TASKCHAMFER_H
00011 #define UI_TASKCHAMFER_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/QDoubleSpinBox>
00019 #include <QtGui/QGridLayout>
00020 #include <QtGui/QGroupBox>
00021 #include <QtGui/QHBoxLayout>
00022 #include <QtGui/QHeaderView>
00023 #include <QtGui/QLabel>
00024 #include <QtGui/QPushButton>
00025 #include <QtGui/QSpacerItem>
00026 #include <QtGui/QTreeView>
00027 #include <QtGui/QWidget>
00028
00029 namespace PartDesignGui {
00030
00031 class Ui_TaskChamfer
00032 {
00033 public:
00034 QGridLayout *gridLayout_2;
00035 QGroupBox *groupBox;
00036 QHBoxLayout *hboxLayout;
00037 QLabel *label;
00038 QComboBox *shapeObject;
00039 QGroupBox *groupBox_2;
00040 QGridLayout *gridLayout;
00041 QSpacerItem *horizontalSpacer;
00042 QPushButton *selectAllButton;
00043 QPushButton *selectNoneButton;
00044 QLabel *labelChamfer;
00045 QComboBox *chamferType;
00046 QTreeView *treeView;
00047 QHBoxLayout *hboxLayout1;
00048 QLabel *label_2;
00049 QDoubleSpinBox *chamferStartDistance;
00050 QDoubleSpinBox *chamferEndDistance;
00051 QSpacerItem *spacerItem;
00052
00053 void setupUi(QWidget *PartDesignGui__TaskChamfer)
00054 {
00055 if (PartDesignGui__TaskChamfer->objectName().isEmpty())
00056 PartDesignGui__TaskChamfer->setObjectName(QString::fromUtf8("PartDesignGui__TaskChamfer"));
00057 PartDesignGui__TaskChamfer->resize(424, 426);
00058 gridLayout_2 = new QGridLayout(PartDesignGui__TaskChamfer);
00059 gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
00060 groupBox = new QGroupBox(PartDesignGui__TaskChamfer);
00061 groupBox->setObjectName(QString::fromUtf8("groupBox"));
00062 hboxLayout = new QHBoxLayout(groupBox);
00063 #ifndef Q_OS_MAC
00064 hboxLayout->setSpacing(6);
00065 #endif
00066 #ifndef Q_OS_MAC
00067 hboxLayout->setMargin(9);
00068 #endif
00069 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00070 label = new QLabel(groupBox);
00071 label->setObjectName(QString::fromUtf8("label"));
00072
00073 hboxLayout->addWidget(label);
00074
00075 shapeObject = new QComboBox(groupBox);
00076 shapeObject->setObjectName(QString::fromUtf8("shapeObject"));
00077
00078 hboxLayout->addWidget(shapeObject);
00079
00080
00081 gridLayout_2->addWidget(groupBox, 0, 0, 1, 1);
00082
00083 groupBox_2 = new QGroupBox(PartDesignGui__TaskChamfer);
00084 groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
00085 gridLayout = new QGridLayout(groupBox_2);
00086 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00087 horizontalSpacer = new QSpacerItem(221, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00088
00089 gridLayout->addItem(horizontalSpacer, 0, 0, 1, 1);
00090
00091 selectAllButton = new QPushButton(groupBox_2);
00092 selectAllButton->setObjectName(QString::fromUtf8("selectAllButton"));
00093
00094 gridLayout->addWidget(selectAllButton, 0, 1, 1, 1);
00095
00096 selectNoneButton = new QPushButton(groupBox_2);
00097 selectNoneButton->setObjectName(QString::fromUtf8("selectNoneButton"));
00098
00099 gridLayout->addWidget(selectNoneButton, 0, 2, 1, 1);
00100
00101 labelChamfer = new QLabel(groupBox_2);
00102 labelChamfer->setObjectName(QString::fromUtf8("labelChamfer"));
00103
00104 gridLayout->addWidget(labelChamfer, 1, 0, 1, 1);
00105
00106 chamferType = new QComboBox(groupBox_2);
00107 chamferType->setObjectName(QString::fromUtf8("chamferType"));
00108
00109 gridLayout->addWidget(chamferType, 1, 1, 1, 2);
00110
00111 treeView = new QTreeView(groupBox_2);
00112 treeView->setObjectName(QString::fromUtf8("treeView"));
00113
00114 gridLayout->addWidget(treeView, 2, 0, 1, 3);
00115
00116 hboxLayout1 = new QHBoxLayout();
00117 #ifndef Q_OS_MAC
00118 hboxLayout1->setSpacing(6);
00119 #endif
00120 hboxLayout1->setMargin(0);
00121 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00122 label_2 = new QLabel(groupBox_2);
00123 label_2->setObjectName(QString::fromUtf8("label_2"));
00124
00125 hboxLayout1->addWidget(label_2);
00126
00127 chamferStartDistance = new QDoubleSpinBox(groupBox_2);
00128 chamferStartDistance->setObjectName(QString::fromUtf8("chamferStartDistance"));
00129 chamferStartDistance->setSingleStep(0.1);
00130 chamferStartDistance->setValue(1);
00131
00132 hboxLayout1->addWidget(chamferStartDistance);
00133
00134 chamferEndDistance = new QDoubleSpinBox(groupBox_2);
00135 chamferEndDistance->setObjectName(QString::fromUtf8("chamferEndDistance"));
00136 chamferEndDistance->setSingleStep(0.1);
00137 chamferEndDistance->setValue(1);
00138
00139 hboxLayout1->addWidget(chamferEndDistance);
00140
00141 spacerItem = new QSpacerItem(40, 20, QSizePolicy::Minimum, QSizePolicy::Minimum);
00142
00143 hboxLayout1->addItem(spacerItem);
00144
00145
00146 gridLayout->addLayout(hboxLayout1, 3, 0, 1, 3);
00147
00148
00149 gridLayout_2->addWidget(groupBox_2, 1, 0, 1, 1);
00150
00151 QWidget::setTabOrder(shapeObject, chamferType);
00152 QWidget::setTabOrder(chamferType, treeView);
00153 QWidget::setTabOrder(treeView, chamferStartDistance);
00154 QWidget::setTabOrder(chamferStartDistance, chamferEndDistance);
00155
00156 retranslateUi(PartDesignGui__TaskChamfer);
00157
00158 QMetaObject::connectSlotsByName(PartDesignGui__TaskChamfer);
00159 }
00160
00161 void retranslateUi(QWidget *PartDesignGui__TaskChamfer)
00162 {
00163 PartDesignGui__TaskChamfer->setWindowTitle(QApplication::translate("PartDesignGui::TaskChamfer", "Chamfer Edges", 0, QApplication::UnicodeUTF8));
00164 groupBox->setTitle(QApplication::translate("PartDesignGui::TaskChamfer", "Shape", 0, QApplication::UnicodeUTF8));
00165 label->setText(QApplication::translate("PartDesignGui::TaskChamfer", "Selected shape:", 0, QApplication::UnicodeUTF8));
00166 shapeObject->clear();
00167 shapeObject->insertItems(0, QStringList()
00168 << QApplication::translate("PartDesignGui::TaskChamfer", "No selection", 0, QApplication::UnicodeUTF8)
00169 );
00170 groupBox_2->setTitle(QApplication::translate("PartDesignGui::TaskChamfer", "Chamfer Parameter", 0, QApplication::UnicodeUTF8));
00171 selectAllButton->setText(QApplication::translate("PartDesignGui::TaskChamfer", "All", 0, QApplication::UnicodeUTF8));
00172 selectNoneButton->setText(QApplication::translate("PartDesignGui::TaskChamfer", "None", 0, QApplication::UnicodeUTF8));
00173 labelChamfer->setText(QApplication::translate("PartDesignGui::TaskChamfer", "Chamfer type:", 0, QApplication::UnicodeUTF8));
00174 chamferType->clear();
00175 chamferType->insertItems(0, QStringList()
00176 << QApplication::translate("PartDesignGui::TaskChamfer", "Constant Distance", 0, QApplication::UnicodeUTF8)
00177 << QApplication::translate("PartDesignGui::TaskChamfer", "Variable Distance", 0, QApplication::UnicodeUTF8)
00178 );
00179 label_2->setText(QApplication::translate("PartDesignGui::TaskChamfer", "Distance:", 0, QApplication::UnicodeUTF8));
00180 Q_UNUSED(PartDesignGui__TaskChamfer);
00181 }
00182
00183 };
00184
00185 }
00186
00187 namespace PartDesignGui {
00188 namespace Ui {
00189 class TaskChamfer: public Ui_TaskChamfer {};
00190 }
00191 }
00192
00193 #endif // UI_TASKCHAMFER_H