[Panorama Viewer] send value from toolbar to viewer

This commit is contained in:
Landrodie 2021-01-25 15:46:05 +01:00 committed by Fabien Castan
parent 508775c061
commit 1b5d2a199a
3 changed files with 4 additions and 0 deletions

View file

@ -263,6 +263,7 @@ FocusScope {
if(active) {
setSource("PanoramaViewer.qml", {
'source': Qt.binding(function() { return getImageFile(imageType.type); }),
'downscale': Qt.binding(function(){return panoramaViewerToolbar.downscaleValue;})
})
} else {
// Force the unload (instead of using Component.onCompleted to load it once and for all) is necessary since Qt 5.14