summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qdeclarativesmoothedfollow.cpp
Commit message (Collapse)AuthorAgeFilesLines
* little doc fix.Martin Jones2010-05-051-1/+1
|
* docWarwick Allison2010-05-051-3/+3
| | | | Task-number: QTBUG-10386
* Doc: in QML use "real" and "enumeration", not "qreal" and "enum"Martin Jones2010-04-161-2/+2
|
* Rename remaining import Qt 4.6 lines to import Qt 4.7Joona Petrell2010-04-141-1/+1
| | | | | Task-number: Reviewed-by: Martin Jones
* Add SmoothedFollow element to qmlLeonardo Sobral Cunha2010-04-081-0/+299
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