def toggle_eventtype(self):
        """Check or uncheck all event types in event type scroll.""" 
        check = self.check_all_eventtype.isChecked()
        
        for btn in self.idx_eventtype_list:
            btn.setChecked(check)
def toggle_eventtype ( self ) : check = self . check_all_eventtype . isChecked ( ) for btn in self . idx_eventtype_list : btn . setChecked ( check )
Check or uncheck all event types in event type scroll.