Setting the model inside a ListView inside a Repeater
QML and Qt Quick
1
Posts
1
Posters
1.4k
Views
1
Watching
-
@ Grid {
id: maingrid
anchors.fill: parent
columns: 3
rows: 2Repeater { model: 6 ListView { width: parent.width / 3 height: parent.height / 2 model: orderModel delegate: OrderLineDelegate {} } }@
I have something like the above. Is it possible to set the orderModel
externally for each ListView created by the Repeater from C++? In case
you are tempted to answer only "Yes", how?