PDA

View Full Version : QPushButton grayed out



stefan1981
9th January 2009, 10:19
Hello,

if I use a QPushButton and set it disabled calling setEnabled( false) Qt grays the Button out. Is there a possibility to prevent that ?

Thanks and best regards.

spirit
9th January 2009, 10:31
you can try to change QPalette of that button.

Boron
9th January 2009, 15:27
But a user doesn't see that the button is disabled :(.
I would hate this :mad:.