15 #ifndef QGSFEATURESELECTIONMODEL_H 16 #define QGSFEATURESELECTIONMODEL_H 18 #include <QItemSelectionModel> 44 void enableSync(
bool enable );
71 void requestRepaint(
const QModelIndexList& indexes );
77 void requestRepaint();
85 virtual void select(
const QModelIndex &index, SelectionFlags command )
override { Q_UNUSED( index ); Q_UNUSED( command ); }
92 virtual void select(
const QItemSelection &selection, SelectionFlags command )
override { Q_UNUSED( selection ); Q_UNUSED( command ); }
100 virtual void selectFeatures(
const QItemSelection &selection,
const SelectionFlags& command );
108 QModelIndexList expandIndexToRow(
const QModelIndex& index )
const;
125 bool mClearAndSelectBuffer;
128 #endif // QGSFEATURESELECTIONMODEL_H
virtual void select(const QModelIndex &index, SelectionFlags command) override
Overwritten to do NOTHING (we handle selection ourselves)
virtual void select(const QItemSelection &selection, SelectionFlags command) override
Overwritten to do NOTHING (we handle selection ourselves)
bool isSelected(const QModelIndex &index) const
Is an interface class to abstract feature selection handling.
Represents a vector layer which manages a vector based data sets.