16 #ifndef QGSATTRIBUTETABLEVIEW_H
17 #define QGSATTRIBUTETABLEVIEW_H
35 class QProgressDialog;
75 bool eventFilter( QObject *
object, QEvent *event )
override;
89 QList<QgsFeatureId> selectedFeaturesIds()
const;
100 void mousePressEvent( QMouseEvent *event )
override;
108 void mouseReleaseEvent( QMouseEvent *event )
override;
116 void mouseMoveEvent( QMouseEvent *event )
override;
124 void keyPressEvent( QKeyEvent *event )
override;
133 void contextMenuEvent( QContextMenuEvent *event )
override;
139 void closeEvent( QCloseEvent *event )
override;
151 void willShowContextMenu( QMenu *menu,
const QModelIndex &atIndex );
159 void columnResized(
int column,
int width );
164 void repaintRequested(
const QModelIndexList &indexes );
165 void repaintRequested();
166 void selectAll()
override;
167 virtual void selectRow(
int row );
168 virtual void _q_selectRow(
int row );
172 void showHorizontalSortIndicator();
173 void actionTriggered();
174 void columnSizeChanged(
int index,
int oldWidth,
int newWidth );
175 void onActionColumnItemPainted(
const QModelIndex &index );
176 void recreateActionWidgets();
179 void updateActionImage( QWidget *widget );
182 void selectRow(
int row,
bool anchor );
188 QMenu *mActionPopup =
nullptr;
189 int mRowSectionAnchor = 0;
190 QItemSelectionModel::SelectionFlag mCtrlDragSelectionFlag = QItemSelectionModel::Select;
191 QMap< QModelIndex, QWidget * > mActionWidgets;