def METHOD_NAME(self, _obj: Optional[QObject], event: Optional[QEvent]) -> bool:
    """Translate mouse presses to a clicked signal."""
    assert event is not None
    if event.type() == QEvent.Type.MouseButtonPress:
        self.clicked.emit()
    return False