taskbridgeapp.gui.viewmodel.remindercheckbox.ReminderCheckbox

class taskbridgeapp.gui.viewmodel.remindercheckbox.ReminderCheckbox(container_name, to_sync, *args, **kwargs)

Bases: QTableWidgetItem

A checkbox in the reminders table.

Methods

check

Set this checkbox to checked.

is_checked

Returns the check state of this checkbox.

load_check_state

Used to determine whether this checkbox should be checked or unchecked when settings are loaded from file.

reset_list

Remove all stored checkboxes.

uncheck

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.