On a widget, I add controls to widget. Please help me how to copy all contents of this widget to pixmap. Thanks.
On a widget, I add controls to widget. Please help me how to copy all contents of this widget to pixmap. Thanks.
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
vql (5th April 2008)
QPixmap::grabWidget() might be better than grabWindow.
vql (5th April 2008)
Bookmarks