57#pragma clang diagnostic push
58#pragma clang diagnostic ignored "-Woverloaded-virtual"
62#pragma clang diagnostic pop
81 bool eventFilter( QObject *
object, QEvent *event )
override;
94 QList<QgsFeatureId> selectedFeaturesIds()
const;
103 void scrollToFeature(
const QgsFeatureId &fid,
int column = -1 );
110 void closeCurrentEditor();
119 void mousePressEvent( QMouseEvent *event )
override;
127 void mouseReleaseEvent( QMouseEvent *event )
override;
135 void mouseMoveEvent( QMouseEvent *event )
override;
143 void keyPressEvent( QKeyEvent *event )
override;
152 void contextMenuEvent( QContextMenuEvent *event )
override;
158 void closeEvent( QCloseEvent *event )
override;
184 void repaintRequested( const QModelIndexList &indexes );
185 void repaintRequested();
186 void selectAll() override;
187 virtual
void selectRow(
int row );
188 virtual
void _q_selectRow(
int row );
192 void showHorizontalSortIndicator();
193 void actionTriggered();
194 void columnSizeChanged(
int index,
int oldWidth,
int newWidth );
195 void onActionColumnItemPainted( const QModelIndex &index );
196 void recreateActionWidgets();
199 void updateActionImage( QWidget *widget );
202 void selectRow(
int row,
bool anchor );
208 QMenu *mActionPopup =
nullptr;
209 int mRowSectionAnchor = 0;
210 QItemSelectionModel::SelectionFlag mCtrlDragSelectionFlag = QItemSelectionModel::Select;
211 QMap<QModelIndex, QWidget *> mActionWidgets;
213 QString mSortExpression;