summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlanimations/data/properties5.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qmlanimations/data/properties5.qml')
-rw-r--r--tests/auto/declarative/qmlanimations/data/properties5.qml14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlanimations/data/properties5.qml b/tests/auto/declarative/qmlanimations/data/properties5.qml
new file mode 100644
index 0000000..56e0be8
--- /dev/null
+++ b/tests/auto/declarative/qmlanimations/data/properties5.qml
@@ -0,0 +1,14 @@
+import Qt 4.6
+
+Rectangle {
+ width: 400
+ height: 400
+ Rectangle {
+ id: theRect
+ objectName: "TheRect"
+ color: "red"
+ width: 50; height: 50
+ x: 100; y: 100
+ x: NumberAnimation { matchTargets: theRect; matchProperties: "y"; to: 200; }
+ }
+}