On Wed September 3 2008 11:35, Mahmood Naderan wrote:
> >Yes, Qt can do this. One way would be to first render your widget to
> > aÂQImage (see QWidget::render), and then storing that image (see
> > >QImage::save). As far as I know Qt can not save to .bmp, but to .png is
> > no problem at all
> It seems that render() is for QT4.1 and higher. Is there a similar function
> for QT3.3?
Although I think you should meanwhile really consider to upgrade to / use Qt
4, you may have luck using QPaintDevice::bitBlt()! That is, use bitBlt() to
copy the QWidget's contents to a QPixmap for example...
Tel: +49 160 7115802
FAX: +49 6359 205423
There can be no twisted thought without a twisted molecule.
-- R. W. Gerard
To unsubscribe - send a mail to [email protected] with
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/