16 #ifndef QGSATTRIBUTETABLEDELEGATE_H 17 #define QGSATTRIBUTETABLEDELEGATE_H 19 #include <QItemDelegate> 48 , mFeatureSelectionModel( nullptr )
89 void actionColumnItemPainted(
const QModelIndex& index )
const;
96 #endif //QGSATTRIBUTETABLEDELEGATE_H
virtual void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
A model backed by a QgsVectorLayerCache which is able to provide feature/attribute information to a Q...
virtual void setEditorData(QWidget *editor, const QModelIndex &index) const
virtual QWidget * createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const
virtual void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const
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.