Results 1 to 9 of 9

Thread: QFileDialog

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2007
    Location
    italy
    Posts
    126
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    15
    Thanked 1 Time in 1 Post

    Default Re: QFileDialog

    Many thx for your kind reply..

    can you provide an example about how to select all file programmatrically.. it seems to me that Qt4 dos not have anymore this functionality..

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

    Default Re: QFileDialog

    Quote Originally Posted by rmagro View Post
    can you provide an example about how to select all file programmatrically.. it seems to me that Qt4 dos not have anymore this functionality..
    True, I can't find such a function. Crazy. A hack inside a subclass could be:
    Qt Code:
    1. QListView* w = qobject_cast<QListView*>(itemDelegate()->parent());
    2. if (w)
    3. {
    4. w->selectAll();
    5. }
    To copy to clipboard, switch view to plain text mode 

  3. #3
    Join Date
    Jun 2007
    Location
    italy
    Posts
    126
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    15
    Thanked 1 Time in 1 Post

    Default Re: QFileDialog

    very kind,
    thanks

Similar Threads

  1. QFileDialog
    By merry in forum Qt Programming
    Replies: 1
    Last Post: 15th December 2007, 13:41
  2. QFileDialog
    By ToddAtWSU in forum Qt Programming
    Replies: 2
    Last Post: 29th November 2007, 13:36
  3. QFileDialog Mac / PC
    By hey in forum Qt Programming
    Replies: 3
    Last Post: 26th April 2007, 18:23
  4. QFileDialog and '~'
    By Levon Nikoghosyan in forum Qt Programming
    Replies: 4
    Last Post: 15th November 2006, 19:37
  5. [Qt4] need help with QFileDialog
    By patcito in forum Qt Programming
    Replies: 2
    Last Post: 7th January 2006, 18:00

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.