casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
casa::LegendCurve Class Reference

Custom QwtPlotCurve that provides the capability of a thicker (rectangular) legend rather than a hard-to-see line that mirrors the thickness of the curve. More...

#include <LegendCurve.h>

Inheritance diagram for casa::LegendCurve:
casa::ColorProvider

Public Member Functions

 LegendCurve (ColorProvider *colorProvider)
 
virtual QColor getRectColor () const
 
QWidget * legendItem () const
 
virtual ~LegendCurve ()
 
- Public Member Functions inherited from casa::ColorProvider
virtual ~ColorProvider ()
 

Private Member Functions

 LegendCurve (const LegendCurve &other)
 
LegendCurve operator= (const LegendCurve &other)
 

Private Attributes

const ColorProvidercolorSource
 

Detailed Description

Custom QwtPlotCurve that provides the capability of a thicker (rectangular) legend rather than a hard-to-see line that mirrors the thickness of the curve.

Definition at line 40 of file LegendCurve.h.

Constructor & Destructor Documentation

casa::LegendCurve::LegendCurve ( ColorProvider colorProvider)
virtual casa::LegendCurve::~LegendCurve ( )
virtual
casa::LegendCurve::LegendCurve ( const LegendCurve other)
private

Member Function Documentation

virtual QColor casa::LegendCurve::getRectColor ( ) const
virtual

Implements casa::ColorProvider.

QWidget* casa::LegendCurve::legendItem ( ) const
LegendCurve casa::LegendCurve::operator= ( const LegendCurve other)
private

Member Data Documentation

const ColorProvider* casa::LegendCurve::colorSource
private

Definition at line 51 of file LegendCurve.h.


The documentation for this class was generated from the following file: