Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Demonstration of how to dynamically populate models.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 example
Octocat-spinner-32 src
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README
Octocat-spinner-32 ftpmodel.png
Octocat-spinner-32 ftpmodel.pro
README
This is a ftpmodel written for Trolltech's Qt version 4.2 or later.  The model demonstrates how to populate branches in a tree on the fly.  When the user clicks to open a folder fetchMore() will then query for the list of the contents of that directory.  The model wraps QFtp.  This is just a demo!
It doesn't implement renaming, drag/drop, or any convenience for uploading/downloading files.
But those can be added without much work if you want to take this and use it.

See http://doc.trolltech.com/model-view-programming.html for more information about Qt's model/view architecture.

This code is under the BSD license.
Something went wrong with that request. Please try again.