summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/behaviors/data/loop.qml
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-02-05 19:51:16 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-02-05 19:51:16 (GMT)
commit8f6bd97ac405f8ed31d4c6a8dd0edd8c9f1580ce (patch)
treedcb8f00cddac104c792961f0e79366a14cb1e2ab /tests/auto/declarative/behaviors/data/loop.qml
parentfe239b32550e83e8a42617457adca8d7922ff92f (diff)
parentf30d3602011780e598e6b55c69d0b40a9cc94e16 (diff)
downloadQt-8f6bd97ac405f8ed31d4c6a8dd0edd8c9f1580ce.zip
Qt-8f6bd97ac405f8ed31d4c6a8dd0edd8c9f1580ce.tar.gz
Qt-8f6bd97ac405f8ed31d4c6a8dd0edd8c9f1580ce.tar.bz2
Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-qml into master-integration
* 'master' of scm.dev.nokia.troll.no:qt/qt-qml: (3324 commits) Fix test. Remove hacky fix (breaks autotest). Fix Behaviors for object-type properties. Pass symbols::prefix (Action -> QmlAction) Add license header. Fix bad merge (compile) Pass tst_headers::licenseCheck Fix ListView tests. Test fixes. More test fixes. Clean up QmlImageReader thread on engine destruction. Update test to handle QmlNetworkAccessManagerFactory Test fixes. Add a QEXPECT_FAIL for known bug. Fix autotest. Add some painting benchmarks. Make sure cookies are saved. Fix headers::licenseCheck autotest failure Re-add accidentally deleted file Test SizeItemToLoader to SizeLoaderToItem resizeMode change. ...
Diffstat (limited to 'tests/auto/declarative/behaviors/data/loop.qml')
-rw-r--r--tests/auto/declarative/behaviors/data/loop.qml19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/auto/declarative/behaviors/data/loop.qml b/tests/auto/declarative/behaviors/data/loop.qml
new file mode 100644
index 0000000..5f2c057
--- /dev/null
+++ b/tests/auto/declarative/behaviors/data/loop.qml
@@ -0,0 +1,19 @@
+import Qt 4.6
+Rectangle {
+ width: 400
+ height: 400
+ Rectangle {
+ id: rect
+ objectName: "MyRect"
+ width: 100; height: 100; color: "green"
+ x: Behavior { NumberAnimation { duration: 200; } }
+ onXChanged: x = 100;
+ }
+ states: State {
+ name: "moved"
+ PropertyChanges {
+ target: rect
+ x: 200
+ }
+ }
+}