summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativebehaviors/data/startup2.qml
blob: 1911cc4eb59885e80f674662a3967c8fdbb4c9b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import Qt 4.7

Rectangle {
    width: 800;
    height: 480;

    Text { id:theText; text: "hello world" }

    Rectangle {
        objectName: "innerRect"
        color: "red"
        x: theText.width
        Behavior on x { NumberAnimation {} }
        width: 100; height: 100
    }
}