 |
KD Chart 2
[rev.2.7]
|
Go to the documentation of this file.
25 #include <KDABLibFakes>
34 class ValueTrackerAttributes::Private
50 ValueTrackerAttributes::Private::Private()
51 : linePen( QPen( QColor( 80, 80, 80, 200 ) ) ),
52 markerSize( QSizeF( 6.0, 6.0 ) ),
54 areaBrush( QBrush() ),
55 orientations(Qt::Vertical|Qt::Horizontal)
58 arrowBrush = linePen.color();
62 ValueTrackerAttributes::ValueTrackerAttributes()
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 setAreaBrush(const QBrush &brush)
Set the brush the area below the value tracking lines should be filled with.
void setMarkerSize(const QSizeF &size)
Set the size of the markers.
Qt::Orientations orientations() const
QBrush arrowBrush() const
QBrush markerBrush() const
QDebug operator<<(QDebug stream, const DataDimension &r)
void setOrientations(Qt::Orientations orientations)
Set the orientations used to show the value tracking.
void setLinePen(const QPen &pen)
void setPen(const QPen &pen)
Set the pen the value tracking lines and markers will be drawn with.
Cell-specific attributes regarding value tracking.
~ValueTrackerAttributes()
void setMarkerBrush(const QBrush &brush)
ValueTrackerAttributes & operator=(const ValueTrackerAttributes &)
void setEnabled(bool enabled)
Set whether value tracking should be enabled for a specific index or not.
bool operator==(const ValueTrackerAttributes &) const
void setArrowBrush(const QBrush &brush)
void setMarkerPen(const QPen &pen)
QSizeF markerSize() const