[ui] Fetching button added for Sequence Player

This commit is contained in:
Aurore LAFAURIE 2024-05-28 17:00:28 +02:00
parent 154babbf5c
commit 1c48d68bef
3 changed files with 13 additions and 2 deletions

View file

@ -461,7 +461,8 @@ FocusScope {
'cropFisheye': false,
'sequence': Qt.binding(function() { return ((root.enableSequencePlayer && _reconstruction && _reconstruction.viewpoints.count > 0) ? getSequence() : []) }),
'targetSize': Qt.binding(function() { return floatImageViewerLoader.targetSize }),
'useSequence': Qt.binding(function() { return root.enableSequencePlayer && !useExternal && _reconstruction })
'useSequence': Qt.binding(function() { return root.enableSequencePlayer && !useExternal && _reconstruction }),
'fetchingSequence': Qt.binding(function() { return sequencePlayer.loading }),
})
} else {
// Forcing the unload (instead of using Component.onCompleted to load it once and for all) is necessary since Qt 5.14