From 6c7ed006b0a1f006e11fd5f78dd996d65114fc98 Mon Sep 17 00:00:00 2001 From: Bea Lam Date: Tue, 27 Jul 2010 11:09:14 +1000 Subject: Document that animations have to be started/stopped as a group --- src/declarative/util/qdeclarativeanimation.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) 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 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} */ /*! -- cgit v0.12