[Qt-interest] stylesheet control over QtGui.QPalette.Light

Tom Proctor tmp at dneg.com
Tue Aug 3 18:21:56 CEST 2010


Hello,

I've been looking around online for a solution to this problem but I 
can't seem to find anything.

There is an embossed highlight which appears to the lower right of text 
on disabled QPushButtons. I would like to make it transparent across my 
entire app.  Is there any way to do this with stylesheets, or do I need 
to modify the palette? (it's QColorRole QtGui.QPalette.Light)

If it does come down to palettes, is it possible to set this for all 
QPushButton instances or will I need to subclass?

Cheers,
Tom



More information about the Qt-interest-old mailing list