Public Member Functions

QwtLegendItemManager Class Reference

Abstract API to bind plot items to the legend. More...

#include <qwt_legend_itemmanager.h>

Inheritance diagram for QwtLegendItemManager:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 QwtLegendItemManager ()
 Constructor.
virtual ~QwtLegendItemManager ()
 Destructor.
virtual void updateLegend (QwtLegend *legend) const =0
virtual QWidget * legendItem () const =0

Detailed Description

Abstract API to bind plot items to the legend.

Definition at line 24 of file qwt_legend_itemmanager.h.


Constructor & Destructor Documentation

QwtLegendItemManager::QwtLegendItemManager (  ) [inline]

Constructor.

Definition at line 28 of file qwt_legend_itemmanager.h.

    {
    }
virtual QwtLegendItemManager::~QwtLegendItemManager (  ) [inline, virtual]

Destructor.

Definition at line 33 of file qwt_legend_itemmanager.h.

    {
    }

Member Function Documentation

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:
legendLegend
See also:
legendItem()

Implemented in QwtPlotCurve, and QwtPlotItem.

Referenced by QwtLegend::setDisplayPolicy().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines