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;
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 );
223 void ensureEditSelection(
bool inSelection =
false );
226 void selectRow(
const QModelIndex &index,
bool anchor );
236 void editOtherFeature( PositionInList positionInList );
240 QItemSelectionModel *mCurrentEditSelectionModel =
nullptr;
245 bool mEditSelectionDrag =
false;
247 QItemSelectionModel::SelectionFlags mCtrlDragSelectionFlag;
249 QTimer mUpdateEditSelectionTimer;