Configuration Manager¶
- class bci_framework.framework.config_manager.ConfigManager(filename='.bciframework')[source]¶
File based configurations manager.
- connect_widgets(method: Callable, config: Dict[str, QWidget]) None [source]¶
Automatically connect widgets with events.
- get(section: str, option: str, default: Optional[str] = None, *args, **kwargs) None [source]¶
Read a configuration value, if not exists then save the default.
- load_widgets(section: str, config: Dict[str, QWidget]) None [source]¶
Automatically load values from configurations and set them in widgets.