code: def uncheck_all_local(self):
          
          for buttons in self.event['local'].values():
              if not buttons[0].get_value():
                  self.event['global']['all_local'].setChecked(False)
              if buttons[1].isEnabled() and not buttons[1].get_value():
                  self.event['global']['all_local_prep'].setChecked(False)
docs: Uncheck 'all local' box when a local event is unchecked.