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,QObjectCreate 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 param_to_object(param)[source]
Format the value of the Parameter depending on internal need
- Return type:
- params = [{'name': 'config_path', 'readonly': True, 'title': 'Config path', 'type': 'str', 'value': ''}]
- settings_name = 'configuration'