Problems with Open-Source Downloads read https://www.qt.io/blog/problem-with-open-source-downloads and https://forum.qt.io/post/638946
Stopping all the animation at a time in QML ?
krishkn last edited by
I have several animations running and want to pause/stop all the animation at a time, hw could we do this in QML ?
Guest last edited by
AFAIK, if you have standalone animations, you have to call stop() on each one of them.
If you have grouped them into say a single Parallel or Sequential animation (based on your requirement), then you can just call stop() on this animation.
mbrasser last edited by
Depending on the circumstance, you might also be able to bind the running property of each animation to the same property (e.g. property bool animationsEnabled). Stopping all the animations is then just a matter of setting that property to false.