KChart
KChartPosition.h
36 * For each piece (slice/bar, etc.) of a chart for example, you can specify the position of the value
40 * \image html position-alignments.png "Figure 1: Different interpretations of KChart::Position within KChart"
110 static QStringList printableNames( Options options = Options(IncludeCenter | IncludeFloating) );
124inline bool Position::operator!=( const Position & other ) const { return !operator==( other ); }
Definition of global enums.
Contains KChart macros.
PositionValue
Numerical values of the static KChart::Position instances, for using a Position::value() with a switc...
Definition KChartEnums.h:180
QString printableName() const
Returns a translated string, corresponding to this Position.
Definition KChartPosition.cpp:175
KChartEnums::PositionValue value() const
Returns an integer value corresponding to this Position.
Definition KChartPosition.cpp:111
static QList< QByteArray > names(Options options=Options(IncludeCenter|IncludeFloating))
Returns a list of all string, corresponding to the pre-defined positions.
Definition KChartPosition.cpp:188
static QStringList printableNames(Options options=Options(IncludeCenter|IncludeFloating))
Returns a list of all translated string, corresponding to the pre-defined positions.
Definition KChartPosition.cpp:205
const char * name() const
Returns a non-translated string in English language, corresponding to this Position.
Definition KChartPosition.cpp:167
bool isNull() const const
qreal x() const const
qreal y() const const
qreal bottom() const const
QPointF bottomLeft() const const
QPointF bottomRight() const const
QPointF center() const const
qreal left() const const
QRectF normalized() const const
qreal right() const const
qreal top() const const
QPointF topLeft() const const
QPointF topRight() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:24 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:24 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.