16 #ifndef QGSFEATURELISTVIEW_H
17 #define QGSFEATURELISTVIEW_H
66 #pragma clang diagnostic push
67 #pragma clang diagnostic ignored "-Woverloaded-virtual"
77 #pragma clang diagnostic pop
95 bool setDisplayExpression(
const QString &displayExpression );
104 const QString displayExpression()
const;
111 QString parserErrorString();
125 void setCurrentFeatureEdited(
bool state );
134 void mouseMoveEvent( QMouseEvent *event )
override;
135 void mousePressEvent( QMouseEvent *event )
override;
136 void mouseReleaseEvent( QMouseEvent *event )
override;
137 void keyPressEvent( QKeyEvent *event )
override;
138 void contextMenuEvent( QContextMenuEvent *event )
override;
146 void currentEditSelectionChanged(
QgsFeature &feat );
154 void currentEditSelectionProgressChanged(
int progress,
int count );
160 void displayExpressionChanged(
const QString &expression );
163 void aboutToChangeEditSelection(
bool &ok )
SIP_SKIP;
170 void willShowContextMenu(
QgsActionMenu *menu,
const QModelIndex &atIndex );
187 void setEditSelection(
const QModelIndex &index, QItemSelectionModel::SelectionFlags command );
192 void selectAll()
override;
194 void repaintRequested(
const QModelIndexList &indexes );
195 void repaintRequested();
224 void editSelectionChanged(
const QItemSelection &deselected,
const QItemSelection &selected );
232 void ensureEditSelection(
bool inSelection =
false );
235 void selectRow(
const QModelIndex &index,
bool anchor );
245 void editOtherFeature( PositionInList positionInList );
249 QItemSelectionModel *mCurrentEditSelectionModel =
nullptr;
262 DragMode mDragMode = DragMode::Inactive;
265 QItemSelectionModel::SelectionFlags mCtrlDragSelectionFlag;
267 QTimer mUpdateEditSelectionTimer;