summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativevisualdatamodel/data/singlerole1.qml
blob: 7ea74f21fbfa9c50ff171933673e205f03167f9f (plain)
1
2
3
4
5
6
7
8
9
10
11
import Qt 4.7

ListView {
    width: 100
    height: 100
    anchors.fill: parent
    model: myModel
    delegate: Component {
        Text { objectName: "name"; text: name }
    }
}