summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormae <qt-info@nokia.com>2010-07-08 15:48:34 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2010-07-18 04:23:56 (GMT)
commitf137dee009a63cd2dbef0f86e338e5b50730359c (patch)
treed16492dc9ab9de24e537e831c06093f45b82e83d /src
parent55ef2c487358c85a87e5cd63e87e2c019c3f5935 (diff)
downloadQt-f137dee009a63cd2dbef0f86e338e5b50730359c.zip
Qt-f137dee009a63cd2dbef0f86e338e5b50730359c.tar.gz
Qt-f137dee009a63cd2dbef0f86e338e5b50730359c.tar.bz2
Added some documentation to spring animation
(cherry picked from commit d5d16b3d3304774df11f40df0206d90ed5f840de)
Diffstat (limited to 'src')
-rw-r--r--src/declarative/util/qdeclarativespringanimation.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/declarative/util/qdeclarativespringanimation.cpp b/src/declarative/util/qdeclarativespringanimation.cpp
index 58d81ad..4cf2fc0 100644
--- a/src/declarative/util/qdeclarativespringanimation.cpp
+++ b/src/declarative/util/qdeclarativespringanimation.cpp
@@ -206,6 +206,15 @@ void QDeclarativeSpringAnimationPrivate::updateMode()
/*!
\qmlclass SpringAnimation QDeclarativeSpringAnimation
\since 4.7
+
+ \brief The SpringAnimation element allows a property to track a value in a spring-like motion
+
+ SpringAnimation mimics the oscillatory behavior of a spring, with the appropriate \l spring constant to
+ control the acceleration and the \l damping to control how quickly the effect dies away.
+
+ You can also limit the maximum \l velocity of the animation.
+
+
*/
QDeclarativeSpringAnimation::QDeclarativeSpringAnimation(QObject *parent)