class_docstr: ParameterTree item with:
  
    * label in second column for displaying value
    * simple widget for editing value (displayed instead of label when item is selected)
    * button that resets value to default
  
  This class can be subclassed by overriding makeWidget() to provide a custom widget.
class_docstr_tok: ["ParameterTree","item","with",":","*","label","in","second","column","for","displaying","value","*","simple","widget","for","editing","value","(","displayed","instead","of","label","when","item","is","selected",")","*","button","that","resets","value","to","default","This","class","can","be","subclassed","by","overriding","makeWidget","(",")","to","provide","a","custom","widget","."]
code: def makeDefaultButton(self):
      defaultBtn = QtWidgets.QPushButton()
      defaultBtn.setAutoDefault(False)
      defaultBtn.setFixedWidth(20)
      defaultBtn.setFixedHeight(20)
      defaultBtn.setIcon(icons.getGraphIcon("default"))
      defaultBtn.clicked.connect(self.defaultClicked)
      return defaultBtn
  
imports: import builtins
  from ...None import functions
  from ...None import icons
  from ...Qt import QtCore, QtGui, QtWidgets, mkQApp
  from ..Parameter import Parameter
  from ..ParameterItem import ParameterItem
label_desc: Use image node_id 4 for calling the WidgetParameterItem obj's underlying member method code with example usage: obj.makeDefaultButton() and returns: defaultBtn