T4ng10r
19th May 2009, 13:25
Welcome
I've got model with data and want to display them in Qistview. Soon I've discovered that text displayed in rows isn't enough. I need a way to display data from model in my own custom widget placed in each cell.
QListWidget won't work - he doesn't wish to work with model, data must be set and modified manually.
I could use QScrollArea, but effect will be like above - no automagically data updating from model changes.
How can I modify or subclass QListView (or similar classes)? Something what wouldn't require manually painting my widgets in each cell.
I've got model with data and want to display them in Qistview. Soon I've discovered that text displayed in rows isn't enough. I need a way to display data from model in my own custom widget placed in each cell.
QListWidget won't work - he doesn't wish to work with model, data must be set and modified manually.
I could use QScrollArea, but effect will be like above - no automagically data updating from model changes.
How can I modify or subclass QListView (or similar classes)? Something what wouldn't require manually painting my widgets in each cell.