16 #ifndef QGSATTRIBUTETABLEDELEGATE_H 17 #define QGSATTRIBUTETABLEDELEGATE_H 19 #include <QItemDelegate> 49 : QItemDelegate( parent )
57 QWidget *createEditor( QWidget *parent,
const QStyleOptionViewItem &option,
const QModelIndex &index )
const override;
62 void paint( QPainter *painter,
const QStyleOptionViewItem &option,
const QModelIndex &index )
const override;
70 void setModelData( QWidget *editor, QAbstractItemModel *model,
const QModelIndex &index )
const override;
77 void setEditorData( QWidget *editor,
const QModelIndex &index )
const override;
91 void actionColumnItemPainted(
const QModelIndex &index )
const;
98 #endif //QGSATTRIBUTETABLEDELEGATE_H
A model backed by a QgsVectorLayerCache which is able to provide feature/attribute information to a Q...
QgsAttributeTableDelegate(QObject *parent=nullptr)
Constructor.
A delegate item class for QgsAttributeTable (see Qt documentation for QItemDelegate).
Represents a vector layer which manages a vector based data sets.