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 | List of all members
casa::ExternalAxisControlLeft Class Reference

#include <ExternalAxisControlLeft.h>

Inheritance diagram for casa::ExternalAxisControlLeft:
casa::ExternalAxisControl

Public Member Functions

 ExternalAxisControlLeft (QWidget *parent)
 
virtual ~ExternalAxisControlLeft ()
 
- 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 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
virtual int getCanvasHeight () const
 
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, float yPixel, double value, int tickLength)
 

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 ExternalAxisControlLeft.h.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from casa::ExternalAxisControl.


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