16 #ifndef QGSFEATURELISTVIEW_H 17 #define QGSFEATURELISTVIEW_H 86 bool setDisplayExpression(
const QString& displayExpression );
95 const QString displayExpression()
const;
116 void setCurrentFeatureEdited(
bool state );
136 void currentEditSelectionChanged(
QgsFeature &feat );
142 void displayExpressionChanged(
const QString& expression );
145 void aboutToChangeEditSelection(
bool& ok );
168 void repaintRequested(
const QModelIndexList& indexes );
169 void repaintRequested();
175 void selectRow(
const QModelIndex &index,
bool anchor );
182 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)
Is an interface class to abstract feature selection handling.
Represents a vector layer which manages a vector based data sets.