mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-03 11:21:52 +02:00
[PanoramaViewer] add grid display button
Added the possibility to enable or disable the grid display with a button
This commit is contained in:
parent
49a4161c22
commit
376802b713
2 changed files with 6 additions and 5 deletions
|
@ -16,7 +16,6 @@ FocusScope {
|
|||
property Component floatViewerComp: Qt.createComponent("FloatImage.qml")
|
||||
property alias useFloatImageViewer: displayHDR.checked
|
||||
property alias usePanoramaImageViewer: displayPanoramaViewer.checked
|
||||
property bool displayGridPanorama: panoramaImageToolbar.displayGrid
|
||||
|
||||
Loader {
|
||||
id: aliceVisionPluginLoader
|
||||
|
@ -232,9 +231,6 @@ FocusScope {
|
|||
}
|
||||
}
|
||||
|
||||
// displayGridPanorama. :{
|
||||
// console.warn("Grid out ")
|
||||
// }
|
||||
}
|
||||
|
||||
// qtAliceVision Panorama Viewer
|
||||
|
@ -254,6 +250,7 @@ FocusScope {
|
|||
'gamma': Qt.binding(function() { return panoramaImageToolbar.gammaValue; }),
|
||||
'gain': Qt.binding(function() { return panoramaImageToolbar.gainValue; }),
|
||||
'channelModeString': Qt.binding(function() { return panoramaImageToolbar.channelModeValue; }),
|
||||
'isGridDisplayed' : Qt.binding(function(){ return panoramaImageToolbar.displayGrid;})
|
||||
})
|
||||
} else {
|
||||
// Force the unload (instead of using Component.onCompleted to load it once and for all) is necessary since Qt 5.14
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue