FileEdit#
Available in backends:
Signals#
changed(object)
- Emitted withself
when any sub-widget in the container changes.label_changed(str)
- Emitted when the widget label changes.native_parent_changed(object)
- Emitted with the backend widget when the widget parent changes.
FileEdit
#
Bases: Container
A LineEdit widget with a button that opens a FileDialog.
Parameters:
-
mode
(FileDialogMode or str
, default:EXISTING_FILE
) –'r'
returns one existing file.'rm'
return one or more existing files.'w'
return one file name that does not have to exist.'d'
returns one existing directory.
-
filter
(str
, default:None
) –The filter is used to specify the kind of files that should be shown. It should be a glob-style string, like
'*.png'
(this may be backend-specific)