Subclass QFileSystemModel for use with QTreeView



  • Hi

    I want to subclass QFileSystemModel for use with QTreeView.

    For a specific type of file I wish to add sub nodes under the file.

    Not actually for this but a good example would be to show the files in a zip file for example. I only need to go one layer, i.e. in the zip file example it would not support folders in the zip file.


  • Lifetime Qt Champion

    Hi,

    Something a bit like Konqueror ?



  • The zip file is an example not the actual use.
    How is that answer helpful ?


  • Lifetime Qt Champion

    Konqueror use KDE's KIO classes which may provide what you need out of the box.


Log in to reply