diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2018-03-07 14:57:29 +0100 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2018-03-09 09:11:31 +0000 |
commit | 31e64606f253663f8ee2032b94521afd1804ab11 (patch) | |
tree | 92484cb64b16db769cf0cd37470245e670fd22ae /src/qml/memory | |
parent | 5446be855becab2499611f2bc2280b74160f2e75 (diff) |
Animation: add finished() signal
Currently, Animation has a stopped() signal. This is executed even if
the animation is stopped manually. To react to an animation finishing
naturally, you currently have to do the following:
onRunningChanged: if (!running) doStuff()
This patch adds a dedicated signal:
onFinished: doStuff()
[ChangeLog][QtQuick][Animation] Added finished() signal to
Animation as a convenient way to react to an animation finishing
naturally.
Change-Id: I8765d3e8e2b7bf7ef66a6acb69feafb43e9619d3
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/qml/memory')
0 files changed, 0 insertions, 0 deletions