Popup a QFileDialog, put the selected file in the storage and return the call on_finish with the StoredFile when done
Parameters: | on_finish – function that will be called in the gui thread when |
---|
the file is stored. the first argument of the function should be the StoredFile
Parameters: | filename – if None, a dialog will pop up, asking the user for |
---|
the file, otherwise a string with the name of the file to be stored