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. [Solved] basic functions with QTreeView populated with subclassed QFileSystemModel
Forum Updated to NodeBB v4.3 + New Features

[Solved] basic functions with QTreeView populated with subclassed QFileSystemModel

Scheduled Pinned Locked Moved General and Desktop
8 Posts 3 Posters 3.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.
  • P Offline
    P Offline
    phamtv
    wrote on last edited by
    #1

    I have populated a QTreeView with a subclassed QFileSystemMode. I want to add basic operations like add, copy, drag/drop, delete files and folders on the filesystem and updated via the QTreeView. Can someone provide example code and/or link that can demonstrate this?

    1 Reply Last reply
    0
    • G Offline
      G Offline
      giesbert
      wrote on last edited by
      #2

      You can look at the code of QFileDialog, it implements some of those operations.

      Nokia Certified Qt Specialist.
      Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

      1 Reply Last reply
      0
      • P Offline
        P Offline
        phamtv
        wrote on last edited by
        #3

        Thanks Gerolf!!!

        1 Reply Last reply
        0
        • P Offline
          P Offline
          phamtv
          wrote on last edited by
          #4

          Is the source code to the implementation of Qt´s Project Tree on its IDE available to view? If so, can someone point me to the file?

          1 Reply Last reply
          0
          • G Offline
            G Offline
            giesbert
            wrote on last edited by
            #5

            You mean of QtCreator?
            Qt Creator is available on gitorious as seperate source

            Nokia Certified Qt Specialist.
            Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

            1 Reply Last reply
            0
            • G Offline
              G Offline
              goetz
              wrote on last edited by
              #6

              Look at <path to your Qt sources>/src/gui/dialogs/qfiledialog.cpp

              http://www.catb.org/~esr/faqs/smart-questions.html

              1 Reply Last reply
              0
              • P Offline
                P Offline
                phamtv
                wrote on last edited by
                #7

                Sorry for the confusion... I am basically looking for the source to the mainform of Qt Creator. Is this available?

                1 Reply Last reply
                0
                • G Offline
                  G Offline
                  giesbert
                  wrote on last edited by
                  #8

                  if you download QtCreator source from GiTorious.org, it is, follow this link:

                  "QtCreator on gitorious":https://qt.gitorious.org/qt-creator

                  Nokia Certified Qt Specialist.
                  Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

                  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