26 #ifndef LEGENDITEMRECT_H_
27 #define LEGENDITEMRECT_H_
29 #include <qwt_global.h>
30 #if QWT_VERSION < 0x060000
31 #include <qwt_legend_item.h>
48 virtual void drawIdentifier( QPainter* painter,
const QRect& rect )
const;
virtual void drawIdentifier(QPainter *painter, const QRect &rect) const
virtual ~LegendItemRect()
LegendItemRect(const ColorProvider *colorProvider, QWidget *parent=0)
void setRectColor(QColor rectColor)
const ColorProvider * colorSource
LegendItemRect operator=(const LegendItemRect &other)
Custom QwtLegendItem that draws a rectangular legend symbol in a color matching the curve...
Interface class for decoupling of a parent from a child.