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 {
|
||||
orientation: Qt.Vertical
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
implicitWidth: Math.round(parent.width * 0.2)
|
||||
Layout.minimumWidth: imageGallery.defaultCellSize
|
||||
|
||||
ImageGallery {
|
||||
|
@ -80,6 +82,8 @@ Item {
|
|||
}
|
||||
Panel {
|
||||
title: "Image Viewer"
|
||||
visible: settings_UILayout.showImageViewer
|
||||
implicitWidth: Math.round(parent.width * 0.35)
|
||||
Layout.fillHeight: true
|
||||
Layout.fillWidth: true
|
||||
Layout.minimumWidth: 50
|
||||
|
@ -161,9 +165,12 @@ Item {
|
|||
|
||||
Panel {
|
||||
title: "3D Viewer"
|
||||
visible: settings_UILayout.showViewer3D
|
||||
implicitWidth: Math.round(parent.width * 0.45)
|
||||
Layout.minimumWidth: 20
|
||||
Layout.minimumHeight: 80
|
||||
Layout.fillHeight: true
|
||||
Layout.fillWidth: true
|
||||
|
||||
Controls1.SplitView {
|
||||
anchors.fill: parent
|
||||
|
|
|
@ -58,6 +58,8 @@ ApplicationWindow {
|
|||
category: 'UILayout'
|
||||
property alias showLiveReconstruction: liveSfMVisibilityCB.checked
|
||||
property alias showGraphEditor: graphEditorVisibilityCB.checked
|
||||
property alias showImageViewer: imageViewerVisibilityCB.checked
|
||||
property alias showViewer3D: viewer3DVisibilityCB.checked
|
||||
}
|
||||
|
||||
Component.onDestruction: {
|
||||
|
@ -581,6 +583,18 @@ ApplicationWindow {
|
|||
checkable: true
|
||||
checked: false
|
||||
}
|
||||
MenuItem {
|
||||
id: imageViewerVisibilityCB
|
||||
text: "Image Viewer"
|
||||
checkable: true
|
||||
checked: true
|
||||
}
|
||||
MenuItem {
|
||||
id: viewer3DVisibilityCB
|
||||
text: "3D Viewer"
|
||||
checkable: true
|
||||
checked: true
|
||||
}
|
||||
MenuSeparator {}
|
||||
Action {
|
||||
text: "Fullscreen"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue