class documentation

class QCheckboxConfig:

View In Hierarchy

QCheckboxConfig class.
Method __init__ Initializes a manager for configuration bound checkbox actions.
Method add Creates a checkbox action. The checkbox state is bound to the project configuration.
Method changed Handles change of checkbox state.
Method reload Reloads the configuration bound checkboxes.
Instance Variable actions Undocumented
Instance Variable gui Undocumented
def __init__(self, gui):
Initializes a manager for configuration bound checkbox actions.
Parameters
gui:GUIUndocumented
def add(self, label, key, on_changed):
Creates a checkbox action. The checkbox state is bound to the project configuration.
Parameters
label:strLabel
key:strConfiguration key
on_changed:CallableGets called when the checkbox state changed
Returns
QActionUndocumented
def changed(self, key):
Handles change of checkbox state.
Parameters
key:strConfiguration key
def reload(self):

Reloads the configuration bound checkboxes.

Note: This doesn't block the change signals.

actions: Dict[str, Dict] =

Undocumented

gui =

Undocumented