Home · All Classes · Modules

QAbstractItemDelegate Class Reference
[QtGui module]

Inherits QObject.

Inherited by QItemDelegate and QStyledItemDelegate.

Types

Methods

Static Methods

Qt Signals


Detailed Description


Type Documentation

QAbstractItemDelegate.EndEditHint


Method Documentation

QAbstractItemDelegate.__init__ (self, QObject parent = None)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

QWidget QAbstractItemDelegate.createEditor (self, QWidget, QStyleOptionViewItem, QModelIndex)

The QWidget argument, if not None, causes self to be owned by Qt instead of PyQt.

bool QAbstractItemDelegate.editorEvent (self, QEvent, QAbstractItemModel, QStyleOptionViewItem, QModelIndex)

QString QAbstractItemDelegate.elidedText (QFontMetrics, int, Qt.TextElideMode, QString)

bool QAbstractItemDelegate.helpEvent (self, QHelpEvent, QAbstractItemView, QStyleOptionViewItem, QModelIndex)

This method is also a Qt slot with the C++ signature bool helpEvent(QHelpEvent *,QAbstractItemView *,const QStyleOptionViewItem&,const QModelIndex&).

QAbstractItemDelegate.paint (self, QPainter, QStyleOptionViewItem, QModelIndex)

This method is abstract and should be reimplemented in any sub-class.

QAbstractItemDelegate.setEditorData (self, QWidget, QModelIndex)

QAbstractItemDelegate.setModelData (self, QWidget, QAbstractItemModel, QModelIndex)

QSize QAbstractItemDelegate.sizeHint (self, QStyleOptionViewItem, QModelIndex)

This method is abstract and should be reimplemented in any sub-class.

QAbstractItemDelegate.updateEditorGeometry (self, QWidget, QStyleOptionViewItem, QModelIndex)


Qt Signal Documentation

void closeEditor (QWidget *,QAbstractItemDelegate::EndEditHint = QAbstractItemDelegate.NoHint)

This is the default overload of this signal.

void commitData (QWidget *)

This is the default overload of this signal.

void sizeHintChanged (const QModelIndex&)

This is the default overload of this signal.


PyQt 4.8 for X11Copyright © Riverbank Computing Ltd and Nokia 2010Qt 4.7.0