'When there is an error (for example in the parsing of the HTTP request)
that is being shown in the Manual HTTP request editor, and we want to
disable the "Send" button; then the raw.py calls this method to achieve
exactly that.'

def disable_attached_widgets(self):

    if self.enableWidget:
        for widg in self.enableWidget:
            widg(False)
