<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def eventFilter(self, obj, event):
 """Filter mouse press events. Events that are captured and not propagated return True. Events that are not captured and are propagated return False. """

        event_type = event.type()
        if event_type == QEvent.MouseButtonPress:
            self.tab_pressed(event)
            return False
        return False