I'd like know how to create a QListView with custom list items. I have a small sprite animation I want to display on the left side of each entry, and some information as well as a few push buttons on the right side. I need to be able to detect clicks on the title as well.
I've looked into QListView, but found nothing I could use to do this.
A few similar questions pointed me towards QAbstractItemDelegate and QAbstactListModel, but without example code, I can't wrap my head around it. I'm stuck at overriding QAbstractItemDelegate's paint() method - I just don't know how to override it in a way that produces the intended effect.
Your replies are much appreciated!
i.e. I'm looking to create something like this: