code: def check_all_local(self):
          
          all_local_chk = self.event['global']['all_local'].isChecked()
          for buttons in self.event['local'].values():
              buttons[0].setChecked(all_local_chk)
              buttons[1].setEnabled(buttons[0].isChecked())
docs: Check or uncheck all local event parameters.