![]() |
KD Chart API Documentation
3.1
|
Cell-specific attributes regarding value tracking. More...
#include <KDChartValueTrackerAttributes>
Public Member Functions | |
ValueTrackerAttributes () | |
ValueTrackerAttributes (const ValueTrackerAttributes &) | |
~ValueTrackerAttributes () | |
QBrush | areaBrush () const |
QBrush | arrowBrush () const |
bool | isEnabled () const |
QPen | linePen () const |
QBrush | markerBrush () const |
QPen | markerPen () const |
QSizeF | markerSize () const |
bool | operator!= (const ValueTrackerAttributes &other) const |
ValueTrackerAttributes & | operator= (const ValueTrackerAttributes &) |
bool | operator== (const ValueTrackerAttributes &) const |
Qt::Orientations | orientations () const |
QPen | pen () const |
void | setAreaBrush (const QBrush &brush) |
void | setArrowBrush (const QBrush &brush) |
void | setEnabled (bool enabled) |
void | setLinePen (const QPen &pen) |
void | setMarkerBrush (const QBrush &brush) |
void | setMarkerPen (const QPen &pen) |
void | setMarkerSize (const QSizeF &size) |
void | setOrientations (Qt::Orientations orientations) |
void | setPen (const QPen &pen) |
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 30 of file KDChartValueTrackerAttributes.h.
ValueTrackerAttributes::ValueTrackerAttributes | ( | ) |
Definition at line 50 of file KDChartValueTrackerAttributes.cpp.
ValueTrackerAttributes::ValueTrackerAttributes | ( | const ValueTrackerAttributes & | r | ) |
Definition at line 55 of file KDChartValueTrackerAttributes.cpp.
ValueTrackerAttributes::~ValueTrackerAttributes | ( | ) |
Definition at line 70 of file KDChartValueTrackerAttributes.cpp.
QBrush ValueTrackerAttributes::areaBrush | ( | ) | const |
Definition at line 139 of file KDChartValueTrackerAttributes.cpp.
References d.
Referenced by operator==().
QBrush ValueTrackerAttributes::arrowBrush | ( | ) | const |
Definition at line 129 of file KDChartValueTrackerAttributes.cpp.
References d.
Referenced by operator<<(), and operator==().
bool ValueTrackerAttributes::isEnabled | ( | ) | const |
Definition at line 169 of file KDChartValueTrackerAttributes.cpp.
References d.
Referenced by operator<<(), and operator==().
QPen ValueTrackerAttributes::linePen | ( | ) | const |
Definition at line 99 of file KDChartValueTrackerAttributes.cpp.
References d.
Referenced by operator<<(), and operator==().
QBrush ValueTrackerAttributes::markerBrush | ( | ) | const |
Definition at line 119 of file KDChartValueTrackerAttributes.cpp.
References d.
Referenced by operator<<(), and operator==().
QPen ValueTrackerAttributes::markerPen | ( | ) | const |
Definition at line 109 of file KDChartValueTrackerAttributes.cpp.
References d.
Referenced by operator<<(), and operator==().
QSizeF ValueTrackerAttributes::markerSize | ( | ) | const |
Definition at line 149 of file KDChartValueTrackerAttributes.cpp.
References d.
Referenced by operator<<(), and operator==().
|
inline |
Definition at line 107 of file KDChartValueTrackerAttributes.h.
References KDChart::operator==().
ValueTrackerAttributes & ValueTrackerAttributes::operator= | ( | const ValueTrackerAttributes & | r | ) |
Definition at line 60 of file KDChartValueTrackerAttributes.cpp.
References d.
bool ValueTrackerAttributes::operator== | ( | const ValueTrackerAttributes & | r | ) | const |
Definition at line 76 of file KDChartValueTrackerAttributes.cpp.
References areaBrush(), arrowBrush(), isEnabled(), linePen(), markerBrush(), markerPen(), and markerSize().
Qt::Orientations ValueTrackerAttributes::orientations | ( | ) | const |
Definition at line 154 of file KDChartValueTrackerAttributes.cpp.
References d.
Referenced by setOrientations().
QPen ValueTrackerAttributes::pen | ( | ) | const |
Definition at line 89 of file KDChartValueTrackerAttributes.cpp.
References d.
Referenced by setLinePen(), setMarkerPen(), and setPen().
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 134 of file KDChartValueTrackerAttributes.cpp.
References d.
void ValueTrackerAttributes::setArrowBrush | ( | const QBrush & | brush | ) |
Definition at line 124 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 164 of file KDChartValueTrackerAttributes.cpp.
References d.
void ValueTrackerAttributes::setLinePen | ( | const QPen & | pen | ) |
Definition at line 94 of file KDChartValueTrackerAttributes.cpp.
void ValueTrackerAttributes::setMarkerBrush | ( | const QBrush & | brush | ) |
Definition at line 114 of file KDChartValueTrackerAttributes.cpp.
References d.
void ValueTrackerAttributes::setMarkerPen | ( | const QPen & | pen | ) |
Definition at line 104 of file KDChartValueTrackerAttributes.cpp.
void ValueTrackerAttributes::setMarkerSize | ( | const QSizeF & | size | ) |
Set the size of the markers. This includes both the arrows at the axes and the circle at the data point.
size | The size of the markers |
Definition at line 144 of file KDChartValueTrackerAttributes.cpp.
References d.
void ValueTrackerAttributes::setOrientations | ( | Qt::Orientations | orientations | ) |
Set the orientations used to show the value tracking.
orientations | The orientations of the value tracking lines. |
Definition at line 159 of file KDChartValueTrackerAttributes.cpp.
References d, and orientations().
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 81 of file KDChartValueTrackerAttributes.cpp.