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. Windows file explorer style window

Windows file explorer style window

Scheduled Pinned Locked Moved Solved General and Desktop
6 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.
  • B Offline
    B Offline
    bluscape
    wrote on last edited by
    #1

    I am busy writing a disk editor for a file system not recognized by windows.
    How would I go about creating a Windows Explorer type window with folder icons in QT? (See image)
    I mean I can get creative but will appreciate some ideas or maybe someone has already done it.

    0_1567752059408_QTExplorer.jpg

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

      Hi
      https://doc.qt.io/qt-5/qfilesystemmodel.html
      and a Tree view in icon mode will get you a good beginning.

      1 Reply Last reply
      1
      • B Offline
        B Offline
        bluscape
        wrote on last edited by
        #3

        I will have a look at that thanks. I was thinking treeview as that will be very easy, but I'd prefer to have a window layout with icons.

        mrjjM 1 Reply Last reply
        0
        • B bluscape

          I will have a look at that thanks. I was thinking treeview as that will be very easy, but I'd prefer to have a window layout with icons.

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi
          well i used
          https://arunpkqt.wordpress.com/2017/01/05/custom-filesystemmodel-display/
          since i had issues with QFileSystemModel in regards to the top item.
          You could maybe use ListWidget and code from this model to get the dir and files.

          1 Reply Last reply
          1
          • B Offline
            B Offline
            bluscape
            wrote on last edited by
            #5

            Ok, I managed to get it working. I just used QListView components.

            0_1568009469678_Explorer.jpg

            1 Reply Last reply
            1
            • mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Hi
              Super. it looks nice.
              Please post mark as solved if possible.

              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