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
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.