def METHOD_NAME(self, event, model, option, index):
    """Reimplemented to handle mouse button clicks."""
    if (
        event.type() == QtCore.QEvent.Type.MouseButtonRelease
        and event.button() == QtCore.Qt.MouseButton.LeftButton
    ):
        column = index.model()._editor.columns[index.column()]
        obj = index.data(QtCore.Qt.ItemDataRole.UserRole)
        checked = bool(column.get_raw_value(obj))
        column.set_value(obj, not checked)
        return True
    else:
        return False