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