summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeanimations/data/valuesource.qml
blob: bb6b028c1f0d298638d8586709a9371ec9c0ecc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import Qt 4.7

Rectangle {
    width: 400
    height: 400
    Rectangle {
        id: rect
        objectName: "MyRect"
        color: "red"
        width: 50; height: 50
        x: 100; y: 100
        NumberAnimation on x { id: anim; objectName: "MyAnim"; to: 200 }
    }
}