KChart
KChartMeasure.h
Go to the documentation of this file.
92 void setReferenceOrientation( KChartEnums::MeasureOrientation orientation ) { mOrientation = orientation; }
99 qreal calculatedValue( const QObject * autoArea, KChartEnums::MeasureOrientation autoOrientation ) const;
100 qreal calculatedValue( const QSizeF& autoSize, KChartEnums::MeasureOrientation autoOrientation ) const;
Definition of global enums.
Contains KChart macros.
MeasureCalculationMode
Measure calculation mode: the way how the absolute value of a KChart::Measure is determined during KC...
Definition KChartEnums.h:211
MeasureOrientation
Measure orientation mode: the way how the absolute value of a KChart::Measure is determined during KC...
Definition KChartEnums.h:282
Auxiliary class used by the KChart::Measure and KChart::Chart class.
Definition KChartMeasure.h:127
static const QPair< qreal, qreal > currentFactors()
Return the currently active factors.
Definition KChartMeasure.cpp:201
static void resetFactors()
Restore factors to the values before the previous call to setFactors.
Definition KChartMeasure.cpp:194
static QPaintDevice * paintDevice()
Return the paint device to use for calculating font metrics.
Definition KChartMeasure.cpp:211
static void setPaintDevice(QPaintDevice *paintDevice)
Set the paint device to use for calculating font metrics.
Definition KChartMeasure.cpp:206
static void setFactors(qreal factorX, qreal factorY)
Set new factors to be used by all Measure objects from now on.
Definition KChartMeasure.cpp:189
Measure is used to specify relative and absolute sizes in KChart, e.g.
Definition KChartMeasure.h:38
const QObject * referenceArea() const
The returned reference area will be derived from AbstractArea or QWidget or both.
Definition KChartMeasure.h:90
void setRelativeMode(const QObject *area, KChartEnums::MeasureOrientation orientation)
The reference area must either be derived from AbstractArea or from QWidget, so it can also be derive...
Definition KChartMeasure.h:57
void setReferenceArea(const QObject *area)
The reference area must either be derived from AbstractArea or from QWidget, so it can also be derive...
Definition KChartMeasure.h:85
KIOCORE_EXPORT bool operator!=(const UDSEntry &entry, const UDSEntry &other)
bool operator==(const StyleDelim &l, const StyleDelim &r)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:02:35 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:02:35 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.