31 #ifndef vtkQtListView_h 32 #define vtkQtListView_h 35 #include "QVTKWin32Header.h" 40 #include <QSortFilterProxyModel> 78 void SetFieldType(
int);
82 void SetEnableDragDrop(
bool);
85 void SetAlternatingRowColors(
bool);
90 void SetDecorationStrategy(
int);
94 void SetColorArrayName(
const char*
name);
95 const char* GetColorArrayName();
100 void SetColorByArray(
bool vis);
101 bool GetColorByArray();
106 void SetVisibleColumn(
int col);
109 void SetFilterRegExp(
const QRegExp& pattern);
114 void SetIconSheet(QImage sheet);
115 void SetIconSize(
int w,
int h);
116 void SetIconSheetSize(
int w,
int h);
117 void SetIconArrayName(
const char*
name);
133 void slotQtSelectionChanged(
const QItemSelection&,
const QItemSelection&);
136 void SetVTKSelection();
138 unsigned long LastSelectionMTime;
139 unsigned long LastInputMTime;
140 unsigned long LastMTime;
147 QPointer<QListView> ListView;
149 QSortFilterProxyModel* TableSorter;
150 char* ColorArrayNameInternal;
151 char* IconIndexArrayNameInternal;
152 char* VisibleColumnName;
153 bool SortSelectionToTop;
virtual void ApplyViewTheme(vtkViewTheme *vtkNotUsed(theme))
Adapts a table to a Qt item model.
#define vtkGetMacro(name, type)
extract field data as a table
virtual QWidget * GetWidget()=0
#define VTKVIEWSQT_EXPORT
virtual void AddRepresentationInternal(vtkDataRepresentation *vtkNotUsed(rep))
#define vtkSetStringMacro(name)
#define vtkTypeMacro(thisClass, superclass)
Sets theme colors for a graphical view.
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent)
The superclass for all representations.
A VTK view based on a Qt List view.
#define vtkGetStringMacro(name)
apply colors to a data set.
#define vtkBooleanMacro(name, type)
Superclass for Qt widget-based views.
virtual void RemoveRepresentationInternal(vtkDataRepresentation *vtkNotUsed(rep))