Qt Remote File Browser

2019-07-01 19:06发布

问题:

I was wondering if anyone has worked on Qt Remote File Browser. From my understanding, I have two options;

  1. Use QFileDilaog with a custom proxy model when it comes to remote files. The model will be responsible for providing remote file/directory structure.
  2. Use a custom dialog and have a standard file system model for local files and a custom model for remote files.

In both cases, the process of getting remote file/directory list can be accomplished using QNetworkAccess manager.

Has anyone worked on a similar concept and am I heading in the right direction ? Any suggestions will be appreciated.