summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-07-27 01:09:14 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2010-09-01 05:34:21 (GMT)
commit2562f8e0b2919e295acefad50eeefa9e9acfb02b (patch)
tree0b639b7084a2ae5cb0e85ce4d22c598fa9c4bd50
parent139cd211974da167586383493f6d4a55d64aaf09 (diff)
downloadQt-2562f8e0b2919e295acefad50eeefa9e9acfb02b.zip
Qt-2562f8e0b2919e295acefad50eeefa9e9acfb02b.tar.gz
Qt-2562f8e0b2919e295acefad50eeefa9e9acfb02b.tar.bz2
Document that animations have to be started/stopped as a group
(cherry picked from commit 6c7ed006b0a1f006e11fd5f78dd996d65114fc98)
-rw-r--r--src/declarative/util/qdeclarativeanimation.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/declarative/util/qdeclarativeanimation.cpp b/src/declarative/util/qdeclarativeanimation.cpp
index 927f081..a747706 100644
--- a/src/declarative/util/qdeclarativeanimation.cpp
+++ b/src/declarative/util/qdeclarativeanimation.cpp
@@ -1563,6 +1563,10 @@ QDeclarativeListProperty<QDeclarativeAbstractAnimation> QDeclarativeAnimationGro
sources. The \l {QML Animation} documentation shows a variety of methods
for creating animations.
+ \note Once an animation has been grouped into a SequentialAnimation or
+ ParallelAnimation, it cannot be individually started and stopped; the
+ SequentialAnimation or ParallelAnimation must be started and stopped as a group.
+
\sa ParallelAnimation, {QML Animation}, {declarative/animation/basics}{Animation basics example}
*/
@@ -1628,6 +1632,10 @@ void QDeclarativeSequentialAnimation::transition(QDeclarativeStateActions &actio
sources. The \l {QML Animation} documentation shows a variety of methods
for creating animations.
+ \note Once an animation has been grouped into a SequentialAnimation or
+ ParallelAnimation, it cannot be individually started and stopped; the
+ SequentialAnimation or ParallelAnimation must be started and stopped as a group.
+
\sa SequentialAnimation, {QML Animation}, {declarative/animation/basics}{Animation basics example}
*/
/*!