Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Is it possible to save the image of QTreeView
Qt Enthusiast last edited by
Is it possible to save the image of QTreeView in a png file
@Qt-Enthusiast I think in another thread from you somebody already shown you how to create a snapshot of a widget. Why not do it like shown there?
QPixmap *pixmap = new QPixmap(this->size()); this->render(pixmap);
replace this with your tree view...