code: def disable_radio_button(self):
          
          checked = self.default_input_button_group.checkedButton()
          if checked:
              self.default_input_button_group.setExclusive(False)
              checked.setChecked(False)
              self.default_input_button_group.setExclusive(True)
          for button in self.default_input_button_group.buttons():
              button.setDisabled(True)
          self.custom_value.setDisabled(True)
docs: Disable radio button group and custom value input area.