Results 1 to 12 of 12

Thread: How to display entire directory(Filesystem)

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Dec 2007
    Posts
    628
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    3
    Thanked 89 Times in 87 Posts

    Default Re: How to display entire directory(Filesystem)

    For directory structure data you need to use QDirModel. This model will give you data for underlign file structure. And you can use QTreeView to display that in the left pane of your desired application.
    On right habd pane you need to use QTextBrowser/QTextEdit/QSimpleTextBrowser.
    See this example:
    http://doc.trolltech.com/4.5/itemviews-dirview.html

  2. The following user says thank you to yogeshgokul for this useful post:

    deepakn (10th November 2009)

Similar Threads

  1. How to display a double?
    By TomASS in forum Qt Programming
    Replies: 3
    Last Post: 29th May 2009, 20:15
  2. synchronise QLabel display and webcam capture
    By fbmfbm in forum Qt Programming
    Replies: 2
    Last Post: 24th February 2009, 11:10
  3. OS/X how to get physical display handle
    By hvengel in forum Qt Programming
    Replies: 4
    Last Post: 3rd January 2009, 19:51
  4. Display only PNG image on desktop
    By durbrak in forum Qt Programming
    Replies: 32
    Last Post: 15th March 2008, 21:55
  5. Graphics view display problem.
    By kiranraj in forum Qt Programming
    Replies: 3
    Last Post: 20th July 2007, 07:08

Tags for this Thread

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.