[Qt-interest] Creating jpeg/png image from Qt

Ankur Gupta versesane at gmail.com
Mon Dec 29 18:08:05 CET 2008


>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 29 Dec 2008 17:52:06 +0530
> From: "Ankit Agarwal" <ankit17.ag at gmail.com>
> Subject: [Qt-interest] Creating jpeg/png image from Qt
> To: "qt-interest at trolltech.com" <qt-interest at trolltech.com>
> Message-ID:
>        <b9016ab60812290422q157d2d63i6e1db7ea8505aef5 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
> I have two similar requirement,
> 1. I have a graphics scene which has a lot of items. I need to the excat
> image of the graphicsScene (something like a snapshot of the graphics
> scene).
> 2. I have make qwt plot. I need the plots as images.
>
> How can I achive this?
>
> --


Take a look at this

QPixmap::grabWidget(this, rect())

Regards
Ankur Gupta

-- 
Homepage -> http://uptosomething.in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20081229/f21bcf1b/attachment.html 


More information about the Qt-interest-old mailing list