how to delete all the QTreeWidgetItem in the QTreeWidget?



  • how to delete all the QTreeWidgetItem in the QTreeWidget?
    i know clear() does not delete the QTreeWidgetItem actually.
    and i can recursively delelte all the QTreeWidgetItem by myself.
    but i want to know is there any efficient way to do this?
    thank you very much


Log in to reply
 

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