summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativestates/data/basicChanges.qml
blob: 88ea2565edaca52e6f3660003a18ebeb799159f8 (plain)
1
2
3
4
5
6
7
8
9
10
import Qt 4.6
Rectangle {
    id: myRectangle
    width: 100; height: 100
    color: "red"
    states: State {
        name: "blue"
        PropertyChanges { target: myRectangle; color: "blue" }
    }
}