aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickspringanimation/data/springanimation2.qml
blob: 9f72e515339faba8d23836011e3f23766a40c480 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import QtQuick 2.0

Item {
    Item {
        id: item
    }

    SpringAnimation {
        target: item; property: "x"
        to: 1.44; velocity: 0.9
        spring: 1.0; damping: 0.5
        epsilon: 0.25; modulus: 360.0
        mass: 2.0;
        running: true;
    }
}