Results 1 to 2 of 2

Thread: tree of files and dirertories

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2008
    Posts
    21
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default tree of files and dirertories

    hi

    how can i display the content of ftp on a tree of files and dirertories usin the QTreeWidget or QTreeView

    thank you

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,017 Times in 4,793 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: tree of files and dirertories

    You have to build a model (or a pseudo-model) based on the result of the ftp commands (mostly cd and ls) you send to the server. The model should work in a similar fashion to QDirModel or QFileSystemModel.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.