Qt World Summit: Register Today!


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