7.5.4.1.3. pymodaq_gui.parameter.pymodaq_ptypes.filedir module
- class pymodaq_gui.parameter.pymodaq_ptypes.filedir.FileDirParameter(**opts)[source]
Bases:
ParameterEditable string; displayed as large text box in the tree. .. seealso::
file_browserParameterItemMethods
itemClass
- itemClass
alias of
FileDirParameterItem
- class pymodaq_gui.parameter.pymodaq_ptypes.filedir.FileDirParameterItem(param, depth)[source]
Bases:
WidgetParameterItemMethods
Make an initialized file_browser object with parameter options dictionnary ('readonly' key)0
- class pymodaq_gui.parameter.pymodaq_ptypes.filedir.FileDirWidget(init_path='D:/Data', file_type=False)[source]
Bases:
QWidgetAttributes
Type
value_changed
instance of pyqt Signal
path
string
See also
Methods
Browse the path attribute if exist.
Get the value of the base_path_edit attribute.
initUI()Init the User Interface.
set_path(path_file)Set the base path attribute with the given path_file.
value_changed
- get_value()[source]
Get the value of the base_path_edit attribute.
- Returns:
the path name
- Return type:
string
- set_path(path_file)[source]
Set the base path attribute with the given path_file.
Parameters
Type
Description
path_file
string
the pathname of the file
- value_changed
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision