docstr: **Bases:** :class:`GraphicsItem <pyqtgraph.GraphicsItem>`, :class:`QtWidgets.QGraphicsWidget`
  
  Extends QGraphicsWidget with several helpful methods and workarounds for PyQt bugs. 
  Most of the extra functionality is inherited from :class:`GraphicsItem <pyqtgraph.GraphicsItem>`.
docstr_tok: ["*","*","Bases",":","*","*",":","class",":","`","GraphicsItem","<","pyqtgraph.GraphicsItem",">","`",",",":","class",":","`","QtWidgets.QGraphicsWidget","`","Extends","QGraphicsWidget","with","several","helpful","methods","and","workarounds","for","PyQt","bugs",".","Most","of","the","extra","functionality","is","inherited","from",":","class",":","`","GraphicsItem","<","pyqtgraph.GraphicsItem",">","`","."]
code: def __init__(self, *args, **kwargs):
      """
      **Bases:** :class:`GraphicsItem <pyqtgraph.GraphicsItem>`, :class:`QtWidgets.QGraphicsWidget`
  
      Extends QGraphicsWidget with several helpful methods and workarounds for PyQt bugs.
      Most of the extra functionality is inherited from :class:`GraphicsItem <pyqtgraph.GraphicsItem>`.
      """
      QtWidgets.QGraphicsWidget.__init__(self, *args, **kwargs)
      GraphicsItem.__init__(self)
  
      # cache bounding rect and geometry
      self._boundingRectCache = self._previousGeometry = None
      self._painterPathCache = None
      self.geometryChanged.connect(self._resetCachedProperties)
  
file_path: pyqtgraph/pyqtgraph/graphicsItems/GraphicsWidget.py
imports: from ..Qt import QtCore, QtGui, QtWidgets
  from .GraphicsItem import GraphicsItem
label_desc: Use image node_id 1 to create a new GraphicsWidget object from inherited base classes: GraphicsItem, QtWidgets with example: obj = GraphicsWidget()