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 'delegate' in opts:
              styledItemDelegate = QtWidgets.QStyledItemDelegate()
              styledItemDelegate.setItemEditorFactory(opts['delegate']())
              self.widget.setItemDelegate(styledItemDelegate)
  
          if 'menu' in opts:
              self.widget.setmenu(opts['menu'])
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 'delegate' in opts : styledItemDelegate = QtWidgets . QStyledItemDelegate ( ) styledItemDelegate . setItemEditorFactory ( opts [ 'delegate' ] ( ) ) self . widget . setItemDelegate ( styledItemDelegate ) if 'menu' in opts : self . widget . setmenu ( opts [ 'menu' ] )
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