25 #include <KDABLibFakes> 34 class ValueTrackerAttributes::Private
50 ValueTrackerAttributes::Private::Private()
51 :
linePen( QPen( QColor( 80, 80, 80, 200 ) ) ),
68 : _d( new Private( *r.
d ) )
103 d->markerBrush = QBrush();
104 d->arrowBrush = pen.color();
134 d->markerBrush = brush;
139 return d->markerBrush;
144 d->arrowBrush = brush;
149 return d->arrowBrush;
154 d->areaBrush = brush;
164 d->markerSize = size;
169 return d->markerSize;
174 return d->orientations;
184 d->enabled = enabled;
192 #if !defined(QT_NO_DEBUG_STREAM) 195 dbg <<
"KDChart::ValueTrackerAttributes("
void setOrientations(Qt::Orientations orientations)
Set the orientations used to show the value tracking.
bool operator==(const ValueTrackerAttributes &) const
ValueTrackerAttributes & operator=(const ValueTrackerAttributes &)
QBrush markerBrush() const
~ValueTrackerAttributes()
void setAreaBrush(const QBrush &brush)
Set the brush the area below the value tracking lines should be filled with.
void setArrowBrush(const QBrush &brush)
void setMarkerBrush(const QBrush &brush)
void setMarkerPen(const QPen &pen)
Cell-specific attributes regarding value tracking.
Qt::Orientations orientations() const
QDebug operator<<(QDebug stream, const DataDimension &r)
void setMarkerSize(const QSizeF &size)
Set the size of the markers.
QBrush arrowBrush() const
QSizeF markerSize() const
void setLinePen(const QPen &pen)
void setEnabled(bool enabled)
Set whether value tracking should be enabled for a specific index or not.
void setPen(const QPen &pen)
Set the pen the value tracking lines and markers will be drawn with.