Hi

I have a QML application with ListView and ListModel. When I click an list item I'll change it's state (to "selected") and draw it bit differently. This works just fine.

Next I'll select another item from the list. At this point I would like to change previously selected items state back to "unselected". I know the index of the item, but I can't figure out how to access delegate's state.

How I can do this or is there better approach? I'm just testing and learning how to do things before actually implementing my application.