Debian Codegraph @

tests/benchmarks/qml/librarymetrics_performance/data/listview.3.qml

raw
1 import QtQuick 2.0
2
3 Item {
4 width: 320
5 height: 480
6
7 ListView {
8 anchors.fill: parent
9 model: simpleModel
10 delegate: Text {
11 text: name
12 }
13 }
14
15 ListModel {
16 id: simpleModel
17 ListElement {
18 name: "first"
19 }
20 ListElement {
21 name: "second"
22 }
23 ListElement {
24 name: "third"
25 }
26 }
27 }