00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_TESSELLATION_H
00011 #define UI_TESSELLATION_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/QDoubleSpinBox>
00019 #include <QtGui/QGridLayout>
00020 #include <QtGui/QGroupBox>
00021 #include <QtGui/QHeaderView>
00022 #include <QtGui/QTreeWidget>
00023 #include <QtGui/QWidget>
00024
00025 namespace MeshPartGui {
00026
00027 class Ui_Tessellation
00028 {
00029 public:
00030 QGridLayout *gridLayout_2;
00031 QTreeWidget *treeWidget;
00032 QGroupBox *groupBox;
00033 QGridLayout *gridLayout;
00034 QCheckBox *checkDeviation;
00035 QDoubleSpinBox *spinDeviation;
00036 QCheckBox *checkMaxEdgeLength;
00037 QDoubleSpinBox *spinMaxEdgeLength;
00038
00039 void setupUi(QWidget *MeshPartGui__Tessellation)
00040 {
00041 if (MeshPartGui__Tessellation->objectName().isEmpty())
00042 MeshPartGui__Tessellation->setObjectName(QString::fromUtf8("MeshPartGui__Tessellation"));
00043 MeshPartGui__Tessellation->resize(329, 431);
00044 gridLayout_2 = new QGridLayout(MeshPartGui__Tessellation);
00045 gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
00046 treeWidget = new QTreeWidget(MeshPartGui__Tessellation);
00047 treeWidget->setObjectName(QString::fromUtf8("treeWidget"));
00048 treeWidget->setSelectionMode(QAbstractItemView::ExtendedSelection);
00049
00050 gridLayout_2->addWidget(treeWidget, 0, 0, 1, 1);
00051
00052 groupBox = new QGroupBox(MeshPartGui__Tessellation);
00053 groupBox->setObjectName(QString::fromUtf8("groupBox"));
00054 gridLayout = new QGridLayout(groupBox);
00055 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00056 checkDeviation = new QCheckBox(groupBox);
00057 checkDeviation->setObjectName(QString::fromUtf8("checkDeviation"));
00058 checkDeviation->setChecked(true);
00059
00060 gridLayout->addWidget(checkDeviation, 0, 0, 1, 1);
00061
00062 spinDeviation = new QDoubleSpinBox(groupBox);
00063 spinDeviation->setObjectName(QString::fromUtf8("spinDeviation"));
00064 spinDeviation->setDecimals(3);
00065 spinDeviation->setMinimum(0.001);
00066 spinDeviation->setSingleStep(0.1);
00067 spinDeviation->setValue(0.1);
00068
00069 gridLayout->addWidget(spinDeviation, 0, 1, 1, 1);
00070
00071 checkMaxEdgeLength = new QCheckBox(groupBox);
00072 checkMaxEdgeLength->setObjectName(QString::fromUtf8("checkMaxEdgeLength"));
00073 checkMaxEdgeLength->setChecked(true);
00074
00075 gridLayout->addWidget(checkMaxEdgeLength, 1, 0, 1, 1);
00076
00077 spinMaxEdgeLength = new QDoubleSpinBox(groupBox);
00078 spinMaxEdgeLength->setObjectName(QString::fromUtf8("spinMaxEdgeLength"));
00079 spinMaxEdgeLength->setDecimals(3);
00080 spinMaxEdgeLength->setMinimum(0.001);
00081 spinMaxEdgeLength->setSingleStep(0.1);
00082 spinMaxEdgeLength->setValue(1);
00083
00084 gridLayout->addWidget(spinMaxEdgeLength, 1, 1, 1, 1);
00085
00086
00087 gridLayout_2->addWidget(groupBox, 1, 0, 1, 1);
00088
00089 QWidget::setTabOrder(treeWidget, checkDeviation);
00090 QWidget::setTabOrder(checkDeviation, spinDeviation);
00091 QWidget::setTabOrder(spinDeviation, checkMaxEdgeLength);
00092 QWidget::setTabOrder(checkMaxEdgeLength, spinMaxEdgeLength);
00093
00094 retranslateUi(MeshPartGui__Tessellation);
00095 QObject::connect(checkDeviation, SIGNAL(toggled(bool)), spinDeviation, SLOT(setEnabled(bool)));
00096 QObject::connect(checkMaxEdgeLength, SIGNAL(toggled(bool)), spinMaxEdgeLength, SLOT(setEnabled(bool)));
00097
00098 QMetaObject::connectSlotsByName(MeshPartGui__Tessellation);
00099 }
00100
00101 void retranslateUi(QWidget *MeshPartGui__Tessellation)
00102 {
00103 MeshPartGui__Tessellation->setWindowTitle(QApplication::translate("MeshPartGui::Tessellation", "Tessellation", 0, QApplication::UnicodeUTF8));
00104 QTreeWidgetItem *___qtreewidgetitem = treeWidget->headerItem();
00105 ___qtreewidgetitem->setText(0, QApplication::translate("MeshPartGui::Tessellation", "Shapes", 0, QApplication::UnicodeUTF8));
00106 groupBox->setTitle(QApplication::translate("MeshPartGui::Tessellation", "Settings", 0, QApplication::UnicodeUTF8));
00107 checkDeviation->setText(QApplication::translate("MeshPartGui::Tessellation", "Surface deviation:", 0, QApplication::UnicodeUTF8));
00108 checkMaxEdgeLength->setText(QApplication::translate("MeshPartGui::Tessellation", "Max. edge length:", 0, QApplication::UnicodeUTF8));
00109 Q_UNUSED(MeshPartGui__Tessellation);
00110 }
00111
00112 };
00113
00114 }
00115
00116 namespace MeshPartGui {
00117 namespace Ui {
00118 class Tessellation: public Ui_Tessellation {};
00119 }
00120 }
00121
00122 #endif // UI_TESSELLATION_H