class_docstr: Widget for editing OBJECT parameters
class_docstr_tok: ["Widget","for","editing","OBJECT","parameters"]
code: def __init__(self, parent=None):
      super(ObjectWidget, self).__init__(parent)
  
      l_nbr_steps = QLabel("Nbr Steps ")
      self.nbr_steps = QSpinBox()
      self.nbr_steps.setMinimum(3)
      self.nbr_steps.setMaximum(100)
      self.nbr_steps.setValue(6)
      self.nbr_steps.valueChanged.connect(self.update_param)
  
      l_cmap = QLabel("Cmap ")
      self.cmap = sorted(get_colormaps().keys())
      self.combo = QComboBox(self)
      self.combo.addItems(self.cmap)
      self.combo.currentIndexChanged.connect(self.update_param)
  
      gbox = QGridLayout()
      gbox.addWidget(l_cmap, 0, 0)
      gbox.addWidget(self.combo, 0, 1)
      gbox.addWidget(l_nbr_steps, 1, 0)
      gbox.addWidget(self.nbr_steps, 1, 1)
  
      vbox = QVBoxLayout()
      vbox.addLayout(gbox)
      vbox.addStretch(1)
  
      self.setLayout(vbox)
  
file_path: vispy/examples/scene/isocurve_for_trisurface_qt.py
imports: import numpy
  from vispy import scene, app
  from vispy.geometry.generation import create_sphere
  from vispy.color.colormap import get_colormaps
label_desc: Use image node_id 1 to create a new ObjectWidget object from inherited base classes: QWidget with example: obj = ObjectWidget(parent)