summaryrefslogtreecommitdiffstats
path: root/src/declarative
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-07-27 01:09:14 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-07-27 02:12:50 (GMT)
commit6c7ed006b0a1f006e11fd5f78dd996d65114fc98 (patch)
tree43a9ef1b0f9f7f829d3049dcd25879471b07c437 /src/declarative
parent9ea7bb34e4b41e1263acb8a175f61566046f9bf6 (diff)
downloadQt-6c7ed006b0a1f006e11fd5f78dd996d65114fc98.zip
Qt-6c7ed006b0a1f006e11fd5f78dd996d65114fc98.tar.gz
Qt-6c7ed006b0a1f006e11fd5f78dd996d65114fc98.tar.bz2
Document that animations have to be started/stopped as a group
Diffstat (limited to 'src/declarative')
-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 1a223d5..9806957 100644
--- a/src/declarative/util/qdeclarativeanimation.cpp
+++ b/src/declarative/util/qdeclarativeanimation.cpp
@@ -1557,6 +1557,10 @@ QDeclarativeListProperty<QDeclarativeAbstractAnimation> QDeclarativeAnimationGro
sources. The \l PropertyAnimation 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}
*/
@@ -1622,6 +1626,10 @@ void QDeclarativeSequentialAnimation::transition(QDeclarativeStateActions &actio
sources. The \l PropertyAnimation 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}
*/
/*!