Package schrodinger :: Package application :: Package bioluminate :: Module pml_menus :: Class ColorChainbows
[hide private]
[frames] | no frames]

Class ColorChainbows

PyQt4.QtGui.QAction --+    
                      |    
                MAction --+
                          |
             object --+   |
                      |   |
       ColorRibbonMixin --+
                          |
                         ColorChainbows

Instance Methods [hide private]
 
__init__(self, *args, **kwargs)
Create a MAction object
 
command(self)
Color each chain like a rainbow! Each group of atoms within a chain gets different colors.

Inherited from ColorRibbonMixin: fixRibbons

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args, **kwargs)
(Constructor)

 

Create a MAction object

Parameters:
  • name - the string that will appear in the menu for this action
  • menu - the QWidget that owns this action, if a QMenu, the title property may be used when determining the command function when the action is triggered.
  • asl - the asl this action will apply to. If not supplied, the asl is taken as the menu asl
  • owner - the object this Action will operate on
  • tooltip - the string that will appear as a tooltip for this action
Overrides: object.__init__
(inherited documentation)

command(self)

 

Color each chain like a rainbow! Each group of atoms within a chain gets different colors. Groups are created to (roughly) equal number of atoms in each group, and all the atoms in a residue are given the same color (if the residue != UNK).

Overrides: MAction.command