Suppaman
30th May 2011, 14:34
Hi all
I have a QtreeWidget control showing a tree of items. I need to remove an entire subtree of this main tree. My question is regarding the way to remove the subtree. I should navigate with a recursive alghoritm all the child items contained in the subtree and remove "manually" one by one or there is another way for delete an entire subtree in few lines of code?
Thank you for the help
I have a QtreeWidget control showing a tree of items. I need to remove an entire subtree of this main tree. My question is regarding the way to remove the subtree. I should navigate with a recursive alghoritm all the child items contained in the subtree and remove "manually" one by one or there is another way for delete an entire subtree in few lines of code?
Thank you for the help