I am trying to disable the remaining item text underline that shows up when deselecting an item from a QTreeWidget.
setFocusPolity(Qt::NoFocus);
does what I need but it disables keyboard arrow navigation which is something I want to have.
I haven't found what property I need to disable in the StyleSheet. I have been messing around with
setStyleSheet(QTreeview::item:focus:!selected {...});
Any Idea? Thank you.