View Full Version : Save content of widget to pixmap
On a widget, I add controls to widget. Please help me how to copy all contents of this widget to pixmap. Thanks.
aamer4yu
4th April 2008, 19:04
QPixmap::grabWindow might help you. Use it to make a pixmap of the widget.
For winId , you can use the QWidget::winId function. But it might have portabilities issues. Refer to the docs
Hope this helps :)
wysota
4th April 2008, 22:26
QPixmap::grabWidget() might be better than grabWindow.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.