11 #ifndef KDCHARTRELATIVEPOSITION_H
12 #define KDCHARTRELATIVEPOSITION_H
70 void setReferenceArea(QObject *area);
71 QObject *referenceArea()
const;
100 void setReferencePosition(
Position position);
112 void resetReferencePosition();
126 void setAlignment(Qt::Alignment flags);
127 Qt::Alignment alignment()
const;
141 void setHorizontalPadding(
const Measure &padding);
142 Measure horizontalPadding()
const;
156 void setVerticalPadding(
const Measure &padding);
157 Measure verticalPadding()
const;
159 void setRotation(qreal rot);
160 qreal rotation()
const;
174 const QPointF referencePoint(qreal *polarDegrees =
nullptr)
const;
186 const QPointF calculatedPoint(
const QSizeF &autoSize)
const;
201 #if !defined(QT_NO_DEBUG_STREAM)
#define KDCHART_DECLARE_SWAP_SPECIALISATION(X)
#define KDCHART_DECLARE_PRIVATE_BASE_VALUE(X)
QT_BEGIN_NAMESPACE Q_DECLARE_TYPEINFO(KDChart::RelativePosition, Q_MOVABLE_TYPE)
KDCHART_EXPORT QDebug operator<<(QDebug, const KDChart::RelativePosition &)
Measure is used to specify relative and absolute sizes in KDChart, e.g. font sizes.
Stores the absolute target points of a Position.
Defines a position, using compass terminology.
Defines relative position information: reference area, position in this area (reference position),...
bool operator==(const RelativePosition &) const
bool operator!=(const RelativePosition &other) const
bool operator==(const TickInfo &, const TickInfo &)
bool operator!=(const Span &s1, const Span &s2)