diff options
author | Eskil Abrahamsen Blomfeldt <[email protected]> | 2025-04-07 14:44:51 +0200 |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <[email protected]> | 2025-05-14 14:49:28 +0200 |
commit | 0a848c1f26f82bfc2259beb104691c41c3547b5f (patch) | |
tree | 6f200463e1e6bf69e96d7d38de9d884027b6ac9d /src/quick/qtquickglobal_p.h | |
parent | 711b4d7a383a79d8b73ced106f82228e664fd8ef (diff) |
Add API to VectorImage for controlling animations
A lot of animations will just be a single time line that you
is intended to be controlled from the outside (and formats like Lottie
does not support anything beyond this), so we need some API to
match the general Animation API so that you can restart, pause/resume
and change the number of times an animation loops.
We do this by adding a group of properties called "animations" that
can be used to control all the animations in the document at once.
We generate this both in the QML file from *toqml and also in
VectorImage itself.
[ChangeLog][QtQuickVectorImage] Added some API to the VectorImage
for looping, stopping, pausing and resuming animations.
Fixes: QTBUG-135265
Change-Id: Id372c00110d165d02db357ce77eb1dec504cffb8
Reviewed-by: Eirik Aavitsland <[email protected]>
Diffstat (limited to 'src/quick/qtquickglobal_p.h')
0 files changed, 0 insertions, 0 deletions