summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/declarative/pathview/dummydata/MenuModel.qml
blob: 400407659c21973e0e9b40710b95ca1092bb12ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import Qt 4.7

ListModel {
    id: menuModel
    ListElement {
        name: "Bill Jones"
        icon: "pics/qtlogo-64.png"
    }
    ListElement {
        name: "Jane Doe"
        icon: "pics/qtlogo-64.png"
    }
    ListElement {
        name: "John Smith"
        icon: "pics/qtlogo-64.png"
    }
}