[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 e7941ef75e
commit 07f115bb70
3 changed files with 4 additions and 0 deletions

View file

@ -258,6 +258,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