casa::LegendItemRect Class Reference

Custom QwtLegendItem that draws a rectangular legend symbol in a color matching the curve. More...

#include <LegendItemRect.h>

List of all members.

Public Member Functions

 LegendItemRect (const ColorProvider *colorProvider, QWidget *parent=0)
virtual ~LegendItemRect ()
void setRectColor (QColor rectColor)
virtual void drawIdentifier (QPainter *painter, const QRect &rect) const

Private Member Functions

 LegendItemRect (const LegendItemRect &other)
LegendItemRect operator= (const LegendItemRect &other)

Private Attributes

const int MARGIN
const ColorProvidercolorSource

Detailed Description

Custom QwtLegendItem that draws a rectangular legend symbol in a color matching the curve.

Definition at line 43 of file LegendItemRect.h.


Constructor & Destructor Documentation

casa::LegendItemRect::LegendItemRect ( const ColorProvider colorProvider,
QWidget *  parent = 0 
)
virtual casa::LegendItemRect::~LegendItemRect (  )  [virtual]
casa::LegendItemRect::LegendItemRect ( const LegendItemRect other  )  [private]

Member Function Documentation

virtual void casa::LegendItemRect::drawIdentifier ( QPainter *  painter,
const QRect &  rect 
) const [virtual]
LegendItemRect casa::LegendItemRect::operator= ( const LegendItemRect other  )  [private]
void casa::LegendItemRect::setRectColor ( QColor  rectColor  ) 

Member Data Documentation

Definition at line 53 of file LegendItemRect.h.

const int casa::LegendItemRect::MARGIN [private]

Definition at line 52 of file LegendItemRect.h.


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

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1