summaryrefslogtreecommitdiffstats
path: root/tests/QtDeclarative/viewmodel.qml
blob: badce7de2eb2acb25be7ecbe3dcbb139a812d6e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import Qt 4.7

ListView {
    width: 100; height: 100
    anchors.fill: parent

    model: myModel
    delegate: Rectangle {
        height: 25
        width: 100
        Text { text: title }
    }
}