QItemDelegate Class Reference
[QtGui module]
Inherits QAbstractItemDelegate.
Inherited by QSqlRelationalDelegate.
Methods
- __init__ (self, QObject parent = None)
- QWidget createEditor (self, QWidget, QStyleOptionViewItem, QModelIndex)
- drawBackground (self, QPainter, QStyleOptionViewItem, QModelIndex)
- drawCheck (self, QPainter, QStyleOptionViewItem, QRect, Qt.CheckState)
- drawDecoration (self, QPainter, QStyleOptionViewItem, QRect, QPixmap)
- drawDisplay (self, QPainter, QStyleOptionViewItem, QRect, QString)
- drawFocus (self, QPainter, QStyleOptionViewItem, QRect)
- bool editorEvent (self, QEvent, QAbstractItemModel, QStyleOptionViewItem, QModelIndex)
- bool eventFilter (self, QObject, QEvent)
- bool hasClipping (self)
- QItemEditorFactory itemEditorFactory (self)
- paint (self, QPainter, QStyleOptionViewItem, QModelIndex)
- setClipping (self, bool)
- setEditorData (self, QWidget, QModelIndex)
- setItemEditorFactory (self, QItemEditorFactory)
- setModelData (self, QWidget, QAbstractItemModel, QModelIndex)
- QSize sizeHint (self, QStyleOptionViewItem, QModelIndex)
- updateEditorGeometry (self, QWidget, QStyleOptionViewItem, QModelIndex)
Detailed Description
Method Documentation
QItemDelegate.__init__ (self, QObject parent = None)
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
The QWidget argument, if not None, causes self to be owned by Qt instead of PyQt.
bool QItemDelegate.eventFilter (self, QObject, QEvent)
bool QItemDelegate.hasClipping (self)
QItemEditorFactory QItemDelegate.itemEditorFactory (self)
QItemDelegate.setClipping (self, bool)
QItemDelegate.setEditorData (self, QWidget, QModelIndex)
QItemDelegate.setItemEditorFactory (self, QItemEditorFactory)