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

HeightSourceheightSource
 
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 ( )
virtual
casa::RangePicker::RangePicker ( const RangePicker )
private

Member Function Documentation

void casa::RangePicker::_drawBoundary ( QPainter *  painter,
int  rectHeight 
) const
private
void casa::RangePicker::boundaryLineMoved ( const QPoint &  pos)
virtual void casa::RangePicker::draw ( QPainter *  p,
const QwtScaleMap &  xMap,
const QwtScaleMap &  yMap,
const QRect &   
) const
virtual
int casa::RangePicker::getLowerBound ( ) const
int casa::RangePicker::getUpperBound ( ) const
RangePicker& casa::RangePicker::operator= ( const RangePicker )
private
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
private

Definition at line 57 of file RangePicker.h.

bool casa::RangePicker::lineMode
private

Definition at line 61 of file RangePicker.h.

int casa::RangePicker::lowerBound
private

Definition at line 58 of file RangePicker.h.

bool casa::RangePicker::rangeSet
private

Definition at line 60 of file RangePicker.h.

int casa::RangePicker::upperBound
private

Definition at line 59 of file RangePicker.h.


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