#include <vtkQtChartTableSeriesModel.h>


Definition at line 39 of file vtkQtChartTableSeriesModel.h.
Public Member Functions | |
| vtkQtChartTableSeriesModel (QAbstractItemModel *model, QObject *parent=0) | |
| Creates a table series model. | |
| virtual | ~vtkQtChartTableSeriesModel () |
| QAbstractItemModel * | getItemModel () const |
| Gets the item model. | |
| void | setItemModel (QAbstractItemModel *model) |
| Sets the item model. | |
| bool | getColumnsAsSeries () const |
| Gets whether or not columns are series. | |
| void | setColumnsAsSeries (bool columnsAsSeries) |
| Sets whether or not columns are series. | |
vtkQtChartSeriesModel Methods | |
| virtual int | getNumberOfSeries () const |
| Gets the number of series in the model. | |
| virtual int | getNumberOfSeriesValues (int series) const |
| Gets the number of values in a series. | |
| virtual QVariant | getSeriesName (int series) const |
| Gets the name for the given series. | |
| virtual QVariant | getSeriesValue (int series, int index, int component) const |
| Gets the series value for the given index and component. | |
| virtual QList< QVariant > | getSeriesRange (int series, int component) const |
| Gets the value range for a series component. | |
Protected Slots | |
| void | rowsAboutToBeInserted (const QModelIndex &index, int first, int last) |
| Called when the item model is about to insert rows. | |
| void | rowsInserted (const QModelIndex &index, int first, int last) |
| Called when the item model has inserted rows. | |
| void | columnsAboutToBeInserted (const QModelIndex &index, int first, int last) |
| Called when the item model is about to insert columns. | |
| void | columnsInserted (const QModelIndex &index, int first, int last) |
| Called when the item model has inserted columns. | |
| void | rowsAboutToBeRemoved (const QModelIndex &index, int first, int last) |
| Called when the item model is about to remove rows. | |
| void | rowsRemoved (const QModelIndex &index, int first, int last) |
| Called when the item model has removed rows. | |
| void | columnsAboutToBeRemoved (const QModelIndex &index, int first, int last) |
| Called when the item model is about to remove columns. | |
| void | columnsRemoved (const QModelIndex &index, int first, int last) |
| Called when the item model has removed columns. | |
Protected Attributes | |
| QAbstractItemModel * | Model |
| Stores the item model. | |
| vtkQtChartSeriesModelRange * | Range |
| Stores the series ranges. | |
| bool | ColumnsAsSeries |
| True if columns are series. | |
| vtkQtChartTableSeriesModel::vtkQtChartTableSeriesModel | ( | QAbstractItemModel * | model, | |
| QObject * | parent = 0 | |||
| ) |
Creates a table series model.
| model | The item model to display. | |
| parent | The parent object. |
| virtual vtkQtChartTableSeriesModel::~vtkQtChartTableSeriesModel | ( | ) | [inline, virtual] |
Definition at line 50 of file vtkQtChartTableSeriesModel.h.
| QAbstractItemModel* vtkQtChartTableSeriesModel::getItemModel | ( | ) | const [inline] |
Gets the item model.
Definition at line 56 of file vtkQtChartTableSeriesModel.h.
| void vtkQtChartTableSeriesModel::setItemModel | ( | QAbstractItemModel * | model | ) |
Sets the item model.
| model | The new item model. |
| bool vtkQtChartTableSeriesModel::getColumnsAsSeries | ( | ) | const |
Gets whether or not columns are series.
| void vtkQtChartTableSeriesModel::setColumnsAsSeries | ( | bool | columnsAsSeries | ) |
Sets whether or not columns are series.
| columnsAsSeries | True if columns are series. |
| virtual int vtkQtChartTableSeriesModel::getNumberOfSeries | ( | ) | const [virtual] |
Gets the number of series in the model.
Implements vtkQtChartSeriesModel.
| virtual int vtkQtChartTableSeriesModel::getNumberOfSeriesValues | ( | int | series | ) | const [virtual] |
Gets the number of values in a series.
| series | The series index. |
Implements vtkQtChartSeriesModel.
| virtual QVariant vtkQtChartTableSeriesModel::getSeriesName | ( | int | series | ) | const [virtual] |
Gets the name for the given series.
| series | The series index. |
Implements vtkQtChartSeriesModel.
| virtual QVariant vtkQtChartTableSeriesModel::getSeriesValue | ( | int | series, | |
| int | index, | |||
| int | component | |||
| ) | const [virtual] |
Gets the series value for the given index and component.
| series | The series index. | |
| index | The index in the given series. | |
| component | The component index. |
Implements vtkQtChartSeriesModel.
| virtual QList<QVariant> vtkQtChartTableSeriesModel::getSeriesRange | ( | int | series, | |
| int | component | |||
| ) | const [virtual] |
Gets the value range for a series component.
| series | The series index. | |
| component | The component index. |
Implements vtkQtChartSeriesModel.
| void vtkQtChartTableSeriesModel::rowsAboutToBeInserted | ( | const QModelIndex & | index, | |
| int | first, | |||
| int | last | |||
| ) | [protected, slot] |
Called when the item model is about to insert rows.
| index | The parent model index. | |
| first | The first index of the insertion range. | |
| last | The last index of the insertion range. |
| void vtkQtChartTableSeriesModel::rowsInserted | ( | const QModelIndex & | index, | |
| int | first, | |||
| int | last | |||
| ) | [protected, slot] |
Called when the item model has inserted rows.
| index | The parent model index. | |
| first | The first index of the insertion range. | |
| last | The last index of the insertion range. |
| void vtkQtChartTableSeriesModel::columnsAboutToBeInserted | ( | const QModelIndex & | index, | |
| int | first, | |||
| int | last | |||
| ) | [protected, slot] |
Called when the item model is about to insert columns.
| index | The parent model index. | |
| first | The first index of the insertion range. | |
| last | The last index of the insertion range. |
| void vtkQtChartTableSeriesModel::columnsInserted | ( | const QModelIndex & | index, | |
| int | first, | |||
| int | last | |||
| ) | [protected, slot] |
Called when the item model has inserted columns.
| index | The parent model index. | |
| first | The first index of the insertion range. | |
| last | The last index of the insertion range. |
| void vtkQtChartTableSeriesModel::rowsAboutToBeRemoved | ( | const QModelIndex & | index, | |
| int | first, | |||
| int | last | |||
| ) | [protected, slot] |
Called when the item model is about to remove rows.
| index | The parent model index. | |
| first | The first index of the removal range. | |
| last | The last index of the removal range. |
| void vtkQtChartTableSeriesModel::rowsRemoved | ( | const QModelIndex & | index, | |
| int | first, | |||
| int | last | |||
| ) | [protected, slot] |
Called when the item model has removed rows.
| index | The parent model index. | |
| first | The first index of the removal range. | |
| last | The last index of the removal range. |
| void vtkQtChartTableSeriesModel::columnsAboutToBeRemoved | ( | const QModelIndex & | index, | |
| int | first, | |||
| int | last | |||
| ) | [protected, slot] |
Called when the item model is about to remove columns.
| index | The parent model index. | |
| first | The first index of the removal range. | |
| last | The last index of the removal range. |
| void vtkQtChartTableSeriesModel::columnsRemoved | ( | const QModelIndex & | index, | |
| int | first, | |||
| int | last | |||
| ) | [protected, slot] |
Called when the item model has removed columns.
| index | The parent model index. | |
| first | The first index of the removal range. | |
| last | The last index of the removal range. |
QAbstractItemModel* vtkQtChartTableSeriesModel::Model [protected] |
bool vtkQtChartTableSeriesModel::ColumnsAsSeries [protected] |
1.5.6