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

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"
    }
}