Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Grab scrolled and expanded items in QTreeWidget



  • I want grab whole area of a QTreeWidget when it is expanded. I use following code to grab image.

    ui->treeWidget->grab().save("Test.png");
    

    But expanded Items aren't included in the ouput image.
    Sample output image:
    alt text


Log in to reply