Signals | Public Member Functions

vtkQtChartSeriesOptions Class Reference

The vtkQtChartSeriesOptions class stores the common series drawing options. More...

#include <vtkQtChartSeriesOptions.h>

Inheritance diagram for vtkQtChartSeriesOptions:
Inheritance graph
[legend]

List of all members.

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.

Detailed Description

The vtkQtChartSeriesOptions class stores the common series drawing options.

Definition at line 39 of file vtkQtChartSeriesOptions.h.


Constructor & Destructor Documentation

vtkQtChartSeriesOptions::vtkQtChartSeriesOptions ( QObject *  parent = 0 )

Creates a series options object.

Parameters:
parentThe parent object.
vtkQtChartSeriesOptions::vtkQtChartSeriesOptions ( const vtkQtChartSeriesOptions other )
virtual vtkQtChartSeriesOptions::~vtkQtChartSeriesOptions (  ) [virtual]

Member Function Documentation

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

Emitted when the series brush option has changed.

Parameters:
brushThe new series brush.
const QBrush& vtkQtChartSeriesOptions::getBrush (  ) const

Gets the series brush.

Returns:
A reference to the series brush.
const QPen& vtkQtChartSeriesOptions::getPen (  ) const

Gets the series pen.

Returns:
A reference to the series pen.
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.

{return this->Style;}
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.

{return this->Visible;}
vtkQtChartSeriesOptions& vtkQtChartSeriesOptions::operator= ( const vtkQtChartSeriesOptions other )
void vtkQtChartSeriesOptions::penChanged ( const QPen &  pen ) [signal]

Emitted when the series pen option has changed.

Parameters:
penThe new series pen.
void vtkQtChartSeriesOptions::setBrush ( const QBrush &  brush )

Sets the series brush.

Parameters:
brushThe new series brush.
void vtkQtChartSeriesOptions::setPen ( const QPen &  pen )

Sets the series pen.

Parameters:
penThe new series pen.
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:
styleThe style index for the generator.
generatorThe style generator to use.

Reimplemented in vtkQtBarChartSeriesOptions, vtkQtLineChartSeriesOptions, vtkQtStackedChartSeriesOptions, and vtkQtStatisticalBoxChartSeriesOptions.

void vtkQtChartSeriesOptions::setVisible ( bool  visible )

Sets whether or not the series should be visible.

Parameters:
visibleTrue if the series should be visible.
void vtkQtChartSeriesOptions::visibilityChanged ( bool  visible ) [signal]

Emitted when the series visibility option has changed.

Parameters:
visibleTrue if the series should be displayed.

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines