32#ifndef vtkQtListView_h
33#define vtkQtListView_h
35#include "vtkViewsQtModule.h"
45class QSortFilterProxyModel;
81 vtkGetMacro(FieldType,
int);
155 void slotQtSelectionChanged(
const QItemSelection&,
const QItemSelection&);
158 void SetVTKSelection();
164 vtkSetStringMacro(ColorArrayNameInternal);
166 vtkSetStringMacro(IconIndexArrayNameInternal);
169 QPointer<QListView> ListView;
171 QSortFilterProxyModel* TableSorter;
172 char* ColorArrayNameInternal;
173 char* IconIndexArrayNameInternal;
174 char* VisibleColumnName;
175 bool SortSelectionToTop;
apply colors to a data set.
extract field data as a table
The superclass for all representations.
a simple class to control print indentation
A VTK view based on a Qt List view.
virtual void RemoveRepresentationInternal(vtkDataRepresentation *rep)
const char * GetColorArrayName()
void SetColorArrayName(const char *name)
The array to use for coloring items in view.
void SetEnableDragDrop(bool)
Enable drag and drop on this widget.
void SetVisibleColumn(int col)
The column to display.
void SetAlternatingRowColors(bool)
Have the view alternate its row colors.
void SetIconArrayName(const char *name)
void SetFilterRegExp(const QRegExp &pattern)
The column used to filter on.
virtual void ApplyViewTheme(vtkViewTheme *theme)
void SetIconSheetSize(int w, int h)
static vtkQtListView * New()
void SetIconSize(int w, int h)
void SetIconSheet(QImage sheet)
Set the icon ivars.
void SetDecorationStrategy(int)
The strategy for how to decorate rows.
virtual void Update()
Updates the view.
virtual QWidget * GetWidget()
Get the main container of this view (a QWidget).
void SetColorByArray(bool vis)
Whether to color vertices.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void AddRepresentationInternal(vtkDataRepresentation *rep)
Adapts a table to a Qt item model.
Superclass for Qt widget-based views.
Sets theme colors for a graphical view.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
vtkTypeUInt64 vtkMTimeType