diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2010-11-30 23:00:17 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2010-11-30 23:00:17 (GMT) |
commit | 9d9152a4c0fd3752418662b0fcdd77b3906d9b5b (patch) | |
tree | 25788c724d28c853c8ba6d79291fb3ea8a5540ed /tests/auto/declarative/qdeclarativeproperty/data/aliasPropertyBindings.qml | |
parent | 4d144f84300fb2613391fbe3de9fc9fdba5c6691 (diff) | |
parent | bb1a6cd1e9d6d00e8d70f665ca223261e9eda06e (diff) | |
download | Qt-9d9152a4c0fd3752418662b0fcdd77b3906d9b5b.zip Qt-9d9152a4c0fd3752418662b0fcdd77b3906d9b5b.tar.gz Qt-9d9152a4c0fd3752418662b0fcdd77b3906d9b5b.tar.bz2 |
Merge branch '4.7-upstream' into 4.7-water
Diffstat (limited to 'tests/auto/declarative/qdeclarativeproperty/data/aliasPropertyBindings.qml')
-rw-r--r-- | tests/auto/declarative/qdeclarativeproperty/data/aliasPropertyBindings.qml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativeproperty/data/aliasPropertyBindings.qml b/tests/auto/declarative/qdeclarativeproperty/data/aliasPropertyBindings.qml new file mode 100644 index 0000000..a253a58 --- /dev/null +++ b/tests/auto/declarative/qdeclarativeproperty/data/aliasPropertyBindings.qml @@ -0,0 +1,19 @@ +import QtQuick 1.0 + +Item { + id: root + + property real test: 9 + property real test2: 3 + + property real realProperty: test * test + test + property alias aliasProperty: root.realProperty + + states: State { + name: "switch" + PropertyChanges { + target: root + aliasProperty: 32 * test2 + } + } +} |