Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QFileSystemModel limit folder depth
Lucas kim last edited by
I want to limit folder depth using QFileSystemModel.
Using the QStandardItemModel, folders could be explored one by one.
However, I prefer the fast speed of the QFileSystemModel and I also like the automatic creation of icons.
Please let me know if there is a way to limit the depth of the folder in the QFileSystemModel.
JonB last edited by JonB
There isn't an in-built support in
QFileSystemModelfor this. What about:
Use some proxy model to limit depth via