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

Class SpaceRowDelegate

               object --+                        
                        |                        
        sip.simplewrapper --+                    
                            |                    
                  sip.wrapper --+                
                                |                
             PyQt5.QtCore.QObject --+            
                                    |            
PyQt5.QtWidgets.QAbstractItemDelegate --+        
                                        |        
      PyQt5.QtWidgets.QStyledItemDelegate --+    
                                            |    
                      AbstractBaseRowDelegate --+
                                                |
                                               SpaceRowDelegate

A simple delegate to manage rows of empty space

Nested Classes [hide private]

Inherited from PyQt5.QtWidgets.QAbstractItemDelegate: EndEditHint

Instance Methods [hide private]
basestr @return The text representation of the value or an empty string if None
_getText(self, index, option)
Return the default text for the cell

Inherited from AbstractBaseRowDelegate: __init__, heightHint, paint, sizeHint

Inherited from PyQt5.QtWidgets.QStyledItemDelegate: createEditor, displayText, editorEvent, eventFilter, initStyleOption, itemEditorFactory, setEditorData, setItemEditorFactory, setModelData, updateEditorGeometry

Inherited from PyQt5.QtWidgets.QAbstractItemDelegate: closeEditor, commitData, destroyEditor, helpEvent, sizeHintChanged

Inherited from PyQt5.QtCore.QObject: __getattr__, blockSignals, childEvent, children, connectNotify, customEvent, deleteLater, destroyed, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, event, 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]
enum.Enum or None ANNOTATION_TYPE = <RowType.Spacer: 2>
The annotation type associated with this class

Inherited from AbstractBaseRowDelegate: SAMPLE_DATA

Inherited from PyQt5.QtWidgets.QAbstractItemDelegate: EditNextItem, EditPreviousItem, NoHint, RevertModelCache, SubmitModelCache

Inherited from PyQt5.QtCore.QObject: staticMetaObject

Properties [hide private]

Inherited from AbstractBaseRowDelegate: element_height

Inherited from object: __class__

Method Details [hide private]

_getText(self, index, option)

 

Return the default text for the cell

Parameters:
  • index - The index in the model
Returns: basestr @return The text representation of the value or an empty string if None
Overrides: AbstractBaseRowDelegate._getText
(inherited documentation)