Debian Codegraph @

tests/auto/quick/qquickrepeater/data/visualitemmodel.qml

raw
1 import QtQuick 2.0
2 import QtQml.Models 2.12
3
4 Rectangle {
5 width: 360
6 height: 360
7
8 ObjectModel {
9 id: visItemModel
10 Rectangle {
11 width: 20
12 height: 20
13 color: "red"
14 }
15 }
16
17 Column {
18 anchors.fill: parent
19 Repeater {
20 model: visItemModel
21 }
22 }
23 }
24