summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlanimations/data/properties5.qml
blob: 56e0be89a8edf34969eaffa88681fbc21e5b7e55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import Qt 4.6

Rectangle {
    width: 400
    height: 400
    Rectangle {
        id: theRect
        objectName: "TheRect"
        color: "red"
        width: 50; height: 50
        x: 100; y: 100
        x: NumberAnimation { matchTargets: theRect; matchProperties: "y"; to: 200; }
    }
}