summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativesmoothedfollow
Commit message (Collapse)AuthorAgeFilesLines
* Symbian build fix to declarative auto and benchmark testsJoona Petrell2010-05-141-1/+8
| | | | | Task-number: QTBUG-9491 Reviewed-by: Martin Jones
* Fix versioning of Qt Declarative's in-built typesAlan Alpert2010-04-215-5/+5
| | | | | | Since we aren't releasing for 4.6, all types are new in 4.7. Task-number: QTBUG-10081
* Tweak tests to run in parallelAaron Kennedy2010-04-131-0/+3
|
* Add SmoothedFollow element to qmlLeonardo Sobral Cunha2010-04-087-0/+237
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