KDChart::ValueTrackerAttributes Class Reference

Cell-specific attributes regarding value tracking. More...

#include <KDChartValueTrackerAttributes>

List of all members.

Public Member Functions

QBrush areaBrush () const
bool isEnabled () const
QSizeF markerSize () const
bool operator!= (const ValueTrackerAttributes &other) const
ValueTrackerAttributesoperator= (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 ()

Detailed Description

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.


Constructor & Destructor Documentation

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.


Member Function Documentation

QBrush ValueTrackerAttributes::areaBrush (  )  const
Returns:
The brush the area below the value tracking lines is filled with

Definition at line 104 of file KDChartValueTrackerAttributes.cpp.

References d.

Referenced by operator==().

bool ValueTrackerAttributes::isEnabled (  )  const
Returns:
Whether value tracking is enabled or not

Definition at line 124 of file KDChartValueTrackerAttributes.cpp.

References d.

Referenced by operator<<(), and operator==().

QSizeF ValueTrackerAttributes::markerSize (  )  const
Returns:
The size of the markers

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
Returns:
The pen the lines and markers are drawn with

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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
pen The pen the lines and markers will be drawn with

Definition at line 89 of file KDChartValueTrackerAttributes.cpp.

References d.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines

Klarälvdalens Datakonsult AB (KDAB)
Qt-related services and products
http://www.kdab.com/
http://www.kdab.com/products/kd-chart/