def METHOD_NAME(self, toggle_func: Callable[[], None]) -> None:
    self.mouseReleaseEvent = toggle_func
    self.enterEvent = lambda x: app_state.app.setOverrideCursor(QCursor(Qt.PointingHandCursor))
    self.leaveEvent = lambda x: app_state.app.setOverrideCursor(QCursor(Qt.ArrowCursor))