class_docstr: WidgetParameterItem subclass providing comboBox that lets the user select from a list of options.
class_docstr_tok: ["WidgetParameterItem","subclass","providing","comboBox","that","lets","the","user","select","from","a","list","of","options","."]
code: def makeWidget(self):
      w = QtWidgets.QComboBox()
      w.setMaximumHeight(
          20
      )  ## set to match height of spin box and line edit
      w.sigChanged = w.currentIndexChanged
      w.value = self.value
      w.setValue = self.setValue
      self.widget = w  ## needs to be set before limits are changed
      self.limitsChanged(self.param, self.param.opts["limits"])
      if len(self.forward) > 0:
          self.setValue(self.param.value())
      return w
  
file_path: pyqtgraph/pyqtgraph/parametertree/parameterTypes/list.py
imports: import warnings
  from collections import OrderedDict
  from ...None import functions
  from ...Qt import QtWidgets
  from ..Parameter import Parameter
  from .basetypes import WidgetParameterItem
label_desc: Use image node_id 2 for calling the ListParameterItem obj's underlying member method code with example usage: obj.makeWidget() and returns: w