00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_BARRETTHANDDLG_H
00011 #define UI_BARRETTHANDDLG_H
00012
00013 #include <Qt3Support/Q3MimeSourceFactory>
00014 #include <QtCore/QVariant>
00015 #include <QtGui/QAction>
00016 #include <QtGui/QApplication>
00017 #include <QtGui/QButtonGroup>
00018 #include <QtGui/QDialog>
00019 #include <QtGui/QHeaderView>
00020 #include <QtGui/QLabel>
00021 #include <QtGui/QLineEdit>
00022 #include <QtGui/QPushButton>
00023
00024 QT_BEGIN_NAMESPACE
00025
00026 class Ui_BarrettHandDlgUI
00027 {
00028 public:
00029 QPushButton *pushButton17;
00030 QLabel *textLabel1;
00031 QLineEdit *stepSize;
00032 QPushButton *continuousOperationButton;
00033 QPushButton *pushButton18;
00034 QPushButton *pushButton19;
00035 QPushButton *smoothButton;
00036 QPushButton *initSpreadButton;
00037
00038 void setupUi(QDialog *BarrettHandDlgUI)
00039 {
00040 if (BarrettHandDlgUI->objectName().isEmpty())
00041 BarrettHandDlgUI->setObjectName(QString::fromUtf8("BarrettHandDlgUI"));
00042 BarrettHandDlgUI->resize(330, 157);
00043 pushButton17 = new QPushButton(BarrettHandDlgUI);
00044 pushButton17->setObjectName(QString::fromUtf8("pushButton17"));
00045 pushButton17->setGeometry(QRect(10, 80, 100, 31));
00046 textLabel1 = new QLabel(BarrettHandDlgUI);
00047 textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
00048 textLabel1->setGeometry(QRect(10, 50, 101, 20));
00049 textLabel1->setWordWrap(false);
00050 stepSize = new QLineEdit(BarrettHandDlgUI);
00051 stepSize->setObjectName(QString::fromUtf8("stepSize"));
00052 stepSize->setGeometry(QRect(120, 50, 26, 20));
00053 continuousOperationButton = new QPushButton(BarrettHandDlgUI);
00054 continuousOperationButton->setObjectName(QString::fromUtf8("continuousOperationButton"));
00055 continuousOperationButton->setGeometry(QRect(10, 120, 151, 31));
00056 pushButton18 = new QPushButton(BarrettHandDlgUI);
00057 pushButton18->setObjectName(QString::fromUtf8("pushButton18"));
00058 pushButton18->setGeometry(QRect(120, 80, 100, 31));
00059 pushButton19 = new QPushButton(BarrettHandDlgUI);
00060 pushButton19->setObjectName(QString::fromUtf8("pushButton19"));
00061 pushButton19->setGeometry(QRect(10, 10, 82, 26));
00062 smoothButton = new QPushButton(BarrettHandDlgUI);
00063 smoothButton->setObjectName(QString::fromUtf8("smoothButton"));
00064 smoothButton->setGeometry(QRect(100, 10, 101, 30));
00065 initSpreadButton = new QPushButton(BarrettHandDlgUI);
00066 initSpreadButton->setObjectName(QString::fromUtf8("initSpreadButton"));
00067 initSpreadButton->setGeometry(QRect(210, 10, 111, 31));
00068
00069 retranslateUi(BarrettHandDlgUI);
00070 QObject::connect(pushButton18, SIGNAL(clicked()), BarrettHandDlgUI, SLOT(realHandFromSimulation()));
00071 QObject::connect(continuousOperationButton, SIGNAL(clicked()), BarrettHandDlgUI, SLOT(toggleContinuousOperation()));
00072 QObject::connect(pushButton17, SIGNAL(clicked()), BarrettHandDlgUI, SLOT(simulationFromRealHand()));
00073 QObject::connect(pushButton19, SIGNAL(clicked()), BarrettHandDlgUI, SLOT(initializeHand()));
00074 QObject::connect(smoothButton, SIGNAL(clicked()), BarrettHandDlgUI, SLOT(smoothButton_clicked()));
00075 QObject::connect(initSpreadButton, SIGNAL(clicked()), BarrettHandDlgUI, SLOT(initSpreadButton_clicked()));
00076
00077 QMetaObject::connectSlotsByName(BarrettHandDlgUI);
00078 }
00079
00080 void retranslateUi(QDialog *BarrettHandDlgUI)
00081 {
00082 BarrettHandDlgUI->setWindowTitle(QApplication::translate("BarrettHandDlgUI", "Barrett Hand", 0, QApplication::UnicodeUTF8));
00083 pushButton17->setText(QApplication::translate("BarrettHandDlgUI", "Update simulation", 0, QApplication::UnicodeUTF8));
00084 textLabel1->setText(QApplication::translate("BarrettHandDlgUI", "Step size (in degrees)", 0, QApplication::UnicodeUTF8));
00085 stepSize->setText(QApplication::translate("BarrettHandDlgUI", "15", 0, QApplication::UnicodeUTF8));
00086 continuousOperationButton->setText(QApplication::translate("BarrettHandDlgUI", "Begin continuous operation", 0, QApplication::UnicodeUTF8));
00087 pushButton18->setText(QApplication::translate("BarrettHandDlgUI", "Update real hand", 0, QApplication::UnicodeUTF8));
00088 pushButton19->setText(QApplication::translate("BarrettHandDlgUI", "Initialize hand", 0, QApplication::UnicodeUTF8));
00089 smoothButton->setText(QApplication::translate("BarrettHandDlgUI", "Smooth Spread", 0, QApplication::UnicodeUTF8));
00090 initSpreadButton->setText(QApplication::translate("BarrettHandDlgUI", "pushButton6", 0, QApplication::UnicodeUTF8));
00091 }
00092
00093 };
00094
00095 namespace Ui {
00096 class BarrettHandDlgUI: public Ui_BarrettHandDlgUI {};
00097 }
00098
00099 QT_END_NAMESPACE
00100
00101 #endif // UI_BARRETTHANDDLG_H