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