PDA

View Full Version : Qicon disabled full color



evergreen
24th June 2011, 14:02
Hello,

I’m currently using a QTableWidget with some QIcons in the QTableWidgetItem. Some of them are disabled, some of them are not.
When they are disabled, Qt automatically colors them in grey. I want to disabled this grey color for disabled icon for aesthetic issues.
The icons would all look alike.

I can’t find a way to do it. Someone know?

Thanks

ChiliPalmer
24th June 2011, 14:12
Well, it would be a not so pretty hack, but you could just use a blank icon with the color you like for the QTableWidgetIcons that now have disabled icons