Add a new running property to QQuickTransition
authorCharles Yin <yinyunqiao@gmail.com>
Fri, 16 Mar 2012 14:26:58 +0000 (00:26 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 16 Apr 2012 03:26:57 +0000 (05:26 +0200)
commit5bbb2e195b2cee8dbea0715ebf6eef41f36a3100
tree884ee73c75f07a2add74896b9253e463da41a02f
parent99d9d9a38dd14d8d97d61ab25ce5bc37bb66d0d6
Add a new running property to QQuickTransition

This read only property can be used to track the transition running
state. As all animation items inside a Transition item are just
animation defination templetes, so their running properties won't be
updated during the transition animations running, which makes it
hard to know the current running state of a transition animation.

Change-Id: If7fc0616ba384abc6bf2da67c7c639430c3d8fb9
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
src/qml/animations/qabstractanimationjob.cpp
src/qml/animations/qabstractanimationjob_p.h
src/quick/util/qquicktransition.cpp
src/quick/util/qquicktransition_p.h
tests/auto/quick/qquickanimations/tst_qquickanimations.cpp