00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_VISUALINSPECTION_H
00011 #define UI_VISUALINSPECTION_H
00012
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QDialog>
00018 #include <QtGui/QGridLayout>
00019 #include <QtGui/QGroupBox>
00020 #include <QtGui/QHBoxLayout>
00021 #include <QtGui/QHeaderView>
00022 #include <QtGui/QLabel>
00023 #include <QtGui/QPushButton>
00024 #include <QtGui/QSpacerItem>
00025 #include <QtGui/QTreeWidget>
00026 #include "Gui/PrefWidgets.h"
00027
00028 namespace InspectionGui {
00029
00030 class Ui_VisualInspection
00031 {
00032 public:
00033 QGridLayout *gridLayout;
00034 QGroupBox *groupBox_2;
00035 QGridLayout *gridLayout1;
00036 QTreeWidget *treeWidgetNominal;
00037 QGroupBox *groupBox;
00038 QGridLayout *gridLayout2;
00039 QTreeWidget *treeWidgetActual;
00040 QHBoxLayout *hboxLayout;
00041 QPushButton *buttonHelp;
00042 QSpacerItem *spacerItem;
00043 QPushButton *buttonOk;
00044 QPushButton *buttonCancel;
00045 QGroupBox *groupBox_3;
00046 QGridLayout *gridLayout3;
00047 QSpacerItem *spacerItem1;
00048 QGridLayout *gridLayout4;
00049 Gui::PrefDoubleSpinBox *prefFloatSpinBox2;
00050 QLabel *textLabel1;
00051 Gui::PrefDoubleSpinBox *prefFloatSpinBox1;
00052 QLabel *textLabel2;
00053 QSpacerItem *spacerItem2;
00054 QSpacerItem *spacerItem3;
00055
00056 void setupUi(QDialog *InspectionGui__VisualInspection)
00057 {
00058 if (InspectionGui__VisualInspection->objectName().isEmpty())
00059 InspectionGui__VisualInspection->setObjectName(QString::fromUtf8("InspectionGui__VisualInspection"));
00060 InspectionGui__VisualInspection->resize(540, 406);
00061 InspectionGui__VisualInspection->setSizeGripEnabled(true);
00062 gridLayout = new QGridLayout(InspectionGui__VisualInspection);
00063 gridLayout->setSpacing(6);
00064 gridLayout->setMargin(9);
00065 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00066 groupBox_2 = new QGroupBox(InspectionGui__VisualInspection);
00067 groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
00068 gridLayout1 = new QGridLayout(groupBox_2);
00069 gridLayout1->setSpacing(6);
00070 gridLayout1->setMargin(9);
00071 gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
00072 treeWidgetNominal = new QTreeWidget(groupBox_2);
00073 treeWidgetNominal->setObjectName(QString::fromUtf8("treeWidgetNominal"));
00074 treeWidgetNominal->setRootIsDecorated(false);
00075
00076 gridLayout1->addWidget(treeWidgetNominal, 0, 0, 1, 1);
00077
00078
00079 gridLayout->addWidget(groupBox_2, 0, 1, 1, 1);
00080
00081 groupBox = new QGroupBox(InspectionGui__VisualInspection);
00082 groupBox->setObjectName(QString::fromUtf8("groupBox"));
00083 gridLayout2 = new QGridLayout(groupBox);
00084 gridLayout2->setSpacing(6);
00085 gridLayout2->setMargin(9);
00086 gridLayout2->setObjectName(QString::fromUtf8("gridLayout2"));
00087 treeWidgetActual = new QTreeWidget(groupBox);
00088 treeWidgetActual->setObjectName(QString::fromUtf8("treeWidgetActual"));
00089 treeWidgetActual->setRootIsDecorated(false);
00090
00091 gridLayout2->addWidget(treeWidgetActual, 0, 0, 1, 1);
00092
00093
00094 gridLayout->addWidget(groupBox, 0, 0, 1, 1);
00095
00096 hboxLayout = new QHBoxLayout();
00097 hboxLayout->setSpacing(6);
00098 hboxLayout->setMargin(0);
00099 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00100 buttonHelp = new QPushButton(InspectionGui__VisualInspection);
00101 buttonHelp->setObjectName(QString::fromUtf8("buttonHelp"));
00102 buttonHelp->setAutoDefault(true);
00103
00104 hboxLayout->addWidget(buttonHelp);
00105
00106 spacerItem = new QSpacerItem(20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00107
00108 hboxLayout->addItem(spacerItem);
00109
00110 buttonOk = new QPushButton(InspectionGui__VisualInspection);
00111 buttonOk->setObjectName(QString::fromUtf8("buttonOk"));
00112 buttonOk->setAutoDefault(true);
00113 buttonOk->setDefault(true);
00114
00115 hboxLayout->addWidget(buttonOk);
00116
00117 buttonCancel = new QPushButton(InspectionGui__VisualInspection);
00118 buttonCancel->setObjectName(QString::fromUtf8("buttonCancel"));
00119 buttonCancel->setAutoDefault(true);
00120
00121 hboxLayout->addWidget(buttonCancel);
00122
00123
00124 gridLayout->addLayout(hboxLayout, 2, 0, 1, 2);
00125
00126 groupBox_3 = new QGroupBox(InspectionGui__VisualInspection);
00127 groupBox_3->setObjectName(QString::fromUtf8("groupBox_3"));
00128 gridLayout3 = new QGridLayout(groupBox_3);
00129 gridLayout3->setSpacing(6);
00130 gridLayout3->setMargin(9);
00131 gridLayout3->setObjectName(QString::fromUtf8("gridLayout3"));
00132 spacerItem1 = new QSpacerItem(61, 54, QSizePolicy::Expanding, QSizePolicy::Minimum);
00133
00134 gridLayout3->addItem(spacerItem1, 0, 1, 1, 1);
00135
00136 gridLayout4 = new QGridLayout();
00137 gridLayout4->setSpacing(6);
00138 gridLayout4->setMargin(0);
00139 gridLayout4->setObjectName(QString::fromUtf8("gridLayout4"));
00140 prefFloatSpinBox2 = new Gui::PrefDoubleSpinBox(groupBox_3);
00141 prefFloatSpinBox2->setObjectName(QString::fromUtf8("prefFloatSpinBox2"));
00142 prefFloatSpinBox2->setDecimals(3);
00143 prefFloatSpinBox2->setSingleStep(0.1);
00144 prefFloatSpinBox2->setProperty("prefEntry", QVariant(QByteArray("Thickness")));
00145 prefFloatSpinBox2->setProperty("prefPath", QVariant(QByteArray("Mod/Inspection/Inspection")));
00146
00147 gridLayout4->addWidget(prefFloatSpinBox2, 1, 2, 1, 1);
00148
00149 textLabel1 = new QLabel(groupBox_3);
00150 textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
00151
00152 gridLayout4->addWidget(textLabel1, 0, 0, 1, 1);
00153
00154 prefFloatSpinBox1 = new Gui::PrefDoubleSpinBox(groupBox_3);
00155 prefFloatSpinBox1->setObjectName(QString::fromUtf8("prefFloatSpinBox1"));
00156 prefFloatSpinBox1->setDecimals(3);
00157 prefFloatSpinBox1->setValue(0.05);
00158 prefFloatSpinBox1->setProperty("prefEntry", QVariant(QByteArray("SearchDistance")));
00159 prefFloatSpinBox1->setProperty("prefPath", QVariant(QByteArray("Mod/Inspection/Inspection")));
00160
00161 gridLayout4->addWidget(prefFloatSpinBox1, 0, 2, 1, 1);
00162
00163 textLabel2 = new QLabel(groupBox_3);
00164 textLabel2->setObjectName(QString::fromUtf8("textLabel2"));
00165
00166 gridLayout4->addWidget(textLabel2, 1, 0, 1, 1);
00167
00168 spacerItem2 = new QSpacerItem(91, 21, QSizePolicy::Expanding, QSizePolicy::Minimum);
00169
00170 gridLayout4->addItem(spacerItem2, 0, 1, 1, 1);
00171
00172 spacerItem3 = new QSpacerItem(101, 21, QSizePolicy::Expanding, QSizePolicy::Minimum);
00173
00174 gridLayout4->addItem(spacerItem3, 1, 1, 1, 1);
00175
00176
00177 gridLayout3->addLayout(gridLayout4, 0, 0, 1, 1);
00178
00179
00180 gridLayout->addWidget(groupBox_3, 1, 0, 1, 2);
00181
00182 QWidget::setTabOrder(prefFloatSpinBox1, prefFloatSpinBox2);
00183 QWidget::setTabOrder(prefFloatSpinBox2, buttonHelp);
00184 QWidget::setTabOrder(buttonHelp, buttonOk);
00185 QWidget::setTabOrder(buttonOk, buttonCancel);
00186
00187 retranslateUi(InspectionGui__VisualInspection);
00188 QObject::connect(buttonOk, SIGNAL(clicked()), InspectionGui__VisualInspection, SLOT(accept()));
00189 QObject::connect(buttonCancel, SIGNAL(clicked()), InspectionGui__VisualInspection, SLOT(reject()));
00190
00191 QMetaObject::connectSlotsByName(InspectionGui__VisualInspection);
00192 }
00193
00194 void retranslateUi(QDialog *InspectionGui__VisualInspection)
00195 {
00196 InspectionGui__VisualInspection->setWindowTitle(QApplication::translate("InspectionGui::VisualInspection", "Visual Inspection", 0, QApplication::UnicodeUTF8));
00197 groupBox_2->setTitle(QApplication::translate("InspectionGui::VisualInspection", "Nominal", 0, QApplication::UnicodeUTF8));
00198 QTreeWidgetItem *___qtreewidgetitem = treeWidgetNominal->headerItem();
00199 ___qtreewidgetitem->setText(0, QApplication::translate("InspectionGui::VisualInspection", "Objects", 0, QApplication::UnicodeUTF8));
00200 groupBox->setTitle(QApplication::translate("InspectionGui::VisualInspection", "Actual", 0, QApplication::UnicodeUTF8));
00201 QTreeWidgetItem *___qtreewidgetitem1 = treeWidgetActual->headerItem();
00202 ___qtreewidgetitem1->setText(0, QApplication::translate("InspectionGui::VisualInspection", "Objects", 0, QApplication::UnicodeUTF8));
00203 buttonHelp->setText(QApplication::translate("InspectionGui::VisualInspection", "&Help", 0, QApplication::UnicodeUTF8));
00204 buttonHelp->setShortcut(QApplication::translate("InspectionGui::VisualInspection", "F1", 0, QApplication::UnicodeUTF8));
00205 buttonOk->setText(QApplication::translate("InspectionGui::VisualInspection", "&OK", 0, QApplication::UnicodeUTF8));
00206 buttonOk->setShortcut(QString());
00207 buttonCancel->setText(QApplication::translate("InspectionGui::VisualInspection", "&Cancel", 0, QApplication::UnicodeUTF8));
00208 buttonCancel->setShortcut(QString());
00209 groupBox_3->setTitle(QApplication::translate("InspectionGui::VisualInspection", "Parameter", 0, QApplication::UnicodeUTF8));
00210 prefFloatSpinBox2->setSuffix(QApplication::translate("InspectionGui::VisualInspection", " mm", 0, QApplication::UnicodeUTF8));
00211 textLabel1->setText(QApplication::translate("InspectionGui::VisualInspection", "Search distance", 0, QApplication::UnicodeUTF8));
00212 prefFloatSpinBox1->setSuffix(QApplication::translate("InspectionGui::VisualInspection", " mm", 0, QApplication::UnicodeUTF8));
00213 textLabel2->setText(QApplication::translate("InspectionGui::VisualInspection", "Thickness", 0, QApplication::UnicodeUTF8));
00214 Q_UNUSED(InspectionGui__VisualInspection);
00215 }
00216
00217 };
00218
00219 }
00220
00221 namespace InspectionGui {
00222 namespace Ui {
00223 class VisualInspection: public Ui_VisualInspection {};
00224 }
00225 }
00226
00227 #endif // UI_VISUALINSPECTION_H