Results 1 to 3 of 3

Thread: display a directory using qtreewidget

  1. #1
    Join Date
    Mar 2010
    Posts
    54
    Qt products
    Qt/Embedded
    Platforms
    Symbian S60

    Default display a directory using qtreewidget

    Hi Guys

    I have a small question where I need to display a directory using qtreewidget.
    I was able to do it using the QDirModel and QTreeView, but I have the problem as I need to use only QTREEWIDGET to display the directory.

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: display a directory using qtreewidget

    why do need to use QTreeWidget?

  3. #3
    Join Date
    Mar 2010
    Posts
    54
    Qt products
    Qt/Embedded
    Platforms
    Symbian S60

    Default Re: display a directory using qtreewidget

    actually , i need to also provide additioanl functionality
    1) Get the full path to the file / directory on a single click event
    2) The path needs to be displayed on a text browser.

Similar Threads

  1. QTreeWidget Items display too wide.
    By chris_helloworld in forum Qt Programming
    Replies: 2
    Last Post: 26th February 2010, 13:36
  2. How to display entire directory(Filesystem)
    By deepakn in forum Newbie
    Replies: 11
    Last Post: 10th November 2009, 09:58
  3. Display files of a Directory
    By mansu in forum Qt Programming
    Replies: 2
    Last Post: 8th March 2009, 15:08
  4. Replies: 2
    Last Post: 17th March 2008, 12:53
  5. Display a file from Directory tree to show in QTextEdit
    By vvdounai in forum Qt Programming
    Replies: 1
    Last Post: 13th November 2007, 13:43

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.