mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-30 01:16:33 +02:00
[ui] widgets visibility options
This commit is contained in:
parent
1c66c6d9ab
commit
0f95188962
2 changed files with 21 additions and 0 deletions
|
@ -57,7 +57,9 @@ Item {
|
||||||
|
|
||||||
Controls1.SplitView {
|
Controls1.SplitView {
|
||||||
orientation: Qt.Vertical
|
orientation: Qt.Vertical
|
||||||
|
Layout.fillWidth: true
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
|
implicitWidth: Math.round(parent.width * 0.2)
|
||||||
Layout.minimumWidth: imageGallery.defaultCellSize
|
Layout.minimumWidth: imageGallery.defaultCellSize
|
||||||
|
|
||||||
ImageGallery {
|
ImageGallery {
|
||||||
|
@ -80,6 +82,8 @@ Item {
|
||||||
}
|
}
|
||||||
Panel {
|
Panel {
|
||||||
title: "Image Viewer"
|
title: "Image Viewer"
|
||||||
|
visible: settings_UILayout.showImageViewer
|
||||||
|
implicitWidth: Math.round(parent.width * 0.35)
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.minimumWidth: 50
|
Layout.minimumWidth: 50
|
||||||
|
@ -161,9 +165,12 @@ Item {
|
||||||
|
|
||||||
Panel {
|
Panel {
|
||||||
title: "3D Viewer"
|
title: "3D Viewer"
|
||||||
|
visible: settings_UILayout.showViewer3D
|
||||||
implicitWidth: Math.round(parent.width * 0.45)
|
implicitWidth: Math.round(parent.width * 0.45)
|
||||||
Layout.minimumWidth: 20
|
Layout.minimumWidth: 20
|
||||||
Layout.minimumHeight: 80
|
Layout.minimumHeight: 80
|
||||||
|
Layout.fillHeight: true
|
||||||
|
Layout.fillWidth: true
|
||||||
|
|
||||||
Controls1.SplitView {
|
Controls1.SplitView {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
|
@ -58,6 +58,8 @@ ApplicationWindow {
|
||||||
category: 'UILayout'
|
category: 'UILayout'
|
||||||
property alias showLiveReconstruction: liveSfMVisibilityCB.checked
|
property alias showLiveReconstruction: liveSfMVisibilityCB.checked
|
||||||
property alias showGraphEditor: graphEditorVisibilityCB.checked
|
property alias showGraphEditor: graphEditorVisibilityCB.checked
|
||||||
|
property alias showImageViewer: imageViewerVisibilityCB.checked
|
||||||
|
property alias showViewer3D: viewer3DVisibilityCB.checked
|
||||||
}
|
}
|
||||||
|
|
||||||
Component.onDestruction: {
|
Component.onDestruction: {
|
||||||
|
@ -581,6 +583,18 @@ ApplicationWindow {
|
||||||
checkable: true
|
checkable: true
|
||||||
checked: false
|
checked: false
|
||||||
}
|
}
|
||||||
|
MenuItem {
|
||||||
|
id: imageViewerVisibilityCB
|
||||||
|
text: "Image Viewer"
|
||||||
|
checkable: true
|
||||||
|
checked: true
|
||||||
|
}
|
||||||
|
MenuItem {
|
||||||
|
id: viewer3DVisibilityCB
|
||||||
|
text: "3D Viewer"
|
||||||
|
checkable: true
|
||||||
|
checked: true
|
||||||
|
}
|
||||||
MenuSeparator {}
|
MenuSeparator {}
|
||||||
Action {
|
Action {
|
||||||
text: "Fullscreen"
|
text: "Fullscreen"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue