#include <vtkQtChartSeriesOptions.h>
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 () |
vtkQtChartSeriesOptions & | operator= (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. |
vtkQtChartSeriesOptions::vtkQtChartSeriesOptions | ( | QObject * | parent = 0 |
) |
Creates a series options object.
parent | The parent object. |
vtkQtChartSeriesOptions::vtkQtChartSeriesOptions | ( | const vtkQtChartSeriesOptions & | other | ) |
virtual vtkQtChartSeriesOptions::~vtkQtChartSeriesOptions | ( | ) | [virtual] |
vtkQtChartSeriesOptions& vtkQtChartSeriesOptions::operator= | ( | const vtkQtChartSeriesOptions & | other | ) |
int vtkQtChartSeriesOptions::getStyle | ( | ) | const [inline] |
Gets 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.
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.
Definition at line 73 of file vtkQtChartSeriesOptions.h.
void vtkQtChartSeriesOptions::setVisible | ( | bool | visible | ) |
Sets whether or not the series should be visible.
visible | True if the series should be visible. |
const QPen& vtkQtChartSeriesOptions::getPen | ( | ) | const |
Gets the series pen.
void vtkQtChartSeriesOptions::setPen | ( | const QPen & | pen | ) |
Sets the series pen.
pen | The new series pen. |
const QBrush& vtkQtChartSeriesOptions::getBrush | ( | ) | const |
Gets the series brush.
void vtkQtChartSeriesOptions::setBrush | ( | const QBrush & | brush | ) |
Sets the series brush.
brush | The new series brush. |
void vtkQtChartSeriesOptions::visibilityChanged | ( | bool | visible | ) | [signal] |
Emitted when the series visibility option has changed.
visible | True if the series should be displayed. |
void vtkQtChartSeriesOptions::penChanged | ( | const QPen & | pen | ) | [signal] |
Emitted when the series pen option has changed.
pen | The new series pen. |
void vtkQtChartSeriesOptions::brushChanged | ( | const QBrush & | brush | ) | [signal] |
Emitted when the series brush option has changed.
brush | The new series brush. |