16 #ifndef QGSFEATURELISTVIEW_H
17 #define QGSFEATURELISTVIEW_H
86 bool setDisplayExpression(
const QString &displayExpression );
95 const QString displayExpression()
const;
102 QString parserErrorString();
116 void setCurrentFeatureEdited(
bool state );
125 void mouseMoveEvent( QMouseEvent *event )
override;
126 void mousePressEvent( QMouseEvent *event )
override;
127 void mouseReleaseEvent( QMouseEvent *event )
override;
128 void keyPressEvent( QKeyEvent *event )
override;
129 void contextMenuEvent( QContextMenuEvent *event )
override;
137 void currentEditSelectionChanged(
QgsFeature &feat );
145 void currentEditSelectionProgressChanged(
int progress,
int count );
151 void displayExpressionChanged(
const QString &expression );
154 void aboutToChangeEditSelection(
bool &ok )
SIP_SKIP;
161 void willShowContextMenu(
QgsActionMenu *menu,
const QModelIndex &atIndex );
178 void setEditSelection(
const QModelIndex &index, QItemSelectionModel::SelectionFlags command );
183 void selectAll()
override;
185 void repaintRequested(
const QModelIndexList &indexes );
186 void repaintRequested();
215 void editSelectionChanged(
const QItemSelection &deselected,
const QItemSelection &selected );
220 void updateEditSelectionDependencies();
228 void ensureEditSelection(
bool inSelection =
false );
231 void selectRow(
const QModelIndex &index,
bool anchor );
241 void editOtherFeature( PositionInList positionInList );
245 QItemSelectionModel *mCurrentEditSelectionModel =
nullptr;
250 bool mEditSelectionDrag =
false;
252 QItemSelectionModel::SelectionFlags mCtrlDragSelectionFlag;
254 QTimer mUpdateEditSelectionTimer;