orca-robotics INTRODUCTION Overview Download and Install Quick Start Documentation Publications REPOSITORY Interfaces Components Libraries Utilities Software Map DEVELOPER Tutorials Examples Dev Guide Dashboard Wiki login/pass: orca/orca PEOPLE Contributors Users Project Download Mailing lists
|
waypointdialog.h00001 00002 /******************************************************************************** 00003 ** Form generated from reading ui file 'waypointdialog.ui' 00004 ** 00005 ** Created: Thu May 10 22:50:44 2007 00006 ** by: Qt User Interface Compiler version 4.2.2 00007 ** 00008 ** WARNING! All changes made in this file will be lost when recompiling ui file! 00009 ********************************************************************************/ 00010 00011 #ifndef WAYPOINTDIALOG_H 00012 #define WAYPOINTDIALOG_H 00013 00014 #include <QtCore/QVariant> 00015 #include <QtGui/QAction> 00016 #include <QtGui/QApplication> 00017 #include <QtGui/QButtonGroup> 00018 #include <QtGui/QDialog> 00019 #include <QtGui/QDoubleSpinBox> 00020 #include <QtGui/QGridLayout> 00021 #include <QtGui/QHBoxLayout> 00022 #include <QtGui/QLabel> 00023 #include <QtGui/QPushButton> 00024 #include <QtGui/QSpacerItem> 00025 #include <QtGui/QSpinBox> 00026 #include <QtGui/QVBoxLayout> 00027 #include <QtGui/QWidget> 00028 00029 class Ui_WaypointDialog 00030 { 00031 public: 00032 QWidget *layoutWidget; 00033 QVBoxLayout *vboxLayout; 00034 QLabel *label; 00035 QGridLayout *gridLayout; 00036 QLabel *headingLabel; 00037 QDoubleSpinBox *xSpin; 00038 QLabel *xLabel; 00039 QDoubleSpinBox *ySpin; 00040 QSpinBox *headingSpin; 00041 QLabel *yLabel; 00042 QSpacerItem *spacerItem; 00043 QGridLayout *gridLayout1; 00044 QLabel *timeLabel; 00045 QDoubleSpinBox *waitingTimeSpin; 00046 QLabel *waitingTimeLabel; 00047 QDoubleSpinBox *timeSpin; 00048 QSpacerItem *spacerItem1; 00049 QGridLayout *gridLayout2; 00050 QSpinBox *headingTolSpin; 00051 QLabel *headingTolLabel; 00052 QLabel *distanceTolLabel; 00053 QDoubleSpinBox *distanceTolSpin; 00054 QSpacerItem *spacerItem2; 00055 QGridLayout *gridLayout3; 00056 QLabel *maxTurnrateLabel; 00057 QDoubleSpinBox *maxSpeedSpin; 00058 QSpinBox *maxTurnrateSpin; 00059 QLabel *maxSpeedLabel; 00060 QSpacerItem *spacerItem3; 00061 QHBoxLayout *hboxLayout; 00062 QSpacerItem *spacerItem4; 00063 QPushButton *okButton; 00064 QPushButton *cancelButton; 00065 00066 void setupUi(QDialog *WaypointDialog) 00067 { 00068 WaypointDialog->setObjectName(QString::fromUtf8("WaypointDialog")); 00069 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(0)); 00070 sizePolicy.setHorizontalStretch(0); 00071 sizePolicy.setVerticalStretch(0); 00072 sizePolicy.setHeightForWidth(WaypointDialog->sizePolicy().hasHeightForWidth()); 00073 WaypointDialog->setSizePolicy(sizePolicy); 00074 layoutWidget = new QWidget(WaypointDialog); 00075 layoutWidget->setObjectName(QString::fromUtf8("layoutWidget")); 00076 layoutWidget->setGeometry(QRect(0, 21, 248, 362)); 00077 vboxLayout = new QVBoxLayout(layoutWidget); 00078 vboxLayout->setSpacing(6); 00079 vboxLayout->setMargin(0); 00080 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout")); 00081 label = new QLabel(layoutWidget); 00082 label->setObjectName(QString::fromUtf8("label")); 00083 00084 vboxLayout->addWidget(label); 00085 00086 gridLayout = new QGridLayout(); 00087 gridLayout->setSpacing(6); 00088 gridLayout->setMargin(0); 00089 gridLayout->setObjectName(QString::fromUtf8("gridLayout")); 00090 headingLabel = new QLabel(layoutWidget); 00091 headingLabel->setObjectName(QString::fromUtf8("headingLabel")); 00092 00093 gridLayout->addWidget(headingLabel, 0, 2, 1, 1); 00094 00095 xSpin = new QDoubleSpinBox(layoutWidget); 00096 xSpin->setObjectName(QString::fromUtf8("xSpin")); 00097 xSpin->setMaximum(10000); 00098 xSpin->setMinimum(-10000); 00099 xSpin->setSingleStep(0.2); 00100 xSpin->setValue(2); 00101 00102 gridLayout->addWidget(xSpin, 1, 0, 1, 1); 00103 00104 xLabel = new QLabel(layoutWidget); 00105 xLabel->setObjectName(QString::fromUtf8("xLabel")); 00106 00107 gridLayout->addWidget(xLabel, 0, 0, 1, 1); 00108 00109 ySpin = new QDoubleSpinBox(layoutWidget); 00110 ySpin->setObjectName(QString::fromUtf8("ySpin")); 00111 ySpin->setMaximum(10000); 00112 ySpin->setMinimum(-10000); 00113 ySpin->setSingleStep(0.2); 00114 ySpin->setValue(0); 00115 00116 gridLayout->addWidget(ySpin, 1, 1, 1, 1); 00117 00118 headingSpin = new QSpinBox(layoutWidget); 00119 headingSpin->setObjectName(QString::fromUtf8("headingSpin")); 00120 headingSpin->setMaximum(359); 00121 headingSpin->setSingleStep(1); 00122 headingSpin->setValue(90); 00123 00124 gridLayout->addWidget(headingSpin, 1, 2, 1, 1); 00125 00126 yLabel = new QLabel(layoutWidget); 00127 yLabel->setObjectName(QString::fromUtf8("yLabel")); 00128 00129 gridLayout->addWidget(yLabel, 0, 1, 1, 1); 00130 00131 00132 vboxLayout->addLayout(gridLayout); 00133 00134 spacerItem = new QSpacerItem(221, 21, QSizePolicy::Minimum, QSizePolicy::Expanding); 00135 00136 vboxLayout->addItem(spacerItem); 00137 00138 gridLayout1 = new QGridLayout(); 00139 gridLayout1->setSpacing(6); 00140 gridLayout1->setMargin(0); 00141 gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); 00142 timeLabel = new QLabel(layoutWidget); 00143 timeLabel->setObjectName(QString::fromUtf8("timeLabel")); 00144 00145 gridLayout1->addWidget(timeLabel, 0, 0, 1, 1); 00146 00147 waitingTimeSpin = new QDoubleSpinBox(layoutWidget); 00148 waitingTimeSpin->setObjectName(QString::fromUtf8("waitingTimeSpin")); 00149 waitingTimeSpin->setDecimals(1); 00150 waitingTimeSpin->setMaximum(10000); 00151 waitingTimeSpin->setMinimum(-10000); 00152 waitingTimeSpin->setSingleStep(0.5); 00153 waitingTimeSpin->setValue(5); 00154 00155 gridLayout1->addWidget(waitingTimeSpin, 1, 1, 1, 1); 00156 00157 waitingTimeLabel = new QLabel(layoutWidget); 00158 waitingTimeLabel->setObjectName(QString::fromUtf8("waitingTimeLabel")); 00159 00160 gridLayout1->addWidget(waitingTimeLabel, 0, 1, 1, 1); 00161 00162 timeSpin = new QDoubleSpinBox(layoutWidget); 00163 timeSpin->setObjectName(QString::fromUtf8("timeSpin")); 00164 timeSpin->setDecimals(1); 00165 timeSpin->setMaximum(10000); 00166 timeSpin->setMinimum(-10000); 00167 timeSpin->setSingleStep(0.5); 00168 timeSpin->setValue(5); 00169 00170 gridLayout1->addWidget(timeSpin, 1, 0, 1, 1); 00171 00172 00173 vboxLayout->addLayout(gridLayout1); 00174 00175 spacerItem1 = new QSpacerItem(171, 21, QSizePolicy::Minimum, QSizePolicy::Expanding); 00176 00177 vboxLayout->addItem(spacerItem1); 00178 00179 gridLayout2 = new QGridLayout(); 00180 gridLayout2->setSpacing(6); 00181 gridLayout2->setMargin(0); 00182 gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); 00183 headingTolSpin = new QSpinBox(layoutWidget); 00184 headingTolSpin->setObjectName(QString::fromUtf8("headingTolSpin")); 00185 headingTolSpin->setMaximum(360); 00186 headingTolSpin->setSingleStep(5); 00187 headingTolSpin->setValue(180); 00188 00189 gridLayout2->addWidget(headingTolSpin, 1, 1, 1, 1); 00190 00191 headingTolLabel = new QLabel(layoutWidget); 00192 headingTolLabel->setObjectName(QString::fromUtf8("headingTolLabel")); 00193 00194 gridLayout2->addWidget(headingTolLabel, 0, 1, 1, 1); 00195 00196 distanceTolLabel = new QLabel(layoutWidget); 00197 distanceTolLabel->setObjectName(QString::fromUtf8("distanceTolLabel")); 00198 00199 gridLayout2->addWidget(distanceTolLabel, 0, 0, 1, 1); 00200 00201 distanceTolSpin = new QDoubleSpinBox(layoutWidget); 00202 distanceTolSpin->setObjectName(QString::fromUtf8("distanceTolSpin")); 00203 distanceTolSpin->setMaximum(10); 00204 distanceTolSpin->setSingleStep(0.2); 00205 distanceTolSpin->setValue(2); 00206 00207 gridLayout2->addWidget(distanceTolSpin, 1, 0, 1, 1); 00208 00209 00210 vboxLayout->addLayout(gridLayout2); 00211 00212 spacerItem2 = new QSpacerItem(211, 21, QSizePolicy::Minimum, QSizePolicy::Expanding); 00213 00214 vboxLayout->addItem(spacerItem2); 00215 00216 gridLayout3 = new QGridLayout(); 00217 gridLayout3->setSpacing(6); 00218 gridLayout3->setMargin(0); 00219 gridLayout3->setObjectName(QString::fromUtf8("gridLayout3")); 00220 maxTurnrateLabel = new QLabel(layoutWidget); 00221 maxTurnrateLabel->setObjectName(QString::fromUtf8("maxTurnrateLabel")); 00222 00223 gridLayout3->addWidget(maxTurnrateLabel, 0, 1, 1, 1); 00224 00225 maxSpeedSpin = new QDoubleSpinBox(layoutWidget); 00226 maxSpeedSpin->setObjectName(QString::fromUtf8("maxSpeedSpin")); 00227 maxSpeedSpin->setMaximum(2e+06); 00228 maxSpeedSpin->setSingleStep(0.2); 00229 maxSpeedSpin->setValue(0); 00230 00231 gridLayout3->addWidget(maxSpeedSpin, 1, 0, 1, 1); 00232 00233 maxTurnrateSpin = new QSpinBox(layoutWidget); 00234 maxTurnrateSpin->setObjectName(QString::fromUtf8("maxTurnrateSpin")); 00235 maxTurnrateSpin->setMaximum(2000000); 00236 maxTurnrateSpin->setSingleStep(1); 00237 maxTurnrateSpin->setValue(5); 00238 00239 gridLayout3->addWidget(maxTurnrateSpin, 1, 1, 1, 1); 00240 00241 maxSpeedLabel = new QLabel(layoutWidget); 00242 maxSpeedLabel->setObjectName(QString::fromUtf8("maxSpeedLabel")); 00243 00244 gridLayout3->addWidget(maxSpeedLabel, 0, 0, 1, 1); 00245 00246 00247 vboxLayout->addLayout(gridLayout3); 00248 00249 spacerItem3 = new QSpacerItem(171, 21, QSizePolicy::Minimum, QSizePolicy::Expanding); 00250 00251 vboxLayout->addItem(spacerItem3); 00252 00253 hboxLayout = new QHBoxLayout(); 00254 hboxLayout->setSpacing(6); 00255 hboxLayout->setMargin(0); 00256 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); 00257 spacerItem4 = new QSpacerItem(41, 31, QSizePolicy::Expanding, QSizePolicy::Minimum); 00258 00259 hboxLayout->addItem(spacerItem4); 00260 00261 okButton = new QPushButton(layoutWidget); 00262 okButton->setObjectName(QString::fromUtf8("okButton")); 00263 00264 hboxLayout->addWidget(okButton); 00265 00266 cancelButton = new QPushButton(layoutWidget); 00267 cancelButton->setObjectName(QString::fromUtf8("cancelButton")); 00268 00269 hboxLayout->addWidget(cancelButton); 00270 00271 00272 vboxLayout->addLayout(hboxLayout); 00273 00274 00275 retranslateUi(WaypointDialog); 00276 00277 QSize size(260, 405); 00278 size = size.expandedTo(WaypointDialog->minimumSizeHint()); 00279 WaypointDialog->resize(size); 00280 00281 QObject::connect(okButton, SIGNAL(clicked()), WaypointDialog, SLOT(accept())); 00282 QObject::connect(cancelButton, SIGNAL(clicked()), WaypointDialog, SLOT(reject())); 00283 00284 QMetaObject::connectSlotsByName(WaypointDialog); 00285 } // setupUi 00286 00287 void retranslateUi(QDialog *WaypointDialog) 00288 { 00289 WaypointDialog->setWindowTitle(QApplication::translate("WaypointDialog", "Waypoint Paramters", 0, QApplication::UnicodeUTF8)); 00290 label->setText(QApplication::translate("WaypointDialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /></head><body style=\" white-space: pre-wrap; font-family:Sans Serif; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;\"><p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:12pt; font-weight:600;\">Waypoint Parameters</span></p></body></html>", 0, QApplication::UnicodeUTF8)); 00291 headingLabel->setText(QApplication::translate("WaypointDialog", "heading [deg]:", 0, QApplication::UnicodeUTF8)); 00292 xLabel->setText(QApplication::translate("WaypointDialog", "x [m]:", 0, QApplication::UnicodeUTF8)); 00293 yLabel->setText(QApplication::translate("WaypointDialog", "y [m]:", 0, QApplication::UnicodeUTF8)); 00294 timeLabel->setText(QApplication::translate("WaypointDialog", "time to reach [s]:", 0, QApplication::UnicodeUTF8)); 00295 waitingTimeLabel->setText(QApplication::translate("WaypointDialog", "waiting time [s]:", 0, QApplication::UnicodeUTF8)); 00296 headingTolLabel->setText(QApplication::translate("WaypointDialog", "Heading tol. (+/-) [deg]:", 0, QApplication::UnicodeUTF8)); 00297 distanceTolLabel->setText(QApplication::translate("WaypointDialog", "Distance tolerance [m]:", 0, QApplication::UnicodeUTF8)); 00298 maxTurnrateLabel->setText(QApplication::translate("WaypointDialog", "Maximum turnrate [deg/s]:", 0, QApplication::UnicodeUTF8)); 00299 maxSpeedLabel->setText(QApplication::translate("WaypointDialog", "Maximum speed [m/s]:", 0, QApplication::UnicodeUTF8)); 00300 okButton->setText(QApplication::translate("WaypointDialog", "OK", 0, QApplication::UnicodeUTF8)); 00301 cancelButton->setText(QApplication::translate("WaypointDialog", "Cancel", 0, QApplication::UnicodeUTF8)); 00302 Q_UNUSED(WaypointDialog); 00303 } // retranslateUi 00304 00305 }; 00306 00307 namespace Ui { 00308 class WaypointDialog: public Ui_WaypointDialog {}; 00309 } // namespace Ui 00310 00311 #endif // WAYPOINTDIALOG_H |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)