View Full Version : save table as an image
Hi all,
I want to save table created by QTable as an image. Could someone help me for doing so ?
Thanks in advance.
If you want to replicate the screen representation you could use QPixmap::grabWidget().
Thanks for the reply. Is it the only way to save a table as an image ? It would be nice if I am able to directly save or convert a table to a well-known image format file.
Well, how about QPixmap::save()?
QPixmap::grabWidget(widget).save("image.jpg");.
ulmly
26th June 2008, 08:12
Thank for the reply and sorry for the lateness answer. Using QPixmap::grabwidget I am able to capture only the viewing area, not the whole table. I use Qt3. Could somebody here help me to save a whole table as an image ? Any help will be appreciated.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.