Unsolved How to make QTreeView/QListView display specific folders?
-
i want to make a custom file manager that just shows specific folders.
like this screenshot: only normal folders are displayed in the treeView, and only special folders ending with .asset (or ANY folder with a specific name such as beginning with an underscore "_folder9") are diaplayed in the listView.
filtering in QTreeView/QListView? or filtering in QFileSystemModel? QSortFilterProxyModel? even customize a QAbstractItemModel? which is the best solution? AT LEAST, it works!
-
@denni-0 suppose i read file list in pure python, but how do i pass the data to QTreeView/QListView??