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

Rectangle {
    width: 400
    height: 400

    Rectangle {
        objectName: "innerRect"
        height: 100; width: 100; color: "green"
        property real targetX: 100

        x: targetX
        Behavior on x {
            NumberAnimation {}
        }
    }
}