[PyQt] Qfiledailoug multiple file selection

klia alwaseem307ster at yahoo.com
Sat Mar 7 03:47:09 GMT 2009




Detlev Offenbach wrote:
> 
> 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
> 
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
> 
> 

Thank you Detlev Offenbach it worked but python complaining that there's no
buffer or string to hold the selected files in order to process
them...............Any idea
-- 
View this message in context: http://www.nabble.com/Qfiledailoug-multiple-file-selection-tp22369488p22384191.html
Sent from the PyQt mailing list archive at Nabble.com.




More information about the PyQt mailing list