23 #ifndef KDCHARTMEASURE_H 24 #define KDCHARTMEASURE_H 62 qreal
value()
const {
return mValue; }
76 mOrientation = orientation;
115 const QSizeF sizeOfArea(
const QObject* area )
const;
153 static void setFactors(qreal factorX, qreal factorY);
159 static void resetFactors();
169 static void setPaintDevice(
QPaintDevice* paintDevice );
177 QStack< QPair< qreal, qreal > > mFactors;
183 #if !defined(QT_NO_DEBUG_STREAM) 187 #endif // KDCHARTMEASURE_H MeasureOrientation
Measure orientation mode: the way how the absolute value of a KDChart::Measure is determined during K...
bool operator==(const Span &s1, const Span &s2)
void setReferenceOrientation(KDChartEnums::MeasureOrientation orientation)
Auxiliary class used by the KDChart::Measure and KDChart::Chart class.
Definition of global enums.
bool operator!=(const Measure &other) const
KDChartEnums::MeasureOrientation referenceOrientation() const
const QObject * referenceArea() const
The returned reference area will be derived from AbstractArea or QWidget or both. ...
void setAbsoluteValue(qreal val)
This is a convenience method for specifying a value, implicitly setting the calculation mode to Measu...
void setReferenceArea(const QObject *area)
The reference area must either be derived from AbstractArea or from QWidget, so it can also be derive...
MeasureCalculationMode
Measure calculation mode: the way how the absolute value of a KDChart::Measure is determined during K...
void setRelativeMode(const QObject *area, KDChartEnums::MeasureOrientation orientation)
The reference area must either be derived from AbstractArea or from QWidget, so it can also be derive...
KDChartEnums::MeasureCalculationMode calculationMode() const
Measure is used to specify relative and absolute sizes in KDChart, e.g.
Class only listed here to document inheritance of some KDChart classes.
QDebug operator<<(QDebug stream, const DataDimension &r)
void setCalculationMode(KDChartEnums::MeasureCalculationMode mode)