15 #ifndef QGSFEATURESELECTIONMODEL_H 16 #define QGSFEATURESELECTIONMODEL_H 18 #include <QItemSelectionModel> 47 void enableSync(
bool enable );
66 virtual bool isSelected(
const QModelIndex &index );
76 void requestRepaint(
const QModelIndexList &indexes );
82 void requestRepaint();
91 void select(
const QModelIndex &index, QItemSelectionModel::SelectionFlags command )
override { Q_UNUSED( index ); Q_UNUSED( command ); }
98 void select(
const QItemSelection &selection, QItemSelectionModel::SelectionFlags command )
override { Q_UNUSED( selection ); Q_UNUSED( command ); }
106 virtual void selectFeatures(
const QItemSelection &selection, QItemSelectionModel::SelectionFlags command );
114 QModelIndexList expandIndexToRow(
const QModelIndex &index )
const;
137 bool mClearAndSelectBuffer;
140 #endif // QGSFEATURESELECTIONMODEL_H void select(const QItemSelection &selection, QItemSelectionModel::SelectionFlags command) override
Overwritten to do NOTHING (we handle selection ourselves)
QSet< QgsFeatureId > QgsFeatureIds
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.