Re: Save a plot to an image file
Brought to you by:
rathmann
From: Bob L. <bob...@ya...> - 2006-12-21 07:42:11
|
Hi Uwe, I had actually seen QwtPlot::print() in the documentation (rc1), but I was a bit reluctant to use it because I read in QwtPlotPrintFilter documentation : "QwtPlotPrintFilter will be removed/replaced in Qwt 6.x.". Is it still valid ? Thanks. Uwe Rathmann wrote: > On Wednesday 20 December 2006 12:02, Bob Lapique wrote: > > >> I would like to save QwtPlot objects to a PNG or JPG file. Could anybody >> tell how to do that ? >> > > http://doc.trolltech.com/4.2/qpixmap.html#grabWidget > > or better: > > http://qwt.sourceforge.net/class_qwt_plot.html#a7 using a QPixmap as paint > device. > > HTH, > Uwe > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > qwt-interest mailing list > qwt...@li... > https://lists.sourceforge.net/lists/listinfo/qwt-interest > > |