static QRect qwtItemRect(int renderFlags, const QRectF &rect, const QSizeF &itemSize)
virtual QRectF textRect(const QRectF &, const QSizeF &) const
Align the text label.
virtual ~QwtPlotTextLabel()
Destructor.
A class representing a text.
void setText(const QwtText &)
void invalidateCache()
Invalidate all internal cache.
void draw(QPainter *painter, const QRectF &rect) const
virtual int rtti() const QWT_OVERRIDE
void setMargin(int margin)
virtual void draw(QPainter *, const QwtScaleMap &, const QwtScaleMap &, const QRectF &) const QWT_OVERRIDE