16 #ifndef QGSATTRIBUTETABLEVIEW_H 
   17 #define QGSATTRIBUTETABLEVIEW_H 
   35 class QProgressDialog;
 
   58 #pragma clang diagnostic push 
   59 #pragma clang diagnostic ignored "-Woverloaded-virtual" 
   63 #pragma clang diagnostic pop 
   82     bool eventFilter( QObject *
object, QEvent *event ) 
override;
 
   96     QList<QgsFeatureId> selectedFeaturesIds() 
const;
 
  105     void scrollToFeature( 
const QgsFeatureId &fid, 
int column = -1 );
 
  115     void mousePressEvent( QMouseEvent *event ) 
override;
 
  123     void mouseReleaseEvent( QMouseEvent *event ) 
override;
 
  131     void mouseMoveEvent( QMouseEvent *event ) 
override;
 
  139     void keyPressEvent( QKeyEvent *event ) 
override;
 
  148     void contextMenuEvent( QContextMenuEvent *event ) 
override;
 
  154     void closeEvent( QCloseEvent *event ) 
override;
 
  179     void repaintRequested( 
const QModelIndexList &indexes );
 
  180     void repaintRequested();
 
  181     void selectAll() 
override;
 
  182     virtual void selectRow( 
int row );
 
  183     virtual void _q_selectRow( 
int row );
 
  187     void showHorizontalSortIndicator();
 
  188     void actionTriggered();
 
  189     void columnSizeChanged( 
int index, 
int oldWidth, 
int newWidth );
 
  190     void onActionColumnItemPainted( 
const QModelIndex &index );
 
  191     void recreateActionWidgets();
 
  194     void updateActionImage( QWidget *widget );
 
  197     void selectRow( 
int row, 
bool anchor );
 
  203     QMenu *mActionPopup = 
nullptr;
 
  204     int mRowSectionAnchor = 0;
 
  205     QItemSelectionModel::SelectionFlag mCtrlDragSelectionFlag = QItemSelectionModel::Select;
 
  206     QMap< QModelIndex, QWidget * > mActionWidgets;
 
  208     QString mSortExpression;
 
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