casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes
QtPlotHistogram Class Reference

#include <QtPlotHistogram.h>

List of all members.

Public Member Functions

 QtPlotHistogram (const QString &label=QString::null)
 QtPlotHistogram (const QwtText &title)
 ~QtPlotHistogram ()
void setData (const QwtIntervalData &data)
const QwtIntervalData & data () 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

QwtIntervalData 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]

Definition at line 41 of file QtPlotHistogram.h.


Member Function Documentation

double QtPlotHistogram::baseline ( ) const [inline]

Definition at line 52 of file QtPlotHistogram.h.

References reference_.

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

Definition at line 55 of file QtPlotHistogram.h.

References color_.

const QwtIntervalData& 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 [private, virtual]
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 QwtIntervalData &  data)

Member Data Documentation

QColor QtPlotHistogram::color_ [private]

Definition at line 62 of file QtPlotHistogram.h.

Referenced by color().

QwtIntervalData QtPlotHistogram::data_ [private]

Definition at line 60 of file QtPlotHistogram.h.

Referenced by data().

double QtPlotHistogram::reference_ [private]

Definition at line 61 of file QtPlotHistogram.h.

Referenced by baseline().


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