42 #ifndef QABSTRACTITEMDELEGATE_H 43 #define QABSTRACTITEMDELEGATE_H 45 #include <QtCore/qobject.h> 46 #include <QtGui/qstyleoption.h> 54 #ifndef QT_NO_ITEMVIEWS 80 virtual void paint(
QPainter *painter,
94 virtual void setModelData(
QWidget *editor,
98 virtual void updateEditorGeometry(
QWidget *editor,
118 void commitData(
QWidget *editor);
128 #endif // QT_NO_ITEMVIEWS 134 #endif // QABSTRACTITEMDELEGATE_H The QPainter class performs low-level painting on widgets and other paint devices.
The QAbstractItemDelegate class is used to display and edit data items from a model.
The QFontMetrics class provides font metrics information.
#define QT_END_NAMESPACE
This macro expands to.
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QAbstractItemModel class provides the abstract interface for item model classes.
The QAbstractItemView class provides the basic functionality for item view classes.
The QModelIndex class is used to locate data in a data model.
EndEditHint
This enum describes the different hints that the delegate can give to the model and view components t...
The QSize class defines the size of a two-dimensional object using integer point precision.
The QStyleOptionViewItem class is used to describe the parameters used to draw an item in a view widg...
The QEvent class is the base class of all event classes.
The QHelpEvent class provides an event that is used to request helpful information about a particular...