16 #ifndef QGSATTRIBUTETABLEVIEW_H 17 #define QGSATTRIBUTETABLEVIEW_H 35 class QProgressDialog;
74 bool eventFilter( QObject *
object, QEvent *event )
override;
91 void mousePressEvent( QMouseEvent *event )
override;
99 void mouseReleaseEvent( QMouseEvent *event )
override;
107 void mouseMoveEvent( QMouseEvent *event )
override;
115 void keyPressEvent( QKeyEvent *event )
override;
124 void contextMenuEvent( QContextMenuEvent *event )
override;
130 void closeEvent( QCloseEvent *event )
override;
142 void willShowContextMenu( QMenu *menu,
const QModelIndex &atIndex );
150 void columnResized(
int column,
int width );
155 void repaintRequested(
const QModelIndexList &indexes );
156 void repaintRequested();
157 void selectAll()
override;
158 virtual void selectRow(
int row );
159 virtual void _q_selectRow(
int row );
163 void showHorizontalSortIndicator();
164 void actionTriggered();
165 void columnSizeChanged(
int index,
int oldWidth,
int newWidth );
166 void onActionColumnItemPainted(
const QModelIndex &index );
167 void recreateActionWidgets();
170 void updateActionImage( QWidget *widget );
173 void selectRow(
int row,
bool anchor );
178 QMenu *mActionPopup =
nullptr;
179 int mRowSectionAnchor = 0;
180 QItemSelectionModel::SelectionFlag mCtrlDragSelectionFlag = QItemSelectionModel::Select;
181 QMap< QModelIndex, QWidget * > mActionWidgets;
Provides a table view of features of a QgsVectorLayer.
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.