git-svn-id: svn://db.shs.com.ru/libs@649 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2019-12-04 10:40:14 +00:00
parent f8634df8c7
commit 81c7de74f9
11 changed files with 862 additions and 1331 deletions

View File

@@ -297,6 +297,7 @@ void ObjectBase::setMatrix(const QMatrix4x4 & t) {
//mat_ = t;
//pos_ = mat_.column(3).toVector3D();
//mat_.setColumn(3, QVector4D(0., 0., 0., 1.));
raw_matrix = false;
trans.setMatrix(t);
buildTransform();
}

View File

@@ -248,6 +248,7 @@ public:
void setDirection(const QVector3D & d);
void setDirection(double x, double y, double z) {setDirection(QVector3D(x, y, z));}
double distance() const {return aim_dist;}
void setDistance(double d) {aim_dist = d;}
void flyCloser(double s);
void flyFarer(double s);
void flyToDistance(double d);

View File

@@ -179,6 +179,7 @@ void MouseController::mouseMoveEvent(QMouseEvent * e) {
QCursor::setPos(view->mapToGlobal(downPos));
} else
lastPos = e->pos();
emit view->objectsPositionChanged();
return;
}
if (selecting_) {

View File

@@ -122,6 +122,26 @@ void QGLView::start(float freq) {
}
QList<Light * > QGLView::selectedLights() const {
QList<Light * > ret;
QList<ObjectBase*> sol = scene_->selectedObjects();
foreach (ObjectBase * o, sol)
if (o->type() == ObjectBase::glLight)
ret << (Light*)o;
return ret;
}
QList<Camera * > QGLView::selectedCameras() const {
QList<Camera * > ret;
QList<ObjectBase*> sol = scene_->selectedObjects();
foreach (ObjectBase * o, sol)
if (o->type() == ObjectBase::glCamera)
ret << (Camera*)o;
return ret;
}
void QGLView::resizeEvent(QResizeEvent * e) {
renderLater();

View File

@@ -149,7 +149,9 @@ public:
void selectObject(ObjectBase * o, bool add_to_selection = false) {scene_->selectObject(o, add_to_selection);}
void clearSelection() {scene_->clearSelection();}
QList<ObjectBase * > selectedObjects() const {return scene_->selectedObjects();}
QList<ObjectBase * > selectedObjects(bool top_only = false) const {return scene_->selectedObjects(top_only);}
QList<Light * > selectedLights() const;
QList<Camera * > selectedCameras() const;
ObjectBase * selectedObject() const {return scene_->selectedObject();}
TextureManager * textureManager() {return renderer_.textures_manager;}
@@ -267,6 +269,7 @@ signals:
void hoverChanged(ObjectBase * cur, ObjectBase * prev);
void selectionChanged();
void objectsPositionChanged();
void materialsChanged();
void materialThumbnailCreated(Material*);
void doubleClick();

View File

@@ -88,6 +88,7 @@ QGLViewWindow::QGLViewWindow(QWidget * parent): QMainWindow(parent), Ui::QGLView
//connect(matEditor, SIGNAL(changed()), this, SLOT(materialChanged()));
sceneTree->assignQGLView(view->view());
matEditor->assignQGLView(view->view());
objectEditor->assignQGLView(view->view());
session.load();
@@ -153,7 +154,6 @@ void QGLViewWindow::loadFile(const QString & path, bool import) {
void QGLViewWindow::selectionChanged() {
ObjectBase * sel_obj = view->view()->selectedObject();
//qDebug() << "selected" << (sel_obj ? sel_obj->name() : "0");
labelName->setText(sel_obj ? sel_obj->name() : "");
/**if (cur == 0) box->hide();
else {
@@ -165,7 +165,6 @@ void QGLViewWindow::selectionChanged() {
cur->addChild(box);
box->show();
}*/
objectEditor->setObject(sel_obj);
//qDebug() << sel_obj->boundingBox();
}

View File

@@ -57,7 +57,7 @@
<item>
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>0</number>
<number>1</number>
</property>
<widget class="QWidget" name="tab">
<attribute name="title">
@@ -67,7 +67,7 @@
<item>
<widget class="QTabWidget" name="tabWidget_2">
<property name="currentIndex">
<number>0</number>
<number>1</number>
</property>
<widget class="QWidget" name="tab_5">
<attribute name="title">

View File

@@ -176,11 +176,13 @@ void Renderer::fillObjectsBuffer(const QList<ObjectBase *> & ol, RenderPass pass
void Renderer::renderObjects(Scene & scene, RenderPass pass) {
QOpenGLExtraFunctions * f = view;
QMapIterator<Mesh*, QList<ObjectBase*> > it(scene.geometries_used);
bool emit_pos_change = false;
while (it.hasNext()) {
it.next();
Mesh * mesh = it.key();
if (mesh->objects_changed) {
mesh->objects_changed = false;
emit_pos_change = true;
fillObjectsBuffer(it.value(), pass);
mesh->loadObjects(f, cur_objects_);
}
@@ -191,6 +193,7 @@ void Renderer::renderObjects(Scene & scene, RenderPass pass) {
}
mesh->draw(f, it.value().size());
}
if (emit_pos_change) emit view->objectsPositionChanged();
}

View File

@@ -18,19 +18,56 @@
#include "object_editor.h"
#include "ui_object_editor.h"
#include "glcamera.h"
#include "qglview.h"
#include <spinslider.h>
#include <scroll_spin_box.h>
ObjectEditor::ObjectEditor(QWidget * parent): QWidget(parent) {
ui = new Ui::ObjectEditor();
ui->setupUi(this);
view = 0;
active = true;
object = 0;
rmodes << ObjectBase::View << ObjectBase::Point << ObjectBase::Line << ObjectBase::Fill;
ui->groupLight->setEnabled(false);
ui->groupLight->setVisible(false);
ui->groupCamera->setEnabled(false);
ui->groupCamera->setVisible(false);
on_comboLightType_currentIndexChanged(0);
ui->widgetMain->setEnabled(false);
ui->labelAimDist->hide();
ui->spinAimDist->hide();
QObjectList ol;
ol << ui->spinPosX << ui->spinPosY << ui->spinPosZ <<
ui->spinRotationX << ui->spinRotationY << ui->spinRotationZ <<
ui->spinScaleX << ui->spinScaleY << ui->spinScaleZ;
foreach (QObject * o, ol)
connect(o, SIGNAL(valueChanged(double)), this, SLOT(spinChanged(double)));
ol.clear();
ol << ui->spinLightIntensity << ui->spinLightDecayConst << ui->spinLightDecayLinear <<
ui->spinLightDecayQuadratic << ui->spinLightAngleStart << ui->spinLightAngleEnd <<
ui->spinAimDist;
foreach (QObject * o, ol)
connect(o, SIGNAL(valueChanged(double)), this, SLOT(spinLightChanged(double)));
ol.clear();
ol << ui->spinCameraFOV << ui->spinCameraDepthStart << ui->spinAimDist;
foreach (QObject * o, ol)
connect(o, SIGNAL(valueChanged(double)), this, SLOT(spinCameraChanged(double)));
ol.clear();
ol << ui->checkVisible << ui->checkCastShadows << ui->checkReceiveShadows <<
ui->checkAcceptLight << ui->checkAcceptFog <<
ui->checkCameraMirrorX << ui->checkCameraMirrorY;
foreach (QObject * o, ol)
connect(o, SIGNAL(toggled(bool)), this, SLOT(checkChanged(bool)));
}
void ObjectEditor::assignQGLView(QGLView * v) {
view = v;
connect(view, SIGNAL(selectionChanged()), this, SLOT(selectionChanged()));
connect(view, SIGNAL(objectsPositionChanged()), this, SLOT(selectionChanged()));
connect(view->scene(), SIGNAL(treeChanged()), this, SLOT(selectionChanged()));
selectionChanged();
}
@@ -46,38 +83,54 @@ void ObjectEditor::changeEvent(QEvent * e) {
}
void ObjectEditor::setObject(ObjectBase * o) {
object = o;
if (object == 0) {
ui->groupLight->setEnabled(false);
ui->groupLight->setVisible(false);
ui->groupCamera->setEnabled(false);
ui->groupCamera->setVisible(false);
void ObjectEditor::selectionChanged() {
ui->widgetMain->setEnabled(false);
if (!view) return;
QList<ObjectBase*> sol = view->selectedObjects(true);
if (sol.isEmpty()) {
ui->labelTitle->setText(tr("[No selected]"));
return;
}
ui->buttonDiscardRawMatrix->setEnabled(o->isRawMatrix());
ui->widgetMain->setEnabled(true);
if (sol.size() == 1) {
setObject(sol[0]);
return;
}
bool hl = !view->selectedLights().isEmpty(), hc = !view->selectedCameras().isEmpty();
ui->groupLight ->setVisible(hl);
ui->groupCamera ->setVisible(hc);
ui->labelAimDist->setVisible(hl || hc);
ui->spinAimDist ->setVisible(hl || hc);
ui->labelTitle->setText(tr("[%1 objects]").arg(sol.size()));
}
void ObjectEditor::setObject(ObjectBase * o) {
active = false;
ui->spinPosX->setValue(object->posX());
ui->spinPosY->setValue(object->posY());
ui->spinPosZ->setValue(object->posZ());
ui->spinRotationX->setValue(object->rotationX());
ui->spinRotationY->setValue(object->rotationY());
ui->spinRotationZ->setValue(object->rotationZ());
ui->spinScaleX->setValue(object->scaleX());
ui->spinScaleY->setValue(object->scaleY());
ui->spinScaleZ->setValue(object->scaleZ());
ui->spinLineWidth->setValue(object->lineWidth());
ui->checkVisible->setChecked(object->isVisible());
ui->checkAcceptLight->setChecked(object->isAcceptLight());
ui->checkAcceptFog->setChecked(object->isAcceptFog());
ui->checkCastShadows->setChecked(object->isCastShadows());
ui->checkReceiveShadows->setChecked(object->isReceiveShadows());
ui->comboRenderMode->setCurrentIndex(rmodes.indexOf(object->renderMode()));
ui->groupLight->setEnabled(object->type() == ObjectBase::glLight);
ui->groupLight->setVisible(object->type() == ObjectBase::glLight);
ui->buttonColor->setColor(object->color());
if (object->type() == ObjectBase::glLight) {
Light * l = globject_cast<Light * >(object);
ui->labelTitle->setText(o->name());
ui->spinPosX->setValue(o->posX());
ui->spinPosY->setValue(o->posY());
ui->spinPosZ->setValue(o->posZ());
ui->spinRotationX->setValue(o->rotationX());
ui->spinRotationY->setValue(o->rotationY());
ui->spinRotationZ->setValue(o->rotationZ());
ui->spinScaleX->setValue(o->scaleX());
ui->spinScaleY->setValue(o->scaleY());
ui->spinScaleZ->setValue(o->scaleZ());
ui->checkVisible->setChecked(o->isVisible());
ui->checkAcceptLight->setChecked(o->isAcceptLight());
ui->checkAcceptFog->setChecked(o->isAcceptFog());
ui->checkCastShadows->setChecked(o->isCastShadows());
ui->checkReceiveShadows->setChecked(o->isReceiveShadows());
ui->buttonColor->setColor(o->color());
bool is_l = o->type() == ObjectBase::glLight;
bool is_c = o->type() == ObjectBase::glCamera;
ui->labelAimDist->setVisible(is_l || is_c);
ui->spinAimDist ->setVisible(is_l || is_c);
ui->groupLight ->setVisible(is_l);
ui->groupCamera ->setVisible(is_c);
if (is_l) {
Light * l = globject_cast<Light * >(o);
//bool is_dir = l->light_type == Light::Directional, is_cone = l->light_type == Light::Cone;
ui->comboLightType->setCurrentIndex(l->light_type);
ui->spinLightIntensity->setValue(l->intensity);
@@ -86,70 +139,21 @@ void ObjectEditor::setObject(ObjectBase * o) {
ui->spinLightDecayQuadratic->setValue(l->decay_quadratic);
ui->spinLightAngleStart->setValue(l->angle_start);
ui->spinLightAngleEnd->setValue(l->angle_end);
ui->spinLightDirectionX->setValue(l->direction().x());
ui->spinLightDirectionY->setValue(l->direction().y());
ui->spinLightDirectionZ->setValue(l->direction().z());
ui->spinAimDist->setValue(l->distance());
on_comboLightType_currentIndexChanged(ui->comboLightType->currentIndex());
}
ui->groupCamera->setEnabled(object->type() == ObjectBase::glCamera);
ui->groupCamera->setVisible(object->type() == ObjectBase::glCamera);
if (object->type() == ObjectBase::glCamera) {
Camera * c = globject_cast<Camera * >(object);
if (is_c) {
Camera * c = globject_cast<Camera * >(o);
ui->checkCameraMirrorX->setChecked(c->isMirrorX());
ui->checkCameraMirrorY->setChecked(c->isMirrorY());
ui->spinCameraFOV->setValue(c->FOV());
ui->spinCameraDepthStart->setValue(c->depthStart());
ui->spinCameraDepthEnd->setValue(c->depthEnd());
ui->spinAimDist->setValue(c->distance());
}
active = true;
}
void ObjectEditor::objectChanged() {
if (!active || object == 0) return;
if (!object->isRawMatrix()) {
object->setPosX(ui->spinPosX->value());
object->setPosY(ui->spinPosY->value());
object->setPosZ(ui->spinPosZ->value());
object->setRotationX(ui->spinRotationX->value());
object->setRotationY(ui->spinRotationY->value());
object->setRotationZ(ui->spinRotationZ->value());
object->setScaleX(ui->spinScaleX->value());
object->setScaleY(ui->spinScaleY->value());
object->setScaleZ(ui->spinScaleZ->value());
}
/*object->setLineWidth(ui->spinLineWidth->value());
object->setVisible(ui->checkVisible->isChecked());
object->setAcceptLight(ui->checkAcceptLight->isChecked());
object->setAcceptFog(ui->checkAcceptFog->isChecked());
object->setCastShadows(ui->checkCastShadows->isChecked());
object->setReceiveShadows(ui->checkReceiveShadows->isChecked());
object->setRenderMode((ObjectBase::RenderMode)rmodes[ui->comboRenderMode->currentIndex()]);*/
object->setColor(ui->buttonColor->color());
if (object->type() == ObjectBase::glLight) {
Light * l = globject_cast<Light * >(object);
//bool is_dir = l->light_type == Light::Directional, is_cone = l->light_type == Light::Cone;
l->light_type = (Light::Type)ui->comboLightType->currentIndex();
l->intensity = ui->spinLightIntensity->value();
l->decay_const = ui->spinLightDecayConst->value();
l->decay_linear = ui->spinLightDecayLinear->value();
l->decay_quadratic = ui->spinLightDecayQuadratic->value();
l->angle_start = ui->spinLightAngleStart->value();
l->angle_end = ui->spinLightAngleEnd->value();
//l->setDirection(QVector3D(ui->spinLightDirectionX->value(), ui->spinLightDirectionY->value(), ui->spinLightDirectionZ->value()).normalized());
l->apply();
}
if (object->type() == ObjectBase::glCamera) {
Camera * c = globject_cast<Camera * >(object);
c->setMirrorX(ui->checkCameraMirrorX->isChecked());
c->setMirrorY(ui->checkCameraMirrorY->isChecked());
c->setFOV(ui->spinCameraFOV->value());
c->setDepthStart(ui->spinCameraDepthStart->value());
c->setDepthEnd(ui->spinCameraDepthEnd->value());
}
emit changed();
}
void ObjectEditor::on_spinLightAngleStart_valueChanged(double v) {
if (ui->spinLightAngleEnd->value() < v)
ui->spinLightAngleEnd->setValue(v);
@@ -162,16 +166,93 @@ void ObjectEditor::on_spinLightAngleEnd_valueChanged(double v) {
}
void ObjectEditor::on_buttonDiscardRawMatrix_clicked() {
if (!active || !object) return;
object->setPosX(ui->spinPosX->value());
object->setPosY(ui->spinPosY->value());
object->setPosZ(ui->spinPosZ->value());
object->setRotationX(ui->spinRotationX->value());
object->setRotationY(ui->spinRotationY->value());
object->setRotationZ(ui->spinRotationZ->value());
object->setScaleX(ui->spinScaleX->value());
object->setScaleY(ui->spinScaleY->value());
object->setScaleZ(ui->spinScaleZ->value());
ui->buttonDiscardRawMatrix->setEnabled(false);
void ObjectEditor::on_comboLightType_currentIndexChanged(int index) {
bool ang = (index == Light::Cone);
ui->labelLightAngle ->setVisible(ang);
ui->labelLightAngleDash->setVisible(ang);
ui->spinLightAngleStart->setVisible(ang);
ui->spinLightAngleEnd ->setVisible(ang);
if (!view || !active) return;
QList<Light*> sll = view->selectedLights();
foreach (Light * o, sll) {
o->light_type = (Light::Type)index;
o->apply();
}
}
void ObjectEditor::on_buttonColor_colorChanged(const QColor & v) {
if (!view || !active) return;
QList<ObjectBase*> sol = view->selectedObjects();
foreach (ObjectBase * o, sol)
o->setColor(v);
QList<Light*> sll = view->selectedLights();
foreach (Light * o, sll)
o->apply();
}
void ObjectEditor::spinChanged(double v) {
if (!view || !active) return;
QList<ObjectBase*> sol = view->selectedObjects(true);
QObject * s = sender();
foreach (ObjectBase * o, sol) {
if (s == ui->spinPosX ) o->setPosX (v);
if (s == ui->spinPosY ) o->setPosY (v);
if (s == ui->spinPosZ ) o->setPosZ (v);
if (s == ui->spinRotationX) o->setRotationX(v);
if (s == ui->spinRotationY) o->setRotationY(v);
if (s == ui->spinRotationZ) o->setRotationZ(v);
if (s == ui->spinScaleX ) o->setScaleX (v);
if (s == ui->spinScaleY ) o->setScaleY (v);
if (s == ui->spinScaleZ ) o->setScaleZ (v);
}
}
void ObjectEditor::spinLightChanged(double v) {
if (!view || !active) return;
QList<Light*> sll = view->selectedLights();
QObject * s = sender();
foreach (Light * o, sll) {
if (s == ui->spinLightIntensity ) o->intensity = v;
if (s == ui->spinLightDecayConst ) o->decay_const = v;
if (s == ui->spinLightDecayLinear ) o->decay_linear = v;
if (s == ui->spinLightDecayQuadratic) o->decay_quadratic = v;
if (s == ui->spinLightAngleStart ) o->angle_start = v;
if (s == ui->spinLightAngleEnd ) o->angle_end = v;
if (s == ui->spinAimDist ) o->setDistance(v);
o->apply();
}
}
void ObjectEditor::spinCameraChanged(double v) {
if (!view || !active) return;
QList<Camera*> scl = view->selectedCameras();
QObject * s = sender();
foreach (Camera * o, scl) {
if (s == ui->spinCameraFOV ) o->setFOV (v);
if (s == ui->spinCameraDepthStart) o->setDepthStart(v);
if (s == ui->spinAimDist ) o->setDistance(v);
}
}
void ObjectEditor::checkChanged(bool v) {
if (!view || !active) return;
QList<ObjectBase*> sol = view->selectedObjects();
QList<Camera*> scl = view->selectedCameras();
QObject * s = sender();
foreach (ObjectBase * o, sol) {
if (s == ui->checkVisible ) o->setVisible (v);
if (s == ui->checkCastShadows ) o->setCastShadows (v);
if (s == ui->checkReceiveShadows) o->setReceiveShadows(v);
if (s == ui->checkAcceptLight ) o->setAcceptLight (v);
if (s == ui->checkAcceptFog ) o->setAcceptFog (v);
}
foreach (Camera * o, scl) {
if (s == ui->checkCameraMirrorX ) o->setMirrorX(v);
if (s == ui->checkCameraMirrorY ) o->setMirrorY(v);
}
}

View File

@@ -32,22 +32,27 @@ class ObjectEditor: public QWidget
public:
explicit ObjectEditor(QWidget * parent = 0);
void setObject(ObjectBase * o);
ObjectBase * getObject() {return object;}
void assignQGLView(QGLView * v);
protected:
void changeEvent(QEvent * e);
void setObject(ObjectBase * o);
Ui::ObjectEditor * ui;
QGLView * view;
bool active;
ObjectBase * object;
QList<GLenum> rmodes;
private slots:
void objectChanged();
void selectionChanged();
void on_spinLightAngleStart_valueChanged(double v);
void on_spinLightAngleEnd_valueChanged(double v);
void on_buttonDiscardRawMatrix_clicked();
void on_comboLightType_currentIndexChanged(int index);
void on_buttonColor_colorChanged(const QColor &v);
void spinChanged(double v);
void spinLightChanged(double v);
void spinCameraChanged(double v);
void checkChanged(bool v);
signals:
void changed();

View File

@@ -6,670 +6,307 @@
<rect>
<x>0</x>
<y>0</y>
<width>352</width>
<height>891</height>
<width>466</width>
<height>778</height>
</rect>
</property>
<layout class="QFormLayout" name="formLayout">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="leftMargin">
<number>0</number>
</property>
<property name="labelAlignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
<property name="topMargin">
<number>0</number>
</property>
<property name="formAlignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
<property name="rightMargin">
<number>0</number>
</property>
<property name="horizontalSpacing">
<number>2</number>
<property name="bottomMargin">
<number>0</number>
</property>
<property name="verticalSpacing">
<number>2</number>
</property>
<item row="0" column="0" colspan="2">
<widget class="QPushButton" name="buttonDiscardRawMatrix">
<property name="enabled">
<bool>false</bool>
<item>
<widget class="QLabel" name="labelTitle">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">font: bold;</string>
</property>
<property name="text">
<string>Discard raw transform</string>
<string>[No selected]</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Position X</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QDoubleSpinBox" name="spinPosX">
<property name="minimum">
<double>-99999.000000000000000</double>
</property>
<property name="maximum">
<double>99999.000000000000000</double>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Position Y</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QDoubleSpinBox" name="spinPosY">
<property name="minimum">
<double>-99999.000000000000000</double>
</property>
<property name="maximum">
<double>99999.000000000000000</double>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Position Z</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QDoubleSpinBox" name="spinPosZ">
<property name="minimum">
<double>-99999.000000000000000</double>
</property>
<property name="maximum">
<double>99999.000000000000000</double>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Rotation X</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="SpinSlider" name="spinRotationX">
<property name="minimum">
<double>-360.000000000000000</double>
</property>
<property name="maximum">
<double>360.000000000000000</double>
</property>
<property name="suffix">
<string>°</string>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Rotation Y</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="SpinSlider" name="spinRotationY">
<property name="minimum">
<double>-360.000000000000000</double>
</property>
<property name="maximum">
<double>360.000000000000000</double>
</property>
<property name="suffix">
<string>°</string>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Rotation Z</string>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="SpinSlider" name="spinRotationZ">
<property name="minimum">
<double>-360.000000000000000</double>
</property>
<property name="maximum">
<double>360.000000000000000</double>
</property>
<property name="suffix">
<string>°</string>
</property>
</widget>
</item>
<item row="7" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>Scale X</string>
</property>
</widget>
</item>
<item row="7" column="1">
<widget class="QDoubleSpinBox" name="spinScaleX">
<property name="decimals">
<number>4</number>
</property>
<property name="minimum">
<double>-99999.000000000000000</double>
</property>
<property name="maximum">
<double>99999.000000000000000</double>
</property>
<property name="singleStep">
<double>0.100000000000000</double>
</property>
<property name="value">
<double>1.000000000000000</double>
</property>
</widget>
</item>
<item row="8" column="0">
<widget class="QLabel" name="label_8">
<property name="text">
<string>Scale Y</string>
</property>
</widget>
</item>
<item row="8" column="1">
<widget class="QDoubleSpinBox" name="spinScaleY">
<property name="decimals">
<number>4</number>
</property>
<property name="minimum">
<double>-99999.000000000000000</double>
</property>
<property name="maximum">
<double>99999.000000000000000</double>
</property>
<property name="singleStep">
<double>0.100000000000000</double>
</property>
<property name="value">
<double>1.000000000000000</double>
</property>
</widget>
</item>
<item row="9" column="0">
<widget class="QLabel" name="label_9">
<property name="text">
<string>Scale Z</string>
</property>
</widget>
</item>
<item row="9" column="1">
<widget class="QDoubleSpinBox" name="spinScaleZ">
<property name="decimals">
<number>4</number>
</property>
<property name="minimum">
<double>-99999.000000000000000</double>
</property>
<property name="maximum">
<double>99999.000000000000000</double>
</property>
<property name="singleStep">
<double>0.100000000000000</double>
</property>
<property name="value">
<double>1.000000000000000</double>
</property>
</widget>
</item>
<item row="10" column="0">
<widget class="QLabel" name="label_10">
<property name="text">
<string>Render mode</string>
</property>
</widget>
</item>
<item row="10" column="1">
<widget class="QComboBox" name="comboRenderMode">
<item>
<property name="text">
<string>View</string>
</property>
</item>
<item>
<property name="text">
<string>Point</string>
</property>
</item>
<item>
<property name="text">
<string>Line</string>
</property>
</item>
<item>
<property name="text">
<string>Fill</string>
</property>
</item>
</widget>
</item>
<item row="11" column="1">
<widget class="QCheckBox" name="checkVisible">
<property name="text">
<string>Visible</string>
</property>
</widget>
</item>
<item row="12" column="1">
<widget class="QCheckBox" name="checkAcceptLight">
<property name="text">
<string>Accept light</string>
</property>
</widget>
</item>
<item row="13" column="1">
<widget class="QCheckBox" name="checkAcceptFog">
<property name="text">
<string>Accept fog</string>
</property>
</widget>
</item>
<item row="14" column="1">
<widget class="QCheckBox" name="checkCastShadows">
<property name="text">
<string>Cast shadows</string>
</property>
</widget>
</item>
<item row="15" column="1">
<widget class="QCheckBox" name="checkReceiveShadows">
<property name="text">
<string>Receive shadows</string>
</property>
</widget>
</item>
<item row="16" column="0">
<widget class="QLabel" name="label_11">
<property name="text">
<string>Line width</string>
</property>
</widget>
</item>
<item row="16" column="1">
<widget class="QDoubleSpinBox" name="spinLineWidth">
<property name="minimum">
<double>0.000000000000000</double>
</property>
<property name="maximum">
<double>99999.000000000000000</double>
</property>
<property name="singleStep">
<double>0.100000000000000</double>
</property>
<property name="value">
<double>1.000000000000000</double>
</property>
</widget>
</item>
<item row="18" column="0" colspan="2">
<widget class="QGroupBox" name="groupLight">
<property name="title">
<string>Light</string>
</property>
<layout class="QFormLayout" name="formLayout_2">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
</property>
<property name="labelAlignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="formAlignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
<property name="horizontalSpacing">
<number>2</number>
</property>
<property name="verticalSpacing">
<item>
<widget class="QWidget" name="widgetMain" native="true">
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="leftMargin">
<number>0</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_13">
<property name="text">
<string>Type</string>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Position</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLabel" name="label_11">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>X:</string>
</property>
</widget>
</item>
<item>
<widget class="ScrollSpinBox" name="spinPosX"/>
</item>
<item>
<widget class="QLabel" name="label_23">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Y:</string>
</property>
</widget>
</item>
<item>
<widget class="ScrollSpinBox" name="spinPosY"/>
</item>
<item>
<widget class="QLabel" name="label_24">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Z:</string>
</property>
</widget>
</item>
<item>
<widget class="ScrollSpinBox" name="spinPosZ"/>
</item>
</layout>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="comboLightType">
<item>
<property name="text">
<string>Omni</string>
</property>
</item>
<item>
<property name="text">
<string>Cone</string>
</property>
</item>
<item>
<property name="text">
<string>Directional</string>
</property>
</item>
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>Rotation</string>
</property>
<layout class="QFormLayout" name="formLayout">
<item row="0" column="0">
<widget class="QLabel" name="label_4">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>X:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="SpinSlider" name="spinRotationX">
<property name="minimum">
<double>-360.000000000000000</double>
</property>
<property name="maximum">
<double>360.000000000000000</double>
</property>
<property name="suffix">
<string>°</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_5">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Y:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="SpinSlider" name="spinRotationY">
<property name="minimum">
<double>-360.000000000000000</double>
</property>
<property name="maximum">
<double>360.000000000000000</double>
</property>
<property name="suffix">
<string>°</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_6">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Z:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="SpinSlider" name="spinRotationZ">
<property name="minimum">
<double>-360.000000000000000</double>
</property>
<property name="maximum">
<double>360.000000000000000</double>
</property>
<property name="suffix">
<string>°</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_14">
<property name="text">
<string>Intensity</string>
<item>
<widget class="QGroupBox" name="groupBox_3">
<property name="title">
<string>Scale</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QLabel" name="label_25">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>X:</string>
</property>
</widget>
</item>
<item>
<widget class="ScrollSpinBox" name="spinScaleX"/>
</item>
<item>
<widget class="QLabel" name="label_26">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Y:</string>
</property>
</widget>
</item>
<item>
<widget class="ScrollSpinBox" name="spinScaleY"/>
</item>
<item>
<widget class="QLabel" name="label_27">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Z:</string>
</property>
</widget>
</item>
<item>
<widget class="ScrollSpinBox" name="spinScaleZ"/>
</item>
</layout>
</widget>
</item>
<item row="1" column="1">
<widget class="SpinSlider" name="spinLightIntensity">
<property name="minimum">
<double>0.000000000000000</double>
</property>
<property name="maximum">
<double>128.000000000000000</double>
</property>
<property name="value">
<double>1.000000000000000</double>
</property>
<property name="decimals">
<number>2</number>
</property>
<property name="singleStep">
<double>0.100000000000000</double>
</property>
<property name="pageStep">
<double>1.000000000000000</double>
</property>
<property name="squareScale">
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_15">
<property name="text">
<string>Decay const</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="SpinSlider" name="spinLightDecayConst">
<property name="minimum">
<double>0.000000000000000</double>
</property>
<property name="maximum">
<double>64.000000000000000</double>
</property>
<property name="value">
<double>1.000000000000000</double>
</property>
<property name="decimals">
<number>2</number>
</property>
<property name="singleStep">
<double>0.100000000000000</double>
</property>
<property name="pageStep">
<double>1.000000000000000</double>
</property>
<property name="squareScale">
<bool>true</bool>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_16">
<property name="text">
<string>Decay linear</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="SpinSlider" name="spinLightDecayLinear">
<property name="minimum">
<double>0.000000000000000</double>
</property>
<property name="maximum">
<double>64.000000000000000</double>
</property>
<property name="value">
<double>1.000000000000000</double>
</property>
<property name="decimals">
<number>2</number>
</property>
<property name="singleStep">
<double>0.100000000000000</double>
</property>
<property name="pageStep">
<double>1.000000000000000</double>
</property>
<property name="squareScale">
<bool>true</bool>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_17">
<property name="text">
<string>Decay quadratic</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="SpinSlider" name="spinLightDecayQuadratic">
<property name="minimum">
<double>0.000000000000000</double>
</property>
<property name="maximum">
<double>64.000000000000000</double>
</property>
<property name="value">
<double>1.000000000000000</double>
</property>
<property name="decimals">
<number>2</number>
</property>
<property name="singleStep">
<double>0.100000000000000</double>
</property>
<property name="pageStep">
<double>1.000000000000000</double>
</property>
<property name="squareScale">
<bool>true</bool>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label_18">
<property name="text">
<string>Angle Start</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="SpinSlider" name="spinLightAngleStart">
<property name="minimum">
<double>0.000000000000000</double>
</property>
<property name="maximum">
<double>180.000000000000000</double>
</property>
<property name="decimals">
<number>1</number>
</property>
<property name="singleStep">
<double>5.000000000000000</double>
</property>
<property name="pageStep">
<double>30.000000000000000</double>
</property>
<property name="suffix">
<string>°</string>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QLabel" name="label_19">
<property name="text">
<string>Angle End</string>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="SpinSlider" name="spinLightAngleEnd">
<property name="minimum">
<double>0.000000000000000</double>
</property>
<property name="maximum">
<double>180.000000000000000</double>
</property>
<property name="decimals">
<number>1</number>
</property>
<property name="singleStep">
<double>5.000000000000000</double>
</property>
<property name="pageStep">
<double>30.000000000000000</double>
</property>
<property name="suffix">
<string>°</string>
</property>
</widget>
</item>
<item row="7" column="0">
<widget class="QLabel" name="label_20">
<property name="text">
<string>Direcion X</string>
</property>
</widget>
</item>
<item row="7" column="1">
<widget class="SpinSlider" name="spinLightDirectionX">
<property name="minimum">
<double>-1.000000000000000</double>
</property>
<property name="maximum">
<double>1.000000000000000</double>
</property>
<property name="value">
<double>0.000000000000000</double>
</property>
<property name="decimals">
<number>2</number>
</property>
<property name="singleStep">
<double>0.100000000000000</double>
</property>
<property name="pageStep">
<double>1.000000000000000</double>
</property>
</widget>
</item>
<item row="8" column="0">
<widget class="QLabel" name="label_21">
<property name="text">
<string>Direcion Y</string>
</property>
</widget>
</item>
<item row="8" column="1">
<widget class="SpinSlider" name="spinLightDirectionY">
<property name="minimum">
<double>-1.000000000000000</double>
</property>
<property name="maximum">
<double>1.000000000000000</double>
</property>
<property name="value">
<double>0.000000000000000</double>
</property>
<property name="decimals">
<number>2</number>
</property>
<property name="singleStep">
<double>0.100000000000000</double>
</property>
<property name="pageStep">
<double>1.000000000000000</double>
</property>
</widget>
</item>
<item row="9" column="0">
<widget class="QLabel" name="label_22">
<property name="text">
<string>Direcion Z</string>
</property>
</widget>
</item>
<item row="9" column="1">
<widget class="SpinSlider" name="spinLightDirectionZ">
<property name="minimum">
<double>-1.000000000000000</double>
</property>
<property name="maximum">
<double>1.000000000000000</double>
</property>
<property name="value">
<double>1.000000000000000</double>
</property>
<property name="decimals">
<number>2</number>
</property>
<property name="singleStep">
<double>0.100000000000000</double>
</property>
<property name="pageStep">
<double>1.000000000000000</double>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="19" column="0" colspan="2">
<widget class="QGroupBox" name="groupCamera">
<property name="title">
<string>Camera</string>
</property>
<layout class="QFormLayout" name="formLayout_5">
<item row="0" column="0">
<widget class="QLabel" name="label_46">
<property name="text">
<string>Depth</string>
</property>
</widget>
</item>
<item row="0" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="spacing">
<number>0</number>
</property>
<item>
<widget class="QDoubleSpinBox" name="spinCameraDepthStart">
<property name="decimals">
<number>5</number>
</property>
<property name="maximum">
<double>999999999.000000000000000</double>
</property>
<property name="value">
<double>0.100000000000000</double>
<item>
<layout class="QGridLayout" name="gridLayout">
<item row="1" column="2">
<widget class="QCheckBox" name="checkAcceptFog">
<property name="text">
<string>Accept fog</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_47">
<item row="0" column="2">
<widget class="QCheckBox" name="checkAcceptLight">
<property name="text">
<string>Accept light</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QCheckBox" name="checkVisible">
<property name="text">
<string>Visible</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QCheckBox" name="checkCastShadows">
<property name="text">
<string>Cast shadows</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QCheckBox" name="checkReceiveShadows">
<property name="text">
<string>Receive shadows</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QFormLayout" name="formLayout_3">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
</property>
<property name="labelAlignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_12">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
@@ -677,88 +314,376 @@
</sizepolicy>
</property>
<property name="text">
<string> - </string>
<string>Color:</string>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="spinCameraDepthEnd">
<property name="decimals">
<number>5</number>
<item row="0" column="1">
<widget class="ColorButton" name="buttonColor"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="labelAimDist">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximum">
<double>999999999.000000000000000</double>
</property>
<property name="value">
<double>1000.000000000000000</double>
<property name="text">
<string>Aim distance:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="ScrollSpinBox" name="spinAimDist"/>
</item>
</layout>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_45">
<property name="text">
<string>FOV</string>
<item>
<widget class="QGroupBox" name="groupLight">
<property name="title">
<string>Light</string>
</property>
<layout class="QFormLayout" name="formLayout_2">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
</property>
<property name="labelAlignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_13">
<property name="text">
<string>Type:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="comboLightType">
<item>
<property name="text">
<string>Omni</string>
</property>
</item>
<item>
<property name="text">
<string>Cone</string>
</property>
</item>
<item>
<property name="text">
<string>Directional</string>
</property>
</item>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_14">
<property name="text">
<string>Intensity:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="SpinSlider" name="spinLightIntensity">
<property name="minimum">
<double>0.000000000000000</double>
</property>
<property name="maximum">
<double>10.000000000000000</double>
</property>
<property name="value">
<double>1.000000000000000</double>
</property>
<property name="decimals">
<number>3</number>
</property>
<property name="singleStep">
<double>0.100000000000000</double>
</property>
<property name="pageStep">
<double>1.000000000000000</double>
</property>
<property name="squareScale">
<bool>true</bool>
</property>
<property name="spinMaximum">
<double>999.000000000000000</double>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_15">
<property name="text">
<string>Decay ^0:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="SpinSlider" name="spinLightDecayConst">
<property name="minimum">
<double>0.000000000000000</double>
</property>
<property name="maximum">
<double>10.000000000000000</double>
</property>
<property name="value">
<double>1.000000000000000</double>
</property>
<property name="decimals">
<number>3</number>
</property>
<property name="singleStep">
<double>0.100000000000000</double>
</property>
<property name="pageStep">
<double>1.000000000000000</double>
</property>
<property name="squareScale">
<bool>true</bool>
</property>
<property name="spinMaximum">
<double>999.000000000000000</double>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_16">
<property name="text">
<string>Decay ^1:</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="SpinSlider" name="spinLightDecayLinear">
<property name="minimum">
<double>0.000000000000000</double>
</property>
<property name="maximum">
<double>10.000000000000000</double>
</property>
<property name="value">
<double>0.000000000000000</double>
</property>
<property name="decimals">
<number>3</number>
</property>
<property name="singleStep">
<double>0.100000000000000</double>
</property>
<property name="pageStep">
<double>1.000000000000000</double>
</property>
<property name="squareScale">
<bool>true</bool>
</property>
<property name="spinMaximum">
<double>999.000000000000000</double>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_17">
<property name="text">
<string>Decay ^2:</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="SpinSlider" name="spinLightDecayQuadratic">
<property name="minimum">
<double>0.000000000000000</double>
</property>
<property name="maximum">
<double>10.000000000000000</double>
</property>
<property name="value">
<double>0.000000000000000</double>
</property>
<property name="decimals">
<number>3</number>
</property>
<property name="singleStep">
<double>0.100000000000000</double>
</property>
<property name="pageStep">
<double>1.000000000000000</double>
</property>
<property name="squareScale">
<bool>true</bool>
</property>
<property name="spinMaximum">
<double>999.000000000000000</double>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="labelLightAngle">
<property name="text">
<string>Angle:</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QWidget" name="widget" native="true">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="SpinSlider" name="spinLightAngleStart">
<property name="minimum">
<double>0.000000000000000</double>
</property>
<property name="maximum">
<double>180.000000000000000</double>
</property>
<property name="decimals">
<number>1</number>
</property>
<property name="singleStep">
<double>5.000000000000000</double>
</property>
<property name="pageStep">
<double>30.000000000000000</double>
</property>
<property name="suffix">
<string>°</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="labelLightAngleDash">
<property name="text">
<string> - </string>
</property>
</widget>
</item>
<item>
<widget class="SpinSlider" name="spinLightAngleEnd">
<property name="minimum">
<double>0.000000000000000</double>
</property>
<property name="maximum">
<double>180.000000000000000</double>
</property>
<property name="decimals">
<number>1</number>
</property>
<property name="singleStep">
<double>5.000000000000000</double>
</property>
<property name="pageStep">
<double>30.000000000000000</double>
</property>
<property name="suffix">
<string>°</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
<item row="1" column="1">
<widget class="SpinSlider" name="spinCameraFOV">
<property name="minimum">
<double>1.000000000000000</double>
</property>
<property name="maximum">
<double>179.000000000000000</double>
</property>
<property name="value">
<double>60.000000000000000</double>
</property>
<property name="decimals">
<number>2</number>
</property>
<property name="singleStep">
<double>5.000000000000000</double>
</property>
<property name="pageStep">
<double>30.000000000000000</double>
</property>
<property name="suffix">
<string>°</string>
<item>
<widget class="QGroupBox" name="groupCamera">
<property name="title">
<string>Camera</string>
</property>
<layout class="QFormLayout" name="formLayout_5">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
</property>
<property name="labelAlignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_46">
<property name="text">
<string>Depth start</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_45">
<property name="text">
<string>FOV</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="SpinSlider" name="spinCameraFOV">
<property name="minimum">
<double>1.000000000000000</double>
</property>
<property name="maximum">
<double>179.900000000000006</double>
</property>
<property name="value">
<double>60.000000000000000</double>
</property>
<property name="decimals">
<number>1</number>
</property>
<property name="singleStep">
<double>5.000000000000000</double>
</property>
<property name="pageStep">
<double>30.000000000000000</double>
</property>
<property name="suffix">
<string>°</string>
</property>
</widget>
</item>
<item row="2" column="1">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QCheckBox" name="checkCameraMirrorY">
<property name="text">
<string>Mirror Y</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkCameraMirrorX">
<property name="text">
<string>Mirror X</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="0" column="1">
<widget class="QDoubleSpinBox" name="spinCameraDepthStart">
<property name="decimals">
<number>5</number>
</property>
<property name="maximum">
<double>999999999.000000000000000</double>
</property>
<property name="value">
<double>0.100000000000000</double>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="2" column="1">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QCheckBox" name="checkCameraMirrorY">
<property name="text">
<string>Mirror Y</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkCameraMirrorX">
<property name="text">
<string>Mirror X</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item row="17" column="0">
<widget class="QLabel" name="label_12">
<property name="text">
<string>Color</string>
</property>
</widget>
</item>
<item row="17" column="1">
<widget class="ColorButton" name="buttonColor"/>
</item>
</layout>
</widget>
<customwidgets>
@@ -772,522 +697,14 @@
<extends>QPushButton</extends>
<header>colorbutton.h</header>
</customwidget>
<customwidget>
<class>ScrollSpinBox</class>
<extends>QWidget</extends>
<header>scroll_spin_box.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections>
<connection>
<sender>spinPosX</sender>
<signal>valueChanged(double)</signal>
<receiver>ObjectEditor</receiver>
<slot>objectChanged()</slot>
<hints>
<hint type="sourcelabel">
<x>319</x>
<y>43</y>
</hint>
<hint type="destinationlabel">
<x>321</x>
<y>5</y>
</hint>
</hints>
</connection>
<connection>
<sender>spinPosY</sender>
<signal>valueChanged(double)</signal>
<receiver>ObjectEditor</receiver>
<slot>objectChanged()</slot>
<hints>
<hint type="sourcelabel">
<x>319</x>
<y>75</y>
</hint>
<hint type="destinationlabel">
<x>320</x>
<y>36</y>
</hint>
</hints>
</connection>
<connection>
<sender>spinPosZ</sender>
<signal>valueChanged(double)</signal>
<receiver>ObjectEditor</receiver>
<slot>objectChanged()</slot>
<hints>
<hint type="sourcelabel">
<x>319</x>
<y>97</y>
</hint>
<hint type="destinationlabel">
<x>321</x>
<y>61</y>
</hint>
</hints>
</connection>
<connection>
<sender>spinRotationX</sender>
<signal>valueChanged(double)</signal>
<receiver>ObjectEditor</receiver>
<slot>objectChanged()</slot>
<hints>
<hint type="sourcelabel">
<x>172</x>
<y>121</y>
</hint>
<hint type="destinationlabel">
<x>82</x>
<y>73</y>
</hint>
</hints>
</connection>
<connection>
<sender>spinRotationY</sender>
<signal>valueChanged(double)</signal>
<receiver>ObjectEditor</receiver>
<slot>objectChanged()</slot>
<hints>
<hint type="sourcelabel">
<x>319</x>
<y>145</y>
</hint>
<hint type="destinationlabel">
<x>320</x>
<y>96</y>
</hint>
</hints>
</connection>
<connection>
<sender>spinRotationZ</sender>
<signal>valueChanged(double)</signal>
<receiver>ObjectEditor</receiver>
<slot>objectChanged()</slot>
<hints>
<hint type="sourcelabel">
<x>319</x>
<y>169</y>
</hint>
<hint type="destinationlabel">
<x>321</x>
<y>125</y>
</hint>
</hints>
</connection>
<connection>
<sender>spinScaleX</sender>
<signal>valueChanged(double)</signal>
<receiver>ObjectEditor</receiver>
<slot>objectChanged()</slot>
<hints>
<hint type="sourcelabel">
<x>319</x>
<y>191</y>
</hint>
<hint type="destinationlabel">
<x>321</x>
<y>150</y>
</hint>
</hints>
</connection>
<connection>
<sender>spinScaleY</sender>
<signal>valueChanged(double)</signal>
<receiver>ObjectEditor</receiver>
<slot>objectChanged()</slot>
<hints>
<hint type="sourcelabel">
<x>319</x>
<y>213</y>
</hint>
<hint type="destinationlabel">
<x>321</x>
<y>175</y>
</hint>
</hints>
</connection>
<connection>
<sender>spinScaleZ</sender>
<signal>valueChanged(double)</signal>
<receiver>ObjectEditor</receiver>
<slot>objectChanged()</slot>
<hints>
<hint type="sourcelabel">
<x>319</x>
<y>235</y>
</hint>
<hint type="destinationlabel">
<x>321</x>
<y>200</y>
</hint>
</hints>
</connection>
<connection>
<sender>checkVisible</sender>
<signal>toggled(bool)</signal>
<receiver>ObjectEditor</receiver>
<slot>objectChanged()</slot>
<hints>
<hint type="sourcelabel">
<x>185</x>
<y>268</y>
</hint>
<hint type="destinationlabel">
<x>76</x>
<y>242</y>
</hint>
</hints>
</connection>
<connection>
<sender>checkAcceptLight</sender>
<signal>toggled(bool)</signal>
<receiver>ObjectEditor</receiver>
<slot>objectChanged()</slot>
<hints>
<hint type="sourcelabel">
<x>179</x>
<y>295</y>
</hint>
<hint type="destinationlabel">
<x>61</x>
<y>261</y>
</hint>
</hints>
</connection>
<connection>
<sender>checkAcceptFog</sender>
<signal>toggled(bool)</signal>
<receiver>ObjectEditor</receiver>
<slot>objectChanged()</slot>
<hints>
<hint type="sourcelabel">
<x>210</x>
<y>314</y>
</hint>
<hint type="destinationlabel">
<x>79</x>
<y>288</y>
</hint>
</hints>
</connection>
<connection>
<sender>checkCastShadows</sender>
<signal>toggled(bool)</signal>
<receiver>ObjectEditor</receiver>
<slot>objectChanged()</slot>
<hints>
<hint type="sourcelabel">
<x>283</x>
<y>333</y>
</hint>
<hint type="destinationlabel">
<x>55</x>
<y>310</y>
</hint>
</hints>
</connection>
<connection>
<sender>checkReceiveShadows</sender>
<signal>toggled(bool)</signal>
<receiver>ObjectEditor</receiver>
<slot>objectChanged()</slot>
<hints>
<hint type="sourcelabel">
<x>287</x>
<y>352</y>
</hint>
<hint type="destinationlabel">
<x>78</x>
<y>334</y>
</hint>
</hints>
</connection>
<connection>
<sender>spinLineWidth</sender>
<signal>valueChanged(double)</signal>
<receiver>ObjectEditor</receiver>
<slot>objectChanged()</slot>
<hints>
<hint type="sourcelabel">
<x>303</x>
<y>366</y>
</hint>
<hint type="destinationlabel">
<x>321</x>
<y>359</y>
</hint>
</hints>
</connection>
<connection>
<sender>comboRenderMode</sender>
<signal>currentIndexChanged(int)</signal>
<receiver>ObjectEditor</receiver>
<slot>objectChanged()</slot>
<hints>
<hint type="sourcelabel">
<x>319</x>
<y>257</y>
</hint>
<hint type="destinationlabel">
<x>321</x>
<y>228</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonColor</sender>
<signal>colorChanged(QColor)</signal>
<receiver>ObjectEditor</receiver>
<slot>objectChanged()</slot>
<hints>
<hint type="sourcelabel">
<x>309</x>
<y>422</y>
</hint>
<hint type="destinationlabel">
<x>320</x>
<y>393</y>
</hint>
</hints>
</connection>
<connection>
<sender>comboLightType</sender>
<signal>currentIndexChanged(int)</signal>
<receiver>ObjectEditor</receiver>
<slot>objectChanged()</slot>
<hints>
<hint type="sourcelabel">
<x>309</x>
<y>442</y>
</hint>
<hint type="destinationlabel">
<x>320</x>
<y>429</y>
</hint>
</hints>
</connection>
<connection>
<sender>spinLightIntensity</sender>
<signal>valueChanged(double)</signal>
<receiver>ObjectEditor</receiver>
<slot>objectChanged()</slot>
<hints>
<hint type="sourcelabel">
<x>309</x>
<y>464</y>
</hint>
<hint type="destinationlabel">
<x>318</x>
<y>463</y>
</hint>
</hints>
</connection>
<connection>
<sender>spinLightDecayConst</sender>
<signal>valueChanged(double)</signal>
<receiver>ObjectEditor</receiver>
<slot>objectChanged()</slot>
<hints>
<hint type="sourcelabel">
<x>309</x>
<y>486</y>
</hint>
<hint type="destinationlabel">
<x>320</x>
<y>489</y>
</hint>
</hints>
</connection>
<connection>
<sender>spinLightDecayLinear</sender>
<signal>valueChanged(double)</signal>
<receiver>ObjectEditor</receiver>
<slot>objectChanged()</slot>
<hints>
<hint type="sourcelabel">
<x>309</x>
<y>508</y>
</hint>
<hint type="destinationlabel">
<x>318</x>
<y>517</y>
</hint>
</hints>
</connection>
<connection>
<sender>spinLightDecayQuadratic</sender>
<signal>valueChanged(double)</signal>
<receiver>ObjectEditor</receiver>
<slot>objectChanged()</slot>
<hints>
<hint type="sourcelabel">
<x>309</x>
<y>530</y>
</hint>
<hint type="destinationlabel">
<x>325</x>
<y>543</y>
</hint>
</hints>
</connection>
<connection>
<sender>spinLightAngleStart</sender>
<signal>valueChanged(double)</signal>
<receiver>ObjectEditor</receiver>
<slot>objectChanged()</slot>
<hints>
<hint type="sourcelabel">
<x>309</x>
<y>552</y>
</hint>
<hint type="destinationlabel">
<x>321</x>
<y>569</y>
</hint>
</hints>
</connection>
<connection>
<sender>spinLightAngleEnd</sender>
<signal>valueChanged(double)</signal>
<receiver>ObjectEditor</receiver>
<slot>objectChanged()</slot>
<hints>
<hint type="sourcelabel">
<x>309</x>
<y>574</y>
</hint>
<hint type="destinationlabel">
<x>320</x>
<y>595</y>
</hint>
</hints>
</connection>
<connection>
<sender>spinLightDirectionX</sender>
<signal>valueChanged(double)</signal>
<receiver>ObjectEditor</receiver>
<slot>objectChanged()</slot>
<hints>
<hint type="sourcelabel">
<x>309</x>
<y>596</y>
</hint>
<hint type="destinationlabel">
<x>332</x>
<y>607</y>
</hint>
</hints>
</connection>
<connection>
<sender>spinLightDirectionY</sender>
<signal>valueChanged(double)</signal>
<receiver>ObjectEditor</receiver>
<slot>objectChanged()</slot>
<hints>
<hint type="sourcelabel">
<x>309</x>
<y>618</y>
</hint>
<hint type="destinationlabel">
<x>330</x>
<y>633</y>
</hint>
</hints>
</connection>
<connection>
<sender>spinLightDirectionZ</sender>
<signal>valueChanged(double)</signal>
<receiver>ObjectEditor</receiver>
<slot>objectChanged()</slot>
<hints>
<hint type="sourcelabel">
<x>309</x>
<y>640</y>
</hint>
<hint type="destinationlabel">
<x>326</x>
<y>659</y>
</hint>
</hints>
</connection>
<connection>
<sender>spinCameraDepthStart</sender>
<signal>valueChanged(double)</signal>
<receiver>ObjectEditor</receiver>
<slot>objectChanged()</slot>
<hints>
<hint type="sourcelabel">
<x>85</x>
<y>691</y>
</hint>
<hint type="destinationlabel">
<x>171</x>
<y>652</y>
</hint>
</hints>
</connection>
<connection>
<sender>spinCameraDepthEnd</sender>
<signal>valueChanged(double)</signal>
<receiver>ObjectEditor</receiver>
<slot>objectChanged()</slot>
<hints>
<hint type="sourcelabel">
<x>259</x>
<y>693</y>
</hint>
<hint type="destinationlabel">
<x>277</x>
<y>652</y>
</hint>
</hints>
</connection>
<connection>
<sender>spinCameraFOV</sender>
<signal>valueChanged(double)</signal>
<receiver>ObjectEditor</receiver>
<slot>objectChanged()</slot>
<hints>
<hint type="sourcelabel">
<x>145</x>
<y>719</y>
</hint>
<hint type="destinationlabel">
<x>324</x>
<y>696</y>
</hint>
</hints>
</connection>
<connection>
<sender>checkCameraMirrorX</sender>
<signal>clicked(bool)</signal>
<receiver>ObjectEditor</receiver>
<slot>objectChanged()</slot>
<hints>
<hint type="sourcelabel">
<x>129</x>
<y>753</y>
</hint>
<hint type="destinationlabel">
<x>323</x>
<y>758</y>
</hint>
</hints>
</connection>
<connection>
<sender>checkCameraMirrorY</sender>
<signal>clicked(bool)</signal>
<receiver>ObjectEditor</receiver>
<slot>objectChanged()</slot>
<hints>
<hint type="sourcelabel">
<x>194</x>
<y>782</y>
</hint>
<hint type="destinationlabel">
<x>328</x>
<y>785</y>
</hint>
</hints>
</connection>
</connections>
<connections/>
<slots>
<slot>objectChanged()</slot>
</slots>