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





Reply With Quote
Bookmarks