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 class Ui_SetCameraData
00024 {
00025 public:
00026 QLineEdit *look_z;
00027 QLineEdit *look_y;
00028 QPushButton *ok_button;
00029 QPushButton *cancel_button;
00030 QLineEdit *view_x;
00031 QLineEdit *view_y;
00032 QLineEdit *view_z;
00033 QLabel *view_label;
00034 QLabel *look_label;
00035 QLineEdit *look_x;
00036
00037 void setupUi(QDialog *SetCameraData)
00038 {
00039 SetCameraData->setObjectName(QString::fromUtf8("SetCameraData"));
00040 SetCameraData->setMinimumSize(QSize(350, 0));
00041 SetCameraData->setMaximumSize(QSize(350, 32767));
00042 look_z = new QLineEdit(SetCameraData);
00043 look_z->setObjectName(QString::fromUtf8("look_z"));
00044 look_z->setGeometry(QRect(272, 36, 68, 23));
00045 look_y = new QLineEdit(SetCameraData);
00046 look_y->setObjectName(QString::fromUtf8("look_y"));
00047 look_y->setGeometry(QRect(193, 36, 68, 23));
00048 ok_button = new QPushButton(SetCameraData);
00049 ok_button->setObjectName(QString::fromUtf8("ok_button"));
00050 ok_button->setGeometry(QRect(12, 76, 162, 30));
00051 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(0));
00052 sizePolicy.setHorizontalStretch(0);
00053 sizePolicy.setVerticalStretch(0);
00054 sizePolicy.setHeightForWidth(ok_button->sizePolicy().hasHeightForWidth());
00055 ok_button->setSizePolicy(sizePolicy);
00056 ok_button->setMinimumSize(QSize(0, 30));
00057 ok_button->setMaximumSize(QSize(32767, 30));
00058 ok_button->setDefault(true);
00059 cancel_button = new QPushButton(SetCameraData);
00060 cancel_button->setObjectName(QString::fromUtf8("cancel_button"));
00061 cancel_button->setGeometry(QRect(180, 76, 161, 30));
00062 QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(0));
00063 sizePolicy1.setHorizontalStretch(0);
00064 sizePolicy1.setVerticalStretch(0);
00065 sizePolicy1.setHeightForWidth(cancel_button->sizePolicy().hasHeightForWidth());
00066 cancel_button->setSizePolicy(sizePolicy1);
00067 cancel_button->setMinimumSize(QSize(0, 30));
00068 cancel_button->setMaximumSize(QSize(32767, 30));
00069 view_x = new QLineEdit(SetCameraData);
00070 view_x->setObjectName(QString::fromUtf8("view_x"));
00071 view_x->setGeometry(QRect(113, 8, 68, 23));
00072 view_y = new QLineEdit(SetCameraData);
00073 view_y->setObjectName(QString::fromUtf8("view_y"));
00074 view_y->setGeometry(QRect(193, 7, 68, 23));
00075 view_z = new QLineEdit(SetCameraData);
00076 view_z->setObjectName(QString::fromUtf8("view_z"));
00077 view_z->setGeometry(QRect(272, 7, 68, 23));
00078 view_label = new QLabel(SetCameraData);
00079 view_label->setObjectName(QString::fromUtf8("view_label"));
00080 view_label->setGeometry(QRect(6, 10, 101, 21));
00081 look_label = new QLabel(SetCameraData);
00082 look_label->setObjectName(QString::fromUtf8("look_label"));
00083 look_label->setGeometry(QRect(8, 40, 96, 21));
00084 look_x = new QLineEdit(SetCameraData);
00085 look_x->setObjectName(QString::fromUtf8("look_x"));
00086 look_x->setGeometry(QRect(113, 37, 68, 23));
00087 QWidget::setTabOrder(view_x, view_y);
00088 QWidget::setTabOrder(view_y, view_z);
00089 QWidget::setTabOrder(view_z, look_x);
00090 QWidget::setTabOrder(look_x, look_y);
00091 QWidget::setTabOrder(look_y, look_z);
00092 QWidget::setTabOrder(look_z, ok_button);
00093 QWidget::setTabOrder(ok_button, cancel_button);
00094
00095 retranslateUi(SetCameraData);
00096
00097 QSize size(350, 112);
00098 size = size.expandedTo(SetCameraData->minimumSizeHint());
00099 SetCameraData->resize(size);
00100
00101
00102 QMetaObject::connectSlotsByName(SetCameraData);
00103 }
00104
00105 void retranslateUi(QDialog *SetCameraData)
00106 {
00107 SetCameraData->setWindowTitle(QApplication::translate("SetCameraData", "Set Camera", 0, QApplication::UnicodeUTF8));
00108 ok_button->setToolTip(QApplication::translate("SetCameraData", "Set camera to new coordinates", 0, QApplication::UnicodeUTF8));
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 cancel_button->setToolTip(QApplication::translate("SetCameraData", "Close window without reseting camera", 0, QApplication::UnicodeUTF8));
00112 cancel_button->setText(QApplication::translate("SetCameraData", "C&ancel", 0, QApplication::UnicodeUTF8));
00113 cancel_button->setShortcut(QApplication::translate("SetCameraData", "Alt+A", 0, QApplication::UnicodeUTF8));
00114 view_label->setText(QApplication::translate("SetCameraData", "View point", 0, QApplication::UnicodeUTF8));
00115 look_label->setText(QApplication::translate("SetCameraData", "Look at", 0, QApplication::UnicodeUTF8));
00116 look_x->setInputMask(QString());
00117 Q_UNUSED(SetCameraData);
00118 }
00119
00120 };
00121
00122 namespace Ui {
00123 class SetCameraData: public Ui_SetCameraData {};
00124 }
00125
00126 #endif // SETCAMERADATA_H