4 #ifndef pqSelectionAdaptor_h 5 #define pqSelectionAdaptor_h 8 #include <QItemSelectionModel> 12 class QAbstractItemModel;
52 const QAbstractItemModel* getQModel()
const;
58 virtual void selectionChanged();
63 virtual void currentProxyChanged();
64 virtual void proxySelectionChanged();
72 return QItemSelectionModel::NoUpdate;
81 QModelIndex mapToSource(
const QModelIndex& inIndex)
const;
88 QModelIndex mapFromSource(
const QModelIndex& inIndex,
const QAbstractItemModel* model)
const;
90 QItemSelectionModel* QSelectionModel;
#define PQCOMPONENTS_EXPORT
pqServerManagerModelItem is a element maintained by pqServerManagerModel.
QItemSelectionModel * getQSelectionModel() const
Returns a pointer to the QItemSelectionModel.
virtual QItemSelectionModel::SelectionFlag qtSelectionFlags() const
subclasses can override this method to provide model specific selection overrides such as QItemSelect...
pqSelectionAdaptor is the abstract base class for an adaptor that connects a QItemSelectionModel to p...