KD Chart 2
[rev.2.7]
|
Cell-specific attributes regarding value tracking. More...
#include <KDChartValueTrackerAttributes>
Public Member Functions | |
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) |
Set the brush the area below the value tracking lines should be filled with. More... | |
void | setArrowBrush (const QBrush &brush) |
void | setEnabled (bool enabled) |
Set whether value tracking should be enabled for a specific index or not. More... | |
void | setLinePen (const QPen &pen) |
void | setMarkerBrush (const QBrush &brush) |
void | setMarkerPen (const QPen &pen) |
void | setMarkerSize (const QSizeF &size) |
Set the size of the markers. More... | |
void | setOrientations (Qt::Orientations orientations) |
Set the orientations used to show the value tracking. More... | |
void | setPen (const QPen &pen) |
Set the pen the value tracking lines and markers will be drawn with. More... | |
ValueTrackerAttributes () | |
ValueTrackerAttributes (const 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 62 of file KDChartValueTrackerAttributes.cpp.
ValueTrackerAttributes::ValueTrackerAttributes | ( | const ValueTrackerAttributes & | r | ) |
Definition at line 67 of file KDChartValueTrackerAttributes.cpp.
ValueTrackerAttributes::~ValueTrackerAttributes | ( | ) |
Definition at line 82 of file KDChartValueTrackerAttributes.cpp.
QBrush ValueTrackerAttributes::areaBrush | ( | ) | const |
Definition at line 157 of file KDChartValueTrackerAttributes.cpp.
References d.
Referenced by operator==(), and KDChart::PaintingHelpers::paintValueTracker().
QBrush ValueTrackerAttributes::arrowBrush | ( | ) | const |
Definition at line 147 of file KDChartValueTrackerAttributes.cpp.
References d.
Referenced by operator<<(), operator==(), and KDChart::PaintingHelpers::paintValueTracker().
bool ValueTrackerAttributes::isEnabled | ( | ) | const |
Definition at line 187 of file KDChartValueTrackerAttributes.cpp.
References d.
Referenced by operator<<(), operator==(), and KDChart::PaintingHelpers::paintElements().
QPen ValueTrackerAttributes::linePen | ( | ) | const |
Definition at line 117 of file KDChartValueTrackerAttributes.cpp.
References d.
Referenced by operator<<(), operator==(), and KDChart::PaintingHelpers::paintValueTracker().
QBrush ValueTrackerAttributes::markerBrush | ( | ) | const |
Definition at line 137 of file KDChartValueTrackerAttributes.cpp.
References d.
Referenced by operator<<(), operator==(), and KDChart::PaintingHelpers::paintValueTracker().
QPen ValueTrackerAttributes::markerPen | ( | ) | const |
Definition at line 127 of file KDChartValueTrackerAttributes.cpp.
References d.
Referenced by operator<<(), operator==(), and KDChart::PaintingHelpers::paintValueTracker().
QSizeF ValueTrackerAttributes::markerSize | ( | ) | const |
Definition at line 167 of file KDChartValueTrackerAttributes.cpp.
References d.
Referenced by operator<<(), operator==(), and KDChart::PaintingHelpers::paintValueTracker().
bool KDChart::ValueTrackerAttributes::operator!= | ( | const ValueTrackerAttributes & | other | ) | const |
Definition at line 119 of file KDChartValueTrackerAttributes.h.
References KDCHART_DECLARE_PRIVATE_BASE_VALUE, KDCHART_DECLARE_SWAP_SPECIALISATION, KDChart::operator<<(), KDGantt::operator==(), and Q_DECLARE_TYPEINFO().
ValueTrackerAttributes & ValueTrackerAttributes::operator= | ( | const ValueTrackerAttributes & | r | ) |
Definition at line 72 of file KDChartValueTrackerAttributes.cpp.
References d.
bool ValueTrackerAttributes::operator== | ( | const ValueTrackerAttributes & | r | ) | const |
Definition at line 88 of file KDChartValueTrackerAttributes.cpp.
References areaBrush(), arrowBrush(), isEnabled(), linePen(), markerBrush(), markerPen(), and markerSize().
Qt::Orientations ValueTrackerAttributes::orientations | ( | ) | const |
Definition at line 172 of file KDChartValueTrackerAttributes.cpp.
References d.
Referenced by KDChart::PaintingHelpers::paintValueTracker(), and setOrientations().
QPen ValueTrackerAttributes::pen | ( | ) | const |
Definition at line 107 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 152 of file KDChartValueTrackerAttributes.cpp.
References d.
void ValueTrackerAttributes::setArrowBrush | ( | const QBrush & | brush | ) |
Definition at line 142 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 182 of file KDChartValueTrackerAttributes.cpp.
References d.
void ValueTrackerAttributes::setLinePen | ( | const QPen & | pen | ) |
Definition at line 112 of file KDChartValueTrackerAttributes.cpp.
void ValueTrackerAttributes::setMarkerBrush | ( | const QBrush & | brush | ) |
Definition at line 132 of file KDChartValueTrackerAttributes.cpp.
References d.
void ValueTrackerAttributes::setMarkerPen | ( | const QPen & | pen | ) |
Definition at line 122 of file KDChartValueTrackerAttributes.cpp.
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 162 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 177 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 99 of file KDChartValueTrackerAttributes.cpp.