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

Type ParamMeta

          object --+            
                   |            
                type --+        
                       |        
         sip.wrappertype --+    
                           |    
PyQt4.QtCore.pyqtWrapperType --+
                               |
                              ParamMeta


This metaclass modifies the creation of AbstractCompoundParam instances in
the following ways:

    1) Stores the names of subparams on the subparam descriptor object. For
    example:

        class Coord(AbstractCompoundParam):
            x = IntParam()
            y = IntParam()

    In this example, the descriptor x.param_name == 'x'.

    2) A signal is dynamically added to the compound param for each
    subparam. The signal is names <subparam-name>Changed. (ex.
    coord.xChanged and coord.yChanged). This way, subclasses of
    AbstractCompoundParam do not need to explicitly define signals for each
    subparam.

Instance Methods [hide private]

Inherited from PyQt4.QtCore.pyqtWrapperType: __init__

Inherited from sip.wrappertype: __delattr__, __getattribute__, __setattr__

Inherited from type: __call__, __eq__, __ge__, __gt__, __hash__, __instancecheck__, __le__, __lt__, __ne__, __repr__, __subclasscheck__, __subclasses__, mro

Inherited from object: __format__, __reduce__, __reduce_ex__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]
a new object with type S, a subtype of T
__new__(cls, name, parents, dct)
Properties [hide private]

Inherited from type: __abstractmethods__, __base__, __bases__, __basicsize__, __dictoffset__, __flags__, __itemsize__, __mro__, __name__, __weakrefoffset__

Inherited from object: __class__

Method Details [hide private]

__new__(cls, name, parents, dct)
Static Method

 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__
(inherited documentation)