27 #include <QPainterPath> 32 #include <KDABLibFakes> 36 class MarkerAttributes::Private
38 friend class ::KDChart::MarkerAttributes;
52 MarkerAttributes::Private::Private()
57 markerPen( Qt::black )
69 : _d( new Private( *r._d ) )
114 d->visible = visible;
134 d->markerStylesMap = map;
139 return d->markerStylesMap;
144 d->markerStyle = style;
149 return d->markerStyle;
154 d->markerSize = size;
159 return d->markerSize;
164 d->markerColor = color;
169 return d->markerColor;
174 d->customMarkerPath = path;
179 return d->customMarkerPath;
194 #ifndef QT_NO_DEBUG_STREAM 196 return dbg <<
"KDChart::MarkerAttributes(" 202 <<
"pen=" << ma.
pen()
void setVisible(bool visible)
void setMarkerSize(const QSizeF &size)
Normally you need to specify a valid QSizeF here, but for Legends you can use the invalid size QSizeF...
MarkerStylesMap markerStylesMap() const
void setThreeD(bool value)
QPainterPath customMarkerPath() const
void setMarkerStylesMap(const MarkerStylesMap &map)
void setMarkerStyle(uint style)
Set the marker-style to use.
QColor markerColor() const
void setCustomMarkerPath(const QPainterPath &path)
MarkerAttributes & operator=(const MarkerAttributes &)
QSizeF markerSize() const
void setMarkerColor(const QColor &color)
A set of attributes controlling the appearance of data set markers.
bool operator==(const MarkerAttributes &) const
void setPen(const QPen &pen)
QDebug operator<<(QDebug stream, const DataDimension &r)