Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Subclass QFileSystemModel for use with QTreeView
Qt 6.11 is out! See what's new in the release blog

Subclass QFileSystemModel for use with QTreeView

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 1.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • conradjonesC Offline
    conradjonesC Offline
    conradjones
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Something a bit like Konqueror ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • conradjonesC Offline
        conradjonesC Offline
        conradjones
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

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

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved