diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-04-08 02:31:33 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-04-08 02:48:17 (GMT) |
commit | 5d9f5b0ba76bee4b148e13fd880d87d167e6c68d (patch) | |
tree | 862ecb7220c8f1f7a752b19a2d882af89a6c3794 /tests/auto/declarative/qdeclarativebehaviors/data | |
parent | db3fcbbb2368266d60781189648951ff17895b1e (diff) | |
download | Qt-5d9f5b0ba76bee4b148e13fd880d87d167e6c68d.zip Qt-5d9f5b0ba76bee4b148e13fd880d87d167e6c68d.tar.gz Qt-5d9f5b0ba76bee4b148e13fd880d87d167e6c68d.tar.bz2 |
Prevent Behavior from being triggered on initialization.
Task-number: QTBUG-6332
Diffstat (limited to 'tests/auto/declarative/qdeclarativebehaviors/data')
-rw-r--r-- | tests/auto/declarative/qdeclarativebehaviors/data/startup.qml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativebehaviors/data/startup.qml b/tests/auto/declarative/qdeclarativebehaviors/data/startup.qml new file mode 100644 index 0000000..f3ff620 --- /dev/null +++ b/tests/auto/declarative/qdeclarativebehaviors/data/startup.qml @@ -0,0 +1,17 @@ +import Qt 4.7 + +Rectangle { + width: 400 + height: 400 + + Rectangle { + objectName: "innerRect" + height: 100; width: 100; color: "green" + property real targetX: 100 + + x: targetX + Behavior on x { + NumberAnimation {} + } + } +} |