00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_GLOVECALIBRATIONDLG_H
00011 #define UI_GLOVECALIBRATIONDLG_H
00012
00013 #include <Qt3Support/Q3GroupBox>
00014 #include <Qt3Support/Q3MimeSourceFactory>
00015 #include <QtCore/QVariant>
00016 #include <QtGui/QAction>
00017 #include <QtGui/QApplication>
00018 #include <QtGui/QButtonGroup>
00019 #include <QtGui/QComboBox>
00020 #include <QtGui/QDialog>
00021 #include <QtGui/QFrame>
00022 #include <QtGui/QHeaderView>
00023 #include <QtGui/QLabel>
00024 #include <QtGui/QPushButton>
00025
00026 QT_BEGIN_NAMESPACE
00027
00028 class Ui_GloveCalibrationDlgUI
00029 {
00030 public:
00031 Q3GroupBox *groupBox5;
00032 QLabel *textLabel2;
00033 QPushButton *nextPoseButton;
00034 QPushButton *recordButton;
00035 QPushButton *prevPoseButton;
00036 QLabel *textLabel1_2;
00037 QLabel *textLabel2_2;
00038 QComboBox *poseDistanceBox;
00039 QFrame *line1_2;
00040 QPushButton *savePosesButton;
00041 QPushButton *loadPosesButton;
00042 QLabel *textLabel1_3;
00043 QLabel *numberPosesLabel;
00044 QPushButton *clearPosesButton;
00045 Q3GroupBox *groupBox3;
00046 QPushButton *saveButton;
00047 QPushButton *loadButton;
00048 QPushButton *doneButton;
00049 QComboBox *calibrationTypeBox;
00050 QPushButton *calibrateButton;
00051 QPushButton *initButton;
00052 QLabel *textLabel1;
00053 QFrame *line1;
00054 QPushButton *startGloveButton;
00055
00056 void setupUi(QDialog *GloveCalibrationDlgUI)
00057 {
00058 if (GloveCalibrationDlgUI->objectName().isEmpty())
00059 GloveCalibrationDlgUI->setObjectName(QString::fromUtf8("GloveCalibrationDlgUI"));
00060 GloveCalibrationDlgUI->resize(246, 399);
00061 groupBox5 = new Q3GroupBox(GloveCalibrationDlgUI);
00062 groupBox5->setObjectName(QString::fromUtf8("groupBox5"));
00063 groupBox5->setGeometry(QRect(10, 10, 230, 200));
00064 textLabel2 = new QLabel(groupBox5);
00065 textLabel2->setObjectName(QString::fromUtf8("textLabel2"));
00066 textLabel2->setGeometry(QRect(60, 50, 110, 20));
00067 textLabel2->setWordWrap(false);
00068 nextPoseButton = new QPushButton(groupBox5);
00069 nextPoseButton->setObjectName(QString::fromUtf8("nextPoseButton"));
00070 nextPoseButton->setGeometry(QRect(150, 20, 50, 30));
00071 recordButton = new QPushButton(groupBox5);
00072 recordButton->setObjectName(QString::fromUtf8("recordButton"));
00073 recordButton->setGeometry(QRect(90, 20, 50, 30));
00074 prevPoseButton = new QPushButton(groupBox5);
00075 prevPoseButton->setObjectName(QString::fromUtf8("prevPoseButton"));
00076 prevPoseButton->setGeometry(QRect(30, 20, 50, 30));
00077 textLabel1_2 = new QLabel(groupBox5);
00078 textLabel1_2->setObjectName(QString::fromUtf8("textLabel1_2"));
00079 textLabel1_2->setGeometry(QRect(20, 80, 80, 20));
00080 textLabel1_2->setWordWrap(false);
00081 textLabel2_2 = new QLabel(groupBox5);
00082 textLabel2_2->setObjectName(QString::fromUtf8("textLabel2_2"));
00083 textLabel2_2->setGeometry(QRect(150, 80, 49, 20));
00084 textLabel2_2->setWordWrap(false);
00085 poseDistanceBox = new QComboBox(groupBox5);
00086 poseDistanceBox->setObjectName(QString::fromUtf8("poseDistanceBox"));
00087 poseDistanceBox->setGeometry(QRect(100, 80, 50, 21));
00088 line1_2 = new QFrame(groupBox5);
00089 line1_2->setObjectName(QString::fromUtf8("line1_2"));
00090 line1_2->setGeometry(QRect(10, 100, 211, 20));
00091 line1_2->setFrameShape(QFrame::HLine);
00092 line1_2->setFrameShadow(QFrame::Sunken);
00093 savePosesButton = new QPushButton(groupBox5);
00094 savePosesButton->setObjectName(QString::fromUtf8("savePosesButton"));
00095 savePosesButton->setGeometry(QRect(121, 120, 90, 30));
00096 loadPosesButton = new QPushButton(groupBox5);
00097 loadPosesButton->setObjectName(QString::fromUtf8("loadPosesButton"));
00098 loadPosesButton->setGeometry(QRect(20, 120, 90, 30));
00099 textLabel1_3 = new QLabel(groupBox5);
00100 textLabel1_3->setObjectName(QString::fromUtf8("textLabel1_3"));
00101 textLabel1_3->setGeometry(QRect(130, 170, 60, 20));
00102 textLabel1_3->setWordWrap(false);
00103 numberPosesLabel = new QLabel(groupBox5);
00104 numberPosesLabel->setObjectName(QString::fromUtf8("numberPosesLabel"));
00105 numberPosesLabel->setGeometry(QRect(190, 170, 30, 20));
00106 numberPosesLabel->setWordWrap(false);
00107 clearPosesButton = new QPushButton(groupBox5);
00108 clearPosesButton->setObjectName(QString::fromUtf8("clearPosesButton"));
00109 clearPosesButton->setGeometry(QRect(20, 160, 91, 30));
00110 groupBox3 = new Q3GroupBox(GloveCalibrationDlgUI);
00111 groupBox3->setObjectName(QString::fromUtf8("groupBox3"));
00112 groupBox3->setGeometry(QRect(10, 210, 230, 180));
00113 saveButton = new QPushButton(groupBox3);
00114 saveButton->setObjectName(QString::fromUtf8("saveButton"));
00115 saveButton->setGeometry(QRect(10, 140, 100, 30));
00116 loadButton = new QPushButton(groupBox3);
00117 loadButton->setObjectName(QString::fromUtf8("loadButton"));
00118 loadButton->setGeometry(QRect(10, 100, 100, 30));
00119 doneButton = new QPushButton(groupBox3);
00120 doneButton->setObjectName(QString::fromUtf8("doneButton"));
00121 doneButton->setGeometry(QRect(150, 140, 71, 31));
00122 calibrationTypeBox = new QComboBox(groupBox3);
00123 calibrationTypeBox->setObjectName(QString::fromUtf8("calibrationTypeBox"));
00124 calibrationTypeBox->setGeometry(QRect(40, 20, 120, 20));
00125 calibrateButton = new QPushButton(groupBox3);
00126 calibrateButton->setObjectName(QString::fromUtf8("calibrateButton"));
00127 calibrateButton->setGeometry(QRect(100, 50, 80, 30));
00128 initButton = new QPushButton(groupBox3);
00129 initButton->setObjectName(QString::fromUtf8("initButton"));
00130 initButton->setGeometry(QRect(10, 50, 80, 30));
00131 textLabel1 = new QLabel(groupBox3);
00132 textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
00133 textLabel1->setGeometry(QRect(10, 20, 30, 20));
00134 textLabel1->setWordWrap(false);
00135 line1 = new QFrame(groupBox3);
00136 line1->setObjectName(QString::fromUtf8("line1"));
00137 line1->setGeometry(QRect(10, 80, 211, 20));
00138 line1->setFrameShape(QFrame::HLine);
00139 line1->setFrameShadow(QFrame::Sunken);
00140 startGloveButton = new QPushButton(groupBox3);
00141 startGloveButton->setObjectName(QString::fromUtf8("startGloveButton"));
00142 startGloveButton->setGeometry(QRect(141, 100, 80, 31));
00143
00144 retranslateUi(GloveCalibrationDlgUI);
00145 QObject::connect(prevPoseButton, SIGNAL(clicked()), GloveCalibrationDlgUI, SLOT(prevPose()));
00146 QObject::connect(nextPoseButton, SIGNAL(clicked()), GloveCalibrationDlgUI, SLOT(nextPose()));
00147 QObject::connect(recordButton, SIGNAL(clicked()), GloveCalibrationDlgUI, SLOT(record()));
00148 QObject::connect(calibrateButton, SIGNAL(clicked()), GloveCalibrationDlgUI, SLOT(calibrate()));
00149 QObject::connect(saveButton, SIGNAL(clicked()), GloveCalibrationDlgUI, SLOT(save()));
00150 QObject::connect(doneButton, SIGNAL(clicked()), GloveCalibrationDlgUI, SLOT(done()));
00151 QObject::connect(savePosesButton, SIGNAL(clicked()), GloveCalibrationDlgUI, SLOT(savePoses()));
00152 QObject::connect(loadPosesButton, SIGNAL(clicked()), GloveCalibrationDlgUI, SLOT(loadPoses()));
00153 QObject::connect(loadButton, SIGNAL(clicked()), GloveCalibrationDlgUI, SLOT(loadCalibration()));
00154 QObject::connect(initButton, SIGNAL(clicked()), GloveCalibrationDlgUI, SLOT(initCalibration()));
00155 QObject::connect(clearPosesButton, SIGNAL(clicked()), GloveCalibrationDlgUI, SLOT(clearPoses()));
00156 QObject::connect(startGloveButton, SIGNAL(clicked()), GloveCalibrationDlgUI, SLOT(startGlove()));
00157
00158 QMetaObject::connectSlotsByName(GloveCalibrationDlgUI);
00159 }
00160
00161 void retranslateUi(QDialog *GloveCalibrationDlgUI)
00162 {
00163 GloveCalibrationDlgUI->setWindowTitle(QApplication::translate("GloveCalibrationDlgUI", "Glove Calibration", 0, QApplication::UnicodeUTF8));
00164 groupBox5->setTitle(QApplication::translate("GloveCalibrationDlgUI", "Poses", 0, QApplication::UnicodeUTF8));
00165 textLabel2->setText(QApplication::translate("GloveCalibrationDlgUI", "No values recorded", 0, QApplication::UnicodeUTF8));
00166 nextPoseButton->setText(QApplication::translate("GloveCalibrationDlgUI", "Next ->", 0, QApplication::UnicodeUTF8));
00167 recordButton->setText(QApplication::translate("GloveCalibrationDlgUI", "Record", 0, QApplication::UnicodeUTF8));
00168 prevPoseButton->setText(QApplication::translate("GloveCalibrationDlgUI", "<- Prev.", 0, QApplication::UnicodeUTF8));
00169 textLabel1_2->setText(QApplication::translate("GloveCalibrationDlgUI", "Pose distance:", 0, QApplication::UnicodeUTF8));
00170 textLabel2_2->setText(QApplication::translate("GloveCalibrationDlgUI", "mm", 0, QApplication::UnicodeUTF8));
00171 savePosesButton->setText(QApplication::translate("GloveCalibrationDlgUI", "Save Poses...", 0, QApplication::UnicodeUTF8));
00172 loadPosesButton->setText(QApplication::translate("GloveCalibrationDlgUI", "Load Poses...", 0, QApplication::UnicodeUTF8));
00173 textLabel1_3->setText(QApplication::translate("GloveCalibrationDlgUI", "Total poses:", 0, QApplication::UnicodeUTF8));
00174 numberPosesLabel->setText(QApplication::translate("GloveCalibrationDlgUI", "0", 0, QApplication::UnicodeUTF8));
00175 clearPosesButton->setText(QApplication::translate("GloveCalibrationDlgUI", "Clear Poses", 0, QApplication::UnicodeUTF8));
00176 groupBox3->setTitle(QApplication::translate("GloveCalibrationDlgUI", "Calibration", 0, QApplication::UnicodeUTF8));
00177 saveButton->setText(QApplication::translate("GloveCalibrationDlgUI", "Save Calibration...", 0, QApplication::UnicodeUTF8));
00178 loadButton->setText(QApplication::translate("GloveCalibrationDlgUI", "Load Calibration...", 0, QApplication::UnicodeUTF8));
00179 doneButton->setText(QApplication::translate("GloveCalibrationDlgUI", "Done", 0, QApplication::UnicodeUTF8));
00180 calibrateButton->setText(QApplication::translate("GloveCalibrationDlgUI", "Calibrate", 0, QApplication::UnicodeUTF8));
00181 initButton->setText(QApplication::translate("GloveCalibrationDlgUI", "Initialize", 0, QApplication::UnicodeUTF8));
00182 textLabel1->setText(QApplication::translate("GloveCalibrationDlgUI", "Type:", 0, QApplication::UnicodeUTF8));
00183 startGloveButton->setText(QApplication::translate("GloveCalibrationDlgUI", "Start Glove", 0, QApplication::UnicodeUTF8));
00184 }
00185
00186 };
00187
00188 namespace Ui {
00189 class GloveCalibrationDlgUI: public Ui_GloveCalibrationDlgUI {};
00190 }
00191
00192 QT_END_NAMESPACE
00193
00194 #endif // UI_GLOVECALIBRATIONDLG_H