1 #ifndef QGSFEATURESELECTIONMODEL_H
2 #define QGSFEATURESELECTIONMODEL_H
4 #include <QItemSelectionModel>
27 void enableSync(
bool enable );
45 virtual bool isSelected(
const QModelIndex&
index );
54 void requestRepaint( QModelIndexList indexes );
60 void requestRepaint();
68 virtual void select(
const QModelIndex &index, SelectionFlags command ) { Q_UNUSED( index ); Q_UNUSED( command ); }
75 virtual void select(
const QItemSelection &selection, SelectionFlags command ) { Q_UNUSED( selection ); Q_UNUSED( command ); }
83 virtual void selectFeatures(
const QItemSelection &selection, SelectionFlags command );
91 QModelIndexList expandIndexToRow(
const QModelIndex& index )
const;
108 bool mClearAndSelectBuffer;
111 #endif // QGSFEATURESELECTIONMODEL_H