summaryrefslogtreecommitdiff
path: root/src/declarative
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2010-04-19 21:15:51 +1000
committerAlan Alpert <alan.alpert@nokia.com>2010-04-19 21:15:51 +1000
commit2ac290f56c6ad4f3e236034a7b99ecdb598ecc3a (patch)
treecca9df81c3d3b93daef668779c8a615fb2103256 /src/declarative
parent441e7486f59ecb25ac03d9cfa882f0bf164cf788 (diff)
downloadqt4-tools-2ac290f56c6ad4f3e236034a7b99ecdb598ecc3a.tar.gz
Document default easing curve.
Diffstat (limited to 'src/declarative')
-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 5f81b2620f..27f37dfe09 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 }