I would like to know how to hide a specific folder in a treeView with QFileSystemModel
.
I know that we can filter folders to show only some files using setFilter
but I don't know how to filter a folder.
I want to display folders except one. I know the name of this folder so I can choose it by the name.
Does anyone know how to hide/remove this folder from the list please?