|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   32 #ifndef vtkQtListView_h 
   33 #define vtkQtListView_h 
   36 #include "vtkViewsQtModule.h"  
   45 class QSortFilterProxyModel;
 
   81   vtkGetMacro(FieldType, 
int);
 
   82   void SetFieldType(
int);
 
   88   void SetEnableDragDrop(
bool);
 
   93   void SetAlternatingRowColors(
bool);
 
  101   void SetDecorationStrategy(
int);
 
  107   void SetColorArrayName(
const char* 
name);
 
  108   const char* GetColorArrayName();
 
  115   void SetColorByArray(
bool vis);
 
  116   bool GetColorByArray();
 
  117   vtkBooleanMacro(ColorByArray, 
bool);
 
  123   void SetVisibleColumn(
int col);
 
  128   void SetFilterRegExp(
const QRegExp& pattern);
 
  134   void SetIconSheet(QImage sheet);
 
  135   void SetIconSize(
int w, 
int h);
 
  136   void SetIconSheetSize(
int w, 
int h);
 
  137   void SetIconArrayName(
const char* 
name);
 
  155   void slotQtSelectionChanged(
const QItemSelection&, 
const QItemSelection&);
 
  158   void SetVTKSelection();
 
  164   vtkSetStringMacro(ColorArrayNameInternal);
 
  165   vtkGetStringMacro(ColorArrayNameInternal);
 
  166   vtkSetStringMacro(IconIndexArrayNameInternal);
 
  167   vtkGetStringMacro(IconIndexArrayNameInternal);
 
  169   QPointer<QListView> ListView;
 
  171   QSortFilterProxyModel* TableSorter;
 
  172   char* ColorArrayNameInternal;
 
  173   char* IconIndexArrayNameInternal;
 
  174   char* VisibleColumnName;
 
  175   bool SortSelectionToTop;
 
  
virtual void AddRepresentationInternal(vtkDataRepresentation *vtkNotUsed(rep))
Subclass "hooks" for notifying subclasses of vtkView when representations are added or removed.
apply colors to a data set.
Sets theme colors for a graphical view.
The superclass for all representations.
a simple class to control print indentation
virtual void ApplyViewTheme(vtkViewTheme *vtkNotUsed(theme))
Apply a theme to the view.
A VTK view based on a Qt List view.
virtual void Update()
Update the view.
virtual void RemoveRepresentationInternal(vtkDataRepresentation *vtkNotUsed(rep))
Adapts a table to a Qt item model.
Superclass for Qt widget-based views.
extract field data as a table
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual QWidget * GetWidget()=0
Get the main container of this view (a QWidget).
vtkTypeUInt32 vtkMTimeType