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

#include <ExternalAxisControlRight.h>

Inheritance diagram for casa::ExternalAxisControlRight:
casa::ExternalAxisControl

Public Member Functions

 ExternalAxisControlRight (QWidget *parent)
 
void setUseLeftScale (bool b)
 
virtual ~ExternalAxisControlRight ()
 
- Public Member Functions inherited from casa::ExternalAxisControl
 ExternalAxisControl (QWidget *parent)
 
void setAxisLabel (const QString &label)
 
void setPlot (QwtPlot *canvas)
 
virtual void paintEvent (QPaintEvent *event)
 
virtual ~ExternalAxisControl ()
 

Protected Member Functions

virtual int getCanvasHeight () const
 
virtual void defineAxis (QLine &axisLine)
 
virtual void drawTicks (QPainter *painter, int tickLength)
 
virtual void drawAxisLabel (QPainter *painter)
 
virtual int getStartY () const
 
- Protected Member Functions inherited from casa::ExternalAxisControl
int getTickIncrement (int tickCount) const
 
double getTickStartPixel (QwtPlot::Axis axis)
 
double getTickDistance (QwtPlot::Axis axis)
 
double getTickIncrement (double tickDistance, QwtPlot::Axis axis)
 

Private Member Functions

void drawTick (QPainter *painter, double yPixel, double value, int tickLength)
 

Private Attributes

bool useLeftScale
 

Additional Inherited Members

- Protected Attributes inherited from casa::ExternalAxisControl
QwtPlot * plot
 
QString axisLabel
 
const int AXIS_SMALL_SIDE
 
const int MARGIN
 
const int MIN_START_Y
 

Detailed Description

Definition at line 33 of file ExternalAxisControlRight.h.

Constructor & Destructor Documentation

casa::ExternalAxisControlRight::ExternalAxisControlRight ( QWidget *  parent)
virtual casa::ExternalAxisControlRight::~ExternalAxisControlRight ( )
virtual

Member Function Documentation

virtual void casa::ExternalAxisControlRight::defineAxis ( QLine &  axisLine)
protectedvirtual
virtual void casa::ExternalAxisControlRight::drawAxisLabel ( QPainter *  painter)
protectedvirtual
void casa::ExternalAxisControlRight::drawTick ( QPainter *  painter,
double  yPixel,
double  value,
int  tickLength 
)
private
virtual void casa::ExternalAxisControlRight::drawTicks ( QPainter *  painter,
int  tickLength 
)
protectedvirtual
virtual int casa::ExternalAxisControlRight::getCanvasHeight ( ) const
protectedvirtual

Reimplemented from casa::ExternalAxisControl.

virtual int casa::ExternalAxisControlRight::getStartY ( ) const
protectedvirtual

Reimplemented from casa::ExternalAxisControl.

void casa::ExternalAxisControlRight::setUseLeftScale ( bool  b)

Member Data Documentation

bool casa::ExternalAxisControlRight::useLeftScale
private

Definition at line 46 of file ExternalAxisControlRight.h.


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