NAME

Qt::Gui::QAbstractItemDelegate

PUBLIC METHODS

QAbstractItemDelegate(QObject * parent)
QAbstractItemDelegate(QObject * parent = 0)
~QAbstractItemDelegate()
QWidget * createEditor(QWidget * parent, const QStyleOptionViewItem & option, const QModelIndex & index)
bool editorEvent(QEvent * event, QAbstractItemModel * model, const QStyleOptionViewItem & option, const QModelIndex & index)
static QString elidedText(const QFontMetrics & fontMetrics, int width, Qt::TextElideMode mode, const QString & text)
bool helpEvent(QHelpEvent * event, QAbstractItemView * view, const QStyleOptionViewItem & option, const QModelIndex & index)
void paint(QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index)
void setEditorData(QWidget * editor, const QModelIndex & index)
void setModelData(QWidget * editor, QAbstractItemModel * model, const QModelIndex & index)
QSize sizeHint(const QStyleOptionViewItem & option, const QModelIndex & index)
void updateEditorGeometry(QWidget * editor, const QStyleOptionViewItem & option, const QModelIndex & index)

ENUM VALUES

NoHint
EditNextItem
EditPreviousItem
SubmitModelCache
RevertModelCache

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2011 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html