Results 1 to 1 of 1

Thread: What is the best way to create a file management panel?

  1. #1
    Join Date
    Sep 2008
    Posts
    25
    Thanks
    3
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default What is the best way to create a file management panel?

    I need to create a widget, a file panel like in any file manager(Total Commander, Frigate, Far). This panel must contain a list of files in any directory. Double click will enter the dir clicked or "Go up" if ".." is clicked. Look at the attachement to see details.

    What is the best way to create such widget? Can I use QDirModel or should I create my own model by subclassing QAbstractItemModel (or QStandardItemModel?) ?
    I've read a documentation about Model/View programming. But it has too little of examples... I'll look at wiki to find more examples..

    Also a need to create a virtual file panel. It uses a virtual tree of files, not a local filing system.
    AFAIU QDirModel is not acceptable here.
    Attached Images Attached Images
    • File Type: jpg 2.JPG (22.9 KB, 19 views)

Similar Threads

  1. Replies: 4
    Last Post: 18th December 2009, 18:55
  2. making qmake create VisualStudio console app project file?
    By akos.maroy in forum Qt Programming
    Replies: 2
    Last Post: 18th August 2008, 14:45
  3. Set up the Qt4.3.2 with Visual Studio 2005
    By lamoda in forum Installation and Deployment
    Replies: 6
    Last Post: 30th January 2008, 06:51
  4. qt-3.3.8 fail in scratchbox
    By nass in forum Installation and Deployment
    Replies: 0
    Last Post: 25th May 2007, 15:21
  5. create file in another directory
    By raphaelf in forum Qt Programming
    Replies: 3
    Last Post: 16th February 2006, 10:04

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.