10#ifndef QWT_ABSTRACT_LEGEND_H 
   11#define QWT_ABSTRACT_LEGEND_H 
   13#include "qwt_global.h" 
   17template< 
typename T > 
class QList;
 
   52        const QRectF& rect, 
bool fillBackground ) 
const = 0;
 
   57    virtual int scrollExtent( Qt::Orientation ) 
const;
 
 
Abstract base class for legend widgets.
virtual void renderLegend(QPainter *painter, const QRectF &rect, bool fillBackground) const =0
virtual bool isEmpty() const =0
virtual void updateLegend(const QVariant &itemInfo, const QList< QwtLegendData > &data)=0
Update the entries for a plot item.
Attributes of an entry on a legend.