Multiple files AND folder selection in a QFileDialog?
问题 I am using pyQt4 and want to have a Browse button in my GUI which opens up a Dialog box allowing user to select multiple files AND folders. I have researched quite a bit but din't find any way to be able to do this. The QFileDialog.getOpenFileNames() only allows me to choose files and QFileDialog.getExistingDirectory() only allows to choose directories. Is there any way I can somehow combine their functionality. Ideally I would like to use the nativeDialogs but that doesn't seem to be