vtkQtChartSeriesOptionsModel Class Reference

#include <vtkQtChartSeriesOptionsModel.h>

Inheritance diagram for vtkQtChartSeriesOptionsModel:

Inheritance graph
[legend]

List of all members.


Detailed Description

vtkQtChartSeriesOptionsModel is the base class for all chart series options models.

This can be considered analogous to vtkQtChartSeriesModel except that instead of providing details about the series, it provides the options for the series.

Definition at line 36 of file vtkQtChartSeriesOptionsModel.h.


Public Types

typedef QObject Superclass

Public Slots

virtual void reset ()=0
 Resets the model.

Signals

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.

Public Member Functions

 vtkQtChartSeriesOptionsModel (QObject *parent=0)
 Creates a chart series options model.
virtual ~vtkQtChartSeriesOptionsModel ()
virtual int getNumberOfOptions () const =0
 Gets the number of options.
virtual vtkQtChartSeriesOptionsgetOptions (int series) const =0
 Gets the options for a particular series.
virtual int getOptionsIndex (vtkQtChartSeriesOptions *options) const =0
 Gets the index for the given series options.

Protected Member Functions

vtkQtChartSeriesOptionsnewOptions (QObject *parent)
 Creates a new options object.
void releaseOptions (vtkQtChartSeriesOptions *options)
 Releases the options. This will delete the options instance.

Member Typedef Documentation


Constructor & Destructor Documentation

vtkQtChartSeriesOptionsModel::vtkQtChartSeriesOptionsModel ( QObject *  parent = 0  ) 

Creates a chart series options model.

Parameters:
param The parent object.

virtual vtkQtChartSeriesOptionsModel::~vtkQtChartSeriesOptionsModel (  )  [inline, virtual]

Definition at line 47 of file vtkQtChartSeriesOptionsModel.h.


Member Function Documentation

virtual int vtkQtChartSeriesOptionsModel::getNumberOfOptions (  )  const [pure virtual]

virtual vtkQtChartSeriesOptions* vtkQtChartSeriesOptionsModel::getOptions ( int  series  )  const [pure virtual]

Gets the options for a particular series.

Parameters:
series The series index
Returns:
The options for the series at the given index.

Implemented in vtkQtChartBasicSeriesOptionsModel, vtkQtChartNamedSeriesOptionsModel, and vtkQtChartSeriesOptionsModelCollection.

virtual int vtkQtChartSeriesOptionsModel::getOptionsIndex ( vtkQtChartSeriesOptions options  )  const [pure virtual]

Gets the index for the given series options.

Parameters:
options The series options object.
Returns:
The index for the given series options.

Implemented in vtkQtChartBasicSeriesOptionsModel, vtkQtChartNamedSeriesOptionsModel, and vtkQtChartSeriesOptionsModelCollection.

virtual void vtkQtChartSeriesOptionsModel::reset (  )  [pure virtual, slot]

void vtkQtChartSeriesOptionsModel::modelAboutToBeReset (  )  [signal]

Emitted when the model is about to be reset.

void vtkQtChartSeriesOptionsModel::modelReset (  )  [signal]

Emitted when the model has been reset.

void vtkQtChartSeriesOptionsModel::optionsAboutToBeInserted ( int  first,
int  last 
) [signal]

Emitted when options will be inserted into the model.

Parameters:
first The first index to be added.
last The last index to be added.

void vtkQtChartSeriesOptionsModel::optionsInserted ( int  first,
int  last 
) [signal]

Emitted when options have been inserted into the model.

Parameters:
first The first index that was inserted.
last The last index that was inserted.

void vtkQtChartSeriesOptionsModel::optionsAboutToBeRemoved ( int  first,
int  last 
) [signal]

Emitted when options will be removed from the model.

Parameters:
first The first index to be removed.
last The last index to be removed.

void vtkQtChartSeriesOptionsModel::optionsRemoved ( int  first,
int  last 
) [signal]

Emitted when options have been removed from the model.

Parameters:
first The first index that was removed.
last The last index that was removed.

void vtkQtChartSeriesOptionsModel::optionsChanged ( vtkQtChartSeriesOptions options,
int  type,
const QVariant &  newValue,
const QVariant &  oldValue 
) [signal]

Emitted when options fire dataChanged() signal.

Parameters:
options The options that fired the dataChanged() signal.
type Type of the option that was changed.
newValue The new value for the option.
oldValue The previous value for the option, if any.

vtkQtChartSeriesOptions* vtkQtChartSeriesOptionsModel::newOptions ( QObject *  parent  )  [protected]

Creates a new options object.

Parameters:
parent The parent QObject for the options.
Returns:
The new instance of vtkQtChartSeriesOptions with proper default values.

void vtkQtChartSeriesOptionsModel::releaseOptions ( vtkQtChartSeriesOptions options  )  [protected]

Releases the options. This will delete the options instance.


The documentation for this class was generated from the following file:

Generated on Mon Sep 27 18:44:41 2010 for VTK by  doxygen 1.5.6