diff options
author | David Boddie <dboddie@trolltech.com> | 2010-08-17 14:00:47 (GMT) |
---|---|---|
committer | David Boddie <dboddie@trolltech.com> | 2010-08-17 14:00:47 (GMT) |
commit | 36b2b7afa9e27b7a5eb6d31e4ac5c0ae9ff9a9ce (patch) | |
tree | f65778c976c7ac5f1fa6fb81e8e33982f1fd2e82 /tests/auto/declarative/qdeclarativeanimations/data/nonTransitionBug.qml | |
parent | 86c3fed122b8a6e47904d958f8c50fa19e668434 (diff) | |
parent | ff6f17c92ad1bfa898bc89a5ccb65361d443c591 (diff) | |
download | Qt-36b2b7afa9e27b7a5eb6d31e4ac5c0ae9ff9a9ce.zip Qt-36b2b7afa9e27b7a5eb6d31e4ac5c0ae9ff9a9ce.tar.gz Qt-36b2b7afa9e27b7a5eb6d31e4ac5c0ae9ff9a9ce.tar.bz2 |
Merge branch '4.7' into qmldocs
Diffstat (limited to 'tests/auto/declarative/qdeclarativeanimations/data/nonTransitionBug.qml')
-rw-r--r-- | tests/auto/declarative/qdeclarativeanimations/data/nonTransitionBug.qml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativeanimations/data/nonTransitionBug.qml b/tests/auto/declarative/qdeclarativeanimations/data/nonTransitionBug.qml new file mode 100644 index 0000000..e9dc36e --- /dev/null +++ b/tests/auto/declarative/qdeclarativeanimations/data/nonTransitionBug.qml @@ -0,0 +1,30 @@ +import Qt 4.7 + +Rectangle { + id: root + width: 200 + height: 200 + + Rectangle { + id: mover + objectName: "mover" + } + + states: [ + State { + name: "free" + }, + State { + name: "left" + PropertyChanges { + restoreEntryValues: false + target: mover + x: 0 + } + } + ] + + transitions: Transition { + PropertyAnimation { properties: "x"; duration: 50 } + } +} |