27 virtual void draw( QPainter *p,
29 const QRectF &rect )
const override;
33 const QRectF & )
const override;
42 #endif // PLOTLEGEND_H
const QwtPlotItem * processMousePressEvent(QMouseEvent *mouse_event)
A class which draws a legend inside the plot canvas.
virtual void drawLegendData(QPainter *painter, const QwtPlotItem *, const QwtLegendData &, const QRectF &) const override
QRectF hideButtonRect() const
void attach(QwtPlot *plot)
Attach the item to a plot.
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.
bool processWheelEvent(QWheelEvent *ev)
Attributes of an entry on a legend.
void legendSizeChanged(int point_size)