summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativestates/data/restoreEntryValues.qml
blob: dfd7c1794a3319a16435ab02ff3d2371fb0c3da9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import QtQuick 1.0
Rectangle {
    id: myRectangle
    width: 100; height: 100
    color: "red"
    states: State {
        name: "blue"
        PropertyChanges {
            target: myRectangle
            restoreEntryValues: false
            color: "blue"
        }
    }
}