summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-07-16 06:33:06 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-07-16 06:33:06 (GMT)
commit402ffa151d56a7af851d38a83bc37959c133cf94 (patch)
tree46763e4881ae43ffa21201c3dc4013a9cdbeafd1
parent6d5d19b5d92868ed1cd53ea9e6bf8b1119d0da10 (diff)
parent875ae40157aa9a34e0b74941fa905f7445c365df (diff)
downloadQt-402ffa151d56a7af851d38a83bc37959c133cf94.zip
Qt-402ffa151d56a7af851d38a83bc37959c133cf94.tar.gz
Qt-402ffa151d56a7af851d38a83bc37959c133cf94.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7
-rw-r--r--doc/src/declarative/animation.qdoc4
-rw-r--r--src/declarative/util/qdeclarativeanimation.cpp3
2 files changed, 6 insertions, 1 deletions
diff --git a/doc/src/declarative/animation.qdoc b/doc/src/declarative/animation.qdoc
index c5333df..401cf16 100644
--- a/doc/src/declarative/animation.qdoc
+++ b/doc/src/declarative/animation.qdoc
@@ -67,7 +67,9 @@ A property animation can also be specified as a resource that is manipulated fro
\snippet doc/src/snippets/declarative/animation.qml property-anim-3
As can be seen, when an animation is used like this (as opposed to as a value source) you will need
-to explicitly set the \c target and \c property to animate.
+to explicitly set the \c target and \c property to animate. This also the only case where
+an animation needs to be started explictly by either setting the \c running property to
+true or calling the \c start() method.
Animations can be joined into a group using SequentialAnimation and ParallelAnimation.
diff --git a/src/declarative/util/qdeclarativeanimation.cpp b/src/declarative/util/qdeclarativeanimation.cpp
index bdb9510..5005746 100644
--- a/src/declarative/util/qdeclarativeanimation.cpp
+++ b/src/declarative/util/qdeclarativeanimation.cpp
@@ -1671,6 +1671,9 @@ void QDeclarativePropertyAnimationPrivate::convertVariant(QVariant &variant, int
different. For more information see the individual property documentation, as well
as the \l{QML Animation} introduction.
+ Note that PropertyAnimation inherits the abstract \l Animation element.
+ This includes additional properties and methods for controlling the animation.
+
\sa {QML Animation}, {declarative/animation/basics}{Animation basics example}
*/