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