00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_SETMAPSCALE_H
00011 #define UI_SETMAPSCALE_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/QDialogButtonBox>
00019 #include <QtGui/QLabel>
00020 #include <QtGui/QPushButton>
00021 #include <QtGui/QSpinBox>
00022
00023 class Ui_Dialog
00024 {
00025 public:
00026 QDialogButtonBox *buttonBox;
00027 QSpinBox *spinBox_X_Dimension;
00028 QSpinBox *spinBox_Y_Dimension;
00029 QLabel *label;
00030 QLabel *label_2;
00031 QLabel *label_3;
00032 QLabel *label_4;
00033 QPushButton *pushButton;
00034
00035 void setupUi(QDialog *Dialog)
00036 {
00037 if (Dialog->objectName().isEmpty())
00038 Dialog->setObjectName(QString::fromUtf8("Dialog"));
00039 Dialog->setWindowModality(Qt::NonModal);
00040 Dialog->resize(403, 294);
00041 buttonBox = new QDialogButtonBox(Dialog);
00042 buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
00043 buttonBox->setGeometry(QRect(40, 240, 160, 32));
00044 buttonBox->setOrientation(Qt::Horizontal);
00045 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok);
00046 spinBox_X_Dimension = new QSpinBox(Dialog);
00047 spinBox_X_Dimension->setObjectName(QString::fromUtf8("spinBox_X_Dimension"));
00048 spinBox_X_Dimension->setGeometry(QRect(210, 20, 170, 91));
00049 QFont font;
00050 font.setPointSize(50);
00051 spinBox_X_Dimension->setFont(font);
00052 spinBox_X_Dimension->setMaximum(500);
00053 spinBox_X_Dimension->setSingleStep(1);
00054 spinBox_X_Dimension->setValue(100);
00055 spinBox_Y_Dimension = new QSpinBox(Dialog);
00056 spinBox_Y_Dimension->setObjectName(QString::fromUtf8("spinBox_Y_Dimension"));
00057 spinBox_Y_Dimension->setGeometry(QRect(210, 130, 171, 91));
00058 spinBox_Y_Dimension->setFont(font);
00059 spinBox_Y_Dimension->setMaximum(500);
00060 spinBox_Y_Dimension->setSingleStep(1);
00061 spinBox_Y_Dimension->setValue(100);
00062 label = new QLabel(Dialog);
00063 label->setObjectName(QString::fromUtf8("label"));
00064 label->setGeometry(QRect(20, 40, 191, 28));
00065 QFont font1;
00066 font1.setPointSize(15);
00067 label->setFont(font1);
00068 label_2 = new QLabel(Dialog);
00069 label_2->setObjectName(QString::fromUtf8("label_2"));
00070 label_2->setGeometry(QRect(20, 150, 191, 28));
00071 label_2->setFont(font1);
00072 label_3 = new QLabel(Dialog);
00073 label_3->setObjectName(QString::fromUtf8("label_3"));
00074 label_3->setGeometry(QRect(60, 70, 86, 28));
00075 label_3->setFont(font1);
00076 label_4 = new QLabel(Dialog);
00077 label_4->setObjectName(QString::fromUtf8("label_4"));
00078 label_4->setGeometry(QRect(70, 180, 86, 28));
00079 label_4->setFont(font1);
00080 pushButton = new QPushButton(Dialog);
00081 pushButton->setObjectName(QString::fromUtf8("pushButton"));
00082 pushButton->setGeometry(QRect(280, 240, 75, 28));
00083
00084 retranslateUi(Dialog);
00085 QObject::connect(buttonBox, SIGNAL(accepted()), Dialog, SLOT(accept()));
00086 QObject::connect(buttonBox, SIGNAL(rejected()), Dialog, SLOT(reject()));
00087
00088 QMetaObject::connectSlotsByName(Dialog);
00089 }
00090
00091 void retranslateUi(QDialog *Dialog)
00092 {
00093 Dialog->setWindowTitle(QApplication::translate("Dialog", "Set Map Scale", 0, QApplication::UnicodeUTF8));
00094 label->setText(QApplication::translate("Dialog", "Set X - Map Length ", 0, QApplication::UnicodeUTF8));
00095 label_2->setText(QApplication::translate("Dialog", "Set Y - Map Length ", 0, QApplication::UnicodeUTF8));
00096 label_3->setText(QApplication::translate("Dialog", "[ meters ]", 0, QApplication::UnicodeUTF8));
00097 label_4->setText(QApplication::translate("Dialog", "[ meters ]", 0, QApplication::UnicodeUTF8));
00098 pushButton->setText(QApplication::translate("Dialog", "Default", 0, QApplication::UnicodeUTF8));
00099 Q_UNUSED(Dialog);
00100 }
00101
00102 };
00103
00104 namespace Ui {
00105 class Dialog: public Ui_Dialog {};
00106 }
00107
00108 #endif // UI_SETMAPSCALE_H