I am trying to figure out a way to export QTreeWidget contents to a picture. use screen shot is a good idea but when all items are expanded, one screen can't hold them all. any ideas?![]()
I am trying to figure out a way to export QTreeWidget contents to a picture. use screen shot is a good idea but when all items are expanded, one screen can't hold them all. any ideas?![]()
You can use QWidget::render to render a widget's contents onto a QPainter / QPaintDevice.
http://doc.trolltech.com/4.5/qwidget.html#render-2
Bookmarks