vtkQtChartSeriesOptions Class Reference

#include <vtkQtChartSeriesOptions.h>

Inheritance diagram for vtkQtChartSeriesOptions:

Inheritance graph
[legend]

List of all members.


Detailed Description

The vtkQtChartSeriesOptions class stores the common series drawing options.

Definition at line 39 of file vtkQtChartSeriesOptions.h.


Signals

void visibilityChanged (bool visible)
 Emitted when the series visibility option has changed.
void penChanged (const QPen &pen)
 Emitted when the series pen option has changed.
void brushChanged (const QBrush &brush)
 Emitted when the series brush option has changed.

Public Member Functions

 vtkQtChartSeriesOptions (QObject *parent=0)
 Creates a series options object.
 vtkQtChartSeriesOptions (const vtkQtChartSeriesOptions &other)
virtual ~vtkQtChartSeriesOptions ()
vtkQtChartSeriesOptionsoperator= (const vtkQtChartSeriesOptions &other)
int getStyle () const
 Gets the style generator index for the series.
virtual void setStyle (int style, vtkQtChartStyleGenerator *generator)
 Sets the style generator index for the series.
bool isVisible () const
 Gets whether or not the series should be visible.
void setVisible (bool visible)
 Sets whether or not the series should be visible.
const QPen & getPen () const
 Gets the series pen.
void setPen (const QPen &pen)
 Sets the series pen.
const QBrush & getBrush () const
 Gets the series brush.
void setBrush (const QBrush &brush)
 Sets the series brush.

Constructor & Destructor Documentation

vtkQtChartSeriesOptions::vtkQtChartSeriesOptions ( QObject *  parent = 0  ) 

Creates a series options object.

Parameters:
parent The parent object.

vtkQtChartSeriesOptions::vtkQtChartSeriesOptions ( const vtkQtChartSeriesOptions other  ) 

virtual vtkQtChartSeriesOptions::~vtkQtChartSeriesOptions (  )  [virtual]


Member Function Documentation

vtkQtChartSeriesOptions& vtkQtChartSeriesOptions::operator= ( const vtkQtChartSeriesOptions other  ) 

int vtkQtChartSeriesOptions::getStyle (  )  const [inline]

Gets the style generator index for the series.

Returns:
The style generator index for the series.

Definition at line 57 of file vtkQtChartSeriesOptions.h.

virtual void vtkQtChartSeriesOptions::setStyle ( int  style,
vtkQtChartStyleGenerator generator 
) [virtual]

Sets the style generator index for the series.

This method only sets the style index. It can be overridden to use the generator to set other series options.

Parameters:
style The style index for the generator.
generator The style generator to use.

Reimplemented in vtkQtBarChartSeriesOptions, vtkQtLineChartSeriesOptions, vtkQtStackedChartSeriesOptions, and vtkQtStatisticalBoxChartSeriesOptions.

bool vtkQtChartSeriesOptions::isVisible (  )  const [inline]

Gets whether or not the series should be visible.

Returns:
True if the series should be visible.

Definition at line 73 of file vtkQtChartSeriesOptions.h.

void vtkQtChartSeriesOptions::setVisible ( bool  visible  ) 

Sets whether or not the series should be visible.

Parameters:
visible True if the series should be visible.

const QPen& vtkQtChartSeriesOptions::getPen (  )  const

Gets the series pen.

Returns:
A reference to the series pen.

void vtkQtChartSeriesOptions::setPen ( const QPen &  pen  ) 

Sets the series pen.

Parameters:
pen The new series pen.

const QBrush& vtkQtChartSeriesOptions::getBrush (  )  const

Gets the series brush.

Returns:
A reference to the series brush.

void vtkQtChartSeriesOptions::setBrush ( const QBrush &  brush  ) 

Sets the series brush.

Parameters:
brush The new series brush.

void vtkQtChartSeriesOptions::visibilityChanged ( bool  visible  )  [signal]

Emitted when the series visibility option has changed.

Parameters:
visible True if the series should be displayed.

void vtkQtChartSeriesOptions::penChanged ( const QPen &  pen  )  [signal]

Emitted when the series pen option has changed.

Parameters:
pen The new series pen.

void vtkQtChartSeriesOptions::brushChanged ( const QBrush &  brush  )  [signal]

Emitted when the series brush option has changed.

Parameters:
brush The new series brush.


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

Generated on Wed Jun 3 19:28:35 2009 for VTK by  doxygen 1.5.6