KChart::Measure
#include <KChartMeasure>
Detailed Description
Measure is used to specify relative and absolute sizes in KChart, e.g.
font sizes.
Definition at line 37 of file KChartMeasure.h.
Constructor & Destructor Documentation
◆ Measure() [1/3]
KChart::Measure::Measure | ( | ) |
Definition at line 23 of file KChartMeasure.cpp.
◆ Measure() [2/3]
KChart::Measure::Measure | ( | qreal | value, |
KChartEnums::MeasureCalculationMode | mode = KChartEnums::MeasureCalculationModeAuto, | ||
KChartEnums::MeasureOrientation | orientation = KChartEnums::MeasureOrientationAuto ) |
Definition at line 32 of file KChartMeasure.cpp.
◆ Measure() [3/3]
KChart::Measure::Measure | ( | const Measure & | r | ) |
Definition at line 43 of file KChartMeasure.cpp.
Member Function Documentation
◆ calculatedValue() [1/2]
qreal KChart::Measure::calculatedValue | ( | const QObject * | autoArea, |
KChartEnums::MeasureOrientation | autoOrientation ) const |
The reference area must either be derived from AbstractArea or from QWidget, so it can also be derived from AbstractAreaWidget.
Definition at line 121 of file KChartMeasure.cpp.
◆ calculatedValue() [2/2]
qreal KChart::Measure::calculatedValue | ( | const QSizeF & | autoSize, |
KChartEnums::MeasureOrientation | autoOrientation ) const |
Definition at line 65 of file KChartMeasure.cpp.
◆ calculationMode()
|
inline |
Definition at line 51 of file KChartMeasure.h.
◆ operator!=()
|
inline |
Definition at line 104 of file KChartMeasure.h.
◆ operator=()
Definition at line 52 of file KChartMeasure.cpp.
◆ operator==()
bool KChart::Measure::operator== | ( | const Measure & | r | ) | const |
Definition at line 164 of file KChartMeasure.cpp.
◆ referenceArea()
|
inline |
The returned reference area will be derived from AbstractArea or QWidget or both.
Definition at line 90 of file KChartMeasure.h.
◆ referenceOrientation()
|
inline |
Definition at line 93 of file KChartMeasure.h.
◆ setAbsoluteValue()
|
inline |
\brief This is a convenience method for specifying a value, implicitly setting the calculation mode to MeasureCalculationModeAbsolute. Calling setAbsoluteValue( value ) is the same as calling
setValue( value ); setCalculationMode( KChartEnums::MeasureCalculationModeAbsolute );
Definition at line 75 of file KChartMeasure.h.
◆ setCalculationMode()
|
inline |
Definition at line 50 of file KChartMeasure.h.
◆ setReferenceArea()
|
inline |
The reference area must either be derived from AbstractArea or from QWidget, so it can also be derived from AbstractAreaWidget.
Definition at line 85 of file KChartMeasure.h.
◆ setReferenceOrientation()
|
inline |
Definition at line 92 of file KChartMeasure.h.
◆ setRelativeMode()
|
inline |
The reference area must either be derived from AbstractArea or from QWidget, so it can also be derived from AbstractAreaWidget.
Definition at line 57 of file KChartMeasure.h.
◆ setValue()
|
inline |
Definition at line 47 of file KChartMeasure.h.
◆ sizeOfArea()
Definition at line 128 of file KChartMeasure.cpp.
◆ value()
|
inline |
Definition at line 48 of file KChartMeasure.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.