class_docstr: Subclasses `WidgetParameterItem` to provide the following types:
  
  ==========================  =============================================================
  **Registered Types:**
  int                         Displays a :class:`SpinBox <pyqtgraph.SpinBox>` in integer
                              mode.
  float                       Displays a :class:`SpinBox <pyqtgraph.SpinBox>`.
  ==========================  =============================================================
code: def makeWidget(self):
      opts = self.param.opts
      t = opts["type"]
      defs = {
          "value": 0,
          "min": None,
          "max": None,
          "step": 1.0,
          "dec": False,
          "siPrefix": False,
          "suffix": "",
          "decimals": 3,
      }
      if t == "int":
          defs["int"] = True
          defs["minStep"] = 1.0
      for k in defs:
          if k in opts:
              defs[k] = opts[k]
      if "limits" in opts:
          defs["min"], defs["max"] = opts["limits"]
      w = SpinBox()
      w.setOpts(**defs)
      w.sigChanged = w.sigValueChanged
      w.sigChanging = w.sigValueChanging
      return w
  
file_path: pyqtgraph/pyqtgraph/parametertree/parameterTypes/numeric.py
imports: from ...widgets.SpinBox import SpinBox
  from .basetypes import WidgetParameterItem
label_desc: Use image node_id 1 for calling the NumericParameterItem obj's underlying member method code with example usage: obj.makeWidget() and returns: w