code: def __init__(self, parameter=None, parent=None):
      super().__init__(parent)
      if not parameter:
          return
      parameter.sigNameChanged.connect(self.onNameChange)
      parameter.sigOptionsChanged.connect(self.updateOpts)
      self.clicked.connect(parameter.activate)
      self.updateOpts(parameter, parameter.opts)
  
file_path: pyqtgraph/pyqtgraph/parametertree/parameterTypes/action.py
imports: from ...Qt import QtCore, QtWidgets, QtGui
  from ..Parameter import Parameter
  from ..ParameterItem import ParameterItem
label_desc: Use image node_id 1 to create a new ParameterControlledButton object from inherited base classes: QtWidgets with example: obj = ParameterControlledButton(parameter, parent)