Hi all,
I need a "select folders + files" dialog.
In which using same QFileDialog i can select either file or folder.
Regards
Merry
Printable View
Hi all,
I need a "select folders + files" dialog.
In which using same QFileDialog i can select either file or folder.
Regards
Merry
Yeah, I tried but no use i am able to select files only but nt directories.
post your code snippet having file dlg operation.
Here is the code:
Code:
getOpenFileName(...) is a static method and has its own instance. The dialog instance created by you with flags won't affect this instance.
why can't you use getExistingDirectory ?
Thanks for the reply.
using this i am able to select dirs ony not files. I want to make a dialog in which i can able to select both files and dirs .Quote:
why can't you use getExistingDirectory ?
you can try this,
Code:
int nMode = dlg->exec();
I also have the same problems, and after searching and trying for some times, I found this solution works. You could try.
http://www.qtcentre.org/threads/3422...108#post220108