16 #ifndef QGSATTRIBUTETABLEVIEW_H 17 #define QGSATTRIBUTETABLEVIEW_H 36 class QProgressDialog;
76 bool eventFilter( QObject *
object, QEvent *event )
override;
90 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 );
187 QMenu *mActionPopup =
nullptr;
188 int mRowSectionAnchor = 0;
189 QItemSelectionModel::SelectionFlag mCtrlDragSelectionFlag = QItemSelectionModel::Select;
190 QMap< QModelIndex, QWidget * > mActionWidgets;
Provides a table view of features of a QgsVectorLayer.
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
A model backed by a QgsVectorLayerCache which is able to provide feature/attribute information to a Q...
Map canvas is a class for displaying all GIS data types on a canvas.
This class caches features of a given QgsVectorLayer.
A delegate item class for QgsAttributeTable (see Qt documentation for QItemDelegate).
This is a container for configuration of the attribute table.
Is an interface class to abstract feature selection handling.
Represents a vector layer which manages a vector based data sets.