32 #ifndef pqSelectionAdaptor_h 33 #define pqSelectionAdaptor_h 36 #include <QItemSelectionModel> 40 class QAbstractItemModel;
80 const QAbstractItemModel* getQModel()
const;
86 virtual void selectionChanged();
91 virtual void currentProxyChanged();
92 virtual void proxySelectionChanged();
100 return QItemSelectionModel::NoUpdate;
109 QModelIndex mapToSource(
const QModelIndex& inIndex)
const;
116 QModelIndex mapFromSource(
const QModelIndex& inIndex,
const QAbstractItemModel* model)
const;
118 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...