00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_DLGBOOLEANOPERATION_H
00011 #define UI_DLGBOOLEANOPERATION_H
00012
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QGridLayout>
00018 #include <QtGui/QGroupBox>
00019 #include <QtGui/QHeaderView>
00020 #include <QtGui/QPushButton>
00021 #include <QtGui/QRadioButton>
00022 #include <QtGui/QSpacerItem>
00023 #include <QtGui/QTreeWidget>
00024 #include <QtGui/QWidget>
00025
00026 namespace PartGui {
00027
00028 class Ui_DlgBooleanOperation
00029 {
00030 public:
00031 QGridLayout *gridLayout;
00032 QGroupBox *groupBox;
00033 QGridLayout *gridLayout1;
00034 QRadioButton *sectionButton;
00035 QRadioButton *diffButton;
00036 QRadioButton *unionButton;
00037 QRadioButton *interButton;
00038 QTreeWidget *firstShape;
00039 QTreeWidget *secondShape;
00040 QSpacerItem *horizontalSpacer;
00041 QPushButton *swapButton;
00042
00043 void setupUi(QWidget *PartGui__DlgBooleanOperation)
00044 {
00045 if (PartGui__DlgBooleanOperation->objectName().isEmpty())
00046 PartGui__DlgBooleanOperation->setObjectName(QString::fromUtf8("PartGui__DlgBooleanOperation"));
00047 PartGui__DlgBooleanOperation->resize(264, 408);
00048 gridLayout = new QGridLayout(PartGui__DlgBooleanOperation);
00049 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00050 groupBox = new QGroupBox(PartGui__DlgBooleanOperation);
00051 groupBox->setObjectName(QString::fromUtf8("groupBox"));
00052 gridLayout1 = new QGridLayout(groupBox);
00053 #ifndef Q_OS_MAC
00054 gridLayout1->setSpacing(6);
00055 #endif
00056 #ifndef Q_OS_MAC
00057 gridLayout1->setMargin(9);
00058 #endif
00059 gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
00060 sectionButton = new QRadioButton(groupBox);
00061 sectionButton->setObjectName(QString::fromUtf8("sectionButton"));
00062
00063 gridLayout1->addWidget(sectionButton, 1, 1, 1, 1);
00064
00065 diffButton = new QRadioButton(groupBox);
00066 diffButton->setObjectName(QString::fromUtf8("diffButton"));
00067
00068 gridLayout1->addWidget(diffButton, 0, 1, 1, 1);
00069
00070 unionButton = new QRadioButton(groupBox);
00071 unionButton->setObjectName(QString::fromUtf8("unionButton"));
00072 unionButton->setChecked(true);
00073
00074 gridLayout1->addWidget(unionButton, 0, 0, 1, 1);
00075
00076 interButton = new QRadioButton(groupBox);
00077 interButton->setObjectName(QString::fromUtf8("interButton"));
00078
00079 gridLayout1->addWidget(interButton, 1, 0, 1, 1);
00080
00081
00082 gridLayout->addWidget(groupBox, 0, 0, 1, 2);
00083
00084 firstShape = new QTreeWidget(PartGui__DlgBooleanOperation);
00085 new QTreeWidgetItem(firstShape);
00086 new QTreeWidgetItem(firstShape);
00087 new QTreeWidgetItem(firstShape);
00088 new QTreeWidgetItem(firstShape);
00089 firstShape->setObjectName(QString::fromUtf8("firstShape"));
00090 firstShape->setEditTriggers(QAbstractItemView::CurrentChanged|QAbstractItemView::EditKeyPressed);
00091 firstShape->setRootIsDecorated(false);
00092 firstShape->setExpandsOnDoubleClick(false);
00093
00094 gridLayout->addWidget(firstShape, 1, 0, 1, 1);
00095
00096 secondShape = new QTreeWidget(PartGui__DlgBooleanOperation);
00097 new QTreeWidgetItem(secondShape);
00098 new QTreeWidgetItem(secondShape);
00099 new QTreeWidgetItem(secondShape);
00100 new QTreeWidgetItem(secondShape);
00101 secondShape->setObjectName(QString::fromUtf8("secondShape"));
00102 secondShape->setEditTriggers(QAbstractItemView::CurrentChanged|QAbstractItemView::EditKeyPressed);
00103 secondShape->setRootIsDecorated(false);
00104 secondShape->setExpandsOnDoubleClick(false);
00105
00106 gridLayout->addWidget(secondShape, 1, 1, 1, 1);
00107
00108 horizontalSpacer = new QSpacerItem(117, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00109
00110 gridLayout->addItem(horizontalSpacer, 2, 0, 1, 1);
00111
00112 swapButton = new QPushButton(PartGui__DlgBooleanOperation);
00113 swapButton->setObjectName(QString::fromUtf8("swapButton"));
00114
00115 gridLayout->addWidget(swapButton, 2, 1, 1, 1);
00116
00117
00118 retranslateUi(PartGui__DlgBooleanOperation);
00119
00120 QMetaObject::connectSlotsByName(PartGui__DlgBooleanOperation);
00121 }
00122
00123 void retranslateUi(QWidget *PartGui__DlgBooleanOperation)
00124 {
00125 PartGui__DlgBooleanOperation->setWindowTitle(QApplication::translate("PartGui::DlgBooleanOperation", "Boolean Operation", 0, QApplication::UnicodeUTF8));
00126 groupBox->setTitle(QApplication::translate("PartGui::DlgBooleanOperation", "Boolean operation", 0, QApplication::UnicodeUTF8));
00127 sectionButton->setText(QApplication::translate("PartGui::DlgBooleanOperation", "Section", 0, QApplication::UnicodeUTF8));
00128 diffButton->setText(QApplication::translate("PartGui::DlgBooleanOperation", "Difference", 0, QApplication::UnicodeUTF8));
00129 unionButton->setText(QApplication::translate("PartGui::DlgBooleanOperation", "Union", 0, QApplication::UnicodeUTF8));
00130 interButton->setText(QApplication::translate("PartGui::DlgBooleanOperation", "Intersection", 0, QApplication::UnicodeUTF8));
00131 QTreeWidgetItem *___qtreewidgetitem = firstShape->headerItem();
00132 ___qtreewidgetitem->setText(0, QApplication::translate("PartGui::DlgBooleanOperation", "First shape", 0, QApplication::UnicodeUTF8));
00133
00134 const bool __sortingEnabled = firstShape->isSortingEnabled();
00135 firstShape->setSortingEnabled(false);
00136 QTreeWidgetItem *___qtreewidgetitem1 = firstShape->topLevelItem(0);
00137 ___qtreewidgetitem1->setText(0, QApplication::translate("PartGui::DlgBooleanOperation", "Solids", 0, QApplication::UnicodeUTF8));
00138 QTreeWidgetItem *___qtreewidgetitem2 = firstShape->topLevelItem(1);
00139 ___qtreewidgetitem2->setText(0, QApplication::translate("PartGui::DlgBooleanOperation", "Shells", 0, QApplication::UnicodeUTF8));
00140 QTreeWidgetItem *___qtreewidgetitem3 = firstShape->topLevelItem(2);
00141 ___qtreewidgetitem3->setText(0, QApplication::translate("PartGui::DlgBooleanOperation", "Compounds", 0, QApplication::UnicodeUTF8));
00142 QTreeWidgetItem *___qtreewidgetitem4 = firstShape->topLevelItem(3);
00143 ___qtreewidgetitem4->setText(0, QApplication::translate("PartGui::DlgBooleanOperation", "Faces", 0, QApplication::UnicodeUTF8));
00144 firstShape->setSortingEnabled(__sortingEnabled);
00145
00146 QTreeWidgetItem *___qtreewidgetitem5 = secondShape->headerItem();
00147 ___qtreewidgetitem5->setText(0, QApplication::translate("PartGui::DlgBooleanOperation", "Second shape", 0, QApplication::UnicodeUTF8));
00148
00149 const bool __sortingEnabled1 = secondShape->isSortingEnabled();
00150 secondShape->setSortingEnabled(false);
00151 QTreeWidgetItem *___qtreewidgetitem6 = secondShape->topLevelItem(0);
00152 ___qtreewidgetitem6->setText(0, QApplication::translate("PartGui::DlgBooleanOperation", "Solids", 0, QApplication::UnicodeUTF8));
00153 QTreeWidgetItem *___qtreewidgetitem7 = secondShape->topLevelItem(1);
00154 ___qtreewidgetitem7->setText(0, QApplication::translate("PartGui::DlgBooleanOperation", "Shells", 0, QApplication::UnicodeUTF8));
00155 QTreeWidgetItem *___qtreewidgetitem8 = secondShape->topLevelItem(2);
00156 ___qtreewidgetitem8->setText(0, QApplication::translate("PartGui::DlgBooleanOperation", "Compounds", 0, QApplication::UnicodeUTF8));
00157 QTreeWidgetItem *___qtreewidgetitem9 = secondShape->topLevelItem(3);
00158 ___qtreewidgetitem9->setText(0, QApplication::translate("PartGui::DlgBooleanOperation", "Faces", 0, QApplication::UnicodeUTF8));
00159 secondShape->setSortingEnabled(__sortingEnabled1);
00160
00161 swapButton->setText(QApplication::translate("PartGui::DlgBooleanOperation", "Swap selection", 0, QApplication::UnicodeUTF8));
00162 Q_UNUSED(PartGui__DlgBooleanOperation);
00163 }
00164
00165 };
00166
00167 }
00168
00169 namespace PartGui {
00170 namespace Ui {
00171 class DlgBooleanOperation: public Ui_DlgBooleanOperation {};
00172 }
00173 }
00174
00175 #endif // UI_DLGBOOLEANOPERATION_H