Qt-interest Archive, February 2007
Delegate and SizeHint.
Message 1 in thread
Hey guys,
I'm using a delegate for my own QListView,
I've reimplemented the paint and the sizeHint function
I'm trying to display two types of cell depending on the "option.state".
- If the list item is clicked it has to be big.
- If the list item is not clicked it's smaller.
But for some reason I can't call the sizeHint function dynamicaly (each time
I click on an item)
or resize anything in the paint delegate function.
Any idea?
Thanks,
Ben.
--
[ signature omitted ]