[Qt-interest] How to save the widget as a picture?

ri at eeda.denso.co.jp ri at eeda.denso.co.jp
Wed Apr 8 10:30:56 CEST 2009


it works great:)
 
Thanks!
 
 
Mizuki Shiniji
 
________________________________

From: Ankit Agarwal [mailto:ankit17.ag at gmail.com] 
Sent: Wednesday, April 08, 2009 2:08 PM
To: 黎 新懿
Cc: qt-interest at trolltech.com
Subject: Re: [Qt-interest] How to save the widget as a picture?


HI,
Check out grabWidget() function for QWidget.


2009/4/8 <ri at eeda.denso.co.jp>


	Hi list.
	 
	I have a QWidget showing some technical plot(lines, bars, etc).
	 
	How can I save these plots into a picture, say, a .jpg file?
	 
	Please give me some hint about this.  Thanks!
	 
	Mizuki Shiniji.
	 
	 

	_______________________________________________
	Qt-interest mailing list
	Qt-interest at trolltech.com
	http://lists.trolltech.com/mailman/listinfo/qt-interest
	
	




-- 
Regards,
Ankit Agarwal
SW Engineer
Vegayan Systems
email : ankit_agarwal at vegayan.com
Blog : http://ankit17.wordpress.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090408/471cdb79/attachment.html 


More information about the Qt-interest-old mailing list