00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_TASKTRAJECTORY_H
00011 #define UI_TASKTRAJECTORY_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/QDoubleSpinBox>
00019 #include <QtGui/QHBoxLayout>
00020 #include <QtGui/QHeaderView>
00021 #include <QtGui/QLabel>
00022 #include <QtGui/QPushButton>
00023 #include <QtGui/QSlider>
00024 #include <QtGui/QSpinBox>
00025 #include <QtGui/QTableWidget>
00026 #include <QtGui/QVBoxLayout>
00027 #include <QtGui/QWidget>
00028
00029 namespace RobotGui {
00030
00031 class Ui_TaskTrajectory
00032 {
00033 public:
00034 QVBoxLayout *verticalLayout;
00035 QHBoxLayout *hboxLayout;
00036 QPushButton *ButtonStepStart;
00037 QPushButton *ButtonStepBack;
00038 QPushButton *ButtonStepStop;
00039 QPushButton *ButtonStepRun;
00040 QPushButton *ButtonStepForward;
00041 QPushButton *ButtonStepEnd;
00042 QSlider *timeSlider;
00043 QHBoxLayout *horizontalLayout;
00044 QDoubleSpinBox *timeSpinBox;
00045 QSpinBox *Override;
00046 QComboBox *comboBoxIpo;
00047 QLabel *label_Pos;
00048 QTableWidget *trajectoryTable;
00049
00050 void setupUi(QWidget *RobotGui__TaskTrajectory)
00051 {
00052 if (RobotGui__TaskTrajectory->objectName().isEmpty())
00053 RobotGui__TaskTrajectory->setObjectName(QString::fromUtf8("RobotGui__TaskTrajectory"));
00054 RobotGui__TaskTrajectory->resize(222, 314);
00055 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Minimum);
00056 sizePolicy.setHorizontalStretch(0);
00057 sizePolicy.setVerticalStretch(0);
00058 sizePolicy.setHeightForWidth(RobotGui__TaskTrajectory->sizePolicy().hasHeightForWidth());
00059 RobotGui__TaskTrajectory->setSizePolicy(sizePolicy);
00060 verticalLayout = new QVBoxLayout(RobotGui__TaskTrajectory);
00061 verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
00062 hboxLayout = new QHBoxLayout();
00063 hboxLayout->setSpacing(2);
00064 #ifndef Q_OS_MAC
00065 hboxLayout->setMargin(0);
00066 #endif
00067 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00068 ButtonStepStart = new QPushButton(RobotGui__TaskTrajectory);
00069 ButtonStepStart->setObjectName(QString::fromUtf8("ButtonStepStart"));
00070 QSizePolicy sizePolicy1(QSizePolicy::Fixed, QSizePolicy::Fixed);
00071 sizePolicy1.setHorizontalStretch(0);
00072 sizePolicy1.setVerticalStretch(0);
00073 sizePolicy1.setHeightForWidth(ButtonStepStart->sizePolicy().hasHeightForWidth());
00074 ButtonStepStart->setSizePolicy(sizePolicy1);
00075 ButtonStepStart->setMinimumSize(QSize(30, 20));
00076 ButtonStepStart->setMaximumSize(QSize(35, 22));
00077 QFont font;
00078 font.setBold(true);
00079 font.setWeight(75);
00080 ButtonStepStart->setFont(font);
00081
00082 hboxLayout->addWidget(ButtonStepStart);
00083
00084 ButtonStepBack = new QPushButton(RobotGui__TaskTrajectory);
00085 ButtonStepBack->setObjectName(QString::fromUtf8("ButtonStepBack"));
00086 sizePolicy1.setHeightForWidth(ButtonStepBack->sizePolicy().hasHeightForWidth());
00087 ButtonStepBack->setSizePolicy(sizePolicy1);
00088 ButtonStepBack->setMinimumSize(QSize(30, 20));
00089 ButtonStepBack->setMaximumSize(QSize(35, 22));
00090 ButtonStepBack->setFont(font);
00091
00092 hboxLayout->addWidget(ButtonStepBack);
00093
00094 ButtonStepStop = new QPushButton(RobotGui__TaskTrajectory);
00095 ButtonStepStop->setObjectName(QString::fromUtf8("ButtonStepStop"));
00096 sizePolicy1.setHeightForWidth(ButtonStepStop->sizePolicy().hasHeightForWidth());
00097 ButtonStepStop->setSizePolicy(sizePolicy1);
00098 ButtonStepStop->setMinimumSize(QSize(30, 20));
00099 ButtonStepStop->setMaximumSize(QSize(35, 22));
00100 ButtonStepStop->setFont(font);
00101
00102 hboxLayout->addWidget(ButtonStepStop);
00103
00104 ButtonStepRun = new QPushButton(RobotGui__TaskTrajectory);
00105 ButtonStepRun->setObjectName(QString::fromUtf8("ButtonStepRun"));
00106 sizePolicy1.setHeightForWidth(ButtonStepRun->sizePolicy().hasHeightForWidth());
00107 ButtonStepRun->setSizePolicy(sizePolicy1);
00108 ButtonStepRun->setMinimumSize(QSize(30, 20));
00109 ButtonStepRun->setMaximumSize(QSize(35, 22));
00110 ButtonStepRun->setFont(font);
00111
00112 hboxLayout->addWidget(ButtonStepRun);
00113
00114 ButtonStepForward = new QPushButton(RobotGui__TaskTrajectory);
00115 ButtonStepForward->setObjectName(QString::fromUtf8("ButtonStepForward"));
00116 sizePolicy1.setHeightForWidth(ButtonStepForward->sizePolicy().hasHeightForWidth());
00117 ButtonStepForward->setSizePolicy(sizePolicy1);
00118 ButtonStepForward->setMinimumSize(QSize(30, 20));
00119 ButtonStepForward->setMaximumSize(QSize(35, 22));
00120 ButtonStepForward->setFont(font);
00121
00122 hboxLayout->addWidget(ButtonStepForward);
00123
00124 ButtonStepEnd = new QPushButton(RobotGui__TaskTrajectory);
00125 ButtonStepEnd->setObjectName(QString::fromUtf8("ButtonStepEnd"));
00126 sizePolicy1.setHeightForWidth(ButtonStepEnd->sizePolicy().hasHeightForWidth());
00127 ButtonStepEnd->setSizePolicy(sizePolicy1);
00128 ButtonStepEnd->setMinimumSize(QSize(30, 20));
00129 ButtonStepEnd->setMaximumSize(QSize(35, 22));
00130 ButtonStepEnd->setFont(font);
00131
00132 hboxLayout->addWidget(ButtonStepEnd);
00133
00134
00135 verticalLayout->addLayout(hboxLayout);
00136
00137 timeSlider = new QSlider(RobotGui__TaskTrajectory);
00138 timeSlider->setObjectName(QString::fromUtf8("timeSlider"));
00139 timeSlider->setMaximum(999);
00140 timeSlider->setOrientation(Qt::Horizontal);
00141
00142 verticalLayout->addWidget(timeSlider);
00143
00144 horizontalLayout = new QHBoxLayout();
00145 horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
00146 timeSpinBox = new QDoubleSpinBox(RobotGui__TaskTrajectory);
00147 timeSpinBox->setObjectName(QString::fromUtf8("timeSpinBox"));
00148
00149 horizontalLayout->addWidget(timeSpinBox);
00150
00151 Override = new QSpinBox(RobotGui__TaskTrajectory);
00152 Override->setObjectName(QString::fromUtf8("Override"));
00153 Override->setMaximum(100);
00154 Override->setSingleStep(10);
00155 Override->setValue(100);
00156
00157 horizontalLayout->addWidget(Override);
00158
00159 comboBoxIpo = new QComboBox(RobotGui__TaskTrajectory);
00160 comboBoxIpo->setObjectName(QString::fromUtf8("comboBoxIpo"));
00161
00162 horizontalLayout->addWidget(comboBoxIpo);
00163
00164
00165 verticalLayout->addLayout(horizontalLayout);
00166
00167 label_Pos = new QLabel(RobotGui__TaskTrajectory);
00168 label_Pos->setObjectName(QString::fromUtf8("label_Pos"));
00169 QFont font1;
00170 font1.setFamily(QString::fromUtf8("Arial"));
00171 font1.setPointSize(7);
00172 font1.setBold(true);
00173 font1.setWeight(75);
00174 label_Pos->setFont(font1);
00175
00176 verticalLayout->addWidget(label_Pos);
00177
00178 trajectoryTable = new QTableWidget(RobotGui__TaskTrajectory);
00179 if (trajectoryTable->columnCount() < 5)
00180 trajectoryTable->setColumnCount(5);
00181 QTableWidgetItem *__qtablewidgetitem = new QTableWidgetItem();
00182 trajectoryTable->setHorizontalHeaderItem(0, __qtablewidgetitem);
00183 QTableWidgetItem *__qtablewidgetitem1 = new QTableWidgetItem();
00184 trajectoryTable->setHorizontalHeaderItem(1, __qtablewidgetitem1);
00185 QTableWidgetItem *__qtablewidgetitem2 = new QTableWidgetItem();
00186 trajectoryTable->setHorizontalHeaderItem(2, __qtablewidgetitem2);
00187 QTableWidgetItem *__qtablewidgetitem3 = new QTableWidgetItem();
00188 trajectoryTable->setHorizontalHeaderItem(3, __qtablewidgetitem3);
00189 QTableWidgetItem *__qtablewidgetitem4 = new QTableWidgetItem();
00190 trajectoryTable->setHorizontalHeaderItem(4, __qtablewidgetitem4);
00191 trajectoryTable->setObjectName(QString::fromUtf8("trajectoryTable"));
00192 QSizePolicy sizePolicy2(QSizePolicy::MinimumExpanding, QSizePolicy::Expanding);
00193 sizePolicy2.setHorizontalStretch(0);
00194 sizePolicy2.setVerticalStretch(0);
00195 sizePolicy2.setHeightForWidth(trajectoryTable->sizePolicy().hasHeightForWidth());
00196 trajectoryTable->setSizePolicy(sizePolicy2);
00197 trajectoryTable->setMinimumSize(QSize(180, 0));
00198 trajectoryTable->horizontalHeader()->setDefaultSectionSize(40);
00199 trajectoryTable->verticalHeader()->setDefaultSectionSize(22);
00200
00201 verticalLayout->addWidget(trajectoryTable);
00202
00203
00204 retranslateUi(RobotGui__TaskTrajectory);
00205
00206 QMetaObject::connectSlotsByName(RobotGui__TaskTrajectory);
00207 }
00208
00209 void retranslateUi(QWidget *RobotGui__TaskTrajectory)
00210 {
00211 RobotGui__TaskTrajectory->setWindowTitle(QApplication::translate("RobotGui::TaskTrajectory", "Form", 0, QApplication::UnicodeUTF8));
00212 ButtonStepStart->setText(QApplication::translate("RobotGui::TaskTrajectory", "|<", 0, QApplication::UnicodeUTF8));
00213 ButtonStepBack->setText(QApplication::translate("RobotGui::TaskTrajectory", "<", 0, QApplication::UnicodeUTF8));
00214 ButtonStepStop->setText(QApplication::translate("RobotGui::TaskTrajectory", "||", 0, QApplication::UnicodeUTF8));
00215 ButtonStepRun->setText(QApplication::translate("RobotGui::TaskTrajectory", "|>", 0, QApplication::UnicodeUTF8));
00216 ButtonStepForward->setText(QApplication::translate("RobotGui::TaskTrajectory", ">", 0, QApplication::UnicodeUTF8));
00217 ButtonStepEnd->setText(QApplication::translate("RobotGui::TaskTrajectory", ">|", 0, QApplication::UnicodeUTF8));
00218 Override->setSuffix(QApplication::translate("RobotGui::TaskTrajectory", "%", 0, QApplication::UnicodeUTF8));
00219 comboBoxIpo->clear();
00220 comboBoxIpo->insertItems(0, QStringList()
00221 << QApplication::translate("RobotGui::TaskTrajectory", "10 ms", 0, QApplication::UnicodeUTF8)
00222 << QApplication::translate("RobotGui::TaskTrajectory", "50 ms", 0, QApplication::UnicodeUTF8)
00223 << QApplication::translate("RobotGui::TaskTrajectory", "100 ms", 0, QApplication::UnicodeUTF8)
00224 << QApplication::translate("RobotGui::TaskTrajectory", "500 ms", 0, QApplication::UnicodeUTF8)
00225 << QApplication::translate("RobotGui::TaskTrajectory", "1 s", 0, QApplication::UnicodeUTF8)
00226 );
00227 label_Pos->setText(QApplication::translate("RobotGui::TaskTrajectory", "Pos: (200.23, 300.23, 400.23, 234, 343 ,343)", 0, QApplication::UnicodeUTF8));
00228 QTableWidgetItem *___qtablewidgetitem = trajectoryTable->horizontalHeaderItem(0);
00229 ___qtablewidgetitem->setText(QApplication::translate("RobotGui::TaskTrajectory", "Type", 0, QApplication::UnicodeUTF8));
00230 QTableWidgetItem *___qtablewidgetitem1 = trajectoryTable->horizontalHeaderItem(1);
00231 ___qtablewidgetitem1->setText(QApplication::translate("RobotGui::TaskTrajectory", "Name", 0, QApplication::UnicodeUTF8));
00232 QTableWidgetItem *___qtablewidgetitem2 = trajectoryTable->horizontalHeaderItem(2);
00233 ___qtablewidgetitem2->setText(QApplication::translate("RobotGui::TaskTrajectory", "C", 0, QApplication::UnicodeUTF8));
00234 QTableWidgetItem *___qtablewidgetitem3 = trajectoryTable->horizontalHeaderItem(3);
00235 ___qtablewidgetitem3->setText(QApplication::translate("RobotGui::TaskTrajectory", "V", 0, QApplication::UnicodeUTF8));
00236 QTableWidgetItem *___qtablewidgetitem4 = trajectoryTable->horizontalHeaderItem(4);
00237 ___qtablewidgetitem4->setText(QApplication::translate("RobotGui::TaskTrajectory", "A", 0, QApplication::UnicodeUTF8));
00238 Q_UNUSED(RobotGui__TaskTrajectory);
00239 }
00240
00241 };
00242
00243 }
00244
00245 namespace RobotGui {
00246 namespace Ui {
00247 class TaskTrajectory: public Ui_TaskTrajectory {};
00248 }
00249 }
00250
00251 #endif // UI_TASKTRAJECTORY_H