32#ifndef vtkQtListView_h
33#define vtkQtListView_h
36#include "vtkViewsQtModule.h"
45class QSortFilterProxyModel;
81 vtkGetMacro(FieldType,
int);
117 vtkBooleanMacro(ColorByArray,
bool);
128#if (QT_VERSION >= QT_VERSION_CHECK(5, 12, 0))
131 void SetFilterRegExp(
const QRegExp& pattern);
159 void slotQtSelectionChanged(
const QItemSelection&,
const QItemSelection&);
162 void SetVTKSelection();
168 vtkSetStringMacro(ColorArrayNameInternal);
169 vtkGetStringMacro(ColorArrayNameInternal);
170 vtkSetStringMacro(IconIndexArrayNameInternal);
171 vtkGetStringMacro(IconIndexArrayNameInternal);
173 QPointer<QListView> ListView;
175 QSortFilterProxyModel* TableSorter;
176 char* ColorArrayNameInternal;
177 char* IconIndexArrayNameInternal;
178 char* VisibleColumnName;
179 bool SortSelectionToTop;
apply colors to a data set.
extract field data as a table
The superclass for all representations.
vtkFrustumSelector is a vtkSelector that selects elements based on whether they are inside or interse...
a simple class to control print indentation
A VTK view based on a Qt List view.
const char * GetColorArrayName()
The array to use for coloring items in view.
void SetColorArrayName(const char *name)
The array to use for coloring items in view.
void Update() override
Updates the view.
~vtkQtListView() override
void SetEnableDragDrop(bool)
Enable drag and drop on this widget.
void SetVisibleColumn(int col)
The column to display.
void RemoveRepresentationInternal(vtkDataRepresentation *rep) override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetAlternatingRowColors(bool)
Have the view alternate its row colors.
void ApplyViewTheme(vtkViewTheme *theme) override
QWidget * GetWidget() override
Get the main container of this view (a QWidget).
void SetIconArrayName(const char *name)
Set the icon ivars.
void SetFilterRegExp(const QRegularExpression &pattern)
The column used to filter on.
void SetIconSheetSize(int w, int h)
Set the icon ivars.
void AddRepresentationInternal(vtkDataRepresentation *rep) override
void SetFieldType(int)
The field type to copy into the output table.
bool GetColorByArray()
Whether to color vertices.
static vtkQtListView * New()
void SetIconSize(int w, int h)
Set the icon ivars.
void SetIconSheet(QImage sheet)
Set the icon ivars.
void SetDecorationStrategy(int)
The strategy for how to decorate rows.
void SetColorByArray(bool vis)
Whether to color vertices.
Adapts a table to a Qt item model.
Superclass for Qt widget-based views.
Sets theme colors for a graphical view.
vtkTypeUInt32 vtkMTimeType