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 mousePressEvent( QMouseEvent *event )
override;
107 void mouseReleaseEvent( QMouseEvent *event )
override;
115 void mouseMoveEvent( QMouseEvent *event )
override;
123 void keyPressEvent( QKeyEvent *event )
override;
132 void contextMenuEvent( QContextMenuEvent *event )
override;
138 void closeEvent( QCloseEvent *event )
override;
150 void willShowContextMenu( QMenu *menu,
const QModelIndex &atIndex );
158 void columnResized(
int column,
int width );
163 void repaintRequested(
const QModelIndexList &indexes );
164 void repaintRequested();
165 void selectAll()
override;
166 virtual void selectRow(
int row );
167 virtual void _q_selectRow(
int row );
171 void showHorizontalSortIndicator();
172 void actionTriggered();
173 void columnSizeChanged(
int index,
int oldWidth,
int newWidth );
174 void onActionColumnItemPainted(
const QModelIndex &index );
175 void recreateActionWidgets();
178 void updateActionImage( QWidget *widget );
181 void selectRow(
int row,
bool anchor );
186 QMenu *mActionPopup =
nullptr;
187 int mRowSectionAnchor = 0;
188 QItemSelectionModel::SelectionFlag mCtrlDragSelectionFlag = QItemSelectionModel::Select;
189 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.