summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlanimations/data/dontAutoStart.qml
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-02-18 06:06:36 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-02-18 06:06:36 (GMT)
commit4630cca1d2c5fa0553f46cec3566b88e91215070 (patch)
treeca3ef0717f09c15cb686053b61b0fc2bf60f5a46 /tests/auto/declarative/qmlanimations/data/dontAutoStart.qml
parentc8e266aaf21f470fd45ac61244466583b503fda2 (diff)
parentf9cf46d7198a47cbe50bcbf315b9d0718439086b (diff)
downloadQt-4630cca1d2c5fa0553f46cec3566b88e91215070.zip
Qt-4630cca1d2c5fa0553f46cec3566b88e91215070.tar.gz
Qt-4630cca1d2c5fa0553f46cec3566b88e91215070.tar.bz2
Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-qml
Diffstat (limited to 'tests/auto/declarative/qmlanimations/data/dontAutoStart.qml')
-rw-r--r--tests/auto/declarative/qmlanimations/data/dontAutoStart.qml18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlanimations/data/dontAutoStart.qml b/tests/auto/declarative/qmlanimations/data/dontAutoStart.qml
new file mode 100644
index 0000000..d9660b6
--- /dev/null
+++ b/tests/auto/declarative/qmlanimations/data/dontAutoStart.qml
@@ -0,0 +1,18 @@
+import Qt 4.6
+
+Rectangle {
+ id: wrapper
+ width: 600
+ height: 400
+
+ Rectangle {
+ id: redRect
+ width: 100; height: 100
+ color: Qt.rgba(1,0,0)
+ x: Behavior {
+ NumberAnimation { objectName: "MyAnim"; target: redRect; property: "y"; to: 300; repeat: true}
+ }
+
+ }
+
+}