00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_DLGSETTINGS3DVIEW_H
00011 #define UI_DLGSETTINGS3DVIEW_H
00012
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QComboBox>
00018 #include <QtGui/QFrame>
00019 #include <QtGui/QGridLayout>
00020 #include <QtGui/QGroupBox>
00021 #include <QtGui/QHBoxLayout>
00022 #include <QtGui/QHeaderView>
00023 #include <QtGui/QLabel>
00024 #include <QtGui/QPushButton>
00025 #include <QtGui/QSpacerItem>
00026 #include <QtGui/QWidget>
00027 #include "Gui/PrefWidgets.h"
00028 #include "Gui/Widgets.h"
00029
00030 namespace Gui {
00031 namespace Dialog {
00032
00033 class Ui_DlgSettings3DView
00034 {
00035 public:
00036 QGridLayout *gridLayout;
00037 QGroupBox *GroupBox12;
00038 QGridLayout *gridLayout_2;
00039 Gui::PrefCheckBox *CheckBox_CornerCoordSystem;
00040 Gui::PrefCheckBox *CheckBox_ShowFPS;
00041 Gui::PrefCheckBox *CheckBox_UseAutoRotation;
00042 QGridLayout *gridLayout2;
00043 QLabel *navigationLabel;
00044 QComboBox *comboNavigationStyle;
00045 QPushButton *mouseButton;
00046 QLabel *orbitLabel;
00047 QComboBox *comboOrbitStyle;
00048 Gui::PrefCheckBox *checkBoxInvertZoom;
00049 Gui::PrefCheckBox *checkBoxAntiAliasing;
00050 QFrame *line1;
00051 QHBoxLayout *eyedistanceLayout;
00052 QLabel *textLabel1;
00053 Gui::PrefDoubleSpinBox *FloatSpinBox_EyeDistance;
00054 QGridLayout *backlightLayout;
00055 Gui::PrefSlider *sliderIntensity;
00056 Gui::PrefColorButton *backlightColor;
00057 QLabel *backlightLabel;
00058 Gui::PrefCheckBox *checkBoxBacklight;
00059 QGroupBox *groupBoxCamera;
00060 QGridLayout *gridLayout1;
00061 Gui::PrefRadioButton *radioOrthographic;
00062 Gui::PrefRadioButton *radioPerspective;
00063 QSpacerItem *spacerItem;
00064
00065 void setupUi(QWidget *Gui__Dialog__DlgSettings3DView)
00066 {
00067 if (Gui__Dialog__DlgSettings3DView->objectName().isEmpty())
00068 Gui__Dialog__DlgSettings3DView->setObjectName(QString::fromUtf8("Gui__Dialog__DlgSettings3DView"));
00069 Gui__Dialog__DlgSettings3DView->resize(477, 442);
00070 gridLayout = new QGridLayout(Gui__Dialog__DlgSettings3DView);
00071 gridLayout->setSpacing(6);
00072 gridLayout->setMargin(11);
00073 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00074 GroupBox12 = new QGroupBox(Gui__Dialog__DlgSettings3DView);
00075 GroupBox12->setObjectName(QString::fromUtf8("GroupBox12"));
00076 gridLayout_2 = new QGridLayout(GroupBox12);
00077 gridLayout_2->setSpacing(6);
00078 gridLayout_2->setMargin(11);
00079 gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
00080 CheckBox_CornerCoordSystem = new Gui::PrefCheckBox(GroupBox12);
00081 CheckBox_CornerCoordSystem->setObjectName(QString::fromUtf8("CheckBox_CornerCoordSystem"));
00082 CheckBox_CornerCoordSystem->setChecked(true);
00083 CheckBox_CornerCoordSystem->setProperty("prefEntry", QVariant(QByteArray("CornerCoordSystem")));
00084 CheckBox_CornerCoordSystem->setProperty("prefPath", QVariant(QByteArray("View")));
00085
00086 gridLayout_2->addWidget(CheckBox_CornerCoordSystem, 0, 0, 1, 1);
00087
00088 CheckBox_ShowFPS = new Gui::PrefCheckBox(GroupBox12);
00089 CheckBox_ShowFPS->setObjectName(QString::fromUtf8("CheckBox_ShowFPS"));
00090 CheckBox_ShowFPS->setProperty("prefEntry", QVariant(QByteArray("ShowFPS")));
00091 CheckBox_ShowFPS->setProperty("prefPath", QVariant(QByteArray("View")));
00092
00093 gridLayout_2->addWidget(CheckBox_ShowFPS, 1, 0, 1, 1);
00094
00095 CheckBox_UseAutoRotation = new Gui::PrefCheckBox(GroupBox12);
00096 CheckBox_UseAutoRotation->setObjectName(QString::fromUtf8("CheckBox_UseAutoRotation"));
00097 CheckBox_UseAutoRotation->setEnabled(true);
00098 CheckBox_UseAutoRotation->setChecked(true);
00099 CheckBox_UseAutoRotation->setProperty("prefEntry", QVariant(QByteArray("UseAutoRotation")));
00100 CheckBox_UseAutoRotation->setProperty("prefPath", QVariant(QByteArray("View")));
00101
00102 gridLayout_2->addWidget(CheckBox_UseAutoRotation, 2, 0, 1, 1);
00103
00104 gridLayout2 = new QGridLayout();
00105 gridLayout2->setSpacing(6);
00106 gridLayout2->setObjectName(QString::fromUtf8("gridLayout2"));
00107 navigationLabel = new QLabel(GroupBox12);
00108 navigationLabel->setObjectName(QString::fromUtf8("navigationLabel"));
00109
00110 gridLayout2->addWidget(navigationLabel, 0, 0, 1, 1);
00111
00112 comboNavigationStyle = new QComboBox(GroupBox12);
00113 comboNavigationStyle->setObjectName(QString::fromUtf8("comboNavigationStyle"));
00114
00115 gridLayout2->addWidget(comboNavigationStyle, 0, 1, 1, 1);
00116
00117 mouseButton = new QPushButton(GroupBox12);
00118 mouseButton->setObjectName(QString::fromUtf8("mouseButton"));
00119 QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::Fixed);
00120 sizePolicy.setHorizontalStretch(0);
00121 sizePolicy.setVerticalStretch(0);
00122 sizePolicy.setHeightForWidth(mouseButton->sizePolicy().hasHeightForWidth());
00123 mouseButton->setSizePolicy(sizePolicy);
00124
00125 gridLayout2->addWidget(mouseButton, 0, 2, 1, 1);
00126
00127 orbitLabel = new QLabel(GroupBox12);
00128 orbitLabel->setObjectName(QString::fromUtf8("orbitLabel"));
00129
00130 gridLayout2->addWidget(orbitLabel, 1, 0, 1, 1);
00131
00132 comboOrbitStyle = new QComboBox(GroupBox12);
00133 comboOrbitStyle->setObjectName(QString::fromUtf8("comboOrbitStyle"));
00134
00135 gridLayout2->addWidget(comboOrbitStyle, 1, 1, 1, 1);
00136
00137
00138 gridLayout_2->addLayout(gridLayout2, 3, 0, 1, 1);
00139
00140 checkBoxInvertZoom = new Gui::PrefCheckBox(GroupBox12);
00141 checkBoxInvertZoom->setObjectName(QString::fromUtf8("checkBoxInvertZoom"));
00142 checkBoxInvertZoom->setProperty("prefEntry", QVariant(QByteArray("InvertZoom")));
00143 checkBoxInvertZoom->setProperty("prefPath", QVariant(QByteArray("View")));
00144
00145 gridLayout_2->addWidget(checkBoxInvertZoom, 4, 0, 1, 1);
00146
00147 checkBoxAntiAliasing = new Gui::PrefCheckBox(GroupBox12);
00148 checkBoxAntiAliasing->setObjectName(QString::fromUtf8("checkBoxAntiAliasing"));
00149 checkBoxAntiAliasing->setProperty("prefEntry", QVariant(QByteArray("UseAntialiasing")));
00150 checkBoxAntiAliasing->setProperty("prefPath", QVariant(QByteArray("View")));
00151
00152 gridLayout_2->addWidget(checkBoxAntiAliasing, 5, 0, 1, 1);
00153
00154 line1 = new QFrame(GroupBox12);
00155 line1->setObjectName(QString::fromUtf8("line1"));
00156 line1->setFrameShape(QFrame::HLine);
00157 line1->setFrameShadow(QFrame::Sunken);
00158 line1->setFrameShape(QFrame::HLine);
00159
00160 gridLayout_2->addWidget(line1, 6, 0, 1, 1);
00161
00162 eyedistanceLayout = new QHBoxLayout();
00163 eyedistanceLayout->setSpacing(6);
00164 eyedistanceLayout->setMargin(11);
00165 eyedistanceLayout->setObjectName(QString::fromUtf8("eyedistanceLayout"));
00166 textLabel1 = new QLabel(GroupBox12);
00167 textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
00168
00169 eyedistanceLayout->addWidget(textLabel1);
00170
00171 FloatSpinBox_EyeDistance = new Gui::PrefDoubleSpinBox(GroupBox12);
00172 FloatSpinBox_EyeDistance->setObjectName(QString::fromUtf8("FloatSpinBox_EyeDistance"));
00173 FloatSpinBox_EyeDistance->setDecimals(1);
00174 FloatSpinBox_EyeDistance->setMinimum(0.1);
00175 FloatSpinBox_EyeDistance->setMaximum(1000);
00176 FloatSpinBox_EyeDistance->setSingleStep(2);
00177 FloatSpinBox_EyeDistance->setValue(65);
00178 FloatSpinBox_EyeDistance->setProperty("prefEntry", QVariant(QByteArray("EyeDistance")));
00179 FloatSpinBox_EyeDistance->setProperty("prefPath", QVariant(QByteArray("View")));
00180
00181 eyedistanceLayout->addWidget(FloatSpinBox_EyeDistance);
00182
00183
00184 gridLayout_2->addLayout(eyedistanceLayout, 7, 0, 1, 1);
00185
00186 backlightLayout = new QGridLayout();
00187 backlightLayout->setSpacing(6);
00188 backlightLayout->setMargin(11);
00189 backlightLayout->setObjectName(QString::fromUtf8("backlightLayout"));
00190 sliderIntensity = new Gui::PrefSlider(GroupBox12);
00191 sliderIntensity->setObjectName(QString::fromUtf8("sliderIntensity"));
00192 sliderIntensity->setEnabled(false);
00193 QSizePolicy sizePolicy1(QSizePolicy::Fixed, QSizePolicy::Fixed);
00194 sizePolicy1.setHorizontalStretch(0);
00195 sizePolicy1.setVerticalStretch(0);
00196 sizePolicy1.setHeightForWidth(sliderIntensity->sizePolicy().hasHeightForWidth());
00197 sliderIntensity->setSizePolicy(sizePolicy1);
00198 sliderIntensity->setMaximum(100);
00199 sliderIntensity->setSingleStep(1);
00200 sliderIntensity->setValue(100);
00201 sliderIntensity->setOrientation(Qt::Horizontal);
00202 sliderIntensity->setTickPosition(QSlider::TicksBelow);
00203 sliderIntensity->setTickInterval(10);
00204 sliderIntensity->setProperty("prefEntry", QVariant(QByteArray("BacklightIntensity")));
00205 sliderIntensity->setProperty("prefPath", QVariant(QByteArray("View")));
00206
00207 backlightLayout->addWidget(sliderIntensity, 1, 1, 1, 1);
00208
00209 backlightColor = new Gui::PrefColorButton(GroupBox12);
00210 backlightColor->setObjectName(QString::fromUtf8("backlightColor"));
00211 backlightColor->setEnabled(false);
00212 backlightColor->setColor(QColor(255, 255, 255));
00213 backlightColor->setProperty("prefEntry", QVariant(QByteArray("BacklightColor")));
00214 backlightColor->setProperty("prefPath", QVariant(QByteArray("View")));
00215
00216 backlightLayout->addWidget(backlightColor, 0, 1, 1, 1);
00217
00218 backlightLabel = new QLabel(GroupBox12);
00219 backlightLabel->setObjectName(QString::fromUtf8("backlightLabel"));
00220
00221 backlightLayout->addWidget(backlightLabel, 1, 0, 1, 1);
00222
00223 checkBoxBacklight = new Gui::PrefCheckBox(GroupBox12);
00224 checkBoxBacklight->setObjectName(QString::fromUtf8("checkBoxBacklight"));
00225 checkBoxBacklight->setProperty("prefEntry", QVariant(QByteArray("EnableBacklight")));
00226 checkBoxBacklight->setProperty("prefPath", QVariant(QByteArray("View")));
00227
00228 backlightLayout->addWidget(checkBoxBacklight, 0, 0, 1, 1);
00229
00230
00231 gridLayout_2->addLayout(backlightLayout, 8, 0, 1, 1);
00232
00233
00234 gridLayout->addWidget(GroupBox12, 0, 0, 1, 1);
00235
00236 groupBoxCamera = new QGroupBox(Gui__Dialog__DlgSettings3DView);
00237 groupBoxCamera->setObjectName(QString::fromUtf8("groupBoxCamera"));
00238 gridLayout1 = new QGridLayout(groupBoxCamera);
00239 gridLayout1->setSpacing(6);
00240 gridLayout1->setMargin(11);
00241 gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
00242 radioOrthographic = new Gui::PrefRadioButton(groupBoxCamera);
00243 radioOrthographic->setObjectName(QString::fromUtf8("radioOrthographic"));
00244 radioOrthographic->setChecked(true);
00245 radioOrthographic->setProperty("prefEntry", QVariant(QByteArray("Orthographic")));
00246 radioOrthographic->setProperty("prefPath", QVariant(QByteArray("View")));
00247
00248 gridLayout1->addWidget(radioOrthographic, 0, 1, 1, 1);
00249
00250 radioPerspective = new Gui::PrefRadioButton(groupBoxCamera);
00251 radioPerspective->setObjectName(QString::fromUtf8("radioPerspective"));
00252 radioPerspective->setProperty("prefEntry", QVariant(QByteArray("Perspective")));
00253 radioPerspective->setProperty("prefPath", QVariant(QByteArray("View")));
00254
00255 gridLayout1->addWidget(radioPerspective, 0, 0, 1, 1);
00256
00257
00258 gridLayout->addWidget(groupBoxCamera, 1, 0, 1, 1);
00259
00260 spacerItem = new QSpacerItem(455, 16, QSizePolicy::Minimum, QSizePolicy::Expanding);
00261
00262 gridLayout->addItem(spacerItem, 2, 0, 1, 1);
00263
00264 QWidget::setTabOrder(CheckBox_CornerCoordSystem, CheckBox_ShowFPS);
00265 QWidget::setTabOrder(CheckBox_ShowFPS, CheckBox_UseAutoRotation);
00266 QWidget::setTabOrder(CheckBox_UseAutoRotation, comboNavigationStyle);
00267 QWidget::setTabOrder(comboNavigationStyle, mouseButton);
00268 QWidget::setTabOrder(mouseButton, comboOrbitStyle);
00269 QWidget::setTabOrder(comboOrbitStyle, checkBoxInvertZoom);
00270 QWidget::setTabOrder(checkBoxInvertZoom, checkBoxAntiAliasing);
00271 QWidget::setTabOrder(checkBoxAntiAliasing, FloatSpinBox_EyeDistance);
00272 QWidget::setTabOrder(FloatSpinBox_EyeDistance, checkBoxBacklight);
00273 QWidget::setTabOrder(checkBoxBacklight, backlightColor);
00274 QWidget::setTabOrder(backlightColor, sliderIntensity);
00275 QWidget::setTabOrder(sliderIntensity, radioPerspective);
00276 QWidget::setTabOrder(radioPerspective, radioOrthographic);
00277
00278 retranslateUi(Gui__Dialog__DlgSettings3DView);
00279 QObject::connect(checkBoxBacklight, SIGNAL(toggled(bool)), backlightColor, SLOT(setEnabled(bool)));
00280 QObject::connect(checkBoxBacklight, SIGNAL(toggled(bool)), sliderIntensity, SLOT(setEnabled(bool)));
00281
00282 comboNavigationStyle->setCurrentIndex(-1);
00283 comboOrbitStyle->setCurrentIndex(1);
00284
00285
00286 QMetaObject::connectSlotsByName(Gui__Dialog__DlgSettings3DView);
00287 }
00288
00289 void retranslateUi(QWidget *Gui__Dialog__DlgSettings3DView)
00290 {
00291 Gui__Dialog__DlgSettings3DView->setWindowTitle(QApplication::translate("Gui::Dialog::DlgSettings3DView", "3D View", 0, QApplication::UnicodeUTF8));
00292 GroupBox12->setTitle(QApplication::translate("Gui::Dialog::DlgSettings3DView", "3D View settings", 0, QApplication::UnicodeUTF8));
00293 CheckBox_CornerCoordSystem->setText(QApplication::translate("Gui::Dialog::DlgSettings3DView", "Show coordinate system in the corner", 0, QApplication::UnicodeUTF8));
00294 CheckBox_ShowFPS->setText(QApplication::translate("Gui::Dialog::DlgSettings3DView", "Show counter of frames per second", 0, QApplication::UnicodeUTF8));
00295 CheckBox_UseAutoRotation->setText(QApplication::translate("Gui::Dialog::DlgSettings3DView", "Enable animation", 0, QApplication::UnicodeUTF8));
00296 navigationLabel->setText(QApplication::translate("Gui::Dialog::DlgSettings3DView", "3D Navigation", 0, QApplication::UnicodeUTF8));
00297 mouseButton->setText(QApplication::translate("Gui::Dialog::DlgSettings3DView", "Mouse...", 0, QApplication::UnicodeUTF8));
00298 orbitLabel->setText(QApplication::translate("Gui::Dialog::DlgSettings3DView", "Orbit style", 0, QApplication::UnicodeUTF8));
00299 comboOrbitStyle->clear();
00300 comboOrbitStyle->insertItems(0, QStringList()
00301 << QApplication::translate("Gui::Dialog::DlgSettings3DView", "Turntable", 0, QApplication::UnicodeUTF8)
00302 << QApplication::translate("Gui::Dialog::DlgSettings3DView", "Trackball", 0, QApplication::UnicodeUTF8)
00303 );
00304 checkBoxInvertZoom->setText(QApplication::translate("Gui::Dialog::DlgSettings3DView", "Invert zoom", 0, QApplication::UnicodeUTF8));
00305 checkBoxAntiAliasing->setText(QApplication::translate("Gui::Dialog::DlgSettings3DView", "Enable anti-aliasing (slower)", 0, QApplication::UnicodeUTF8));
00306 textLabel1->setText(QApplication::translate("Gui::Dialog::DlgSettings3DView", "Eye to eye distance for stereo modes:", 0, QApplication::UnicodeUTF8));
00307 backlightLabel->setText(QApplication::translate("Gui::Dialog::DlgSettings3DView", "Intensity of backlight", 0, QApplication::UnicodeUTF8));
00308 checkBoxBacklight->setText(QApplication::translate("Gui::Dialog::DlgSettings3DView", "Enable backlight color", 0, QApplication::UnicodeUTF8));
00309 groupBoxCamera->setTitle(QApplication::translate("Gui::Dialog::DlgSettings3DView", "Camera type", 0, QApplication::UnicodeUTF8));
00310 radioOrthographic->setText(QApplication::translate("Gui::Dialog::DlgSettings3DView", "Orthographic rendering", 0, QApplication::UnicodeUTF8));
00311 radioPerspective->setText(QApplication::translate("Gui::Dialog::DlgSettings3DView", "Perspective rendering", 0, QApplication::UnicodeUTF8));
00312 Q_UNUSED(Gui__Dialog__DlgSettings3DView);
00313 }
00314
00315 };
00316
00317 }
00318 }
00319
00320 namespace Gui {
00321 namespace Dialog {
00322 namespace Ui {
00323 class DlgSettings3DView: public Ui_DlgSettings3DView {};
00324 }
00325 }
00326 }
00327
00328 #endif // UI_DLGSETTINGS3DVIEW_H