Any idea how to make bg color of selected items in QtreeView in delegate ?
I want actually not background at all for selected items or hovered.

painter->fillRect(option.rect, palette.Window);

this does not work
thanls