I want to delete a node in the treeview, how can i do it ?
I want to delete a node in the treeview, how can i do it ?
but how can i delete it from associated model? Is there any ready-to-use function?
Yes !!
For example you are using QDirModel, so you can use:
Qt Code:
To copy to clipboard, switch view to plain text mode
Bookmarks