22 const QRectF&)
const override;
24 virtual void drawBackground(QPainter* painter,
const QRectF& rect)
const override;
31 #endif // PLOTLEGEND_H
const QwtPlotItem * processMousePressEvent(QMouseEvent *mouse_event)
A class which draws a legend inside the plot canvas.
virtual void drawBackground(QPainter *painter, const QRectF &rect) const override
virtual void drawLegendData(QPainter *painter, const QwtPlotItem *, const QwtLegendData &, const QRectF &) const override
QRectF hideButtonRect() const
PlotLegend(QwtPlot *parent)
virtual void draw(QPainter *p, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &rect) const override
Base class for items on the plot canvas.
Attributes of an entry on a legend.