aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/util
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2018-02-26 10:49:49 +0100
committerMitch Curtis <mitch.curtis@qt.io>2018-02-26 14:45:24 +0000
commit41edb3bd9f373a865d5698ac8c18bf341071eae9 (patch)
tree0c7ed57d082e002e0bb07dc9d24995e649761a12 /src/qml/util
parentbcbdd0d22bb0d6f07d5184fd16de1a9c3a439378 (diff)
Add finished() signal to AnimatedSprite
It's nicer to respond to a sprite finishing its animation like this: onFinished: doStuff() than this: onRunningChanged: if (!running) doStuff() In addition, the latter will get executed even if the animation is manually stopped, whereas finished() is only emitted when the animation finishes naturally. [ChangeLog][QtQuick][AnimatedSprite] Added finished() signal to AnimatedSprite as a convenient way to react to an animation finishing. Change-Id: I558e8372b54bacacd5695cb0edf97d8b84b373f9 Reviewed-by: J-P Nurmi <jpnurmi@qt.io> Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/qml/util')
0 files changed, 0 insertions, 0 deletions