4#ifndef QABSTRACTITEMDELEGATE_H
5#define QABSTRACTITEMDELEGATE_H
7#include <QtWidgets/qtwidgetsglobal.h>
8#include <QtCore/qobject.h>
9#include <QtWidgets/qstyleoption.h>
41 const QStyleOptionViewItem &
option,
49 const QStyleOptionViewItem &
option,
56 virtual void setModelData(
QWidget *editor,
60 virtual void updateEditorGeometry(
QWidget *editor,
61 const QStyleOptionViewItem &
option,
67 const QStyleOptionViewItem &
option,
72 const QStyleOptionViewItem &
option,
The QAbstractItemDelegate class is used to display and edit data items from a model.
virtual QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const =0
This pure abstract function must be reimplemented if you want to provide custom rendering.
void closeEditor(QWidget *editor, QAbstractItemDelegate::EndEditHint hint=NoHint)
This signal is emitted when the user has finished editing an item using the specified editor.
void commitData(QWidget *editor)
This signal must be emitted when the editor widget has completed editing the data,...
virtual void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const =0
This pure abstract function must be reimplemented if you want to provide custom rendering.
EndEditHint
This enum describes the different hints that the delegate can give to the model and view components t...
void sizeHintChanged(const QModelIndex &)
The QAbstractItemView class provides the basic functionality for item view classes.
The QHelpEvent class provides an event that is used to request helpful information about a particular...
The QPainter class performs low-level painting on widgets and other paint devices.
Combined button and popup list for selecting options.
static QT_BEGIN_NAMESPACE QVariant hint(QPlatformIntegration::StyleHint h)
#define QT_REQUIRE_CONFIG(feature)
QSqlQueryModel * model
[16]
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent