how to display "complex" widgets in a list in pyqt?
Posted
by Giorgio Gelardi
on Stack Overflow
See other posts from Stack Overflow
or by Giorgio Gelardi
Published on 2010-06-01T11:36:42Z
Indexed on
2010/06/01
11:43 UTC
Read the original article
Hit count: 196
I'm quite new to QT and I have to display a list of "panels" like this:
My datamodel handles different classes' instances, so having more than one panel layout would be great - but it's not a requirement. Btw I have to catch mouse clicks on the images to execute related actions.
I'm thinking about use some html capable widget (QWebPage?) to render the items in a QListView or QListWidget, but as I said, I don't know QTs so much and need a direction (delegates? stylesheets?). Any help will be appreciated.
© Stack Overflow or respective owner