KChart
KChartTernaryAxis.cpp
Project global class providing some enums needed both by KChartParams and by KChartCustomBox.
Definition KChartEnums.h:27
PositionValue
Numerical values of the static KChart::Position instances, for using a Position::value() with a switc...
Definition KChartEnums.h:180
QStringList labels() const
Returns a list of strings, that are used as axis labels, as set via setLabels.
Definition KChartAbstractAxis.cpp:208
Base class for diagrams based on a ternary coordinate plane.
Definition KChartAbstractTernaryDiagram.h:24
KChartEnums::PositionValue value() const
Returns an integer value corresponding to this Position.
Definition KChartPosition.cpp:111
void paintAll(QPainter &) override
Call paintAll, if you want the background and the frame to be drawn before the normal paint() is invo...
Definition KChartTernaryAxis.cpp:48
void paintCtx(PaintContext *) override
Default impl: Paint the complete item using its layouted position and size.
Definition KChartTernaryAxis.cpp:58
const QPointF translate(const QPointF &diagramPoint) const override
Translate the given point in value space coordinates to a position in pixel space.
Definition KChartTernaryCoordinatePlane.cpp:123
void setPosition(const QPointF &position)
Set the position of the element.
Definition KChartTextLabelCache.cpp:42
void setReferencePoint(KChartEnums::PositionValue)
Set the reference point of the element.
Definition KChartTextLabelCache.cpp:52
PrerenderedLabel is an internal KChart class that simplifies creation and caching of cached text labe...
Definition KChartTextLabelCache.h:84
void setAngle(qreal angle)
Sets the angle of the label to angle degrees.
Definition KChartTextLabelCache.cpp:115
const QPixmap & pixmap() const override
Returns the rendered element.
Definition KChartTextLabelCache.cpp:126
QPointF referencePointLocation(KChartEnums::PositionValue position) const override
Return the location of the reference point relatively to the pixmap's origin.
Definition KChartTextLabelCache.cpp:244
void setText(const QString &text)
Sets the label's text to text.
Definition KChartTextLabelCache.cpp:93
qreal pointSizeF() const const
void setPointSizeF(qreal pointSize)
QString tr(const char *sourceText, const char *disambiguation, int n)
void drawPixmap(const QPoint &point, const QPixmap &pixmap)
int height() const const
int width() const const
qreal x() const const
qreal y() const const
bool isEmpty() const const
typedef Orientations
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.