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

Rectangle {
    width: 400
    height: 400

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

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