Package Camelot :: Package camelot :: Package view :: Package controls :: Package delegates :: Module delegatemanager :: Class DelegateManager
[frames] | no frames]

Class DelegateManager

source code


Manages custom delegates, should not be used by the application developer
Nested Classes

Inherited from PyQt4.QtGui.QAbstractItemDelegate: EndEditHint

Instance Methods
 
__init__(self, parent=None, **kwargs)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
set_columns_desc(self, columnsdesc) source code
 
get_column_delegate(self, column) source code
 
insertColumnDelegate(self, column, delegate)
Inserts a custom column delegate
source code
 
commitData(self, editor)
QAbstractItemDelegate.commitData(QWidget) [signal]
source code
 
closeEditor(self, editor)
QAbstractItemDelegate.closeEditor(QWidget, QAbstractItemDelegate.EndEditHint) [signal] QAbstractItemDelegate.closeEditor(QWidget) [signal]
source code
 
removeColumnDelegate(self, column)
Removes custom column delegate
source code
 
paint(self, painter, option, index)
Use a custom delegate paint method if it exists
source code
 
createEditor(self, parent, option, index)
Use a custom delegate createEditor method if it exists
source code
 
setEditorData(self, editor, index)
Use a custom delegate setEditorData method if it exists
source code
 
setModelData(self, editor, model, index)
Use a custom delegate setModelData method if it exists
source code
 
sizeHint(self, option, index) source code

Inherited from PyQt4.QtGui.QItemDelegate: drawBackground, drawCheck, drawDecoration, drawDisplay, drawFocus, editorEvent, eventFilter, hasClipping, itemEditorFactory, setClipping, setItemEditorFactory, updateEditorGeometry

Inherited from PyQt4.QtGui.QAbstractItemDelegate: elidedText, helpEvent, sizeHintChanged

Inherited from PyQt4.QtCore.QObject: 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, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent, tr, trUtf8

Inherited from sip.simplewrapper: __delattr__, __getattribute__, __new__, __setattr__

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

Class Variables

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

Inherited from PyQt4.QtCore.QObject: staticMetaObject

Properties

Inherited from object: __class__

Method Details

__init__(self, parent=None, **kwargs)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

commitData(self, editor)

source code 
QAbstractItemDelegate.commitData(QWidget) [signal]
Overrides: PyQt4.QtGui.QAbstractItemDelegate.commitData
(inherited documentation)

closeEditor(self, editor)

source code 
QAbstractItemDelegate.closeEditor(QWidget, QAbstractItemDelegate.EndEditHint) [signal] QAbstractItemDelegate.closeEditor(QWidget) [signal]
Overrides: PyQt4.QtGui.QAbstractItemDelegate.closeEditor
(inherited documentation)

paint(self, painter, option, index)

source code 
Use a custom delegate paint method if it exists
Overrides: PyQt4.QtGui.QAbstractItemDelegate.paint

createEditor(self, parent, option, index)

source code 
Use a custom delegate createEditor method if it exists
Overrides: PyQt4.QtGui.QAbstractItemDelegate.createEditor

setEditorData(self, editor, index)

source code 
Use a custom delegate setEditorData method if it exists
Overrides: PyQt4.QtGui.QAbstractItemDelegate.setEditorData

setModelData(self, editor, model, index)

source code 
Use a custom delegate setModelData method if it exists
Overrides: PyQt4.QtGui.QAbstractItemDelegate.setModelData

sizeHint(self, option, index)

source code 
Overrides: PyQt4.QtGui.QAbstractItemDelegate.sizeHint