Go to the documentation of this file.
34 #ifndef vtkQtTreeView_h
35 #define vtkQtTreeView_h
38 #include "QVTKWin32Header.h"
45 #include "QFilterTreeProxyModel.h"
47 class QAbstractItemDelegate;
48 class QAbstractItemView;
55 class QItemSelectionModel;
157 void slotQtSelectionChanged(
const QItemSelection&,
const QItemSelection&);
160 void SetVTKSelection();
161 unsigned long CurrentSelectionMTime;
162 unsigned long LastInputMTime;
167 QPointer<QTreeView> TreeView;
168 QPointer<QColumnView> ColumnView;
169 QPointer<QWidget> Widget;
170 QPointer<QVBoxLayout> Layout;
171 QPointer<QItemSelectionModel> SelectionModel;
172 QList<int> HiddenColumns;
174 QAbstractItemView* View;
175 char* ColorArrayNameInternal;
176 QFilterTreeProxyModel* TreeFilter;
const char * GetColorArrayName()
void PrintSelf(ostream &os, vtkIndent indent)
void collapsed(const QModelIndex &)
void SetColorByArray(bool vis)
A VTK view based on a Qt tree view.
void SetEnableDragDrop(bool)
void SetUseColumnView(int state)
#define vtkTypeMacro(thisClass, superclass)
void ExpandToDepth(int depth)
apply colors to a data set.
void SetShowHeaders(bool)
virtual void RemoveRepresentationInternal(vtkDataRepresentation *rep)
Sets theme colors for a graphical view.
GLint GLint GLsizei GLsizei GLsizei depth
GLuint const GLchar * name
The superclass for all representations.
#define VTKVIEWSQT_EXPORT
virtual void ApplyViewTheme(vtkViewTheme *theme)
GLenum GLenum GLvoid GLvoid * column
void ResizeColumnToContents(int column)
a simple class to control print indentation
#define vtkSetStringMacro(name)
void SetShowRootNode(bool)
vtkGetStringMacro(ExtensionsString)
void SetItemDelegate(QAbstractItemDelegate *delegate)
void SetFilterColumn(int i)
void SetAlternatingRowColors(bool)
vtkBooleanMacro(IgnoreDriverBugs, bool)
virtual QWidget * GetWidget()
virtual void AddRepresentationInternal(vtkDataRepresentation *rep)
void SetFilterRegExp(const QRegExp &pattern)
void SetColorArrayName(const char *name)
void HideAllButFirstColumn()
Superclass for Qt widget-based views.
void Collapse(const QModelIndex &index)
static vtkQtTreeView * New()
void expanded(const QModelIndex &)
void Expand(const QModelIndex &index)
void updatePreviewWidget(const QModelIndex &)
void SetFilterTreeLevel(int level)
Adapts a tree to a Qt item model.