diff options
Diffstat (limited to 'tests/auto/declarative/qdeclarativestates/data/basicBinding2.qml')
-rw-r--r-- | tests/auto/declarative/qdeclarativestates/data/basicBinding2.qml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativestates/data/basicBinding2.qml b/tests/auto/declarative/qdeclarativestates/data/basicBinding2.qml new file mode 100644 index 0000000..2e7b4cf --- /dev/null +++ b/tests/auto/declarative/qdeclarativestates/data/basicBinding2.qml @@ -0,0 +1,12 @@ +import Qt 4.6 +Rectangle { + id: myRectangle + + property color sourceColor: "red" + width: 100; height: 100 + color: sourceColor + states: State { + name: "blue" + PropertyChanges { target: myRectangle; color: "blue" } + } +} |