39 CenteredTickmarks = 1 << 1,
40 ClampedLabels = 1 << 2
44 Q_DECLARE_FLAGS( Flags, Flag )
49 void setEdge( Qt::Edge );
50 Qt::Edge edge()
const;
52 void setFlags( Flags );
55 void setFlag( Flag,
bool );
58 void setBoundaries( qreal lowerBound, qreal upperBound );
63 qreal position()
const;
64 void setPosition( qreal );
66 void setRange( qreal from, qreal to );
73 void setSpacing( qreal );
74 qreal spacing()
const;
76 void setTickColor(
const QColor& );
77 QColor tickColor()
const;
82 void setFont(
const QFont& );
93 virtual QVariant labelAt( qreal pos )
const;
94 QSizeF boundingLabelSize()
const;
97 virtual QSGNode* updateTicksNode(
const QTransform&, QSGNode* )
const;
99 virtual QSGNode* updateLabelsNode(
100 const QskSkinnable*,
const QTransform&, QSGNode* )
const;
105 QRectF labelRect(
const QTransform&, qreal,
const QSizeF& )
const;
108 QSGNode*,
const QVariant&,
const QRectF& )
const;
111 std::unique_ptr< PrivateData > m_data;