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

Class LigandPreset

       object --+                        
                |                        
sip.simplewrapper --+                    
                    |                    
          sip.wrapper --+                
                        |                
     PyQt5.QtCore.QObject --+            
                            |            
      PyQt5.QtWidgets.QAction --+        
                                |        
                          MAction --+    
                                    |    
                       object --+   |    
                                |   |    
                LigandActionMixin --+    
                                    |    
                         PresetAction --+
                                        |
                                       LigandPreset

Nested Classes [hide private]

Inherited from PyQt5.QtWidgets.QAction: ActionEvent, MenuRole, Priority

Instance Methods [hide private]
 
__init__(self, *args, **kwargs)
Create a LigandPreset Action object
 
command(self)
Color chains as chainbows Reset ligand atoms and non-carbons to default colors Show the protein as ribbons Show residues within 5 A of ligand as lines Show ligand as sticks Show solvent within 5 A of Ligand as sticks (near solvent) Show polar contacts between (host & near solvent) and (ligand & near solvent) Show any nonbonded atoms within 5 A of Ligand Zoom in on any ligands

Inherited from PresetAction: finish, reset

Inherited from PyQt5.QtWidgets.QAction: actionGroup, activate, associatedGraphicsWidgets, associatedWidgets, autoRepeat, changed, data, event, font, hover, hovered, icon, iconText, isCheckable, isChecked, isEnabled, isIconVisibleInMenu, isSeparator, isVisible, menu, menuRole, parentWidget, priority, setActionGroup, setAutoRepeat, setCheckable, setChecked, setData, setDisabled, setEnabled, setFont, setIcon, setIconText, setIconVisibleInMenu, setMenu, setMenuRole, setPriority, setSeparator, setShortcut, setShortcutContext, setShortcuts, setStatusTip, setText, setToolTip, setVisible, setWhatsThis, shortcut, shortcutContext, shortcuts, showStatusText, statusTip, text, toggle, toggled, toolTip, trigger, triggered, whatsThis

Inherited from PyQt5.QtCore.QObject: __getattr__, blockSignals, childEvent, children, connectNotify, customEvent, deleteLater, destroyed, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, 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 LigandActionMixin: makeLigandASL

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

Class Variables [hide private]

Inherited from PyQt5.QtWidgets.QAction: AboutQtRole, AboutRole, ApplicationSpecificRole, HighPriority, Hover, LowPriority, NoRole, NormalPriority, PreferencesRole, QuitRole, TextHeuristicRole, Trigger

Inherited from PyQt5.QtCore.QObject: staticMetaObject

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

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

 

Create a LigandPreset Action object

Parameters:
  • ribbon_type (str) - The ribbon type to display. Default is calphatube.
  • surface_style (str or None) - One of the following values
    • None if no surface (default)
    • 'solid'
    • 'mesh'
    • 'dots'
  • surface_quality (int) - The quality of the displayed surface.
    • 1 is medium quality (default)
    • 2 is high quality
  • surface_transparancy (int) - transparancy % of the surface. Default is 0 (solid), max is 100.

    See parent class for addition keyword documentation

Overrides: object.__init__

command(self)

 

Color chains as chainbows Reset ligand atoms and non-carbons to default colors Show the protein as ribbons Show residues within 5 A of ligand as lines Show ligand as sticks Show solvent within 5 A of Ligand as sticks (near solvent) Show polar contacts between (host & near solvent) and (ligand & near solvent) Show any nonbonded atoms within 5 A of Ligand Zoom in on any ligands

Overrides: MAction.command