The vtkQtChartSeriesOptionsModelCollection class is used to combine chart series options models.
More...
#include <vtkQtChartSeriesOptionsModelCollection.h>
The vtkQtChartSeriesOptionsModelCollection class is used to combine chart series options models.
The collection maps the overall series index to the model specific series index. This is analogous to vtkQtChartSeriesModelCollection except that it keeps track of vtkQtChartSeriesOptionsModel instead of vtkQtChartSeriesModel.
Definition at line 36 of file vtkQtChartSeriesOptionsModelCollection.h.
vtkQtChartSeriesOptionsModelCollection::vtkQtChartSeriesOptionsModelCollection |
( |
QObject * |
parent = 0 ) | |
|
Creates a chart series options model.
- Parameters
-
virtual vtkQtChartSeriesOptionsModelCollection::~vtkQtChartSeriesOptionsModelCollection |
( |
) | |
|
|
virtual |
virtual int vtkQtChartSeriesOptionsModelCollection::getNumberOfOptions |
( |
) | |
const |
|
virtual |
Gets the options for a particular series.
- Parameters
-
- Returns
- The options for the series at the given index.
Implements vtkQtChartSeriesOptionsModel.
Gets the index for the given series options.
- Parameters
-
options | The series options object. |
- Returns
- The index for the given series options.
Implements vtkQtChartSeriesOptionsModel.
Adds a series model to the collection.
- Parameters
-
model | The series model to add. |
Removes a series model from the collection.
- Parameters
-
model | The series model to remove. |
int vtkQtChartSeriesOptionsModelCollection::getNumberOfSeriesOptionsModels |
( |
) | |
const |
Gets the number of series models in the collection.
- Returns
- The number of series models in the collection.
Gets the series model at the specified index.
- Parameters
-
index | The series model index. |
- Returns
- A pointer to the series model.
Maps an index from a series model to an index in the collection.
- Parameters
-
model | The series model, must be a member of the model collection |
index | A series index from the given series model |
- Returns
- A series index in the series model collection. Returns 0 if model is not in collection.
virtual void vtkQtChartSeriesOptionsModelCollection::reset |
( |
) | |
|
|
virtualslot |
void vtkQtChartSeriesOptionsModelCollection::onOptionsAboutToBeInserted |
( |
int |
first, |
|
|
int |
last |
|
) |
| |
|
protectedslot |
Called when a series is about to be inserted into a model.
This method uses the signal sender to determine which model has changed. It then maps the model series indexes to collection series indexes and re-emits the signal.
- Parameters
-
first | The first model series index. |
last | The last model series index. |
void vtkQtChartSeriesOptionsModelCollection::onOptionsInserted |
( |
int |
first, |
|
|
int |
last |
|
) |
| |
|
protectedslot |
Called when a series is inserted into a model.
- Parameters
-
first | The first model series index. |
last | The last model series index. |
void vtkQtChartSeriesOptionsModelCollection::onOptionsAboutToBeRemoved |
( |
int |
first, |
|
|
int |
last |
|
) |
| |
|
protectedslot |
Called when a series is about to be removed from a model.
- Parameters
-
first | The first model series index. |
last | The last model series index. |
void vtkQtChartSeriesOptionsModelCollection::onOptionsRemoved |
( |
int |
first, |
|
|
int |
last |
|
) |
| |
|
protectedslot |
Called when a series is removed from a model.
- Parameters
-
first | The first model series index. |
last | The last model series index. |
The documentation for this class was generated from the following file: