You could reimplement paint() and check whether the row is selected or not and paint the icon or not. In order to find out if a row is selected, you can use (option.state() & QStyle::State_Selected).
You could reimplement paint() and check whether the row is selected or not and paint the icon or not. In order to find out if a row is selected, you can use (option.state() & QStyle::State_Selected).
Bookmarks