diff --git a/src/qglview_test/qglview_window.ui b/src/qglview_test/qglview_window.ui index f561005..a239273 100644 --- a/src/qglview_test/qglview_window.ui +++ b/src/qglview_test/qglview_window.ui @@ -40,7 +40,7 @@ - 2 + 0 @@ -80,8 +80,8 @@ 0 0 - 618 - 636 + 761 + 840 @@ -644,8 +644,8 @@ 0 0 - 635 - 313 + 787 + 489 @@ -709,19 +709,6 @@ - - - - Qt::Vertical - - - - 20 - 107 - - - - @@ -768,7 +755,7 @@ - + 0 @@ -819,7 +806,7 @@ 0 0 1107 - 21 + 31 @@ -867,7 +854,7 @@ - + :/icons/application-exit.png:/icons/application-exit.png @@ -876,7 +863,7 @@ - + :/icons/document-import.png:/icons/document-import.png @@ -900,7 +887,7 @@ - + :/icons/document-save-all.png:/icons/document-save-all.png @@ -912,7 +899,7 @@ - + :/icons/document-new.png:/icons/document-new.png @@ -1054,7 +1041,7 @@ - + diff --git a/src/widgets/object_editor.cpp b/src/widgets/object_editor.cpp index 63cacf7..c33402f 100644 --- a/src/widgets/object_editor.cpp +++ b/src/widgets/object_editor.cpp @@ -28,6 +28,8 @@ ObjectEditor::ObjectEditor(QWidget * parent): QWidget(parent) { ui = new Ui::ObjectEditor(); ui->setupUi(this); + ui->scrollArea->viewport()->setAutoFillBackground(false); + ui->scrollAreaWidgetContents->setAutoFillBackground(false); view = 0; active = true; ignore_next = false; diff --git a/src/widgets/object_editor.ui b/src/widgets/object_editor.ui index 6963b91..f2eec89 100644 --- a/src/widgets/object_editor.ui +++ b/src/widgets/object_editor.ui @@ -11,6 +11,18 @@ + + 0 + + + 0 + + + 0 + + + 0 + @@ -32,6 +44,9 @@ + + QFrame::NoFrame + Qt::ScrollBarAlwaysOff @@ -46,11 +61,23 @@ 0 0 - 433 - 825 + 444 + 1047 + + 0 + + + 0 + + + 0 + + + 0 + diff --git a/src/widgets/view_editor.cpp b/src/widgets/view_editor.cpp index de44f19..3c5931d 100644 --- a/src/widgets/view_editor.cpp +++ b/src/widgets/view_editor.cpp @@ -28,6 +28,8 @@ ViewEditor::ViewEditor(QWidget * parent): QWidget(parent) { ui = new Ui::ViewEditor(); ui->setupUi(this); + ui->scrollArea->viewport()->setAutoFillBackground(false); + ui->scrollAreaWidgetContents->setAutoFillBackground(false); view = nullptr; active = true; ui->checkCameraLight->setCheckState(Qt::PartiallyChecked); diff --git a/src/widgets/view_editor.ui b/src/widgets/view_editor.ui index 96b537a..011de44 100644 --- a/src/widgets/view_editor.ui +++ b/src/widgets/view_editor.ui @@ -6,11 +6,11 @@ 0 0 - 328 - 538 + 479 + 737 - + 0 @@ -24,391 +24,301 @@ 0 - - - - QFormLayout::AllNonFixedFieldsGrow - - - 0 - - - 0 - - - 0 - - - 0 - - - - - Draw mode: - - - - - - - 2 - - - - Point - - - - - Wireframe - - - - - Solid - - - - - - - - Gamma: - - - - - - - 0.010000000000000 - - - 5.000000000000000 - - - 1.000000000000000 - - - 2 - - - - - - - Env HDR: - - - - - - - 2 - - - - - - - - - :/icons/edit-delete.png:/icons/edit-delete.png - - - - - - - - :/icons/document-open.png:/icons/document-open.png - - - - - - - - - - - - - - Camera light - - - true - - - - - - - Service mode - - - true - - - - - - - FXAA - - - - - - - Auto exposure - - - - - - - VSync - - - true - - - - - - - - - Camera + + + QFrame::NoFrame - - - - - - - Orbit - - - true - - - - - - - Qt::Horizontal - - - QSizePolicy::Preferred - - - - 40 - 1 - - - - - - - - FOV: - - - - - - - 0.100000000000000 - - - 179.900000000000006 - - - 60.000000000000000 - - - - - - - - - - - Depth start: - - - - - - - 3 - - - 999999999.000000000000000 - - - 1.000000000000000 - - - - - - - - - - - - Hover halo - - + true - - - - - Fill: - - - - - - - 0.000000000000000 - - - 1.000000000000000 - - - 0.300000000000000 - - - 2 - - - 0.050000000000000 - - - 0.100000000000000 - - - - - - - - 255 - 0 - 251 - - - - true - - - - - - - - - - Selection halo - - - true - - - - - - Fill: - - - - - - - 0.000000000000000 - - - 1.000000000000000 - - - 0.300000000000000 - - - 2 - - - 0.050000000000000 - - - 0.100000000000000 - - - - - - - - 0 - 143 - 239 - - - - true - - - - - - - - - - - - - 0 - 0 - + + + + 0 + 0 + 479 + 737 + + + + + 0 - - Fog + + 0 - - - QFormLayout::AllNonFixedFieldsGrow - - - - - Density: + + 0 + + + 0 + + + + + + QFormLayout::AllNonFixedFieldsGrow - - - - + + 0 + + + 0 + + + 0 + + + 0 + + + + + Draw mode: + + + + + + + 2 + + + + Point + + + + + Wireframe + + + + + Solid + + + + + + + + Gamma: + + + + + + + 0.010000000000000 + + + 5.000000000000000 + + + 1.000000000000000 + + + 2 + + + + + + + Env HDR: + + + + + + + 2 + + + + + + + + + :/icons/edit-delete.png:/icons/edit-delete.png + + + + + + + + :/icons/document-open.png:/icons/document-open.png + + + + + + + + + + + + + + Camera light + + + true + + + + + + + Service mode + + + true + + + + + + + FXAA + + + + + + + Auto exposure + + + + + + + VSync + + + true + + + + + + + + + Camera + + - + + + + + Orbit + + + true + + + + + + + Qt::Horizontal + + + QSizePolicy::Preferred + + + + 40 + 1 + + + + + + + + FOV: + + + + + + + 0.100000000000000 + + + 179.900000000000006 + + + 60.000000000000000 + + + + + + + + + + + Depth start: + + + + + + + 3 + + + 999999999.000000000000000 + + + 1.000000000000000 + + + + + + + + + + + + Hover halo + + + true + + + + + + Fill: + + + + + 0.000000000000000 - 10.000000000000000 + 1.000000000000000 - 0.000000000000000 + 0.300000000000000 - 3 + 2 0.050000000000000 @@ -418,78 +328,202 @@ + + + + + 255 + 0 + 251 + + + + true + + + - - - - - Decay: - - - - - - - 0.000000000000000 - - - 9999.000000000000000 - - - 10.000000000000000 - - - 2 - - - 0.050000000000000 - - - 0.100000000000000 - - - true - - - 9999.000000000000000 - - - - - - - - 128 - 128 - 128 - - - - - - - - Color - - - - - - - - - - - - Qt::Vertical - - - - 20 - 1 - - - + + + + + + Selection halo + + + true + + + + + + Fill: + + + + + + + 0.000000000000000 + + + 1.000000000000000 + + + 0.300000000000000 + + + 2 + + + 0.050000000000000 + + + 0.100000000000000 + + + + + + + + 0 + 143 + 239 + + + + true + + + + + + + + + + + + + 0 + 0 + + + + Fog + + + + QFormLayout::AllNonFixedFieldsGrow + + + + + Density: + + + + + + + + + 0.000000000000000 + + + 10.000000000000000 + + + 0.000000000000000 + + + 3 + + + 0.050000000000000 + + + 0.100000000000000 + + + + + + + + + Decay: + + + + + + + 0.000000000000000 + + + 9999.000000000000000 + + + 10.000000000000000 + + + 2 + + + 0.050000000000000 + + + 0.100000000000000 + + + true + + + 9999.000000000000000 + + + + + + + + 128 + 128 + 128 + + + + + + + + Color + + + + + + + + + + + + Qt::Vertical + + + + 20 + 64 + + + + + + + @@ -506,7 +540,7 @@ - +