34 #ifndef __vtkQtTreeModelAdapter_h
35 #define __vtkQtTreeModelAdapter_h
38 #include "QVTKWin32Header.h"
70 unsigned long GetVTKDataObjectMTime()
const;
75 const QModelIndexList qmil)
const;
90 QVariant
data(
const QModelIndex &
index,
int role = Qt::DisplayRole)
const;
91 bool setData(
const QModelIndex &
index,
const QVariant &
value,
int role = Qt::EditRole);
92 Qt::ItemFlags
flags(
const QModelIndex &
index)
const;
93 QVariant headerData(
int section, Qt::Orientation
orientation,
94 int role = Qt::DisplayRole)
const;
96 const QModelIndex &parent = QModelIndex())
const;
97 QModelIndex parent(
const QModelIndex &
index)
const;
98 int rowCount(
const QModelIndex &parent = QModelIndex())
const;
99 int columnCount(
const QModelIndex &parent = QModelIndex())
const;
105 Qt::DropActions supportedDragActions()
const;
106 virtual QMimeData * mimeData (
const QModelIndexList & indexes )
const;
107 virtual QStringList mimeTypes ()
const ;
112 void GenerateVTKIndexToQtModelIndex(
vtkIdType vtk_index, QModelIndex qmodel_index);
GLsizei GLsizei GLenum GLenum const GLvoid * data
QHash< QModelIndex, QVariant > IndexToDecoration
vtkAdjacentVertexIterator * ChildIterator
Adapts a tree to a Qt item model.
QVector< QModelIndex > VTKIndexToQtModelIndex
GLenum GLenum GLvoid GLvoid * column
Iterates through adjacent vertices in a graph.
A node in a selection tree. Used to store selection results.
GLsizei const GLfloat * value
GLenum GLenum GLvoid * row
virtual vtkSelection * QModelIndexListToVTKIndexSelection(const QModelIndexList qmil) const =0
virtual void SetColorColumnName(const char *name)=0
virtual vtkDataObject * GetVTKDataObject() const =0
GLuint const GLchar * name
#define VTKGUISUPPORTQT_EXPORT
virtual QItemSelection VTKIndexSelectionToQItemSelection(vtkSelection *vtksel) const =0
Superclass for Qt model adapters.
virtual void SetKeyColumnName(const char *name)=0
virtual void SetVTKDataObject(vtkDataObject *data)=0
A rooted tree data structure.
general representation of visualization data