Package schrodinger :: Package application :: Package msv :: Package gui :: Module delegates :: Class AlignmentInfoDelegate
[hide private]
[frames] | no frames]

Class AlignmentInfoDelegate

           object --+                        
                    |                        
    sip.simplewrapper --+                    
                        |                    
              sip.wrapper --+                
                            |                
         PyQt4.QtCore.QObject --+            
                                |            
PyQt4.QtGui.QAbstractItemDelegate --+        
                                    |        
      PyQt4.QtGui.QStyledItemDelegate --+    
                                        |    
                          BaseRowDelegate --+
                                            |
                                           AlignmentInfoDelegate

This is a delegate class that paints alignment info (e.g. identity, similarity, homology and score metrics or name and chain info).

Nested Classes [hide private]

Inherited from PyQt4.QtGui.QAbstractItemDelegate: EndEditHint

Instance Methods [hide private]
 
paint(self, painter, option, index)
Paints the info
 
editorEvent(self, event, model, option, index)

Inherited from BaseRowDelegate: __init__, clearCache, helpEvent, initStyleOption, sizeHint

Inherited from PyQt4.QtGui.QStyledItemDelegate: createEditor, displayText, eventFilter, itemEditorFactory, setEditorData, setItemEditorFactory, setModelData, updateEditorGeometry

Inherited from PyQt4.QtGui.QAbstractItemDelegate: closeEditor, commitData, elidedText, sizeHintChanged

Inherited from PyQt4.QtCore.QObject: __getattr__, blockSignals, childEvent, children, connect, connectNotify, customEvent, deleteLater, destroyed, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, event, findChild, findChildren, inherits, installEventFilter, isWidgetType, killTimer, metaObject, moveToThread, objectName, parent, property, pyqtConfigure, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent, tr, trUtf8

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 BaseRowDelegate: ANNOTATION_TYPE

Inherited from PyQt4.QtGui.QAbstractItemDelegate: EditNextItem, EditPreviousItem, NoHint, RevertModelCache, SubmitModelCache

Inherited from PyQt4.QtCore.QObject: staticMetaObject

Properties [hide private]

Inherited from BaseRowDelegate: element_height

Inherited from object: __class__

Method Details [hide private]

paint(self, painter, option, index)

 

Paints the info

Parameters:
  • option (QtWidgets.QStyleOptionViewItem) - The option to modify with cached information
  • index (QtCore.QModelIndex) - The index in the model
Overrides: PyQt4.QtGui.QAbstractItemDelegate.paint

editorEvent(self, event, model, option, index)

 
Overrides: PyQt4.QtGui.QAbstractItemDelegate.editorEvent