mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-06 21:01:59 +02:00
[ui] Fetching button added for Sequence Player
This commit is contained in:
parent
154babbf5c
commit
1c48d68bef
3 changed files with 13 additions and 2 deletions
|
@ -23,6 +23,7 @@ FloatingPane {
|
|||
property var sortedViewIds: []
|
||||
property var viewer: null
|
||||
readonly property alias sync3DSelected: m.sync3DSelected
|
||||
property alias loading: fetchButton.checked
|
||||
|
||||
function updateReconstructionView() {
|
||||
if (_reconstruction && m.frame >= 0 && m.frame < sortedViewIds.length) {
|
||||
|
@ -323,6 +324,15 @@ FloatingPane {
|
|||
}
|
||||
}
|
||||
|
||||
MaterialToolButton {
|
||||
id: fetchButton
|
||||
|
||||
text: MaterialIcons.download_for_offline
|
||||
ToolTip.text: "Fetch"
|
||||
checkable: true
|
||||
checked: false
|
||||
}
|
||||
|
||||
MaterialToolButton {
|
||||
id: repeatButton
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -157,7 +157,7 @@ Item {
|
|||
id: enableSequencePlayerAction
|
||||
text: "Enable Sequence Player"
|
||||
checkable: true
|
||||
checked: false
|
||||
checked: true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue