Package schrodinger :: Package tasks :: Module parameters :: Class BaseMutableParam
[hide private]
[frames] | no frames]

Class BaseMutableParam

       object --+                
                |                
sip.simplewrapper --+            
                    |            
          sip.wrapper --+        
                        |        
     PyQt5.QtCore.QObject --+    
                            |    
                        Param --+
                                |
                               BaseMutableParam
Known Subclasses:

Nested Classes [hide private]

Inherited from Param: NO_VALUE

Instance Methods [hide private]
 
_defaultValue(self, owner_instance=None)
Extends the parent method to re-cast the default value to a signal-emitting version of self.DataClass and connects the signal.
 
_setValue(self, owner_instance, value)
Extends the parent method to re-cast the value to a signal-emitting version of self.DataClass and connects the signal.
 
_castValue(self, value)
Casts the value as a subclass of the DataClass that has been modified to emit a mutated signal when any of the methods named in MUTATE_METHOD_NAMES are invoked.

Inherited from Param: __get__, __init__, __repr__, __set__, ownerChain, valueChanged

Inherited from Param (private): _getValue, _propagateSignal

Inherited from PyQt5.QtCore.QObject: __getattr__, blockSignals, childEvent, children, connectNotify, customEvent, deleteLater, destroyed, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, event, eventFilter, findChild, findChildren, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, objectNameChanged, parent, property, pyqtConfigure, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent, tr

Inherited from sip.simplewrapper: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  MUTATE_METHOD_NAMES = ()

Inherited from Param: DataClass, is_abstract

Inherited from PyQt5.QtCore.QObject: staticMetaObject

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

_defaultValue(self, owner_instance=None)

 

Extends the parent method to re-cast the default value to a signal-emitting version of self.DataClass and connects the signal.

Parameters:
  • owner_instance - the instance on which this param is an attribute
Overrides: Param._defaultValue

_setValue(self, owner_instance, value)

 

Extends the parent method to re-cast the value to a signal-emitting version of self.DataClass and connects the signal.

Parameters:
  • owner_instance - the instance on which this param is an attribute
  • value - the new value to set for this param
Overrides: Param._setValue

_castValue(self, value)

 

Casts the value as a subclass of the DataClass that has been modified to emit a mutated signal when any of the methods named in MUTATE_METHOD_NAMES are invoked.

Parameters:
  • value (self.DataClass) - the original value object