tests/auto/quick/qquicksmoothedanimation/data/smoothedanimationValueSource.qml
raw| 1 | import QtQuick 2.0 |
| 2 | |
| 3 | Rectangle { |
| 4 | width: 300; height: 300; |
| 5 | Rectangle { |
| 6 | objectName: "theRect" |
| 7 | color: "red" |
| 8 | width: 60; height: 60; |
| 9 | x: 100; y: 100; |
| 10 | SmoothedAnimation on x { objectName: "easeX"; to: 200; velocity: 500 } |
| 11 | SmoothedAnimation on y { objectName: "easeY"; to: 200; duration: 250; velocity: 500 } |
| 12 | } |
| 13 | } |