QwtLegendItemManager(3) | Qwt User's Guide | QwtLegendItemManager(3) |
NAME¶
QwtLegendItemManager - Abstract API to bind plot items to the legend.SYNOPSIS¶
#include <qwt_legend_itemmanager.h> Inherited by QwtPlotItem.Public Member Functions¶
QwtLegendItemManager ()
Detailed Description¶
Abstract API to bind plot items to the legend.Constructor & Destructor Documentation¶
QwtLegendItemManager::QwtLegendItemManager () [inline]¶
Constructor.virtual QwtLegendItemManager::~QwtLegendItemManager () [inline, virtual]¶
Destructor.Member Function Documentation¶
virtual void QwtLegendItemManager::drawLegendIdentifier (QPainter *, const QRectF &) const [inline, virtual] 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, QwtPlotHistogram, QwtPlotIntervalCurve, and QwtPlotMarker.virtual QWidget* QwtLegendItemManager::legendItem () const [pure virtual] Allocate the widget that represents the item on the legend¶
Returns:Allocated widget
See also:
updateLegend() QwtLegend()
Implemented in QwtPlotItem.
virtual void QwtLegendItemManager::updateLegend ( QwtLegend *legend) const [pure virtual] Update the widget that represents the item on the legend¶
Parameters:legend Legend
See also:
legendItem()
Implemented in QwtPlotCurve, QwtPlotItem, and
QwtPlotMarker.
Author¶
Generated automatically by Doxygen for Qwt User's Guide from the source code.Fri Apr 15 2011 | Version 6.0.0 |