00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef MRMCONTROLLERUI_H
00011 #define MRMCONTROLLERUI_H
00012
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QComboBox>
00018 #include <QtGui/QGridLayout>
00019 #include <QtGui/QGroupBox>
00020 #include <QtGui/QHBoxLayout>
00021 #include <QtGui/QHeaderView>
00022 #include <QtGui/QPushButton>
00023 #include <QtGui/QScrollArea>
00024 #include <QtGui/QWidget>
00025
00026 QT_BEGIN_NAMESPACE
00027
00028 class Ui_MrmController
00029 {
00030 public:
00031 QGridLayout *gridLayout;
00032 QGroupBox *groupBox_3;
00033 QGridLayout *gridLayout_5;
00034 QComboBox *inputMethods;
00035 QPushButton *addControllerButton;
00036 QComboBox *controllableRobots;
00037 QScrollArea *scrollArea;
00038 QWidget *scrollAreaWidgetContents;
00039 QHBoxLayout *horizontalLayoutContainer;
00040
00041 void setupUi(QWidget *MrmController)
00042 {
00043 if (MrmController->objectName().isEmpty())
00044 MrmController->setObjectName(QString::fromUtf8("MrmController"));
00045 MrmController->resize(595, 423);
00046 gridLayout = new QGridLayout(MrmController);
00047 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00048 groupBox_3 = new QGroupBox(MrmController);
00049 groupBox_3->setObjectName(QString::fromUtf8("groupBox_3"));
00050 gridLayout_5 = new QGridLayout(groupBox_3);
00051 gridLayout_5->setObjectName(QString::fromUtf8("gridLayout_5"));
00052 inputMethods = new QComboBox(groupBox_3);
00053 inputMethods->setObjectName(QString::fromUtf8("inputMethods"));
00054 inputMethods->setMinimumSize(QSize(150, 0));
00055
00056 gridLayout_5->addWidget(inputMethods, 0, 0, 1, 1);
00057
00058 addControllerButton = new QPushButton(groupBox_3);
00059 addControllerButton->setObjectName(QString::fromUtf8("addControllerButton"));
00060 QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
00061 sizePolicy.setHorizontalStretch(0);
00062 sizePolicy.setVerticalStretch(0);
00063 sizePolicy.setHeightForWidth(addControllerButton->sizePolicy().hasHeightForWidth());
00064 addControllerButton->setSizePolicy(sizePolicy);
00065
00066 gridLayout_5->addWidget(addControllerButton, 0, 2, 1, 1);
00067
00068 controllableRobots = new QComboBox(groupBox_3);
00069 controllableRobots->setObjectName(QString::fromUtf8("controllableRobots"));
00070 QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Fixed);
00071 sizePolicy1.setHorizontalStretch(0);
00072 sizePolicy1.setVerticalStretch(0);
00073 sizePolicy1.setHeightForWidth(controllableRobots->sizePolicy().hasHeightForWidth());
00074 controllableRobots->setSizePolicy(sizePolicy1);
00075 controllableRobots->setMinimumSize(QSize(300, 0));
00076
00077 gridLayout_5->addWidget(controllableRobots, 0, 1, 1, 1);
00078
00079
00080 gridLayout->addWidget(groupBox_3, 0, 0, 1, 1);
00081
00082 scrollArea = new QScrollArea(MrmController);
00083 scrollArea->setObjectName(QString::fromUtf8("scrollArea"));
00084 scrollArea->setWidgetResizable(true);
00085 scrollAreaWidgetContents = new QWidget();
00086 scrollAreaWidgetContents->setObjectName(QString::fromUtf8("scrollAreaWidgetContents"));
00087 scrollAreaWidgetContents->setGeometry(QRect(0, 0, 575, 334));
00088 horizontalLayoutContainer = new QHBoxLayout(scrollAreaWidgetContents);
00089 horizontalLayoutContainer->setObjectName(QString::fromUtf8("horizontalLayoutContainer"));
00090 scrollArea->setWidget(scrollAreaWidgetContents);
00091
00092 gridLayout->addWidget(scrollArea, 1, 0, 1, 1);
00093
00094
00095 retranslateUi(MrmController);
00096
00097 QMetaObject::connectSlotsByName(MrmController);
00098 }
00099
00100 void retranslateUi(QWidget *MrmController)
00101 {
00102 MrmController->setWindowTitle(QApplication::translate("MrmController", "Multi-Robot teleoperator", 0, QApplication::UnicodeUTF8));
00103 groupBox_3->setTitle(QApplication::translate("MrmController", "Add controller", 0, QApplication::UnicodeUTF8));
00104 inputMethods->clear();
00105 inputMethods->insertItems(0, QStringList()
00106 << QApplication::translate("MrmController", "Joystick", 0, QApplication::UnicodeUTF8)
00107 << QApplication::translate("MrmController", "Keyboard", 0, QApplication::UnicodeUTF8)
00108 << QApplication::translate("MrmController", "Mouse", 0, QApplication::UnicodeUTF8)
00109 );
00110 addControllerButton->setText(QApplication::translate("MrmController", "Add", 0, QApplication::UnicodeUTF8));
00111 }
00112
00113 };
00114
00115 namespace Ui {
00116 class MrmController: public Ui_MrmController {};
00117 }
00118
00119 QT_END_NAMESPACE
00120
00121 #endif // MRMCONTROLLERUI_H