Results 1 to 5 of 5

Thread: QFileDialog select multiple directories

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Join Date
    Feb 2007
    Location
    Karlsruhe, Germany
    Posts
    469
    Thanks
    17
    Thanked 90 Times in 88 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QFileDialog select multiple directories

    My guess would be that the solution posted in the FAQ can't work with the OS-native filedialogs, which are used by default.
    The native dialog won't have a QListWidget etc..

    Try opening a qt one.

    Qt Code:
    1. filedialog.setOption(QFileDialog::DontUseNativeDialog,true);
    To copy to clipboard, switch view to plain text mode 

    Joh
    Last edited by JohannesMunk; 16th September 2010 at 20:45.

Similar Threads

  1. Replies: 4
    Last Post: 18th August 2010, 04:23
  2. Select multiple curves
    By aimsc in forum Qwt
    Replies: 2
    Last Post: 30th October 2009, 10:45
  3. Select multiple files from QFileDialog
    By jiveaxe in forum Qt Programming
    Replies: 6
    Last Post: 16th February 2009, 14:57
  4. QTableWidget - Select multiple rows.
    By wally in forum Qt Programming
    Replies: 2
    Last Post: 21st October 2008, 17:15
  5. How to create directories??
    By paranoid_android in forum Qt Programming
    Replies: 3
    Last Post: 9th March 2006, 16:28

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