PDA

View Full Version : Set Viewport or Drawing Area for a list widget item - Howto?



slscripters
28th April 2010, 12:41
Hi,

Does anybody know how to set the size of the Viewport or drawing area of a list widget item? I am using a delegate to render customized list widget items by subclassing QAbstractItemDelegate. I need the list items to have different sizes, how should i do this? When one creates a QListWidget, what is the default height of the list items in it? :confused: