QFileSystemModel - display files in custom dirs

Viewed 35

I have a complicated structure of dirs and files, and my goal is to showing files (not all, just files that i need) in one "root" dir, and hide all the rest. I tried work with row count() and data(), but that's gives nothing. index.row() never getting higher, than files quantity in dir. Using QTreeView, Idk, maybe should dig in there

Its like I have this

And need this

0 Answers
Related