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