PDA

View Full Version : QFileDialog issue



a_m_mukul
15th November 2007, 21:19
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

wysota
15th November 2007, 23:48
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.

a_m_mukul
16th November 2007, 00:46
Hi,

Thanks for your suggestions.

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