24 #ifndef _vtkQtChartSeriesOptions_h
25 #define _vtkQtChartSeriesOptions_h
27 #include "vtkQtChartExport.h"
59 NUMBER_OF_OPTION_TYPES
77 {
return this->getGenericOption(VISIBLE).toBool(); }
83 { this->setGenericOption(VISIBLE, visible); }
90 {
return this->getGenericOption(PEN).value<QPen>(); }
96 {
return this->setGenericOption(PEN, pen); }
103 {
return this->getGenericOption(BRUSH).value<QBrush>(); }
109 { this->setGenericOption(BRUSH, brush); }
133 this->getGenericOption(AXES_CORNER).value<
int>());
140 { this->setGenericOption(AXES_CORNER, axes); }
150 this->getGenericOption(MARKER_STYLE).value<
int>());
158 this->setGenericOption(MARKER_STYLE, style);
166 {
return this->getGenericOption(MARKER_SIZE).value<QSizeF>(); }
172 { this->setGenericOption(MARKER_SIZE, size); }
178 {
return this->getGenericOption(LABEL).toString(); }
181 { this->setGenericOption(LABEL, label); }
185 void setGenericOption(OptionType
type,
const QVariant&
value);
189 QVariant getGenericOption(OptionType
type)
const;
193 void setDefaultOption(OptionType
type,
const QVariant&
value);
201 void dataChanged(
int type,
202 const QVariant& newValue,
const QVariant& oldValue);
205 QMap<OptionType, QVariant> Data;
206 QMap<OptionType, QVariant> Defaults;
208 void InitializeDefaults();