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. Use QFileSystemModel to view "Remote" File system
Qt 6.11 is out! See what's new in the release blog

Use QFileSystemModel to view "Remote" File system

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 2.1k Views 3 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.
  • kmgutiK Offline
    kmgutiK Offline
    kmguti
    wrote on last edited by
    #1

    I am developing a GUI for special file transfers which shows user file/directory of local machine using QFilesSystemModel and view data within a QTreeView and/or QListView. I want to have same/similar UI where I can show files/folders of remote machine. I will implement my own serialization for the remote file/directory data and then add some rules to distinguish file/direoctory/parent-directolry/size/path etc and using our own IPC mechanism send it over the client machine and then add to my own model (QFileSystemModel) to view data in a QTreeView and/or QListView.. This is simular to what WinSCP and FileZilla (both free open-source applications)... and we cannot use QFTP, we cannot guarantee our remote system supports FTP.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Not sure, is this just a general shout-out? You did not state any actual question ;-)

      (Z(:^

      1 Reply Last reply
      0
      • kmgutiK Offline
        kmgutiK Offline
        kmguti
        wrote on last edited by
        #3

        Sorry, I am asking if Subclassing QFileSystemModel is the right approach and where to start, what functions do I need to override??
        i.e remoteFileSystemModel::data() remoteFileSystemModel::setData(), remoteFileSystemModel::headerData?? others?? any examples out there??

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

          Hi and welcome to devnet,

          The KIO framework might be of interest in your case.

          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