original_docstring: 
              | Called when any options are changed that are not name, value, default, or limits.
              |
              | If widget is a SpinBox, pass options straight through.
              | So that only the display label is shown when visible option is toggled.
  
              =============== ================================== ==============================
              **Parameters**    **Type**                           **Description**
              *param*           instance of pyqtgraph parameter    the parameter to check
              *opts*            string list                        the associated options list
              =============== ================================== ==============================
  
              See Also
              --------
              optsChanged
          
docstring: | Called when any options are changed that are not name, value, default, or limits.
  |
  | If widget is a SpinBox, pass options straight through.
  | So that only the display label is shown when visible option is toggled.
  
  
  
  See Also
  
  optsChanged
docstring_tokens: | Called when any options are changed that are not name value default or limits . | | If widget is a SpinBox pass options straight through . | So that only the display label is shown when visible option is toggled . See Also optsChanged
code: def optsChanged(self, param, opts):
          """
              | Called when any options are changed that are not name, value, default, or limits.
              |
              | If widget is a SpinBox, pass options straight through.
              | So that only the display label is shown when visible option is toggled.
  
              =============== ================================== ==============================
              **Parameters**    **Type**                           **Description**
              *param*           instance of pyqtgraph parameter    the parameter to check
              *opts*            string list                        the associated options list
              =============== ================================== ==============================
  
              See Also
              --------
              optsChanged
          """
          #print "opts changed:", opts
          ParameterItem.optsChanged(self, param, opts)
  
          if 'readonly' in opts:
              self.updateDefaultBtn()
              if isinstance(self.widget, (QtWidgets.QCheckBox, ColorButton.ColorButton)):
                  self.widget.setEnabled(not opts['readonly'])
  
          if 'minutes_increment' in opts:
              self.widget.setMinuteIncrement(opts['minutes_increment'])
  
          if 'tip' in opts:
              self.displayLabel.setToolTip(opts['tip'])
  
          ## If widget is a SpinBox, pass options straight through
          if isinstance(self.widget, SpinBoxCustom):
              if 'visible' in opts:
                  opts.pop('visible')
                  self.widget.hide() # so that only the display label is shown when visible option is toggled
              if 'units' in opts and 'suffix' not in opts:
                  opts['suffix'] = opts['units']
              self.widget.setOpts(**opts)
              self.updateDisplayLabel()
  
          if 'title' in opts:
              self.setText(0, opts['title'])
code_tokens: def optsChanged ( self , param , opts ) : ParameterItem . optsChanged ( self , param , opts ) if 'readonly' in opts : self . updateDefaultBtn ( ) if isinstance ( self . widget , ( QtWidgets . QCheckBox , ColorButton . ColorButton ) ) : self . widget . setEnabled ( not opts [ 'readonly' ] ) if 'minutes_increment' in opts : self . widget . setMinuteIncrement ( opts [ 'minutes_increment' ] ) if 'tip' in opts : self . displayLabel . setToolTip ( opts [ 'tip' ] ) if isinstance ( self . widget , SpinBoxCustom ) : if 'visible' in opts : opts . pop ( 'visible' ) self . widget . hide ( ) if 'units' in opts and 'suffix' not in opts : opts [ 'suffix' ] = opts [ 'units' ] self . widget . setOpts ( ** opts ) self . updateDisplayLabel ( ) if 'title' in opts : self . setText ( 0 , opts [ 'title' ] )
short_docstring: | Called when any options are changed that are not name, value, default, or limits.
short_docstring_tokens: | Called when any options are changed that are not name value default or limits .
comment: """
              | Called when any options are changed that are not name, value, default, or limits.
              |
              | If widget is a SpinBox, pass options straight through.
              | So that only the display label is shown when visible option is toggled.
  
              =============== ================================== ==============================
              **Parameters**    **Type**                           **Description**
              *param*           instance of pyqtgraph parameter    the parameter to check
              *opts*            string list                        the associated options list
              =============== ================================== ==============================
  
              See Also
              --------
              optsChanged
          """$SEP$#print "opts changed:", opts$SEP$## If widget is a SpinBox, pass options straight through$SEP$# so that only the display label is shown when visible option is toggled