taskbridgeapp.gui.viewmodel.remindercheckbox.ReminderCheckbox
- class taskbridgeapp.gui.viewmodel.remindercheckbox.ReminderCheckbox(container_name, to_sync, *args, **kwargs)
Bases:
QTableWidgetItemA checkbox in the reminders table.
Methods
Set this checkbox to checked.
Returns the check state of this checkbox.
Used to determine whether this checkbox should be checked or unchecked when settings are loaded from file.
Remove all stored checkboxes.
Set this checkbox to unchecked.
Attributes
CB_LIST__display_name____name____orig_bases____sphinx_decorator_args____sphinx_mock__- __call__(*args, **kwargs)
Call self as a function.
- Return type:
Any
- __init__(container_name, to_sync, *args, **kwargs)
Initialises the reminder checkbox.
- Parameters:
container_name (
str) – the name of the container this checkbox represents.to_sync (
List[str]) – a list of which reminder containers should be synchronised.
- check()
Set this checkbox to checked.
- is_checked()
Returns the check state of this checkbox.
- Return type:
bool- Returns:
True if this checkbox is checked.
- load_check_state()
Used to determine whether this checkbox should be checked or unchecked when settings are loaded from file.
- static reset_list()
Remove all stored checkboxes.
- uncheck()
Set this checkbox to unchecked.