|
VTK
|
#include <vtkQtChartNamedSeriesOptionsModel.h>
Public Types | |
| typedef vtkQtChartSeriesOptionsModel | Superclass |
Public Types inherited from vtkQtChartSeriesOptionsModel | |
Public Member Functions | |
| vtkQtChartNamedSeriesOptionsModel (vtkQtChartSeriesModel *model, QObject *parent=0) | |
| Creates a chart series options model. | |
| virtual | ~vtkQtChartNamedSeriesOptionsModel () |
| 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. | |
| vtkQtChartSeriesOptions * | getOptions (const QString &name) |
| QString | getSeriesName (int series) const |
| Returns the name for series at the given index. | |
| void | addOptions (const QString &name, vtkQtChartSeriesOptions *options) |
| void | removeOptions (const QString &name) |
| void | removeAllOptions () |
Public Member Functions inherited from vtkQtChartSeriesOptionsModel | |
| vtkQtChartSeriesOptionsModel (QObject *parent=0) | |
| Creates a chart series options model. | |
| virtual | ~vtkQtChartSeriesOptionsModel () |
Protected Slots | |
| virtual void | reset () |
| Resets the model. | |
| virtual void | insertSeriesOptions (int first, int last) |
Protected Attributes | |
| QMap< QString, vtkQtChartSeriesOptions * > | Options |
| vtkQtChartSeriesModel * | Model |
Additional Inherited Members | |
Public Slots inherited from vtkQtChartSeriesOptionsModel | |
Signals inherited from vtkQtChartSeriesOptionsModel | |
| 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. | |
Protected Member Functions inherited from vtkQtChartSeriesOptionsModel | |
| vtkQtChartSeriesOptions * | newOptions (QObject *parent) |
| Creates a new options object. | |
| void | releaseOptions (vtkQtChartSeriesOptions *options) |
| Releases the options. This will delete the options instance. | |
Definition at line 27 of file vtkQtChartNamedSeriesOptionsModel.h.
Reimplemented from vtkQtChartSeriesOptionsModel.
Definition at line 32 of file vtkQtChartNamedSeriesOptionsModel.h.
| vtkQtChartNamedSeriesOptionsModel::vtkQtChartNamedSeriesOptionsModel | ( | 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* vtkQtChartNamedSeriesOptionsModel::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.
| vtkQtChartSeriesOptions* vtkQtChartNamedSeriesOptionsModel::getOptions | ( | const QString & | name | ) |
| QString vtkQtChartNamedSeriesOptionsModel::getSeriesName | ( | int | series | ) | const |
Returns the name for series at the given index.
| void vtkQtChartNamedSeriesOptionsModel::addOptions | ( | const QString & | name, |
| vtkQtChartSeriesOptions * | options | ||
| ) |
| void vtkQtChartNamedSeriesOptionsModel::removeOptions | ( | const QString & | name | ) |
| void vtkQtChartNamedSeriesOptionsModel::removeAllOptions | ( | ) |
|
protectedvirtualslot |
Resets the model.
Implements vtkQtChartSeriesOptionsModel.
|
protectedvirtualslot |
|
protected |
Definition at line 81 of file vtkQtChartNamedSeriesOptionsModel.h.
|
protected |
Definition at line 82 of file vtkQtChartNamedSeriesOptionsModel.h.
1.8.1