wip: qml use FSM to track player state
```plantuml state playerVisiblity { state AudioOnly { AudioOnly --> VideoEmbed: updateVideoEmbed\n[mainInterface.hasEmbededVideo] } state VideoEmbed { VideoEmbed -> AudioOnly : updateVideoEmbed\n[!mainInterface.hasEmbededVideo] state PinnedControls { PinnedControls -> AutoHide: updatePinVideo\n[!mainInterface.pinVideoControls] } state AutoHide { AutoHide -> PinnedControls: updatePinVideo\n[mainInterface.pinVideoControls] state AutoHideHidden { AutoHideHidden -> AutoHideVisible: raiseToolBar } state AutoHideVisible { state AutoHideUnlocked { AutoHideUnlocked -> AutoHideHidden : [timeout] AutoHideUnlocked -> AutoHideVisible: raiseToolBar AutoHideUnlocked -> AutoHideLocked: lockAutoHide } state AutoHideLocked { AutoHideLocked -> AutoHideUnlocked: unlockAutoHide } } } } } ```
Showing
- modules/gui/qt/player/qml/ControlBar.qml 2 additions, 2 deletionsmodules/gui/qt/player/qml/ControlBar.qml
- modules/gui/qt/player/qml/Player.qml 362 additions, 149 deletionsmodules/gui/qt/player/qml/Player.qml
- modules/gui/qt/player/qml/ResumeDialog.qml 66 additions, 37 deletionsmodules/gui/qt/player/qml/ResumeDialog.qml
- modules/gui/qt/player/qml/TopBar.qml 5 additions, 5 deletionsmodules/gui/qt/player/qml/TopBar.qml
Loading
Please register or sign in to comment