summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2010-04-19 11:15:51 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2010-04-19 11:15:51 (GMT)
commit2ac290f56c6ad4f3e236034a7b99ecdb598ecc3a (patch)
treecca9df81c3d3b93daef668779c8a615fb2103256
parent441e7486f59ecb25ac03d9cfa882f0bf164cf788 (diff)
downloadQt-2ac290f56c6ad4f3e236034a7b99ecdb598ecc3a.zip
Qt-2ac290f56c6ad4f3e236034a7b99ecdb598ecc3a.tar.gz
Qt-2ac290f56c6ad4f3e236034a7b99ecdb598ecc3a.tar.bz2
Document default easing curve.
-rw-r--r--src/declarative/util/qdeclarativeanimation.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/declarative/util/qdeclarativeanimation.cpp b/src/declarative/util/qdeclarativeanimation.cpp
index 5f81b26..27f37df 100644
--- a/src/declarative/util/qdeclarativeanimation.cpp
+++ b/src/declarative/util/qdeclarativeanimation.cpp
@@ -1748,7 +1748,8 @@ void QDeclarativePropertyAnimation::setTo(const QVariant &t)
\brief the easing curve used for the animation.
To specify an easing curve you need to specify at least the type. For some curves you can also specify
- amplitude, period and/or overshoot (more details provided after the table).
+ amplitude, period and/or overshoot (more details provided after the table). The default easing curve is
+ Linear.
\qml
PropertyAnimation { properties: "y"; easing.type: "InOutElastic"; easing.amplitude: 2.0; easing.period: 1.5 }