16 #ifndef QGSATTRIBUTELISTVIEW_H
17 #define QGSATTRIBUTELISTVIEW_H
85 bool setDisplayExpression(
const QString displayExpression );
94 const QString displayExpression()
const;
115 void setCurrentFeatureEdited(
bool state );
130 void currentEditSelectionChanged(
QgsFeature &feat );
136 void displayExpressionChanged(
const QString expression );
138 void aboutToChangeEditSelection(
bool& ok );
161 void repaintRequested( QModelIndexList indexes );
162 void repaintRequested();
174 bool mEditSelectionDrag;
virtual void setModel(QAbstractItemModel *model)
virtual void mouseReleaseEvent(QMouseEvent *e)
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
A model backed by a QgsVectorLayerCache which is able to provide feature/attribute information to a Q...
Shows a list of features and renders a edit button next to each feature.
QgsFeatureListModel * featureListModel()
Get the featureListModel used by this view.
virtual ~QgsFeatureListView()
Destructor.
This class caches features of a given QgsVectorLayer.
virtual void mouseMoveEvent(QMouseEvent *e)
virtual void mousePressEvent(QMouseEvent *event)
virtual void keyPressEvent(QKeyEvent *event)
Represents a vector layer which manages a vector based data sets.