The vtkQtChartSeriesOptions class stores the common series drawing options.
More...
#include <vtkQtChartSeriesOptions.h>
List of all members.
Signals |
void | dataChanged (int type, const QVariant &newValue, const QVariant &oldValue) |
| Emitted whenever any of the options change.
|
Detailed Description
The vtkQtChartSeriesOptions class stores the common series drawing options.
Definition at line 44 of file vtkQtChartSeriesOptions.h.
Member Enumeration Documentation
- Enumerator:
VISIBLE |
|
PEN |
|
BRUSH |
|
COLORS |
|
AXES_CORNER |
|
MARKER_STYLE |
|
MARKER_SIZE |
|
LABEL |
|
NUMBER_OF_OPTION_TYPES |
|
Definition at line 49 of file vtkQtChartSeriesOptions.h.
Constructor & Destructor Documentation
vtkQtChartSeriesOptions::vtkQtChartSeriesOptions |
( |
QObject * |
parent = 0 | ) |
|
Creates a series options object.
- Parameters:
-
virtual vtkQtChartSeriesOptions::~vtkQtChartSeriesOptions |
( |
| ) |
|
|
virtual |
Member Function Documentation
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 76 of file vtkQtChartSeriesOptions.h.
void vtkQtChartSeriesOptions::setVisible |
( |
bool |
visible | ) |
|
|
inline |
Sets whether or not the series should be visible.
- Parameters:
-
visible | True if the series should be visible. |
Definition at line 82 of file vtkQtChartSeriesOptions.h.
QPen vtkQtChartSeriesOptions::getPen |
( |
| ) |
const |
|
inline |
void vtkQtChartSeriesOptions::setPen |
( |
const QPen & |
pen | ) |
|
|
inline |
QBrush vtkQtChartSeriesOptions::getBrush |
( |
| ) |
const |
|
inline |
void vtkQtChartSeriesOptions::setBrush |
( |
const QBrush & |
brush | ) |
|
|
inline |
Gets the series colors object.
- Returns:
- A pointer to the series colors object.
Sets the series colors object.
If the series colors object is not null, the series should be drawn in multiple colors.
- Parameters:
-
colors | The new series colors object. |
Sets the axes corner for the series.
- Parameters:
-
axes | The new axes corner for the series. |
Definition at line 139 of file vtkQtChartSeriesOptions.h.
QSizeF vtkQtChartSeriesOptions::getMarkerSize |
( |
| ) |
const |
|
inline |
Gets the marker size for the series.
- Returns:
- A reference to the series marker size.
Definition at line 165 of file vtkQtChartSeriesOptions.h.
void vtkQtChartSeriesOptions::setMarkerSize |
( |
const QSizeF & |
size | ) |
|
|
inline |
QString vtkQtChartSeriesOptions::getLabel |
( |
| ) |
const |
|
inline |
Gets the label for this series, if any.
If an empty string is returned, the default, then the name of the series is used as the label.
Definition at line 177 of file vtkQtChartSeriesOptions.h.
void vtkQtChartSeriesOptions::setLabel |
( |
const QString & |
label | ) |
|
|
inline |
void vtkQtChartSeriesOptions::setGenericOption |
( |
OptionType |
type, |
|
|
const QVariant & |
value |
|
) |
| |
Sets the option using generic API.
QVariant vtkQtChartSeriesOptions::getGenericOption |
( |
OptionType |
type | ) |
const |
Gets the option using generic API.
void vtkQtChartSeriesOptions::setDefaultOption |
( |
OptionType |
type, |
|
|
const QVariant & |
value |
|
) |
| |
void vtkQtChartSeriesOptions::dataChanged |
( |
int |
type, |
|
|
const QVariant & |
newValue, |
|
|
const QVariant & |
oldValue |
|
) |
| |
|
signal |
Emitted whenever any of the options change.
- Parameters:
-
type | Type of the option that was changed. |
newValue | The new value for the option. |
oldValue | The previous value for the option, if any. |
The documentation for this class was generated from the following file: