I have a delegate in a qml TreeView. I would like to get its QModelIndex. Vía
model.index
I only get the number of the row, where the delegate is. However, I need to pass a QModelIndex to the c++ side (to make a QPersistentModelIndex and store it for later use).