file_dialog.setFileMode(QFileDialog.ExistingFiles)
file_dialog.setDirectory( defaultDirectory )
if file_dialog.exec_():
fileNames = file_dialog.selectedFiles()
else:
// otherwise, use native dialog of the present platform
After Change
// select multiple files
file_dialog.setFileMode(QFileDialog.ExistingFiles)
if not file_dialog.exec_():
return []
return cls.cleanFileList(file_dialog.selectedFiles())
@staticmethod