58#pragma clang diagnostic push
59#pragma clang diagnostic ignored "-Woverloaded-virtual"
63#pragma clang diagnostic pop
82 bool eventFilter( QObject *
object, QEvent *event )
override;
95 QList<QgsFeatureId> selectedFeaturesIds()
const;
104 void scrollToFeature(
const QgsFeatureId &fid,
int column = -1 );
111 void closeCurrentEditor();
120 void mousePressEvent( QMouseEvent *event )
override;
128 void mouseReleaseEvent( QMouseEvent *event )
override;
136 void mouseMoveEvent( QMouseEvent *event )
override;
144 void keyPressEvent( QKeyEvent *event )
override;
153 void contextMenuEvent( QContextMenuEvent *event )
override;
159 void closeEvent( QCloseEvent *event )
override;
183 void repaintRequested(
const QModelIndexList &indexes );
184 void repaintRequested();
185 void selectAll()
override;
186 virtual void selectRow(
int row );
187 virtual void _q_selectRow(
int row );
191 void showHorizontalSortIndicator();
192 void actionTriggered();
193 void columnSizeChanged(
int index,
int oldWidth,
int newWidth );
194 void onActionColumnItemPainted(
const QModelIndex &index );
195 void recreateActionWidgets();
198 void updateActionImage( QWidget *widget );
201 void selectRow(
int row,
bool anchor );
207 QMenu *mActionPopup =
nullptr;
208 int mRowSectionAnchor = 0;
209 QItemSelectionModel::SelectionFlag mCtrlDragSelectionFlag = QItemSelectionModel::Select;
210 QMap< QModelIndex, QWidget * > mActionWidgets;
212 QString mSortExpression;