Hi,
Your delegates have access to a special property "index".
I refer to the link below for more explanation.
https://qt-project.org/doc/qt-5-snapshot/qtquick-modelviewsdata-modelview.html#models
But if you do something like, you can see it:
@ onValueChanged: {
console.log("index = " + index)
}
@
Changing the value of the model can be done like so:
@onAccepted: {console.log("accepted"); myModel.set(index, {...})}@
Also ListView has a currentIndex and currentItem property if you need those.
Good luck!