4 #include <QGraphicsItem>
7 class AxisItem
: public QGraphicsItem
12 AxisItem(Type type
, QGraphicsItem
*parent
= 0);
14 QRectF
boundingRect() const {return _boundingRect
;}
15 void paint(QPainter
*painter
, const QStyleOptionGraphicsItem
*option
,
18 void setRange(const RangeF
&range
);
19 void setSize(qreal size
);
20 void setLabel(const QString
& label
);
22 QSizeF
margin() const;
23 QList
<qreal
> ticks() const;
26 void updateBoundingRect();