8.5.8.2.12. pymodaq_gui.utils.widgets.tree_toml module

Created the 19/10/2023

@author: Sebastien Weber

class pymodaq_gui.utils.widgets.tree_toml.TreeFromToml(config=None, capitalize=True, start_path=())[source]

Bases: ParameterManager, QObject

Create a ParameterTree from a configuration file

Methods

param_to_object(param)

Format the value of the Parameter depending on internal need

value_changed(param)

commit_config_changes_cache

dict_to_param

param_to_dict

show_dialog

classmethod dict_to_param(config, capitalize=True)[source]
Return type:

list[Parameter]

classmethod param_to_dict(param)[source]
Return type:

dict

classmethod param_to_object(param)[source]

Format the value of the Parameter depending on internal need

Return type:

Any

commit_config_changes_cache()[source]
show_dialog()[source]
Return type:

bool

value_changed(param)[source]
params = [{'name': 'config_path', 'readonly': True, 'title': 'Config path', 'type': 'str', 'value': ''}]
settings_name = 'configuration'