diff options
author | mae <qt-info@nokia.com> | 2010-07-08 15:48:34 (GMT) |
---|---|---|
committer | mae <qt-info@nokia.com> | 2010-07-08 15:49:59 (GMT) |
commit | d5d16b3d3304774df11f40df0206d90ed5f840de (patch) | |
tree | 989f89ddb2196b8682fb4d8b52cc1188d9133eca /src/declarative | |
parent | 3f2a4f34f6206e3a94915a8d50ddfe81e047b88b (diff) | |
download | Qt-d5d16b3d3304774df11f40df0206d90ed5f840de.zip Qt-d5d16b3d3304774df11f40df0206d90ed5f840de.tar.gz Qt-d5d16b3d3304774df11f40df0206d90ed5f840de.tar.bz2 |
Added some documentation to spring animation
Diffstat (limited to 'src/declarative')
-rw-r--r-- | src/declarative/util/qdeclarativespringanimation.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/declarative/util/qdeclarativespringanimation.cpp b/src/declarative/util/qdeclarativespringanimation.cpp index d3eb0c5..c098798 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) |