Qwt User's Guide
6.0.2
|
#include <qwt_legend_itemmanager.h>
Public Member Functions | |
QwtLegendItemManager () | |
virtual | ~QwtLegendItemManager () |
virtual void | drawLegendIdentifier (QPainter *, const QRectF &) const |
virtual QWidget * | legendItem () const =0 |
virtual void | updateLegend (QwtLegend *legend) const =0 |
Abstract API to bind plot items to the legend.
|
inlinevirtual |
QwtLegendItem can display an icon-identifier followed by a text. The icon helps to identify a plot item on the plot canvas and depends on the type of information, that is displayed.
The default implementation paints nothing.
Reimplemented in QwtPlotCurve, QwtPlotIntervalCurve, QwtPlotMarker, and QwtPlotHistogram.
|
pure virtual |
Allocate the widget that represents the item on the legend
Implemented in QwtPlotItem.
|
pure virtual |
Update the widget that represents the item on the legend
legend | Legend |
Implemented in QwtPlotCurve, QwtPlotItem, and QwtPlotMarker.