VTK
|
vtkQtChartBasicSeriesOptionsModel is a concrete subclass of vtkQtChartSeriesOptionsModel that keeps itself in-sync with the vtkQtChartSeriesModel so that as new series are added/removed from the vtkQtChartSeriesModel, corresponding options are added/removed as well. More...
#include <vtkQtChartBasicSeriesOptionsModel.h>
Public Types | |
typedef vtkQtChartSeriesOptionsModel | Superclass |
![]() | |
typedef QObject | Superclass |
Public Slots | |
virtual void | reset () |
resets the model. | |
![]() | |
virtual void | reset ()=0 |
Resets the model. |
Public Member Functions | |
vtkQtChartBasicSeriesOptionsModel (vtkQtChartSeriesModel *model, QObject *parent=0) | |
Creates a chart series options model. | |
virtual | ~vtkQtChartBasicSeriesOptionsModel () |
vtkQtChartSeriesModel * | getSeriesModel () const |
Gets the series model so that options can be automatically updated as series are added/removed. | |
virtual int | getNumberOfOptions () const |
Gets the number of options. | |
virtual vtkQtChartSeriesOptions * | getOptions (int series) const |
Gets the options for a particular series. | |
virtual int | getOptionsIndex (vtkQtChartSeriesOptions *options) const |
Gets the index for the given series options. | |
![]() | |
vtkQtChartSeriesOptionsModel (QObject *parent=0) | |
Creates a chart series options model. | |
virtual | ~vtkQtChartSeriesOptionsModel () |
Protected Slots | |
virtual void | insertSeriesOptions (int first, int last) |
virtual void | removeSeriesOptions (int first, int last) |
Protected Attributes | |
QList< vtkQtChartSeriesOptions * > | Options |
Stores the series options. | |
vtkQtChartSeriesModel * | Model |
Additional Inherited Members | |
![]() | |
void | modelAboutToBeReset () |
Emitted when the model is about to be reset. | |
void | modelReset () |
Emitted when the model has been reset. | |
void | optionsAboutToBeInserted (int first, int last) |
Emitted when options will be inserted into the model. | |
void | optionsInserted (int first, int last) |
Emitted when options have been inserted into the model. | |
void | optionsAboutToBeRemoved (int first, int last) |
Emitted when options will be removed from the model. | |
void | optionsRemoved (int first, int last) |
Emitted when options have been removed from the model. | |
void | optionsChanged (vtkQtChartSeriesOptions *options, int type, const QVariant &newValue, const QVariant &oldValue) |
Emitted when options fire dataChanged() signal. | |
![]() | |
vtkQtChartSeriesOptions * | newOptions (QObject *parent) |
Creates a new options object. | |
void | releaseOptions (vtkQtChartSeriesOptions *options) |
Releases the options. This will delete the options instance. |
vtkQtChartBasicSeriesOptionsModel is a concrete subclass of vtkQtChartSeriesOptionsModel that keeps itself in-sync with the vtkQtChartSeriesModel so that as new series are added/removed from the vtkQtChartSeriesModel, corresponding options are added/removed as well.
Definition at line 31 of file vtkQtChartBasicSeriesOptionsModel.h.
Definition at line 36 of file vtkQtChartBasicSeriesOptionsModel.h.
vtkQtChartBasicSeriesOptionsModel::vtkQtChartBasicSeriesOptionsModel | ( | vtkQtChartSeriesModel * | model, |
QObject * | parent = 0 |
||
) |
Creates a chart series options model.
parent | The parent object. |
model | The vtkQtChartSeriesModel for which this model is to provide the options. |
|
virtual |
vtkQtChartSeriesModel* vtkQtChartBasicSeriesOptionsModel::getSeriesModel | ( | ) | const |
Gets the series model so that options can be automatically updated as series are added/removed.
|
virtual |
Gets the number of options.
Implements vtkQtChartSeriesOptionsModel.
|
virtual |
Gets the options for a particular series.
series | The series index |
Implements vtkQtChartSeriesOptionsModel.
|
virtual |
Gets the index for the given series options.
options | The series options object. |
Implements vtkQtChartSeriesOptionsModel.
|
virtualslot |
resets the model.
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protected |
Stores the series options.
Definition at line 80 of file vtkQtChartBasicSeriesOptionsModel.h.
|
protected |
Definition at line 81 of file vtkQtChartBasicSeriesOptionsModel.h.