00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef SETCAMERADATA_H
00011 #define SETCAMERADATA_H
00012
00013 #include <BALL/COMMON/global.h>
00014 #include <QtCore/QVariant>
00015 #include <QtGui/QAction>
00016 #include <QtGui/QApplication>
00017 #include <QtGui/QButtonGroup>
00018 #include <QtGui/QDialog>
00019 #include <QtGui/QLabel>
00020 #include <QtGui/QLineEdit>
00021 #include <QtGui/QPushButton>
00022
00023 QT_BEGIN_NAMESPACE
00024
00025 class Ui_SetCameraData
00026 {
00027 public:
00028 QLineEdit *look_z;
00029 QLineEdit *look_y;
00030 QPushButton *ok_button;
00031 QPushButton *cancel_button;
00032 QLineEdit *view_x;
00033 QLineEdit *view_y;
00034 QLineEdit *view_z;
00035 QLabel *view_label;
00036 QLabel *look_label;
00037 QLineEdit *look_x;
00038
00039 void setupUi(QDialog *SetCameraData)
00040 {
00041 if (SetCameraData->objectName().isEmpty())
00042 SetCameraData->setObjectName(QString::fromUtf8("SetCameraData"));
00043 SetCameraData->resize(350, 112);
00044 SetCameraData->setMinimumSize(QSize(350, 0));
00045 SetCameraData->setMaximumSize(QSize(350, 32767));
00046 look_z = new QLineEdit(SetCameraData);
00047 look_z->setObjectName(QString::fromUtf8("look_z"));
00048 look_z->setGeometry(QRect(272, 36, 68, 23));
00049 look_y = new QLineEdit(SetCameraData);
00050 look_y->setObjectName(QString::fromUtf8("look_y"));
00051 look_y->setGeometry(QRect(193, 36, 68, 23));
00052 ok_button = new QPushButton(SetCameraData);
00053 ok_button->setObjectName(QString::fromUtf8("ok_button"));
00054 ok_button->setGeometry(QRect(12, 76, 162, 30));
00055 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(0));
00056 sizePolicy.setHorizontalStretch(0);
00057 sizePolicy.setVerticalStretch(0);
00058 sizePolicy.setHeightForWidth(ok_button->sizePolicy().hasHeightForWidth());
00059 ok_button->setSizePolicy(sizePolicy);
00060 ok_button->setMinimumSize(QSize(0, 30));
00061 ok_button->setMaximumSize(QSize(32767, 30));
00062 ok_button->setDefault(true);
00063 cancel_button = new QPushButton(SetCameraData);
00064 cancel_button->setObjectName(QString::fromUtf8("cancel_button"));
00065 cancel_button->setGeometry(QRect(180, 76, 161, 30));
00066 sizePolicy.setHeightForWidth(cancel_button->sizePolicy().hasHeightForWidth());
00067 cancel_button->setSizePolicy(sizePolicy);
00068 cancel_button->setMinimumSize(QSize(0, 30));
00069 cancel_button->setMaximumSize(QSize(32767, 30));
00070 view_x = new QLineEdit(SetCameraData);
00071 view_x->setObjectName(QString::fromUtf8("view_x"));
00072 view_x->setGeometry(QRect(113, 8, 68, 23));
00073 view_y = new QLineEdit(SetCameraData);
00074 view_y->setObjectName(QString::fromUtf8("view_y"));
00075 view_y->setGeometry(QRect(193, 7, 68, 23));
00076 view_z = new QLineEdit(SetCameraData);
00077 view_z->setObjectName(QString::fromUtf8("view_z"));
00078 view_z->setGeometry(QRect(272, 7, 68, 23));
00079 view_label = new QLabel(SetCameraData);
00080 view_label->setObjectName(QString::fromUtf8("view_label"));
00081 view_label->setGeometry(QRect(6, 10, 101, 21));
00082 look_label = new QLabel(SetCameraData);
00083 look_label->setObjectName(QString::fromUtf8("look_label"));
00084 look_label->setGeometry(QRect(8, 40, 96, 21));
00085 look_x = new QLineEdit(SetCameraData);
00086 look_x->setObjectName(QString::fromUtf8("look_x"));
00087 look_x->setGeometry(QRect(113, 37, 68, 23));
00088 QWidget::setTabOrder(view_x, view_y);
00089 QWidget::setTabOrder(view_y, view_z);
00090 QWidget::setTabOrder(view_z, look_x);
00091 QWidget::setTabOrder(look_x, look_y);
00092 QWidget::setTabOrder(look_y, look_z);
00093 QWidget::setTabOrder(look_z, ok_button);
00094 QWidget::setTabOrder(ok_button, cancel_button);
00095
00096 retranslateUi(SetCameraData);
00097
00098 QMetaObject::connectSlotsByName(SetCameraData);
00099 }
00100
00101 void retranslateUi(QDialog *SetCameraData)
00102 {
00103 SetCameraData->setWindowTitle(QApplication::translate("SetCameraData", "Set Camera", 0, QApplication::UnicodeUTF8));
00104
00105 #ifndef QT_NO_TOOLTIP
00106 ok_button->setToolTip(QApplication::translate("SetCameraData", "Set camera to new coordinates", 0, QApplication::UnicodeUTF8));
00107 #endif // QT_NO_TOOLTIP
00108
00109 ok_button->setText(QApplication::translate("SetCameraData", "O&K", 0, QApplication::UnicodeUTF8));
00110 ok_button->setShortcut(QApplication::translate("SetCameraData", "Alt+K", 0, QApplication::UnicodeUTF8));
00111
00112 #ifndef QT_NO_TOOLTIP
00113 cancel_button->setToolTip(QApplication::translate("SetCameraData", "Close window without reseting camera", 0, QApplication::UnicodeUTF8));
00114 #endif // QT_NO_TOOLTIP
00115
00116 cancel_button->setText(QApplication::translate("SetCameraData", "C&ancel", 0, QApplication::UnicodeUTF8));
00117 cancel_button->setShortcut(QApplication::translate("SetCameraData", "Alt+A", 0, QApplication::UnicodeUTF8));
00118 view_label->setText(QApplication::translate("SetCameraData", "View point", 0, QApplication::UnicodeUTF8));
00119 look_label->setText(QApplication::translate("SetCameraData", "Look at", 0, QApplication::UnicodeUTF8));
00120 look_x->setInputMask(QString());
00121 Q_UNUSED(SetCameraData);
00122 }
00123
00124 };
00125
00126 namespace Ui {
00127 class SetCameraData: public Ui_SetCameraData {};
00128 }
00129
00130 QT_END_NAMESPACE
00131
00132 #endif // SETCAMERADATA_H