00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef STEREOSETTINGSDIALOGDATA_H
00011 #define STEREOSETTINGSDIALOGDATA_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/QGroupBox>
00020 #include <QtGui/QHBoxLayout>
00021 #include <QtGui/QLabel>
00022 #include <QtGui/QLineEdit>
00023 #include <QtGui/QPushButton>
00024 #include <QtGui/QVBoxLayout>
00025
00026 QT_BEGIN_NAMESPACE
00027
00028 class Ui_StereoSettingsDialogData
00029 {
00030 public:
00031 QVBoxLayout *vboxLayout;
00032 QGroupBox *groupBox;
00033 QLabel *view_label_2;
00034 QLabel *view_label_6;
00035 QLineEdit *screen_height;
00036 QLineEdit *screen_width;
00037 QLabel *view_label_4;
00038 QLabel *view_label_5;
00039 QGroupBox *groupBox_2;
00040 QLineEdit *viewer_height;
00041 QLabel *view_label_9;
00042 QLabel *view_label_10;
00043 QLabel *view_label_8;
00044 QLineEdit *viewer_distance_from_screen;
00045 QLabel *view_label_7;
00046 QGroupBox *groupBox_3;
00047 QLabel *view_label_11;
00048 QLabel *view_label_12;
00049 QLineEdit *eye_separation;
00050 QLabel *view_label_14;
00051 QLineEdit *focal_distance;
00052 QLabel *view_label_13;
00053 QPushButton *reset_to_standard_button;
00054 QHBoxLayout *hboxLayout;
00055 QPushButton *ok_button;
00056 QPushButton *apply_button;
00057 QPushButton *cancel_button;
00058
00059 void setupUi(QDialog *StereoSettingsDialogData)
00060 {
00061 if (StereoSettingsDialogData->objectName().isEmpty())
00062 StereoSettingsDialogData->setObjectName(QString::fromUtf8("StereoSettingsDialogData"));
00063 StereoSettingsDialogData->resize(350, 415);
00064 StereoSettingsDialogData->setMinimumSize(QSize(350, 0));
00065 StereoSettingsDialogData->setMaximumSize(QSize(350, 32767));
00066 vboxLayout = new QVBoxLayout(StereoSettingsDialogData);
00067 vboxLayout->setSpacing(6);
00068 vboxLayout->setMargin(9);
00069 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
00070 groupBox = new QGroupBox(StereoSettingsDialogData);
00071 groupBox->setObjectName(QString::fromUtf8("groupBox"));
00072 groupBox->setEnabled(false);
00073 view_label_2 = new QLabel(groupBox);
00074 view_label_2->setObjectName(QString::fromUtf8("view_label_2"));
00075 view_label_2->setGeometry(QRect(21, 21, 40, 18));
00076 view_label_6 = new QLabel(groupBox);
00077 view_label_6->setObjectName(QString::fromUtf8("view_label_6"));
00078 view_label_6->setGeometry(QRect(21, 44, 40, 18));
00079 screen_height = new QLineEdit(groupBox);
00080 screen_height->setObjectName(QString::fromUtf8("screen_height"));
00081 screen_height->setGeometry(QRect(191, 19, 71, 23));
00082 screen_width = new QLineEdit(groupBox);
00083 screen_width->setObjectName(QString::fromUtf8("screen_width"));
00084 screen_width->setGeometry(QRect(191, 49, 71, 23));
00085 view_label_4 = new QLabel(groupBox);
00086 view_label_4->setObjectName(QString::fromUtf8("view_label_4"));
00087 view_label_4->setGeometry(QRect(281, 21, 18, 18));
00088 view_label_5 = new QLabel(groupBox);
00089 view_label_5->setObjectName(QString::fromUtf8("view_label_5"));
00090 view_label_5->setGeometry(QRect(281, 44, 18, 18));
00091
00092 vboxLayout->addWidget(groupBox);
00093
00094 groupBox_2 = new QGroupBox(StereoSettingsDialogData);
00095 groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
00096 groupBox_2->setEnabled(false);
00097 viewer_height = new QLineEdit(groupBox_2);
00098 viewer_height->setObjectName(QString::fromUtf8("viewer_height"));
00099 viewer_height->setGeometry(QRect(190, 50, 71, 23));
00100 view_label_9 = new QLabel(groupBox_2);
00101 view_label_9->setObjectName(QString::fromUtf8("view_label_9"));
00102 view_label_9->setGeometry(QRect(280, 20, 21, 21));
00103 view_label_10 = new QLabel(groupBox_2);
00104 view_label_10->setObjectName(QString::fromUtf8("view_label_10"));
00105 view_label_10->setGeometry(QRect(280, 50, 21, 21));
00106 view_label_8 = new QLabel(groupBox_2);
00107 view_label_8->setObjectName(QString::fromUtf8("view_label_8"));
00108 view_label_8->setGeometry(QRect(20, 50, 161, 21));
00109 viewer_distance_from_screen = new QLineEdit(groupBox_2);
00110 viewer_distance_from_screen->setObjectName(QString::fromUtf8("viewer_distance_from_screen"));
00111 viewer_distance_from_screen->setGeometry(QRect(190, 18, 71, 23));
00112 view_label_7 = new QLabel(groupBox_2);
00113 view_label_7->setObjectName(QString::fromUtf8("view_label_7"));
00114 view_label_7->setGeometry(QRect(20, 20, 141, 21));
00115
00116 vboxLayout->addWidget(groupBox_2);
00117
00118 groupBox_3 = new QGroupBox(StereoSettingsDialogData);
00119 groupBox_3->setObjectName(QString::fromUtf8("groupBox_3"));
00120 view_label_11 = new QLabel(groupBox_3);
00121 view_label_11->setObjectName(QString::fromUtf8("view_label_11"));
00122 view_label_11->setGeometry(QRect(20, 50, 161, 21));
00123 view_label_12 = new QLabel(groupBox_3);
00124 view_label_12->setObjectName(QString::fromUtf8("view_label_12"));
00125 view_label_12->setGeometry(QRect(280, 20, 21, 21));
00126 eye_separation = new QLineEdit(groupBox_3);
00127 eye_separation->setObjectName(QString::fromUtf8("eye_separation"));
00128 eye_separation->setGeometry(QRect(190, 50, 71, 23));
00129 view_label_14 = new QLabel(groupBox_3);
00130 view_label_14->setObjectName(QString::fromUtf8("view_label_14"));
00131 view_label_14->setGeometry(QRect(20, 20, 141, 21));
00132 focal_distance = new QLineEdit(groupBox_3);
00133 focal_distance->setObjectName(QString::fromUtf8("focal_distance"));
00134 focal_distance->setGeometry(QRect(190, 18, 71, 23));
00135 view_label_13 = new QLabel(groupBox_3);
00136 view_label_13->setObjectName(QString::fromUtf8("view_label_13"));
00137 view_label_13->setGeometry(QRect(280, 50, 21, 21));
00138 reset_to_standard_button = new QPushButton(groupBox_3);
00139 reset_to_standard_button->setObjectName(QString::fromUtf8("reset_to_standard_button"));
00140 reset_to_standard_button->setGeometry(QRect(10, 80, 181, 28));
00141
00142 vboxLayout->addWidget(groupBox_3);
00143
00144 hboxLayout = new QHBoxLayout();
00145 hboxLayout->setSpacing(6);
00146 hboxLayout->setMargin(0);
00147 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00148 ok_button = new QPushButton(StereoSettingsDialogData);
00149 ok_button->setObjectName(QString::fromUtf8("ok_button"));
00150 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(0));
00151 sizePolicy.setHorizontalStretch(0);
00152 sizePolicy.setVerticalStretch(0);
00153 sizePolicy.setHeightForWidth(ok_button->sizePolicy().hasHeightForWidth());
00154 ok_button->setSizePolicy(sizePolicy);
00155 ok_button->setMinimumSize(QSize(0, 30));
00156 ok_button->setMaximumSize(QSize(32767, 30));
00157 ok_button->setDefault(true);
00158
00159 hboxLayout->addWidget(ok_button);
00160
00161 apply_button = new QPushButton(StereoSettingsDialogData);
00162 apply_button->setObjectName(QString::fromUtf8("apply_button"));
00163
00164 hboxLayout->addWidget(apply_button);
00165
00166 cancel_button = new QPushButton(StereoSettingsDialogData);
00167 cancel_button->setObjectName(QString::fromUtf8("cancel_button"));
00168 sizePolicy.setHeightForWidth(cancel_button->sizePolicy().hasHeightForWidth());
00169 cancel_button->setSizePolicy(sizePolicy);
00170 cancel_button->setMinimumSize(QSize(0, 30));
00171 cancel_button->setMaximumSize(QSize(32767, 30));
00172
00173 hboxLayout->addWidget(cancel_button);
00174
00175
00176 vboxLayout->addLayout(hboxLayout);
00177
00178 QWidget::setTabOrder(screen_height, screen_width);
00179 QWidget::setTabOrder(screen_width, ok_button);
00180 QWidget::setTabOrder(ok_button, cancel_button);
00181
00182 retranslateUi(StereoSettingsDialogData);
00183
00184 QMetaObject::connectSlotsByName(StereoSettingsDialogData);
00185 }
00186
00187 void retranslateUi(QDialog *StereoSettingsDialogData)
00188 {
00189 StereoSettingsDialogData->setWindowTitle(QApplication::translate("StereoSettingsDialogData", "Set Camera", 0, QApplication::UnicodeUTF8));
00190 groupBox->setTitle(QApplication::translate("StereoSettingsDialogData", "Screen Size", 0, QApplication::UnicodeUTF8));
00191 view_label_2->setText(QApplication::translate("StereoSettingsDialogData", "height", 0, QApplication::UnicodeUTF8));
00192 view_label_6->setText(QApplication::translate("StereoSettingsDialogData", "width", 0, QApplication::UnicodeUTF8));
00193 view_label_4->setText(QApplication::translate("StereoSettingsDialogData", "cm", 0, QApplication::UnicodeUTF8));
00194 view_label_5->setText(QApplication::translate("StereoSettingsDialogData", "cm", 0, QApplication::UnicodeUTF8));
00195 groupBox_2->setTitle(QApplication::translate("StereoSettingsDialogData", "Viewer Position", 0, QApplication::UnicodeUTF8));
00196 view_label_9->setText(QApplication::translate("StereoSettingsDialogData", "cm", 0, QApplication::UnicodeUTF8));
00197 view_label_10->setText(QApplication::translate("StereoSettingsDialogData", "cm", 0, QApplication::UnicodeUTF8));
00198 view_label_8->setText(QApplication::translate("StereoSettingsDialogData", "height relative to screen", 0, QApplication::UnicodeUTF8));
00199 view_label_7->setText(QApplication::translate("StereoSettingsDialogData", "distance from screen", 0, QApplication::UnicodeUTF8));
00200 groupBox_3->setTitle(QApplication::translate("StereoSettingsDialogData", "Stereo Settings", 0, QApplication::UnicodeUTF8));
00201 view_label_11->setText(QApplication::translate("StereoSettingsDialogData", "eye separation", 0, QApplication::UnicodeUTF8));
00202 view_label_12->setText(QApplication::translate("StereoSettingsDialogData", "A", 0, QApplication::UnicodeUTF8));
00203 view_label_14->setText(QApplication::translate("StereoSettingsDialogData", "focal distance", 0, QApplication::UnicodeUTF8));
00204 view_label_13->setText(QApplication::translate("StereoSettingsDialogData", "A", 0, QApplication::UnicodeUTF8));
00205 reset_to_standard_button->setText(QApplication::translate("StereoSettingsDialogData", "Reset to Standard", 0, QApplication::UnicodeUTF8));
00206
00207 #ifndef QT_NO_TOOLTIP
00208 ok_button->setToolTip(QApplication::translate("StereoSettingsDialogData", "Set camera to new coordinates", 0, QApplication::UnicodeUTF8));
00209 #endif // QT_NO_TOOLTIP
00210
00211 ok_button->setText(QApplication::translate("StereoSettingsDialogData", "O&K", 0, QApplication::UnicodeUTF8));
00212 ok_button->setShortcut(QApplication::translate("StereoSettingsDialogData", "Alt+K", 0, QApplication::UnicodeUTF8));
00213 apply_button->setText(QApplication::translate("StereoSettingsDialogData", "&Apply", 0, QApplication::UnicodeUTF8));
00214
00215 #ifndef QT_NO_TOOLTIP
00216 cancel_button->setToolTip(QApplication::translate("StereoSettingsDialogData", "Close window without reseting camera", 0, QApplication::UnicodeUTF8));
00217 #endif // QT_NO_TOOLTIP
00218
00219 cancel_button->setText(QApplication::translate("StereoSettingsDialogData", "C&ancel", 0, QApplication::UnicodeUTF8));
00220 cancel_button->setShortcut(QApplication::translate("StereoSettingsDialogData", "Alt+A", 0, QApplication::UnicodeUTF8));
00221 Q_UNUSED(StereoSettingsDialogData);
00222 }
00223
00224 };
00225
00226 namespace Ui {
00227 class StereoSettingsDialogData: public Ui_StereoSettingsDialogData {};
00228 }
00229
00230 QT_END_NAMESPACE
00231
00232 #endif // STEREOSETTINGSDIALOGDATA_H