00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_DLGSETTINGSRAY_H
00011 #define UI_DLGSETTINGSRAY_H
00012
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QGridLayout>
00018 #include <QtGui/QGroupBox>
00019 #include <QtGui/QHBoxLayout>
00020 #include <QtGui/QHeaderView>
00021 #include <QtGui/QLabel>
00022 #include <QtGui/QSpacerItem>
00023 #include <QtGui/QVBoxLayout>
00024 #include <QtGui/QWidget>
00025 #include "Gui/PrefWidgets.h"
00026
00027 namespace RaytracingGui {
00028
00029 class Ui_DlgSettingsRay
00030 {
00031 public:
00032 QGridLayout *gridLayout;
00033 QGroupBox *groupBox5;
00034 QVBoxLayout *vboxLayout;
00035 QHBoxLayout *hboxLayout;
00036 QLabel *textLabel2;
00037 Gui::PrefDoubleSpinBox *prefFloatSpinBox1;
00038 Gui::PrefCheckBox *prefCheckBox8;
00039 Gui::PrefCheckBox *prefCheckBox9;
00040 QGroupBox *GroupBox12;
00041 QGridLayout *gridLayout1;
00042 QGridLayout *gridLayout2;
00043 QLabel *textLabel1_3;
00044 QLabel *textLabel1_2;
00045 Gui::PrefFileChooser *prefFileChooser1;
00046 QLabel *textLabel1;
00047 Gui::PrefLineEdit *prefLineEdit2;
00048 Gui::PrefLineEdit *prefLineEdit3;
00049 QSpacerItem *spacerItem;
00050
00051 void setupUi(QWidget *RaytracingGui__DlgSettingsRay)
00052 {
00053 if (RaytracingGui__DlgSettingsRay->objectName().isEmpty())
00054 RaytracingGui__DlgSettingsRay->setObjectName(QString::fromUtf8("RaytracingGui__DlgSettingsRay"));
00055 RaytracingGui__DlgSettingsRay->resize(555, 311);
00056 gridLayout = new QGridLayout(RaytracingGui__DlgSettingsRay);
00057 gridLayout->setSpacing(6);
00058 gridLayout->setMargin(9);
00059 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00060 groupBox5 = new QGroupBox(RaytracingGui__DlgSettingsRay);
00061 groupBox5->setObjectName(QString::fromUtf8("groupBox5"));
00062 vboxLayout = new QVBoxLayout(groupBox5);
00063 vboxLayout->setSpacing(6);
00064 vboxLayout->setMargin(10);
00065 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
00066 hboxLayout = new QHBoxLayout();
00067 hboxLayout->setSpacing(6);
00068 hboxLayout->setMargin(0);
00069 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00070 textLabel2 = new QLabel(groupBox5);
00071 textLabel2->setObjectName(QString::fromUtf8("textLabel2"));
00072 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(1), static_cast<QSizePolicy::Policy>(5));
00073 sizePolicy.setHorizontalStretch(0);
00074 sizePolicy.setVerticalStretch(0);
00075 sizePolicy.setHeightForWidth(textLabel2->sizePolicy().hasHeightForWidth());
00076 textLabel2->setSizePolicy(sizePolicy);
00077
00078 hboxLayout->addWidget(textLabel2);
00079
00080 prefFloatSpinBox1 = new Gui::PrefDoubleSpinBox(groupBox5);
00081 prefFloatSpinBox1->setObjectName(QString::fromUtf8("prefFloatSpinBox1"));
00082 QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(3), static_cast<QSizePolicy::Policy>(0));
00083 sizePolicy1.setHorizontalStretch(0);
00084 sizePolicy1.setVerticalStretch(0);
00085 sizePolicy1.setHeightForWidth(prefFloatSpinBox1->sizePolicy().hasHeightForWidth());
00086 prefFloatSpinBox1->setSizePolicy(sizePolicy1);
00087 prefFloatSpinBox1->setValue(0.1);
00088 prefFloatSpinBox1->setProperty("prefEntry", QVariant(QByteArray("MeshDeviation")));
00089 prefFloatSpinBox1->setProperty("prefPath", QVariant(QByteArray("Mod/Raytracing")));
00090
00091 hboxLayout->addWidget(prefFloatSpinBox1);
00092
00093
00094 vboxLayout->addLayout(hboxLayout);
00095
00096 prefCheckBox8 = new Gui::PrefCheckBox(groupBox5);
00097 prefCheckBox8->setObjectName(QString::fromUtf8("prefCheckBox8"));
00098 prefCheckBox8->setProperty("prefEntry", QVariant(QByteArray("NotWriteVertexNormals")));
00099 prefCheckBox8->setProperty("prefPath", QVariant(QByteArray("Mod/Raytracing")));
00100
00101 vboxLayout->addWidget(prefCheckBox8);
00102
00103 prefCheckBox9 = new Gui::PrefCheckBox(groupBox5);
00104 prefCheckBox9->setObjectName(QString::fromUtf8("prefCheckBox9"));
00105 prefCheckBox9->setProperty("prefEntry", QVariant(QByteArray("WriteUVCoordinates")));
00106 prefCheckBox9->setProperty("prefPath", QVariant(QByteArray("Mod/Raytracing")));
00107
00108 vboxLayout->addWidget(prefCheckBox9);
00109
00110
00111 gridLayout->addWidget(groupBox5, 1, 0, 1, 1);
00112
00113 GroupBox12 = new QGroupBox(RaytracingGui__DlgSettingsRay);
00114 GroupBox12->setObjectName(QString::fromUtf8("GroupBox12"));
00115 gridLayout1 = new QGridLayout(GroupBox12);
00116 gridLayout1->setSpacing(6);
00117 gridLayout1->setMargin(9);
00118 gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
00119 gridLayout2 = new QGridLayout();
00120 gridLayout2->setSpacing(6);
00121 gridLayout2->setMargin(0);
00122 gridLayout2->setObjectName(QString::fromUtf8("gridLayout2"));
00123 textLabel1_3 = new QLabel(GroupBox12);
00124 textLabel1_3->setObjectName(QString::fromUtf8("textLabel1_3"));
00125
00126 gridLayout2->addWidget(textLabel1_3, 2, 0, 1, 1);
00127
00128 textLabel1_2 = new QLabel(GroupBox12);
00129 textLabel1_2->setObjectName(QString::fromUtf8("textLabel1_2"));
00130
00131 gridLayout2->addWidget(textLabel1_2, 1, 0, 1, 1);
00132
00133 prefFileChooser1 = new Gui::PrefFileChooser(GroupBox12);
00134 prefFileChooser1->setObjectName(QString::fromUtf8("prefFileChooser1"));
00135 prefFileChooser1->setFocusPolicy(Qt::StrongFocus);
00136 prefFileChooser1->setMode(Gui::FileChooser::Directory);
00137 prefFileChooser1->setProperty("prefEntry", QVariant(QByteArray("ProjectPath")));
00138 prefFileChooser1->setProperty("prefPath", QVariant(QByteArray("Mod/Raytracing")));
00139
00140 gridLayout2->addWidget(prefFileChooser1, 0, 1, 1, 1);
00141
00142 textLabel1 = new QLabel(GroupBox12);
00143 textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
00144
00145 gridLayout2->addWidget(textLabel1, 0, 0, 1, 1);
00146
00147 prefLineEdit2 = new Gui::PrefLineEdit(GroupBox12);
00148 prefLineEdit2->setObjectName(QString::fromUtf8("prefLineEdit2"));
00149 prefLineEdit2->setProperty("prefEntry", QVariant(QByteArray("CameraName")));
00150 prefLineEdit2->setProperty("prefPath", QVariant(QByteArray("Mod/Raytracing")));
00151
00152 gridLayout2->addWidget(prefLineEdit2, 1, 1, 1, 1);
00153
00154 prefLineEdit3 = new Gui::PrefLineEdit(GroupBox12);
00155 prefLineEdit3->setObjectName(QString::fromUtf8("prefLineEdit3"));
00156 prefLineEdit3->setProperty("prefEntry", QVariant(QByteArray("PartName")));
00157 prefLineEdit3->setProperty("prefPath", QVariant(QByteArray("Mod/Raytracing")));
00158
00159 gridLayout2->addWidget(prefLineEdit3, 2, 1, 1, 1);
00160
00161
00162 gridLayout1->addLayout(gridLayout2, 0, 0, 1, 1);
00163
00164
00165 gridLayout->addWidget(GroupBox12, 0, 0, 1, 1);
00166
00167 spacerItem = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
00168
00169 gridLayout->addItem(spacerItem, 2, 0, 1, 1);
00170
00171 QWidget::setTabOrder(prefFileChooser1, prefLineEdit2);
00172 QWidget::setTabOrder(prefLineEdit2, prefLineEdit3);
00173 QWidget::setTabOrder(prefLineEdit3, prefFloatSpinBox1);
00174 QWidget::setTabOrder(prefFloatSpinBox1, prefCheckBox8);
00175 QWidget::setTabOrder(prefCheckBox8, prefCheckBox9);
00176
00177 retranslateUi(RaytracingGui__DlgSettingsRay);
00178
00179 QMetaObject::connectSlotsByName(RaytracingGui__DlgSettingsRay);
00180 }
00181
00182 void retranslateUi(QWidget *RaytracingGui__DlgSettingsRay)
00183 {
00184 RaytracingGui__DlgSettingsRay->setWindowTitle(QApplication::translate("RaytracingGui::DlgSettingsRay", "Raytracing", 0, QApplication::UnicodeUTF8));
00185 groupBox5->setTitle(QApplication::translate("RaytracingGui::DlgSettingsRay", "Mesh export settings", 0, QApplication::UnicodeUTF8));
00186 textLabel2->setText(QApplication::translate("RaytracingGui::DlgSettingsRay", "max mesh deviation:", 0, QApplication::UnicodeUTF8));
00187 prefCheckBox8->setText(QApplication::translate("RaytracingGui::DlgSettingsRay", "Do not calculate vertex normals", 0, QApplication::UnicodeUTF8));
00188 prefCheckBox9->setText(QApplication::translate("RaytracingGui::DlgSettingsRay", "Write u,v coordinates", 0, QApplication::UnicodeUTF8));
00189 GroupBox12->setTitle(QApplication::translate("RaytracingGui::DlgSettingsRay", "Directories", 0, QApplication::UnicodeUTF8));
00190 textLabel1_3->setText(QApplication::translate("RaytracingGui::DlgSettingsRay", "Part file name:", 0, QApplication::UnicodeUTF8));
00191 textLabel1_2->setText(QApplication::translate("RaytracingGui::DlgSettingsRay", "Camera file name:", 0, QApplication::UnicodeUTF8));
00192 textLabel1->setText(QApplication::translate("RaytracingGui::DlgSettingsRay", "Default Project dir:", 0, QApplication::UnicodeUTF8));
00193 prefLineEdit2->setText(QApplication::translate("RaytracingGui::DlgSettingsRay", "TempCamera.inc", 0, QApplication::UnicodeUTF8));
00194 prefLineEdit3->setText(QApplication::translate("RaytracingGui::DlgSettingsRay", "TempPart.inc", 0, QApplication::UnicodeUTF8));
00195 Q_UNUSED(RaytracingGui__DlgSettingsRay);
00196 }
00197
00198 };
00199
00200 }
00201
00202 namespace RaytracingGui {
00203 namespace Ui {
00204 class DlgSettingsRay: public Ui_DlgSettingsRay {};
00205 }
00206 }
00207
00208 #endif // UI_DLGSETTINGSRAY_H