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
QtPlotHistogram Class Reference

#include <QtPlotHistogram.h>

Inheritance diagram for QtPlotHistogram:

Public Member Functions

 QtPlotHistogram (const QString &label=QString::null)
 
 QtPlotHistogram (const QwtText &title)
 
 ~QtPlotHistogram ()
 
void setData (const qwt_interval_t &data)
 
const qwt_interval_tdata () const
 
QwtDoubleRect boundingRect () const
 
int rtti () const
 
void draw (QPainter *, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRect &) const
 
void setBaseline (double reference)
 
double baseline () const
 
void setColor (const QColor &c)
 
QColor color () const
 

Private Member Functions

virtual void draw_bar (QPainter *, Qt::Orientation orientation, const QRect &) const
 

Private Attributes

qwt_interval_t data_
 
double reference_
 
QColor color_
 

Detailed Description

Definition at line 37 of file QtPlotHistogram.h.

Constructor & Destructor Documentation

QtPlotHistogram::QtPlotHistogram ( const QString &  label = QString::null)
explicit
QtPlotHistogram::QtPlotHistogram ( const QwtText &  title)
explicit
QtPlotHistogram::~QtPlotHistogram ( )
inline

Definition at line 41 of file QtPlotHistogram.h.

Member Function Documentation

double QtPlotHistogram::baseline ( ) const
inline

Definition at line 56 of file QtPlotHistogram.h.

References reference_.

QwtDoubleRect QtPlotHistogram::boundingRect ( ) const
QColor QtPlotHistogram::color ( ) const
inline

Definition at line 59 of file QtPlotHistogram.h.

References color_.

const qwt_interval_t& QtPlotHistogram::data ( ) const
inline

Definition at line 44 of file QtPlotHistogram.h.

References data_.

void QtPlotHistogram::draw ( QPainter *  ,
const QwtScaleMap &  xMap,
const QwtScaleMap &  yMap,
const QRect &   
) const
virtual void QtPlotHistogram::draw_bar ( QPainter *  ,
Qt::Orientation  orientation,
const QRect &   
) const
privatevirtual
int QtPlotHistogram::rtti ( ) const
inline

Definition at line 47 of file QtPlotHistogram.h.

void QtPlotHistogram::setBaseline ( double  reference)
void QtPlotHistogram::setColor ( const QColor &  c)
void QtPlotHistogram::setData ( const qwt_interval_t data)

Member Data Documentation

QColor QtPlotHistogram::color_
private

Definition at line 66 of file QtPlotHistogram.h.

Referenced by color().

qwt_interval_t QtPlotHistogram::data_
private

Definition at line 64 of file QtPlotHistogram.h.

Referenced by data().

double QtPlotHistogram::reference_
private

Definition at line 65 of file QtPlotHistogram.h.

Referenced by baseline().


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