blob: 4e01b0a1ba0478fa675f04b30362cbba60e93a6a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
import QtQuick
import TestTypes
ListView {
id: listView
anchors.fill: parent
model: InventoryModel {}
delegate: Text {
width: listView.width
text: itemName
required property int index
required property string itemName
required property ComponentEntity entity
}
function removeLast() { model.removeLast() }
}
|