code: def setHtml(self, html, baseUrl=QUrl()):
          
          if WEBENGINE:
              self.setEnabled(False)
              super(WebView, self).setHtml(html, baseUrl)
              self.setEnabled(True)
          else:
              super(WebView, self).setHtml(html, baseUrl)
docs: Reimplement Qt method to prevent WebEngine to steal focus
          when setting html on the page
  
          Solution taken from
          https://bugreports.qt.io/browse/QTBUG-52999