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