15#ifndef QGSFEATURESELECTIONMODEL_H
16#define QGSFEATURESELECTIONMODEL_H
18#include <QItemSelectionModel>
46 void enableSync(
bool enable );
65 virtual bool isSelected(
const QModelIndex &index );
90 void select(
const QModelIndex &index, QItemSelectionModel::SelectionFlags command )
override
101 void select(
const QItemSelection &selection, QItemSelectionModel::SelectionFlags command )
override
103 Q_UNUSED( selection )
113 virtual void selectFeatures(
const QItemSelection &selection, QItemSelectionModel::SelectionFlags command );
121 QModelIndexList expandIndexToRow(
const QModelIndex &index )
const;
144 bool mClearAndSelectBuffer;
void select(const QItemSelection &selection, QItemSelectionModel::SelectionFlags command) override
Overwritten to do NOTHING (we handle selection ourselves)
void requestRepaint(const QModelIndexList &indexes)
Request a repaint of a list of model indexes.
void requestRepaint()
Request a repaint of the visible items of connected views.
void select(const QModelIndex &index, QItemSelectionModel::SelectionFlags command) override
Overwritten to do NOTHING (we handle selection ourselves)
Is an interface class to abstract feature selection handling.
Represents a vector layer which manages a vector based data sets.
QSet< QgsFeatureId > QgsFeatureIds
qint64 QgsFeatureId
64 bit feature ids negative numbers are used for uncommitted/newly added features