PDA

View Full Version : QPushbutton with background image when disabled



soumyadeep_pan
29th May 2009, 16:13
Is it possible show any image while disabling a QPushbutton ??
I have one pushbutton in my application, in which I am inserting one pixmap (setPixmap()) and masking the pushbutton with the pixmap. But when ever I am disabaling the pushbutton, the pushbutton image is updating with a gray color blank image, instaed I want to display some image while I am disabaling the button. IS that possible ???

Thanks in advance ......

The_hero
29th May 2009, 16:50
could you show you code? I don't known how you do this