32 #ifndef pqSubsetInclusionLatticeTreeModel_h 33 #define pqSubsetInclusionLatticeTreeModel_h 35 #include <QAbstractItemModel> 38 #include <QScopedPointer> 66 typedef QAbstractItemModel Superclass;
68 Q_PROPERTY(QList<QVariant> selection READ selection WRITE setSelection NOTIFY selectionModified);
88 QList<QVariant> selection()
const;
89 void setSelection(
const QList<QVariant>& sel);
95 int columnCount(
const QModelIndex& parent = QModelIndex())
const override;
96 int rowCount(
const QModelIndex& parent = QModelIndex())
const override;
97 QModelIndex
index(
int row,
int column,
const QModelIndex& parent = QModelIndex())
const override;
98 QModelIndex parent(
const QModelIndex& index = QModelIndex())
const override;
99 QVariant
data(
const QModelIndex& index,
int role)
const override;
100 Qt::ItemFlags flags(
const QModelIndex& index)
const override;
101 bool setData(
const QModelIndex& index,
const QVariant& value,
int role)
override;
105 void selectionModified();
108 void silSelectionModified(
vtkObject*,
unsigned long,
void*);
109 void silStructureModified();
111 QModelIndex indexForNode(
int node)
const;
117 QScopedPointer<pqInternals> Internals;
A directed acyclic graph to manage data hierarchy and relationships between hierarchy nodes...
#define PQCOMPONENTS_EXPORT
Tree model using a vtkSubsetInclusionLattice.