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::RangePicker Class Reference

Handles drawing the range selection rectangle for the bin plot. More...

#include <RangePicker.h>

Inheritance diagram for casa::RangePicker:

Public Member Functions

 RangePicker ()
virtual void draw (QPainter *p, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRect &) const
void setHeightSource (HeightSource *heightSource)
void boundaryLineMoved (const QPoint &pos)
int getLowerBound () const
int getUpperBound () const
void setBoundaryValues (int minX, int maxX)
void setLineMode (bool lineMode)
void reset ()
virtual ~RangePicker ()

Private Member Functions

void _drawBoundary (QPainter *painter, int rectHeight) const
 RangePicker (const RangePicker &)
RangePickeroperator= (const RangePicker &)

Private Attributes

int lowerBound
int upperBound
bool rangeSet
bool lineMode

Detailed Description

Handles drawing the range selection rectangle for the bin plot.

Definition at line 40 of file RangePicker.h.

Constructor & Destructor Documentation

casa::RangePicker::RangePicker ( )
virtual casa::RangePicker::~RangePicker ( )
casa::RangePicker::RangePicker ( const RangePicker )

Member Function Documentation

void casa::RangePicker::_drawBoundary ( QPainter *  painter,
int  rectHeight 
) const
void casa::RangePicker::boundaryLineMoved ( const QPoint &  pos)
virtual void casa::RangePicker::draw ( QPainter *  p,
const QwtScaleMap &  xMap,
const QwtScaleMap &  yMap,
const QRect &   
) const
int casa::RangePicker::getLowerBound ( ) const
int casa::RangePicker::getUpperBound ( ) const
RangePicker& casa::RangePicker::operator= ( const RangePicker )
void casa::RangePicker::reset ( )
void casa::RangePicker::setBoundaryValues ( int  minX,
int  maxX 
void casa::RangePicker::setHeightSource ( HeightSource heightSource)
void casa::RangePicker::setLineMode ( bool  lineMode)

Member Data Documentation

HeightSource* casa::RangePicker::heightSource

Definition at line 57 of file RangePicker.h.

bool casa::RangePicker::lineMode

Definition at line 61 of file RangePicker.h.

int casa::RangePicker::lowerBound

Definition at line 58 of file RangePicker.h.

bool casa::RangePicker::rangeSet

Definition at line 60 of file RangePicker.h.

int casa::RangePicker::upperBound

Definition at line 59 of file RangePicker.h.

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