Qt World Summit: Register Today!

Displaying a QFileSystemModel using a QTableView or modified QTreeView

  • Hi,
    I am working on a file explorer and I need to display my drive system in a table.Put it another way ,I want that when the user clicks on a folder for example,the contents of that folder are also displayed in a table.(Something like what you get when you display medium icons in a folder on Windows 7)

    I have read that the best fit for QFileSystemModel is the QTreeView but it doesn't fit our application requirements.Is there a way I can tweak the QTreeView class to give me the display behaviour I want ?Or any other trick to achieve this.

    Thanks .

Log in to reply