summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/declarative/codingconventions/lists.qml
blob: 63e81002b157e4c63be5ec9919865844703645f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import Qt 4.7

Item {
    Item {
//! [0]
states: [
    State {
        name: "open"
        PropertyChanges { target: container; width: 200 }
    }
]
//! [0]
    }
    Item {
//! [1]
states: State {
    name: "open"
    PropertyChanges { target: container; width: 200 }
}
//! [1]
    }
}