Results 1 to 2 of 2

Thread: Component that lists all files/folders in a particular path.

  1. #1
    Join Date
    Mar 2015
    Posts
    105
    Thanks
    50

    Default Component that lists all files/folders in a particular path.

    Hi!

    I would like to create a window with a component that lists all files/folders in a particular path. Something very similar to QFileDialog. More precisely something like winrar main window. Like the picture bellow. Is there a component in qt like the one listing TPPatchTwo...(file in the picture) file?
    Attached Images Attached Images

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Component that lists all files/folders in a particular path.

    Well, there are QDir, QFileInfo, QFileSystemModel, QTreeView, QTableView, and QListView. Some or all of these classes might be useful to you. A Google search for "QFileSystemModel example" will give you lots of hits.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

Similar Threads

  1. QFileDialog to select files AND folders
    By superpacko in forum Qt Programming
    Replies: 3
    Last Post: 16th April 2013, 13:59
  2. Replies: 0
    Last Post: 11th February 2011, 05:48
  3. Qt select folders and files dialog.
    By bunjee in forum Qt Programming
    Replies: 5
    Last Post: 13th July 2009, 09:53
  4. Replies: 1
    Last Post: 4th August 2008, 10:02
  5. viewing files or some folders
    By as001622 in forum Qt Programming
    Replies: 4
    Last Post: 2nd June 2008, 13:12

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.