[Qt-interest] font style of disabled pushbutton through stylesheets

wim.delvaux at adaptiveplanet.com wim.delvaux at adaptiveplanet.com
Wed Aug 12 11:49:28 CEST 2009


Hi all,

I have used stylesheets (qss files loaded through setStyleSheet) heavily to 
alter the appearance of my app.  Besides some issues here and there 
(especially because of the often incomplete documentation) I have a problem 
with the look of a disabled pushbutton.

By default (without stylesheet) the button's font looks 'inset'.  I,e. it has 
a shadow effect assigned to it.  I can change the color of the font but the 
shadow remains present.

How can I get rid of this shadow. I would accept a solution NOT through the 
stylesheet (although I prefer one that does).  

Thx
W



More information about the Qt-interest-old mailing list