KChart
KChartMeasure.cpp
Project global class providing some enums needed both by KChartParams and by KChartCustomBox.
Definition: KChartEnums.h:26
qreal height() const const
const QObject * referenceArea() const
The returned reference area will be derived from AbstractArea or QWidget or both.
Definition: KChartMeasure.h:90
Class only listed here to document inheritance of some KChart classes.
QDataStream & operator<<(QDataStream &out, const KDateTime &dateTime)
qreal 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 derive...
Definition: KChartMeasure.cpp:121
Declaring the class KChart::Measure.
MeasureCalculationMode
Measure calculation mode: the way how the absolute value of a KChart::Measure is determined during KC...
Definition: KChartEnums.h:211
Cartesian coordinate plane.
Definition: KChartCartesianCoordinatePlane.h:25
static void setPaintDevice(QPaintDevice *paintDevice)
Set the paint device to use for calculating font metrics.
Definition: KChartMeasure.cpp:206
T & top()
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
MeasureOrientation
Measure orientation mode: the way how the absolute value of a KChart::Measure is determined during KC...
Definition: KChartEnums.h:282
T pop()
Measure is used to specify relative and absolute sizes in KChart, e.g. font sizes.
Definition: KChartMeasure.h:37
void push(const T &t)
static void setFactors(qreal factorX, qreal factorY)
Set new factors to be used by all Measure objects from now on.
Definition: KChartMeasure.cpp:189
static QPaintDevice * paintDevice()
Return the paint device to use for calculating font metrics.
Definition: KChartMeasure.cpp:211
QSizeF size() const const
geometry
QRectF visibleDiagramArea() const
Returns the visible part of the diagram area, i.e.
Definition: KChartCartesianCoordinatePlane.cpp:349
qreal width() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Dec 5 2023 04:00:04 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Dec 5 2023 04:00:04 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.