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 QT_BEGIN_NAMESPACE
00024
00025 class Ui_SetClippingData
00026 {
00027 public:
00028 QLineEdit *look_z;
00029 QLineEdit *look_y;
00030 QPushButton *cancel_button;
00031 QLineEdit *view_x;
00032 QLineEdit *view_y;
00033 QLineEdit *view_z;
00034 QLineEdit *look_x;
00035 QLabel *view_label;
00036 QLabel *look_label;
00037 QPushButton *ok_button;
00038
00039 void setupUi(QDialog *SetClippingData)
00040 {
00041 if (SetClippingData->objectName().isEmpty())
00042 SetClippingData->setObjectName(QString::fromUtf8("SetClippingData"));
00043 SetClippingData->resize(350, 112);
00044 SetClippingData->setMinimumSize(QSize(350, 0));
00045 SetClippingData->setMaximumSize(QSize(350, 32767));
00046 look_z = new QLineEdit(SetClippingData);
00047 look_z->setObjectName(QString::fromUtf8("look_z"));
00048 look_z->setGeometry(QRect(272, 36, 68, 23));
00049 look_y = new QLineEdit(SetClippingData);
00050 look_y->setObjectName(QString::fromUtf8("look_y"));
00051 look_y->setGeometry(QRect(193, 36, 68, 23));
00052 cancel_button = new QPushButton(SetClippingData);
00053 cancel_button->setObjectName(QString::fromUtf8("cancel_button"));
00054 cancel_button->setGeometry(QRect(180, 76, 161, 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(cancel_button->sizePolicy().hasHeightForWidth());
00059 cancel_button->setSizePolicy(sizePolicy);
00060 cancel_button->setMinimumSize(QSize(0, 30));
00061 cancel_button->setMaximumSize(QSize(32767, 30));
00062 view_x = new QLineEdit(SetClippingData);
00063 view_x->setObjectName(QString::fromUtf8("view_x"));
00064 view_x->setGeometry(QRect(113, 8, 68, 23));
00065 view_y = new QLineEdit(SetClippingData);
00066 view_y->setObjectName(QString::fromUtf8("view_y"));
00067 view_y->setGeometry(QRect(193, 7, 68, 23));
00068 view_z = new QLineEdit(SetClippingData);
00069 view_z->setObjectName(QString::fromUtf8("view_z"));
00070 view_z->setGeometry(QRect(272, 7, 68, 23));
00071 look_x = new QLineEdit(SetClippingData);
00072 look_x->setObjectName(QString::fromUtf8("look_x"));
00073 look_x->setGeometry(QRect(113, 37, 68, 23));
00074 view_label = new QLabel(SetClippingData);
00075 view_label->setObjectName(QString::fromUtf8("view_label"));
00076 view_label->setGeometry(QRect(6, 10, 101, 21));
00077 look_label = new QLabel(SetClippingData);
00078 look_label->setObjectName(QString::fromUtf8("look_label"));
00079 look_label->setGeometry(QRect(8, 40, 96, 21));
00080 ok_button = new QPushButton(SetClippingData);
00081 ok_button->setObjectName(QString::fromUtf8("ok_button"));
00082 ok_button->setGeometry(QRect(12, 76, 162, 30));
00083 sizePolicy.setHeightForWidth(ok_button->sizePolicy().hasHeightForWidth());
00084 ok_button->setSizePolicy(sizePolicy);
00085 ok_button->setMinimumSize(QSize(0, 30));
00086 ok_button->setMaximumSize(QSize(32767, 30));
00087 ok_button->setDefault(true);
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(SetClippingData);
00097
00098 QMetaObject::connectSlotsByName(SetClippingData);
00099 }
00100
00101 void retranslateUi(QDialog *SetClippingData)
00102 {
00103 SetClippingData->setWindowTitle(QApplication::translate("SetClippingData", "Set clipping plane position", 0, QApplication::UnicodeUTF8));
00104
00105 #ifndef QT_NO_TOOLTIP
00106 cancel_button->setToolTip(QApplication::translate("SetClippingData", "Close window without reseting camera", 0, QApplication::UnicodeUTF8));
00107 #endif // QT_NO_TOOLTIP
00108
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
00115 #ifndef QT_NO_TOOLTIP
00116 ok_button->setToolTip(QApplication::translate("SetClippingData", "Set camera to new coordinates", 0, QApplication::UnicodeUTF8));
00117 #endif // QT_NO_TOOLTIP
00118
00119 ok_button->setText(QApplication::translate("SetClippingData", "O&K", 0, QApplication::UnicodeUTF8));
00120 ok_button->setShortcut(QApplication::translate("SetClippingData", "Alt+K", 0, QApplication::UnicodeUTF8));
00121 Q_UNUSED(SetClippingData);
00122 }
00123
00124 };
00125
00126 namespace Ui {
00127 class SetClippingData: public Ui_SetClippingData {};
00128 }
00129
00130 QT_END_NAMESPACE
00131
00132 #endif // SETCLIPPINGPLANEDATA_H