Select one or more files to open or to process.
Parameters: | file_name_filter – Filter on the names of the files that can be selected, such as ‘All files (*)’. See QtGui.QFileDialog for more documentation. |
---|
defaults to True, set to False if selection of multiple files is allowed
defaults to True, set to False if non existing files are allowed (to save something)
The yield statement of SelectFile returns a list of selected file names. This list has only one element when single is set to True. Raises a camelot.core.exception.CancelRequest when no file was selected.