Hi
I am looking into the examples provided by QT and see that they use a QTreeView and QDirModel to show a list of files. I also noticed that I could use QDirModel and QListView to get a list without details.
My question is; If I only want the list of files (with details) but not a tree, what widget is the most correct one to use? I know I can use setRootIsDecorated and setItemsExpandable to achieve the desired result with QTreeView, but I just want to know if this is OK or if there is a better widget for this purpose?
Also; When I use the QTreeView with the mentioned options I get no way of traversing the filetree (since the tree is gone). How can I make directories "clickable" so the QDirModel changes to the supplied directory?
Trying to learn the basics
Bookmarks