Results 1 to 3 of 3

Thread: QFileDialog issue

  1. #1
    Join Date
    Jul 2007
    Posts
    11
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default QFileDialog issue

    Hi,

    I am using Qt4.2.3 on Linux platform.
    I found one strange problem with QFileDialog.
    I used following sample code to open a file dialog,

    QString fileName = QFileDialog::getOpenFileName(
    0,
    tr("Select a db file to load"),
    "",
    "*.db");

    I got the file dialog but in that each file/dir name is apprearing with "...."
    for example "hbuf....." shown in attached screen shot.

    Earlier I used Qt4.2.2 and didn't face this problem.

    Please can anybody help me how to shortout this problem.

    Thanks,
    Mukul
    Attached Images Attached Images

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QFileDialog issue

    Looks like you have multiple columns there and the content doesn't fit into the column. Try switching between the detailed and icon view and see if the problem persists.

  3. #3
    Join Date
    Jul 2007
    Posts
    11
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: QFileDialog issue

    Hi,

    Thanks for your suggestions.

    There is only one column and both list and detail views are giving the
    same result.

Similar Threads

  1. QFileDialog and file sequences
    By peterhillman in forum Qt Programming
    Replies: 5
    Last Post: 24th November 2007, 10:16
  2. QFileDialog in Qt designer
    By tpf80 in forum Qt Tools
    Replies: 1
    Last Post: 17th May 2007, 00:41
  3. QFileDialog Mac / PC
    By hey in forum Qt Programming
    Replies: 3
    Last Post: 26th April 2007, 18:23
  4. QFileDialog Issue
    By vishal.chauhan in forum Qt Programming
    Replies: 2
    Last Post: 15th March 2007, 04:30
  5. QFileDialog Issue
    By vishal.chauhan in forum Qt Programming
    Replies: 1
    Last Post: 14th March 2007, 15:37

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.