16 #ifndef QGSATTRIBUTETABLEVIEW_H
17 #define QGSATTRIBUTETABLEVIEW_H
35 class QProgressDialog;
75 bool eventFilter( QObject *
object, QEvent *event )
override;
89 QList<QgsFeatureId> selectedFeaturesIds()
const;
99 void scrollToFeature(
const QgsFeatureId &fid,
int column = -1 );
110 void mousePressEvent( QMouseEvent *event )
override;
118 void mouseReleaseEvent( QMouseEvent *event )
override;
126 void mouseMoveEvent( QMouseEvent *event )
override;
134 void keyPressEvent( QKeyEvent *event )
override;
143 void contextMenuEvent( QContextMenuEvent *event )
override;
149 void closeEvent( QCloseEvent *event )
override;
174 void repaintRequested(
const QModelIndexList &indexes );
175 void repaintRequested();
176 void selectAll()
override;
177 virtual void selectRow(
int row );
178 virtual void _q_selectRow(
int row );
182 void showHorizontalSortIndicator();
183 void actionTriggered();
184 void columnSizeChanged(
int index,
int oldWidth,
int newWidth );
185 void onActionColumnItemPainted(
const QModelIndex &index );
186 void recreateActionWidgets();
189 void updateActionImage( QWidget *widget );
192 void selectRow(
int row,
bool anchor );
198 QMenu *mActionPopup =
nullptr;
199 int mRowSectionAnchor = 0;
200 QItemSelectionModel::SelectionFlag mCtrlDragSelectionFlag = QItemSelectionModel::Select;
201 QMap< QModelIndex, QWidget * > mActionWidgets;