parameters: (self, e)
return_statement: return super().event(e)
docstring: Detect child add event, as QWebEngineView do not capture mouse event directly,
          the child layer _glwidget is implicitly added to QWebEngineView and we track mouse event through the glwidget
  
          :param e: QEvent
          :return: super().event(e)
docstring_summary: Detect child add event, as QWebEngineView do not capture mouse event directly,
          the child layer _glwidget is implicitly added to QWebEngineView and we track mouse event through the glwidget
docstring_tokens: Detect child add event as QWebEngineView do not capture mouse event directly the child layer _glwidget is implicitly added to QWebEngineView and we track mouse event through the glwidget
function: def event(self, e):
          """
          Detect child add event, as QWebEngineView do not capture mouse event directly,
          the child layer _glwidget is implicitly added to QWebEngineView and we track mouse event through the glwidget
  
          :param e: QEvent
          :return: super().event(e)
          """
          if self._glwidget is None:
              if e.type() == QEvent.ChildAdded and e.child().isWidgetType():
                      print('child add')
  
                      self._glwidget = e.child()
                      self._glwidget.installEventFilter(self)
          # if(e.type() == QEvent.ChildRemoved and e.child().isWidgetType()):
          #     # print('child removed')
          #     if(self._glwidget is not None):
          #         self._glwidget.removeEventFilter(self)
          # if(e.type() == QEvent.Close):
          #     # print('close webView')
          #     self.removeEventFilter(self)
          return super().event(e)
function_tokens: def event ( self , e ) : if self . _glwidget is None : if e . type ( ) == QEvent . ChildAdded and e . child ( ) . isWidgetType ( ) : print ( 'child add' ) self . _glwidget = e . child ( ) self . _glwidget . installEventFilter ( self ) # if(e.type() == QEvent.ChildRemoved and e.child().isWidgetType()): #     # print('child removed') #     if(self._glwidget is not None): #         self._glwidget.removeEventFilter(self) # if(e.type() == QEvent.Close): #     # print('close webView') #     self.removeEventFilter(self) return super ( ) . event ( e )