Qt-interest Archive, May 2007
[4.2.2] QFileDialog & select multiple files
Message 1 in thread
Maybe I'm a complete idiot, but I can't intuitively find a method to
accomplish what the documentation promises:
The QFileDialog class enables a user to traverse their file system in
order to select one or MANY FILES or a directory.
Thanks for any hint,
r.
--------------------------------------------------------------------
Rene Kaiser
Institute of Information Systems & Information Management
JOANNEUM RESEARCH Forschungsgesellschaft mbH
Steyrergasse 17, A-8010 Graz, AUSTRIA
phone: +43-316-876-1173 fax: +43-316-876-1191
web: http://www.joanneum.at/iis
e-mail: mailto:rene.kaiser@xxxxxxxxxxx
--------------------------------------------------------------------
--
[ signature omitted ]
Message 2 in thread
Kaiser, Rene schrieb:
>
> Maybe I'm a complete idiot, but I can't intuitively find a method to
> accomplish what the documentation promises:
>
> The QFileDialog class enables a user to traverse their file system in
> order to select one or MANY FILES or a directory.
A bit further down: "By calling setFileMode(), you can specify what the
user must select in the dialog: [...]"
Check out enum QFileDialog::FileMode and static
QFileDialog::getOpenFileNames().
Martin
--
[ signature omitted ]