[Qt-interest] Selecting multiple files on different locations using QFileDialog

Dean dean.sinaean at gmail.com
Fri Dec 31 15:49:54 CET 2010


于 2010/12/31 13:54, hi 写道:
> Hi,
>
> I am using QFileDialog::getOpenFileNames() to get multiple input files
> in one of my appplication.
> I observed that "we can not select multiple files if they reside in
> different location", but  user can select multiple input file if they
> reside in current directory.
>
> Is it bug in QFileDialog or am I missing any thing?
> Any idea?
>
> Thank you.
> -Hiral
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
I'm not working on Qt right now, but your case reminds me of "Keil". 
"Keil" (www.keil.com) is a software for developing simple MCU programs. 
It needs to open a lot of files at one time and they are not in the same 
directory. So it just doesn't automatically close the "open file“ dialog 
when user close the open button. User can continue browsing to other 
directory and select other files. The dialog is closed only when the 
user click the "close" button.

Sorry, I don't know if this helps, but maybe you can try stopping the 
dialog from automatically being closed when "open" button is clicked. 
Just a idea.



More information about the Qt-interest-old mailing list