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. I want to implement a file explorer list in the form of a windows form.

I want to implement a file explorer list in the form of a windows form.

Scheduled Pinned Locked Moved Unsolved General and Desktop
27 Posts 3 Posters 10.5k Views 2 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.
  • SGaistS SGaist

    Support which feature ?

    P Offline
    P Offline
    PaNi
    wrote on last edited by PaNi
    #17

    @SGaist
    The version I am using now is qt 5.12 version.
    Therefore, I think we can use all the features provided by this version.

    1 Reply Last reply
    0
    • P PaNi

      @SGaist
      I'm trying to implement it in a different way because the version I'm writing is not the one that supports that feature. The proxy model is hard to access, so I'm trying to implement it using widgets.

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

      @PaNi said in I want to implement a file explorer list in the form of a windows form.:

      I'm trying to implement it in a different way because the version I'm writing is not the one that supports that feature.

      The question is: what feature that is not supported in Qt 5.12 are you talking about?

      The proxy model is hard to access, so I'm trying to implement it using widgets.

      There is little connection between "proxy models" and "widgets". It is hard to imagine what could be accessed from widgets that would resolve a need for proxy models.

      P 1 Reply Last reply
      0
      • JonBJ JonB

        @PaNi said in I want to implement a file explorer list in the form of a windows form.:

        I'm trying to implement it in a different way because the version I'm writing is not the one that supports that feature.

        The question is: what feature that is not supported in Qt 5.12 are you talking about?

        The proxy model is hard to access, so I'm trying to implement it using widgets.

        There is little connection between "proxy models" and "widgets". It is hard to imagine what could be accessed from widgets that would resolve a need for proxy models.

        P Offline
        P Offline
        PaNi
        wrote on last edited by
        #19

        @JonB
        Oh! Not in the version meant that the proxy model that combines multiple rows for the KDE model supports from version 5.13 and the widget implementation is that I can't understand the proxy model at all, so I'm only trying to build a folder tree using TreeWidget.
        So we're trying to set the desired address value so that a tree can be created from a folder for that address.
        But even that's not easy.

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

          If you want to show the structure of a particular subfolder, configure the view accordingly. There's an example of that in QFileSystemModel's details.

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

          P 1 Reply Last reply
          0
          • SGaistS SGaist

            If you want to show the structure of a particular subfolder, configure the view accordingly. There's an example of that in QFileSystemModel's details.

            P Offline
            P Offline
            PaNi
            wrote on last edited by PaNi
            #21

            @SGaist
            Oh, I'm sorry that I didn't explain enough.
            I already know about that part. But what I wanted to do was put an additional path into the QFilesystemmodel, like a Windows virtual folder, so that non-drive folders could be printed out. But the more I looked, the more I found it difficult and only one model could be set.
            That's why I'm wandering...

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

              Do you already have the logic in place for that virtual folder ? If not, start by implementing it. Then you can consider using a proxy model to put them together.

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

              P 1 Reply Last reply
              1
              • SGaistS SGaist

                Do you already have the logic in place for that virtual folder ? If not, start by implementing it. Then you can consider using a proxy model to put them together.

                P Offline
                P Offline
                PaNi
                wrote on last edited by
                #23

                @SGaist
                It hasn't been implemented yet, so I'd like to use QStandardItemmodel to create a custom model, and for drive output available on my computer, I'd like to see how to use Windows 32api or read it through the registry.

                When I asked other people, they said yes, but I don't know if it's true because I've never done it before.

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

                  Well, the best thing to do is to try to implement it. That's the only way to learn.

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

                  P 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    Well, the best thing to do is to try to implement it. That's the only way to learn.

                    P Offline
                    P Offline
                    PaNi
                    wrote on last edited by
                    #25

                    @SGaist
                    So I'm trying to make my own custom tree using QStandardItemModel. Thank you for responding to me who is lacking so far.
                    But a similar question might come up soon....;ㅅ;

                    JonBJ 1 Reply Last reply
                    0
                    • P PaNi

                      @SGaist
                      So I'm trying to make my own custom tree using QStandardItemModel. Thank you for responding to me who is lacking so far.
                      But a similar question might come up soon....;ㅅ;

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

                      @PaNi said in I want to implement a file explorer list in the form of a windows form.:

                      So I'm trying to make my own custom tree using QStandardItemModel.

                      Forum thread https://forum.qt.io/topic/103983/use-qstandarditemmodel-with-qtreeview might be worth a read through, quite a few references.

                      P 1 Reply Last reply
                      0
                      • JonBJ JonB

                        @PaNi said in I want to implement a file explorer list in the form of a windows form.:

                        So I'm trying to make my own custom tree using QStandardItemModel.

                        Forum thread https://forum.qt.io/topic/103983/use-qstandarditemmodel-with-qtreeview might be worth a read through, quite a few references.

                        P Offline
                        P Offline
                        PaNi
                        wrote on last edited by
                        #27

                        @JonB
                        I 'm sorry for the late reply because I had something to do. Thank you for your reply...Actually, I looked up the forum before, but I didn't understand it properly. However, I will try to understand because many people advise me on that forum post.

                        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