16 #ifndef QGSATTRIBUTETABLEDELEGATE_H 17 #define QGSATTRIBUTETABLEDELEGATE_H 19 #include <QItemDelegate> 44 QItemDelegate( parent ), mFeatureSelectionModel( NULL ) {}
48 QWidget * createEditor(
50 const QStyleOptionViewItem &option,
51 const QModelIndex &
index )
const override;
56 const QStyleOptionViewItem & option,
57 const QModelIndex & index )
const override;
65 void setModelData( QWidget *editor, QAbstractItemModel *model,
const QModelIndex &index )
const override;
72 void setEditorData( QWidget *editor,
const QModelIndex &index )
const override;
80 #endif //QGSATTRIBUTETABLEDELEGATE_H
A model backed by a QgsVectorLayerCache which is able to provide feature/attribute information to a Q...
QgsAttributeTableDelegate(QObject *parent=0)
Constructor.
A delegate item class for QgsAttributeTable (see Qt documentation for QItemDelegate).
Represents a vector layer which manages a vector based data sets.