Add marker navigation support to LottieVectorImageController
Lottie animations can define named markers tied to specific frames.
VectorImage now exposes them, and LottieVectorImageController adds
gotoAndPlay()/gotoAndStop() overloads that accept marker names.
Markers with a non-zero duration stop playback automatically at the
end of the segment. Navigation UI is also added to the viewer example.
Task-number: QTBUG-146990
Change-Id: I35aca483af6f757338d62ecd7676ca97c179ffab
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
| commit | 4f2cd5550ab94b197b6d7e2dbc02ff73545e72bb |
| parent | d5b3d6de6f0dd11c07a6f4264d42d400ec094f3b |
| author | Kwanghyo Park <kwanghyo.park@qt.io> |
| committer | Kwanghyo Park <kwanghyo.park@qt.io> |
| commit time | Wed, 1 Jul 2026 17:53:03 +0000 |
- M examples/lottie/qtlottieviewer/VectorImageExampleView.qml
- M src/lottie/qlottieroot.cpp
- M src/lottie/qlottieroot_p.h
- M src/lottiegenerator/qlottievisitor.cpp
- M src/qml/qlottieanimation.cpp
- M src/qml/qlottieanimation_p.h
- M src/qml/qlottievectorimagecontroller.cpp
- M src/qml/qlottievectorimagecontroller_p.h