Results 1 to 2 of 2

Thread: Auto resolve in QFileDialog

  1. #1
    Join Date
    Oct 2006
    Posts
    16
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Auto resolve in QFileDialog

    When I try to ty type in QFileDialog "Look in" field something like "./A..." and there are any directory with first letter 'A' in the current directory content of look in field changed (resolved ) automatically to full path - something like "/workspace/file_dilaog/A..."

    Here is source code :
    QFileDialog d((this,"Browse");
    d.setAcceptMode(QFileDialog::AcceptOpen);
    d.setFileMode(QFileDialog:irectoryOnly);
    d.setLabelText(QFileDialog::Accept, "Select");
    d.setLabelText(QFileDialog::FileName, "Directory:");
    d.setLabelText(QFileDialog::FileType, "");
    d.setResolveSymlinks(false);

    Please help - I do not want to autoresolving happens.
    Thannks in advance

  2. #2
    Join Date
    Jan 2006
    Location
    Alingsås, Sweden
    Posts
    437
    Thanks
    3
    Thanked 39 Times in 39 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Auto resolve in QFileDialog

    This is default behaviour - at least on Windows. If you do not want it - take the QFileDialog class and modify it.

Similar Threads

  1. QFileDialog hidden files
    By blukske in forum Qt Programming
    Replies: 3
    Last Post: 8th March 2007, 02:11
  2. Auto update module
    By munna in forum General Discussion
    Replies: 3
    Last Post: 26th September 2006, 14:52
  3. copy file/s from QFileDialog
    By raphaelf in forum Newbie
    Replies: 4
    Last Post: 4th July 2006, 14:26

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.