10 #ifndef QWT_ABSTRACT_LEGEND_H 11 #define QWT_ABSTRACT_LEGEND_H 51 virtual void renderLegend( QPainter *painter,
52 const QRectF &rect,
bool fillBackground )
const = 0;
55 virtual bool isEmpty()
const = 0;
57 virtual int scrollExtent( Qt::Orientation )
const;
67 virtual void updateLegend(
const QVariant &itemInfo,
68 const QList<QwtLegendData> &
data ) = 0;
Abstract base class for legend widgets.
empty_struct data[sizeof(T)/sizeof(empty_struct)]