summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativestates/data/reset.qml
blob: a0a2b8c8c5533675cb36f84ef9565b9579490bea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import Qt 4.6

Rectangle {
    width: 640
    height: 480
    Text {
        id: theText
        width: 50
        wrap: true
        text: "a text string that is longer than 50 pixels"
    }

    states: State {
        name: "state1"
        PropertyChanges {
            target: theText
            width: undefined
        }
    }
}