How to preserve QTreeView item's icon color ?
-
Hi and welcome to devnet,
What version of Qt ?
On what platform ? -
If you don't want the focus rect to apply to the icon, the best thing to do is to implement a custom QStyledItemDelegate and reimplement the
paintmethod to do the normal painting and then you manual paint the icon on top.