mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-29 18:27:23 +02:00
[ui] Shortcuts in Viewer2D and SequencePlayer
This commit is contained in:
parent
601fbc53f8
commit
6b6f620124
2 changed files with 21 additions and 0 deletions
|
@ -403,4 +403,15 @@ FloatingPane {
|
||||||
font: fpsTextInput.font
|
font: fpsTextInput.font
|
||||||
text: "100 FPS"
|
text: "100 FPS"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Action to play/pause the sequence player
|
||||||
|
Action {
|
||||||
|
id: playPauseAction
|
||||||
|
|
||||||
|
shortcut: "Space"
|
||||||
|
|
||||||
|
onTriggered: {
|
||||||
|
m.playing = !m.playing;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1512,4 +1512,14 @@ FocusScope {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Actions for Metadata overlay
|
||||||
|
Action {
|
||||||
|
id: metadataAction
|
||||||
|
|
||||||
|
shortcut: "I"
|
||||||
|
onTriggered: {
|
||||||
|
metadataCB.checked = !metadataCB.checked
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue