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

Class LabelAtomByProp

       object --+                    
                |                    
sip.simplewrapper --+                
                    |                
          sip.wrapper --+            
                        |            
     PyQt5.QtCore.QObject --+        
                            |        
      PyQt5.QtWidgets.QAction --+    
                                |    
                          MAction --+
                                    |
                                   LabelAtomByProp
Known Subclasses:

Labels all atoms by a custom atom property

Nested Classes [hide private]

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

Instance Methods [hide private]
str
getProperty(self, atomobj)
Get the atom property for this action
 
command(self)
Clears all the atom labels and then labels the atoms in self.asl with any label defined by self.label

Inherited from MAction: __init__

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 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]

getProperty(self, atomobj)

 

Get the atom property for this action

Parameters:
  • atomobj (schrodinger.structure._StructureAtom object) - The atom object to retrieve the property from
Returns: str
The atom property converted to a string appropriate for display

command(self)

 

Clears all the atom labels and then labels the atoms in self.asl with any label defined by self.label

Overrides: MAction.command