24 #ifndef _vtkQtChartTableSeriesModel_h
25 #define _vtkQtChartTableSeriesModel_h
27 #include "vtkQtChartExport.h"
31 class QAbstractItemModel;
61 void setItemModel(QAbstractItemModel *model);
67 bool getColumnsAsSeries()
const;
72 void setColumnsAsSeries(
bool columnsAsSeries);
89 void rowsAboutToBeInserted(
const QModelIndex &
index,
int first,
int last);
96 void rowsInserted(
const QModelIndex &
index,
int first,
int last);
103 void columnsAboutToBeInserted(
const QModelIndex &
index,
int first,
int last);
110 void columnsInserted(
const QModelIndex &
index,
int first,
int last);
117 void rowsAboutToBeRemoved(
const QModelIndex &
index,
int first,
int last);
124 void rowsRemoved(
const QModelIndex &
index,
int first,
int last);
131 void columnsAboutToBeRemoved(
const QModelIndex &
index,
int first,
int last);
138 void columnsRemoved(
const QModelIndex &
index,
int first,
int last);
virtual QVariant getSeriesName(int series) const =0
Gets the name for the given series.
virtual ~vtkQtChartTableSeriesModel()
QAbstractItemModel * getItemModel() const
Gets the item model.
The vtkQtChartSeriesModel class is the base class for all chart series models.
QAbstractItemModel * Model
Stores the item model.
virtual int getNumberOfSeriesValues(int series) const =0
Gets the number of values in a series.
The vtkQtChartTableSeriesModel class is a chart series model proxy for a QAbstractItemModel table...
virtual QVariant getSeriesValue(int series, int index, int component) const =0
Gets the series value for the given index and component.
vtkQtChartSeriesModelRange * Range
Stores the series ranges.
The vtkQtChartSeriesModelRange class stores the series ranges for a series model. ...
virtual QList< QVariant > getSeriesRange(int series, int component) const =0
Gets the value range for a series component.
virtual int getNumberOfSeries() const =0
Gets the number of series in the model.
bool ColumnsAsSeries
True if columns are series.