tests/auto/declarative/qdeclarativeanimations/data/nonTransitionBug.qml
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 04 Oct 2010 01:19:32 +0300
changeset 37 758a864f9613
permissions -rw-r--r--
Revision: 201037 Kit: 201039

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 }
    }
}