1 #ifndef QGSFEATURESELECTIONMODEL_H
2 #define QGSFEATURESELECTIONMODEL_H
4 #include <QItemSelectionModel>
26 void enableSync(
bool enable );
44 virtual bool isSelected(
const QModelIndex& index );
53 void requestRepaint( QModelIndexList indexes );
59 void requestRepaint();
67 virtual void select(
const QModelIndex &index, SelectionFlags command ) { Q_UNUSED( index ); Q_UNUSED( command ); }
74 virtual void select(
const QItemSelection &selection, SelectionFlags command ) { Q_UNUSED( selection ); Q_UNUSED( command ); }
82 virtual void selectFeatures(
const QItemSelection &selection, SelectionFlags command );
88 QModelIndexList expandIndexToRow(
const QModelIndex& index )
const;
99 #endif // QGSFEATURESELECTIONMODEL_H