I would like to prevent my derived QStyledItemDelegate from painting the focus rectangle.
I have achieved this before using a QItemDelegate by overriding its drawFocus function and doing nothing.
However QStyledItemDelegate does not implement drawFocus. Is there another way to prevent the QStyledItemDelegate from not painting the focus rectangle?




Reply With Quote

Bookmarks