When an item is selected, the icon gets darkened. How to suppress that behavior? For what I've tried, style sheets and palettes change everything around the icon but not the icon itself.
When an item is selected, the icon gets darkened. How to suppress that behavior? For what I've tried, style sheets and palettes change everything around the icon but not the icon itself.
What are you using the icons in ??
You can try QIcon::addPixmap to set same pixmap for all states.
If you are using views, you can use delegates... and while drawing the icons, set its option to not selected.
Thanks a lot. I wasn't looking in the right direction.
Bookmarks