class_docstr: Simple PushButton extension that paints a QPainterPath centered on its face.
      
code: def setPath(self, path):
      self.path = path
      self.update()
  
file_path: pyqtgraph/pyqtgraph/widgets/PathButton.py
imports: from ..None import functions
  from ..Qt import QtCore, QtGui, QtWidgets
label_desc: Use image node_id 4 for calling the PathButton obj's underlying member method code with example usage: obj.setPath(path) without return types