|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   32 #ifndef vtkQtTableView_h 
   33 #define vtkQtTableView_h 
   36 #include "vtkViewsQtModule.h"  
   46 class QSortFilterProxyModel;
 
   70   void SetShowVerticalHeaders(
bool);
 
   75   void SetShowHorizontalHeaders(
bool);
 
   92   vtkGetMacro(FieldType, 
int);
 
   93   void SetFieldType(
int);
 
   99   void SetEnableDragDrop(
bool);
 
  105   void SetSortingEnabled(
bool);
 
  113   void SetShowAll(
bool);
 
  114   vtkGetMacro(ShowAll, 
bool);
 
  122   vtkSetStringMacro(ColumnName);
 
  123   vtkGetStringMacro(ColumnName);
 
  126   void SetColumnVisibility(
const QString& 
name, 
bool status);
 
  132   void SetSplitMultiComponentColumns(
bool value);
 
  138   bool GetSplitMultiComponentColumns();
 
  144   void SetSortSelectionToTop(
bool value);
 
  145   vtkGetMacro(SortSelectionToTop, 
bool);
 
  153   void SetApplyRowColors(
bool value);
 
  154   vtkGetMacro(ApplyRowColors, 
bool);
 
  166   void SetColorArrayName(
const char* 
name);
 
  167   const char* GetColorArrayName();
 
  174   void SetColorByArray(
bool vis);
 
  175   bool GetColorByArray();
 
  176   vtkBooleanMacro(ColorByArray, 
bool);
 
  201   virtual void SetSelectionBehavior(
int type);
 
  202   virtual int GetSelectionBehavior();
 
  223   void slotQtSelectionChanged(
const QItemSelection&, 
const QItemSelection&);
 
  226   void SetVTKSelection();
 
  231   vtkSetStringMacro(ColorArrayNameInternal);
 
  232   vtkGetStringMacro(ColorArrayNameInternal);
 
  234   QPointer<QTableView> TableView;
 
  236   QSortFilterProxyModel* TableSorter;
 
  240   bool InSelectionChanged;
 
  241   bool SortSelectionToTop;
 
  243   char* ColorArrayNameInternal;
 
  
A VTK view based on a Qt Table view.
Add an array to the output indicating membership within an input selection.
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.
dynamic, self-adjusting array of vtkIdType
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