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;
96 QList<QgsFeatureId> selectedFeaturesIds()
const;
105 void scrollToFeature(
const QgsFeatureId &fid,
int column = -1 );
112 void closeCurrentEditor();
121 void mousePressEvent( QMouseEvent *event )
override;
129 void mouseReleaseEvent( QMouseEvent *event )
override;
137 void mouseMoveEvent( QMouseEvent *event )
override;
145 void keyPressEvent( QKeyEvent *event )
override;
154 void contextMenuEvent( QContextMenuEvent *event )
override;
160 void closeEvent( QCloseEvent *event )
override;
185 void repaintRequested(
const QModelIndexList &indexes );
186 void repaintRequested();
187 void selectAll()
override;
188 virtual void selectRow(
int row );
189 virtual void _q_selectRow(
int row );
193 void showHorizontalSortIndicator();
194 void actionTriggered();
195 void columnSizeChanged(
int index,
int oldWidth,
int newWidth );
196 void onActionColumnItemPainted(
const QModelIndex &index );
197 void recreateActionWidgets();
200 void updateActionImage( QWidget *widget );
203 void selectRow(
int row,
bool anchor );
209 QMenu *mActionPopup =
nullptr;
210 int mRowSectionAnchor = 0;
211 QItemSelectionModel::SelectionFlag mCtrlDragSelectionFlag = QItemSelectionModel::Select;
212 QMap< QModelIndex, QWidget * > mActionWidgets;
214 QString mSortExpression;