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

Class ColorBySubstructure

       object --+                        
                |                        
sip.simplewrapper --+                    
                    |                    
          sip.wrapper --+                
                        |                
     PyQt5.QtCore.QObject --+            
                            |            
      PyQt5.QtWidgets.QAction --+        
                                |        
    PyQt5.QtWidgets.QWidgetAction --+    
                                    |    
                        MWidgetAction --+
                                        |
                           object --+   |
                                    |   |
                     ColorRibbonMixin --+
                                        |
                                       ColorBySubstructure

Nested Classes [hide private]

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

Instance Methods [hide private]
 
__init__(self, menu, **kwargs)
Create a MWidgetAction object
 
command(self)
Color the helix, sheet and loop objects in the structure

Inherited from PyQt5.QtWidgets.QWidgetAction: createWidget, createdWidgets, defaultWidget, deleteWidget, event, eventFilter, releaseWidget, requestWidget, setDefaultWidget

Inherited from PyQt5.QtWidgets.QAction: actionGroup, activate, associatedGraphicsWidgets, associatedWidgets, autoRepeat, changed, data, 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, 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 ColorRibbonMixin: fixRibbons

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, menu, **kwargs)
(Constructor)

 

Create a MWidgetAction object

Parameters:
  • widget - the widget to be displayed as the menu item
  • 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 the helix, sheet and loop objects in the structure

Overrides: MWidgetAction.command