|  | 
|  | vtkQtTableModelAdapter (QObject *parent=nullptr) | 
|  | 
|  | vtkQtTableModelAdapter (vtkTable *table, QObject *parent=nullptr) | 
|  | 
|  | ~vtkQtTableModelAdapter () override | 
|  | 
| void | SetVTKDataObject (vtkDataObject *data) override | 
|  | Set/Get the VTK data object as input to this adapter.  More... 
 | 
|  | 
| vtkDataObject * | GetVTKDataObject () const override | 
|  | 
| vtkSelection * | QModelIndexListToVTKIndexSelection (const QModelIndexList qmil) const override | 
|  | Selection conversion from VTK land to Qt land.  More... 
 | 
|  | 
| QItemSelection | VTKIndexSelectionToQItemSelection (vtkSelection *vtksel) const override | 
|  | 
| void | SetKeyColumnName (const char *name) override | 
|  | 
| void | SetColorColumnName (const char *name) override | 
|  | 
| void | SetIconIndexColumnName (const char *name) | 
|  | 
| void | SetDecorationLocation (int s) | 
|  | Specify how to color rows if colors are provided by SetColorColumnName().  More... 
 | 
|  | 
| void | SetDecorationStrategy (int s) | 
|  | Specify how to color rows if colors are provided by SetColorColumnName().  More... 
 | 
|  | 
| bool | GetSplitMultiComponentColumns () const | 
|  | 
| void | SetSplitMultiComponentColumns (bool value) | 
|  | 
| void | setTable (vtkTable *table) | 
|  | Set up the model based on the current table.  More... 
 | 
|  | 
| vtkTable * | table () const | 
|  | 
| QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const override | 
|  | 
| bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) override | 
|  | 
| Qt::ItemFlags | flags (const QModelIndex &index) const override | 
|  | 
| QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override | 
|  | 
| QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const override | 
|  | 
| QModelIndex | parent (const QModelIndex &index) const override | 
|  | 
| int | rowCount (const QModelIndex &parent=QModelIndex()) const override | 
|  | 
| int | columnCount (const QModelIndex &parent=QModelIndex()) const override | 
|  | 
| bool | dropMimeData (const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) override | 
|  | 
| QMimeData * | mimeData (const QModelIndexList &indexes) const override | 
|  | 
| QStringList | mimeTypes () const override | 
|  | 
| Qt::DropActions | supportedDropActions () const override | 
|  | 
| void | SetIconSheet (QImage sheet) | 
|  | 
| void | SetIconSize (int w, int h) | 
|  | 
| void | SetIconSheetSize (int w, int h) | 
|  | 
|  | vtkQtAbstractModelAdapter (QObject *p) | 
|  | 
| virtual void | SetViewType (int type) | 
|  | Set/Get the view type.  More... 
 | 
|  | 
| virtual int | GetViewType () | 
|  | 
| virtual void | SetKeyColumn (int col) | 
|  | Set/Get the key column.  More... 
 | 
|  | 
| virtual int | GetKeyColumn () | 
|  | 
| virtual void | SetColorColumn (int col) | 
|  | Set/Get the column storing the rgba color values for each row.  More... 
 | 
|  | 
| virtual int | GetColorColumn () | 
|  | 
| virtual void | SetDataColumnRange (int c1, int c2) | 
|  | Set the range of columns that specify the main data matrix.  More... 
 | 
|  | 
| void | reset () | 
|  | 
| void | beginResetModel () | 
|  | 
| void | endResetModel () | 
|  | 
Adapts a table to a Qt item model. 
vtkQtTableModelAdapter is a QAbstractItemModel with a vtkTable as its underlying data model.
- See also
- vtkQtAbstractModelAdapter vtkQtTreeModelAdapter 
Definition at line 46 of file vtkQtTableModelAdapter.h.