00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_QMDLG_H
00011 #define UI_QMDLG_H
00012
00013 #include <Qt3Support/Q3GroupBox>
00014 #include <Qt3Support/Q3ListBox>
00015 #include <Qt3Support/Q3MimeSourceFactory>
00016 #include <QtCore/QVariant>
00017 #include <QtGui/QAction>
00018 #include <QtGui/QApplication>
00019 #include <QtGui/QButtonGroup>
00020 #include <QtGui/QCheckBox>
00021 #include <QtGui/QComboBox>
00022 #include <QtGui/QDialog>
00023 #include <QtGui/QGridLayout>
00024 #include <QtGui/QHeaderView>
00025 #include <QtGui/QLabel>
00026 #include <QtGui/QLineEdit>
00027 #include <QtGui/QPushButton>
00028 #include <QtGui/QWidget>
00029 #include "graspitGUI.h"
00030 #include "ivmgr.h"
00031 #include "quality.h"
00032
00033 QT_BEGIN_NAMESPACE
00034
00035 class Ui_QMDlgUI
00036 {
00037 public:
00038 QWidget *Layout18;
00039 QGridLayout *gridLayout;
00040 QLineEdit *qmName;
00041 Q3ListBox *qmListBox;
00042 QLabel *TextLabel2;
00043 Q3GroupBox *qmSettingsBox;
00044 QComboBox *qmTypeComboBox;
00045 QLabel *TextLabel1;
00046 Q3GroupBox *groupBox8;
00047 QPushButton *OKButton;
00048 QPushButton *AddEditButton;
00049 QPushButton *DeleteButton;
00050 QCheckBox *gravityBox;
00051
00052 void setupUi(QDialog *QMDlgUI)
00053 {
00054 if (QMDlgUI->objectName().isEmpty())
00055 QMDlgUI->setObjectName(QString::fromUtf8("QMDlgUI"));
00056 QMDlgUI->resize(576, 295);
00057 Layout18 = new QWidget(QMDlgUI);
00058 Layout18->setObjectName(QString::fromUtf8("Layout18"));
00059 Layout18->setGeometry(QRect(11, 11, 550, 232));
00060 gridLayout = new QGridLayout(Layout18);
00061 gridLayout->setSpacing(6);
00062 gridLayout->setContentsMargins(0, 0, 0, 0);
00063 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00064 gridLayout->setContentsMargins(0, 0, 0, 0);
00065 qmName = new QLineEdit(Layout18);
00066 qmName->setObjectName(QString::fromUtf8("qmName"));
00067 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(0));
00068 sizePolicy.setHorizontalStretch(0);
00069 sizePolicy.setVerticalStretch(0);
00070 sizePolicy.setHeightForWidth(qmName->sizePolicy().hasHeightForWidth());
00071 qmName->setSizePolicy(sizePolicy);
00072 qmName->setMinimumSize(QSize(175, 0));
00073
00074 gridLayout->addWidget(qmName, 3, 0, 1, 1);
00075
00076 qmListBox = new Q3ListBox(Layout18);
00077 qmListBox->setObjectName(QString::fromUtf8("qmListBox"));
00078 QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(7));
00079 sizePolicy1.setHorizontalStretch(0);
00080 sizePolicy1.setVerticalStretch(0);
00081 sizePolicy1.setHeightForWidth(qmListBox->sizePolicy().hasHeightForWidth());
00082 qmListBox->setSizePolicy(sizePolicy1);
00083 qmListBox->setMinimumSize(QSize(175, 0));
00084
00085 gridLayout->addWidget(qmListBox, 0, 0, 2, 1);
00086
00087 TextLabel2 = new QLabel(Layout18);
00088 TextLabel2->setObjectName(QString::fromUtf8("TextLabel2"));
00089 sizePolicy.setHeightForWidth(TextLabel2->sizePolicy().hasHeightForWidth());
00090 TextLabel2->setSizePolicy(sizePolicy);
00091 TextLabel2->setWordWrap(false);
00092
00093 gridLayout->addWidget(TextLabel2, 0, 1, 1, 1);
00094
00095 qmSettingsBox = new Q3GroupBox(Layout18);
00096 qmSettingsBox->setObjectName(QString::fromUtf8("qmSettingsBox"));
00097 QSizePolicy sizePolicy2(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(7));
00098 sizePolicy2.setHorizontalStretch(0);
00099 sizePolicy2.setVerticalStretch(0);
00100 sizePolicy2.setHeightForWidth(qmSettingsBox->sizePolicy().hasHeightForWidth());
00101 qmSettingsBox->setSizePolicy(sizePolicy2);
00102 qmSettingsBox->setOrientation(Qt::Vertical);
00103
00104 gridLayout->addWidget(qmSettingsBox, 1, 1, 3, 2);
00105
00106 qmTypeComboBox = new QComboBox(Layout18);
00107 qmTypeComboBox->setObjectName(QString::fromUtf8("qmTypeComboBox"));
00108
00109 gridLayout->addWidget(qmTypeComboBox, 0, 2, 1, 1);
00110
00111 TextLabel1 = new QLabel(Layout18);
00112 TextLabel1->setObjectName(QString::fromUtf8("TextLabel1"));
00113 sizePolicy.setHeightForWidth(TextLabel1->sizePolicy().hasHeightForWidth());
00114 TextLabel1->setSizePolicy(sizePolicy);
00115 TextLabel1->setWordWrap(false);
00116
00117 gridLayout->addWidget(TextLabel1, 2, 0, 1, 1);
00118
00119 groupBox8 = new Q3GroupBox(QMDlgUI);
00120 groupBox8->setObjectName(QString::fromUtf8("groupBox8"));
00121 groupBox8->setGeometry(QRect(10, 250, 550, 40));
00122 groupBox8->setOrientation(Qt::Vertical);
00123 OKButton = new QPushButton(groupBox8);
00124 OKButton->setObjectName(QString::fromUtf8("OKButton"));
00125 OKButton->setGeometry(QRect(456, 7, 82, 26));
00126 OKButton->setDefault(true);
00127 AddEditButton = new QPushButton(groupBox8);
00128 AddEditButton->setObjectName(QString::fromUtf8("AddEditButton"));
00129 AddEditButton->setGeometry(QRect(280, 7, 82, 26));
00130 DeleteButton = new QPushButton(groupBox8);
00131 DeleteButton->setObjectName(QString::fromUtf8("DeleteButton"));
00132 DeleteButton->setGeometry(QRect(368, 7, 82, 26));
00133 gravityBox = new QCheckBox(groupBox8);
00134 gravityBox->setObjectName(QString::fromUtf8("gravityBox"));
00135 gravityBox->setGeometry(QRect(11, 10, 56, 19));
00136
00137 retranslateUi(QMDlgUI);
00138 QObject::connect(OKButton, SIGNAL(clicked()), QMDlgUI, SLOT(accept()));
00139 QObject::connect(DeleteButton, SIGNAL(clicked()), QMDlgUI, SLOT(deleteQM()));
00140 QObject::connect(qmTypeComboBox, SIGNAL(activated(QString)), QMDlgUI, SLOT(selectQMType(QString)));
00141 QObject::connect(AddEditButton, SIGNAL(clicked()), QMDlgUI, SLOT(addEditQM()));
00142 QObject::connect(qmListBox, SIGNAL(highlighted(int)), QMDlgUI, SLOT(selectQM(int)));
00143 QObject::connect(gravityBox, SIGNAL(clicked()), QMDlgUI, SLOT(gravityBox_clicked()));
00144
00145 QMetaObject::connectSlotsByName(QMDlgUI);
00146 }
00147
00148 void retranslateUi(QDialog *QMDlgUI)
00149 {
00150 QMDlgUI->setWindowTitle(QApplication::translate("QMDlgUI", "Quality Measures", 0, QApplication::UnicodeUTF8));
00151 qmName->setText(QApplication::translate("QMDlgUI", "New Quality Measure", 0, QApplication::UnicodeUTF8));
00152 TextLabel2->setText(QApplication::translate("QMDlgUI", "Quality Measure Type", 0, QApplication::UnicodeUTF8));
00153 qmSettingsBox->setTitle(QApplication::translate("QMDlgUI", "Settings", 0, QApplication::UnicodeUTF8));
00154 TextLabel1->setText(QApplication::translate("QMDlgUI", "Name", 0, QApplication::UnicodeUTF8));
00155 groupBox8->setTitle(QString());
00156 OKButton->setText(QApplication::translate("QMDlgUI", "OK", 0, QApplication::UnicodeUTF8));
00157 AddEditButton->setText(QApplication::translate("QMDlgUI", "Add / Edit", 0, QApplication::UnicodeUTF8));
00158 DeleteButton->setText(QApplication::translate("QMDlgUI", "Delete", 0, QApplication::UnicodeUTF8));
00159 gravityBox->setText(QApplication::translate("QMDlgUI", "Gravity", 0, QApplication::UnicodeUTF8));
00160 }
00161
00162 };
00163
00164 namespace Ui {
00165 class QMDlgUI: public Ui_QMDlgUI {};
00166 }
00167
00168 QT_END_NAMESPACE
00169
00170 #endif // UI_QMDLG_H