16 #ifndef QGSATTRIBUTELISTVIEW_H
17 #define QGSATTRIBUTELISTVIEW_H
85 bool setDisplayExpression(
const QString displayExpression );
94 const QString displayExpression()
const;
101 QString parserErrorString();
111 virtual void mouseMoveEvent( QMouseEvent *event );
112 virtual void mousePressEvent( QMouseEvent *event );
113 virtual void mouseReleaseEvent( QMouseEvent *event );
114 virtual void keyPressEvent( QKeyEvent *event );
122 void currentEditSelectionChanged(
QgsFeature &feat );
128 void displayExpressionChanged(
const QString expression );
141 virtual void selectAll();
143 void repaintRequested( QModelIndexList indexes );
144 void repaintRequested();
147 void editSelectionChanged( QItemSelection deselected, QItemSelection selected );
150 void selectRow(
const QModelIndex &
index,
bool anchor );
QgsFeatureListViewDelegate * mItemDelegate
QSet< QgsFeatureId > QgsFeatureIds
QgsFeatureListModel * mModel
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.
QItemSelectionModel * mCurrentEditSelectionModel
virtual ~QgsFeatureListView()
Destructor.
QItemSelectionModel::SelectionFlags mCtrlDragSelectionFlag
This class caches features of a given QgsVectorLayer.
QgsFeatureSelectionModel * mFeatureSelectionModel
Represents a vector layer which manages a vector based data sets.