summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativevisualdatamodel/data/singlerole2.qml
blob: b9e666cec31a1aceb8e19762a1986aa83c920082 (plain)
1
2
3
4
5
6
7
8
9
10
11
import QtQuick 1.0

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