<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>QAbstractItemDelegate Class Reference</title> <link href="classic.css" rel="stylesheet" type="text/css" /> </head> <body> <h1 align="center">QAbstractItemDelegate Class Reference</h1> <h3 align="center">[<a href="com_trolltech_qt_gui.html">com.trolltech.qt.gui</a> package]</h3> <p>Inherits <a href="qobject.html">QObject</a>.</p> <h3>Constructor</h3> <ul> <li><div class="fn"/><b>void QAbstractItemDelegate(QObject parent)</b></li> </ul> <h3>Constructor Properties</h3> <ul> <li><b>prototype</b>: The QAbstractItemDelegate prototype object</li> <li><b>NoHint</b></li> <li><b>EditNextItem</b></li> <li><b>EditPreviousItem</b></li> <li><b>SubmitModelCache</b></li> <li><b>RevertModelCache</b></li> <li><b>EndEditHint( value )</b></li> </ul> <h3>Prototype Object Properties</h3> <p>The QAbstractItemDelegate prototype object inherits properties from the <a href="qobject.html">QObject</a> prototype object and also has the following properties.</p> <ul> <li><div class="fn"/><b>QWidget createEditor(QWidget parent, QStyleOptionViewItem option, QModelIndex index)</b></li> <li><div class="fn"/><b>bool editorEvent(QEvent event, QAbstractItemModel model, QStyleOptionViewItem option, QModelIndex index)</b></li> <li><div class="fn"/><b>void paint(QPainter painter, QStyleOptionViewItem option, QModelIndex index)</b></li> <li><div class="fn"/><b>void setEditorData(QWidget editor, QModelIndex index)</b></li> <li><div class="fn"/><b>void setModelData(QWidget editor, QAbstractItemModel model, QModelIndex index)</b></li> <li><div class="fn"/><b>QSize sizeHint(QStyleOptionViewItem option, QModelIndex index)</b></li> <li><div class="fn"/><b>void updateEditorGeometry(QWidget editor, QStyleOptionViewItem option, QModelIndex index)</b></li> </ul> <h3>Instance Properties</h3> <p>QAbstractItemDelegate objects have no special properties beyond those inherited from the QAbstractItemDelegate prototype object.</p> </body> </html>