Maybe it would be enough to provide an own item delegate for the header view?
Maybe it would be enough to provide an own item delegate for the header view?
This was kind of a surprise to me, but I just yesterday noticed that QHeaderView doesn't use delegates for anything at all.Originally Posted by wysota
Overriding just
might be enough and is most probably the best way to go..Qt Code:
void QHeaderView::paintSection ( QPainter * painter, const QRect & rect, int logicalIndex ) const [virtual protected]To copy to clipboard, switch view to plain text mode
J-P Nurmi
swdev (12th June 2014)
thanks.
i#m now able to rotate the header items. but the size of the gray colored background (behind the header) is still the same. where is this painted?
sizzHint method to re-implement ?
already done!
thanks
Bookmarks