KChart
KChartTextAttributes.h
Contains KChart macros.
Declaring the class KChart::Measure.
MeasureOrientation
Measure orientation mode: the way how the absolute value of a KChart::Measure is determined during KC...
Definition KChartEnums.h:282
Measure is used to specify relative and absolute sizes in KChart, e.g.
Definition KChartMeasure.h:38
bool hasAbsoluteFontSize() const
Definition KChartTextAttributes.cpp:146
void setFontSize(const Measure &measure)
Set the size of the font used for rendering text.
Definition KChartTextAttributes.cpp:126
void setAutoRotate(bool autoRotate)
Set whether the text should be automatically rotated as needed when space is tight.
Definition KChartTextAttributes.cpp:200
void setVisible(bool visible)
Set whether the text is to be rendered at all.
Definition KChartTextAttributes.cpp:104
void setMinimalFontSize(const Measure &measure)
Set the minimal size of the font used for rendering text.
Definition KChartTextAttributes.cpp:136
qreal calculatedFontSize(const QSizeF &referenceSize, KChartEnums::MeasureOrientation autoReferenceOrientation) const
Returns the font size that is used at drawing time.
Definition KChartTextAttributes.cpp:152
void setPen(const QPen &pen)
Set the pen to use for rendering the text.
Definition KChartTextAttributes.cpp:242
Measure minimalFontSize() const
Definition KChartTextAttributes.cpp:141
void setTextDocument(QTextDocument *layout)
Sets the document to use for the text.
Definition KChartTextAttributes.cpp:257
void setFont(const QFont &font)
Set the font to be used for rendering the text.
Definition KChartTextAttributes.cpp:114
QTextDocument * textDocument() const
Definition KChartTextAttributes.cpp:252
void setAutoShrink(bool autoShrink)
Set whether the text should automatically be shrunk if space is tight.
Definition KChartTextAttributes.cpp:210
void setRotation(int rotation)
Set the rotation angle to use for the text.
Definition KChartTextAttributes.cpp:220
const QFont calculatedFont(const QObject *autoReferenceArea, KChartEnums::MeasureOrientation autoReferenceOrientation) const
Returns the font in the size that is used at drawing time.
Definition KChartTextAttributes.cpp:171
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 14 2025 11:51:23 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 14 2025 11:51:23 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.