Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qdeclarativeanimations / data / nonTransitionBug.qml
1 import QtQuick 1.0
2
3 Rectangle {
4     id: root
5     width: 200
6     height: 200
7
8     Rectangle {
9         id: mover
10         objectName: "mover"
11     }
12
13     states: [
14         State {
15             name: "free"
16         },
17         State {
18             name: "left"
19             PropertyChanges {
20                 restoreEntryValues: false
21                 target: mover
22                 x: 0
23             }
24         }
25     ]
26
27     transitions: Transition {
28         PropertyAnimation { properties: "x"; duration: 50 }
29     }
30 }