Results 1 to 5 of 5

Thread: QFileDialog single click only

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2011
    Posts
    6
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default QFileDialog single click only

    Hi all,

    I cannot get rid of the single click Open File behavior on Qt 4.7 X11.
    I thought there might be a new option and that the new default was single click but I could not find it in the doc.
    I never ever chose such an option as single click open file behavior.

    Qt Code:
    1. QFileDialog* fd = new QFileDialog(this, fdcapt, textdir );
    2. fd->setObjectName("fileopendialog");
    3. fd->setViewMode(QFileDialog::List);
    4. fd->setFileMode( QFileDialog::ExistingFile );
    5. fd->setAcceptMode(QFileDialog::AcceptOpen);
    To copy to clipboard, switch view to plain text mode 

    Qt linguist has also started to react like this, which I never noticed before. Of course it is much less indispensable than the icon zoom feature now found in the open file dialog but users might want to select a file without opening it.

    Cheers,

    Alexandre
    Last edited by alxobr; 30th April 2012 at 18:29.

Similar Threads

  1. Replies: 7
    Last Post: 26th April 2012, 14:45
  2. Replies: 2
    Last Post: 28th November 2011, 15:12
  3. Replies: 1
    Last Post: 7th May 2011, 20:24
  4. Replies: 6
    Last Post: 5th June 2009, 09:38
  5. Replies: 2
    Last Post: 11th January 2009, 23:24

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.