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. Is there a virtual file explorer GUI?
QtWS25 Last Chance

Is there a virtual file explorer GUI?

Scheduled Pinned Locked Moved Solved General and Desktop
8 Posts 5 Posters 708 Views
  • 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.
  • E Offline
    E Offline
    esoteric
    wrote on last edited by
    #1

    I want to make a dockable widget as close to Windows File Explorer / Mac Finder as possible. But the model contains custom items and folders - not the local file system.
    I think I can manage customizing the model by subclassing QAbstractItemModel.
    But what about the GUI? Has anyone ever tried this before?

    jsulmJ 1 Reply Last reply
    0
    • E esoteric

      @Kent-Dorfman said in Is there a virtual file explorer GUI?:

      Your question is unclear. There is a file dialog that is a specialization of QDialog. Have you looked at it?

      QFileDialog? That will not work AFAIK because I have to use QFileSystemModel and my "files" are not on the file system.

      @jsulm said in Is there a virtual file explorer GUI?:

      What about https://doc.qt.io/qt-5/qtreeview.html ?

      That's great for a "details" view, but there's a lot more views offered by Windows File Explorer I was hoping I could easily find. See image:
      alt text

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by JonB
      #6

      @esoteric
      As @SGaist says, you must write your own code to produce a UI as specific as this.

      I don't know what @SGaist thinks, as he is more familiar with it than me, but you might want to look at KDE Dolphin. This is written with Qt. Source is at https://invent.kde.org/system/dolphin. It does use the filing system, which you don't want, but may give you code for the "furniture" and way of working you are looking for in your Explorer.

      E 1 Reply Last reply
      2
      • Kent-DorfmanK Offline
        Kent-DorfmanK Offline
        Kent-Dorfman
        wrote on last edited by
        #2

        Your question is unclear. There is a file dialog that is a specialization of QDialog. Have you looked at it?

        1 Reply Last reply
        0
        • E esoteric

          I want to make a dockable widget as close to Windows File Explorer / Mac Finder as possible. But the model contains custom items and folders - not the local file system.
          I think I can manage customizing the model by subclassing QAbstractItemModel.
          But what about the GUI? Has anyone ever tried this before?

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #3

          @esoteric said in Is there a virtual file explorer GUI?:

          But what about the GUI?

          What about https://doc.qt.io/qt-5/qtreeview.html ?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          3
          • E Offline
            E Offline
            esoteric
            wrote on last edited by
            #4

            @Kent-Dorfman said in Is there a virtual file explorer GUI?:

            Your question is unclear. There is a file dialog that is a specialization of QDialog. Have you looked at it?

            QFileDialog? That will not work AFAIK because I have to use QFileSystemModel and my "files" are not on the file system.

            @jsulm said in Is there a virtual file explorer GUI?:

            What about https://doc.qt.io/qt-5/qtreeview.html ?

            That's great for a "details" view, but there's a lot more views offered by Windows File Explorer I was hoping I could easily find. See image:
            alt text

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

              Hi,

              No there's no ready made widget like that one. You have to build your own.

              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
              2
              • E esoteric

                @Kent-Dorfman said in Is there a virtual file explorer GUI?:

                Your question is unclear. There is a file dialog that is a specialization of QDialog. Have you looked at it?

                QFileDialog? That will not work AFAIK because I have to use QFileSystemModel and my "files" are not on the file system.

                @jsulm said in Is there a virtual file explorer GUI?:

                What about https://doc.qt.io/qt-5/qtreeview.html ?

                That's great for a "details" view, but there's a lot more views offered by Windows File Explorer I was hoping I could easily find. See image:
                alt text

                JonBJ Offline
                JonBJ Offline
                JonB
                wrote on last edited by JonB
                #6

                @esoteric
                As @SGaist says, you must write your own code to produce a UI as specific as this.

                I don't know what @SGaist thinks, as he is more familiar with it than me, but you might want to look at KDE Dolphin. This is written with Qt. Source is at https://invent.kde.org/system/dolphin. It does use the filing system, which you don't want, but may give you code for the "furniture" and way of working you are looking for in your Explorer.

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

                  Indeed Dolphin is a good example.

                  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
                  2
                  • JonBJ JonB

                    @esoteric
                    As @SGaist says, you must write your own code to produce a UI as specific as this.

                    I don't know what @SGaist thinks, as he is more familiar with it than me, but you might want to look at KDE Dolphin. This is written with Qt. Source is at https://invent.kde.org/system/dolphin. It does use the filing system, which you don't want, but may give you code for the "furniture" and way of working you are looking for in your Explorer.

                    E Offline
                    E Offline
                    esoteric
                    wrote on last edited by
                    #8

                    @JonB Thanks, I'll check it out.

                    1 Reply Last reply
                    0

                    • Login

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