16 #ifndef QGSATTRIBUTETABLEVIEW_H 
   17 #define QGSATTRIBUTETABLEVIEW_H 
   35 class QProgressDialog;
 
   75     bool eventFilter( QObject *
object, QEvent *event ) 
override;
 
   89     QList<QgsFeatureId> selectedFeaturesIds() 
const;
 
   98     void scrollToFeature( 
const QgsFeatureId &fid, 
int column = -1 );
 
  108     void mousePressEvent( QMouseEvent *event ) 
override;
 
  116     void mouseReleaseEvent( QMouseEvent *event ) 
override;
 
  124     void mouseMoveEvent( QMouseEvent *event ) 
override;
 
  132     void keyPressEvent( QKeyEvent *event ) 
override;
 
  141     void contextMenuEvent( QContextMenuEvent *event ) 
override;
 
  147     void closeEvent( QCloseEvent *event ) 
override;
 
  172     void repaintRequested( 
const QModelIndexList &indexes );
 
  173     void repaintRequested();
 
  174     void selectAll() 
override;
 
  175     virtual void selectRow( 
int row );
 
  176     virtual void _q_selectRow( 
int row );
 
  180     void showHorizontalSortIndicator();
 
  181     void actionTriggered();
 
  182     void columnSizeChanged( 
int index, 
int oldWidth, 
int newWidth );
 
  183     void onActionColumnItemPainted( 
const QModelIndex &index );
 
  184     void recreateActionWidgets();
 
  187     void updateActionImage( QWidget *widget );
 
  190     void selectRow( 
int row, 
bool anchor );
 
  196     QMenu *mActionPopup = 
nullptr;
 
  197     int mRowSectionAnchor = 0;
 
  198     QItemSelectionModel::SelectionFlag mCtrlDragSelectionFlag = QItemSelectionModel::Select;
 
  199     QMap< QModelIndex, QWidget * > mActionWidgets;
 
This is a container for configuration of the attribute table.
A delegate item class for QgsAttributeTable (see Qt documentation for QItemDelegate).
A model backed by a QgsVectorLayerCache which is able to provide feature/attribute information to a Q...
Provides a table view of features of a QgsVectorLayer.
void willShowContextMenu(QMenu *menu, const QModelIndex &atIndex)
Emitted in order to provide a hook to add additional* menu entries to the context menu.
void columnResized(int column, int width)
Emitted when a column in the view has been resized.
The feature class encapsulates a single feature including its unique ID, geometry and a list of field...
Is an interface class to abstract feature selection handling.
Map canvas is a class for displaying all GIS data types on a canvas.
This class caches features of a given QgsVectorLayer.
Represents a vector layer which manages a vector based data sets.
qint64 QgsFeatureId
64 bit feature ids negative numbers are used for uncommitted/newly added features