PDA

View Full Version : Is there a way to always put an Pixmap on top of a QWidget?



jiapei100
28th November 2013, 16:22
Hi, all:

I'm wondering is there a way to always put an pixmap on top of a QWidget? So that the widget doesn't work the way it should be, but only displaying a picture?

Cheers
Pei

saman_artorious
28th November 2013, 21:27
Hi, all:

I'm wondering is there a way to always put an pixmap on top of a QWidget? So that the widget doesn't work the way it should be, but only displaying a picture?

Cheers
Pei

If displaying an image on a widget is only of your concern, why not loading the picture to a QImage or pixmap and set it as the background of the widget? did you try that?