 |
KD Chart 2
[rev.2.7]
|
Go to the documentation of this file.
27 #include <QPainterPath>
32 #include <KDABLibFakes>
36 class MarkerAttributes::Private
38 friend class ::KDChart::MarkerAttributes;
52 MarkerAttributes::Private::Private()
55 markerStyle( MarkerSquare ),
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()
A set of attributes controlling the appearance of data set markers.
QPainterPath customMarkerPath() const
QSizeF markerSize() const
MarkerAttributes & operator=(const MarkerAttributes &)
void setThreeD(bool value)
void setMarkerColor(const QColor &color)
void setPen(const QPen &pen)
MarkerStylesMap markerStylesMap() const
void setMarkerStylesMap(const MarkerStylesMap &map)
QDebug operator<<(QDebug stream, const DataDimension &r)
void setMarkerStyle(uint style)
Set the marker-style to use.
void setCustomMarkerPath(const QPainterPath &path)
QColor markerColor() const
void setVisible(bool visible)
bool operator==(const MarkerAttributes &) const
void setMarkerSize(const QSizeF &size)
Normally you need to specify a valid QSizeF here, but for Legends you can use the invalid size QSizeF...