Cell-specific attributes regarding value tracking. More...
#include <KDChartValueTrackerAttributes>
Public Member Functions | |
QBrush | areaBrush () const |
bool | isEnabled () const |
QSizeF | markerSize () const |
bool | operator!= (const ValueTrackerAttributes &other) const |
ValueTrackerAttributes & | operator= (const ValueTrackerAttributes &) |
bool | operator== (const ValueTrackerAttributes &) const |
QPen | pen () const |
void | setAreaBrush (const QBrush &brush) |
Set the brush the area below the value tracking lines should be filled with. | |
void | setEnabled (bool enabled) |
Set whether value tracking should be enabled for a specific index or not. | |
void | setMarkerSize (const QSizeF &size) |
Set the size of the markers. | |
void | setPen (const QPen &pen) |
Set the pen the value tracking lines and markers will be drawn with. | |
ValueTrackerAttributes (const ValueTrackerAttributes &) | |
ValueTrackerAttributes () | |
~ValueTrackerAttributes () |
Cell-specific attributes regarding value tracking.
ValueTrackerAttributes groups the properties regarding value tracking, and how it is displayed. Value tracking can be used to emphasize on one or several specific points in a line diagram.
Definition at line 42 of file KDChartValueTrackerAttributes.h.
ValueTrackerAttributes::ValueTrackerAttributes | ( | ) |
Definition at line 55 of file KDChartValueTrackerAttributes.cpp.
ValueTrackerAttributes::ValueTrackerAttributes | ( | const ValueTrackerAttributes & | r | ) |
Definition at line 60 of file KDChartValueTrackerAttributes.cpp.
ValueTrackerAttributes::~ValueTrackerAttributes | ( | ) |
Definition at line 75 of file KDChartValueTrackerAttributes.cpp.
QBrush ValueTrackerAttributes::areaBrush | ( | ) | const |
Definition at line 104 of file KDChartValueTrackerAttributes.cpp.
References d.
Referenced by operator==().
bool ValueTrackerAttributes::isEnabled | ( | ) | const |
Definition at line 124 of file KDChartValueTrackerAttributes.cpp.
References d.
Referenced by operator<<(), and operator==().
QSizeF ValueTrackerAttributes::markerSize | ( | ) | const |
Definition at line 114 of file KDChartValueTrackerAttributes.cpp.
References d.
Referenced by operator<<(), and operator==().
bool KDChart::ValueTrackerAttributes::operator!= | ( | const ValueTrackerAttributes & | other | ) | const |
Definition at line 96 of file KDChartValueTrackerAttributes.h.
References KDGantt::operator==().
ValueTrackerAttributes & ValueTrackerAttributes::operator= | ( | const ValueTrackerAttributes & | r | ) |
Definition at line 65 of file KDChartValueTrackerAttributes.cpp.
References d.
bool ValueTrackerAttributes::operator== | ( | const ValueTrackerAttributes & | r | ) | const |
Definition at line 81 of file KDChartValueTrackerAttributes.cpp.
References areaBrush(), isEnabled(), markerSize(), and pen().
QPen ValueTrackerAttributes::pen | ( | ) | const |
Definition at line 94 of file KDChartValueTrackerAttributes.cpp.
References d.
Referenced by operator<<(), and operator==().
void ValueTrackerAttributes::setAreaBrush | ( | const QBrush & | brush | ) |
Set the brush the area below the value tracking lines should be filled with.
Default is a black brush with the style Qt::NoBrush.
brush | The brush the area should be filled with |
Definition at line 99 of file KDChartValueTrackerAttributes.cpp.
References d.
void ValueTrackerAttributes::setEnabled | ( | bool | enabled | ) |
Set whether value tracking should be enabled for a specific index or not.
enabled | Whether value tracking should be enabled or not |
Definition at line 119 of file KDChartValueTrackerAttributes.cpp.
References d.
void ValueTrackerAttributes::setMarkerSize | ( | const QSizeF & | size | ) |
Set the size of the markers.
This includes both the arrows at the axises and the circle at the data point.
size | The size of the markers |
Definition at line 109 of file KDChartValueTrackerAttributes.cpp.
References d.
void ValueTrackerAttributes::setPen | ( | const QPen & | pen | ) |
Set the pen the value tracking lines and markers will be drawn with.
pen | The pen the lines and markers will be drawn with |
Definition at line 89 of file KDChartValueTrackerAttributes.cpp.
References d.