PDA

View Full Version : Add widget as a content of QPixmap?



talk2amulya
13th February 2009, 04:23
Hi,

Is there a way to create a widget and convert the whole into QPixmap? I basically wanna use the pixmap as a pixmap of QSplashScreen. Any suggestions are welcome

Amulya

spirit
13th February 2009, 06:19
take a look at QPixmap::grabWidget (http://doc.trolltech.com/4.4/qpixmap.html#grabWidget) or QPixmap::grabWindow (http://doc.trolltech.com/4.4/qpixmap.html#grabWindow).

talk2amulya
13th February 2009, 06:53
thanks man, that did the job!