[PyQt] Qfiledailoug multiple file selection

Detlev Offenbach detlev at die-offenbachs.de
Fri Mar 6 16:48:49 GMT 2009


On Freitag, 6. März 2009, klia wrote:
> Hey folks;
>
> How can i be able to select multiple files whenever i browse my directory
> using QfileDailoug?
>
> this is the code to call up the filedailoug
>
> files = QtGui.QFileDialog.getOpenFileName(self,  'Open file','/home/',
> ("Images (*.png *.tiff *.jpg)"))

Just use "getOpenFileNames(...)". See the docs for more details.

>
> Thank you



-- 
Detlev Offenbach
detlev at die-offenbachs.de



More information about the PyQt mailing list