summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/declarative.pro
diff options
context:
space:
mode:
authorLeonardo Sobral Cunha <leo.cunha@nokia.com>2010-04-08 03:42:58 (GMT)
committerLeonardo Sobral Cunha <leo.cunha@nokia.com>2010-04-08 05:06:12 (GMT)
commit62fb142331fe8780a38a3ec84cf0e9d5eada316e (patch)
treef3d3c4cfbf344e85ad8b4c6aaa758d25fc66e4dd /tests/auto/declarative/declarative.pro
parent74595d1d6156603fc29090a96e0f0d066756bbe6 (diff)
downloadQt-62fb142331fe8780a38a3ec84cf0e9d5eada316e.zip
Qt-62fb142331fe8780a38a3ec84cf0e9d5eada316e.tar.gz
Qt-62fb142331fe8780a38a3ec84cf0e9d5eada316e.tar.bz2
Add SmoothedFollow element to qml
The SmoothedFollow is the same as the old EaseFollow, so it's not an animation, but its main use case is to be used as a property value source to automatically follow the 'to' property, as in the example below. Rectangle { color: "green" width: 60; height: 60; SmoothedFollow on x { to: rect1.x - 5; velocity: 200 } SmoothedFollow on y { to: rect1.y - 5; velocity: 200 } } This element shares the internal implementation with SmoothedAnimation, both providing the same easing function, but with SmoothedFollow it's easier to set a start value to animate intially and then start to follow, while SmoothedAnimation is still convenient for using inside Behaviors and Transitions. Reviewed-by: Michael Brasser
Diffstat (limited to 'tests/auto/declarative/declarative.pro')
-rw-r--r--tests/auto/declarative/declarative.pro3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/declarative/declarative.pro b/tests/auto/declarative/declarative.pro
index 2d88058..11d7c13 100644
--- a/tests/auto/declarative/declarative.pro
+++ b/tests/auto/declarative/declarative.pro
@@ -41,13 +41,14 @@ SUBDIRS += \
qdeclarativelanguage \ # Cover
qdeclarativelistreference \ # Cover
qdeclarativelistmodel \ # Cover
- qdeclarativeproperty \ # Cover
+ qdeclarativeproperty \ # Cover
qdeclarativemetatype \ # Cover
qdeclarativemoduleplugin \ # Cover
qdeclarativepixmapcache \ # Cover
qdeclarativepropertymap \ # Cover
qdeclarativeqt \ # Cover
qdeclarativesmoothedanimation \ # Cover
+ qdeclarativesmoothedfollow\ # Cover
qdeclarativespringfollow \ # Cover
qdeclarativestates \ # Cover
qdeclarativesystempalette \ # Cover