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

#include <ExternalAxisControlBottom.h>

Inheritance diagram for casa::ExternalAxisControlBottom:
casa::ExternalAxisControl

Public Member Functions

 ExternalAxisControlBottom (QWidget *parent)
 
virtual ~ExternalAxisControlBottom ()
 
- 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)
 
- Protected Member Functions inherited from casa::ExternalAxisControl
virtual int getCanvasHeight () const
 
virtual int getStartY () 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, double xPixel, 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 ExternalAxisControlBottom.h.

Constructor & Destructor Documentation

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

Member Function Documentation

virtual void casa::ExternalAxisControlBottom::defineAxis ( QLine &  axisLine)
protectedvirtual
virtual void casa::ExternalAxisControlBottom::drawAxisLabel ( QPainter *  painter)
protectedvirtual
void casa::ExternalAxisControlBottom::drawTick ( QPainter *  painter,
double  xPixel,
double  value,
int  tickLength 
)
private
virtual void casa::ExternalAxisControlBottom::drawTicks ( QPainter *  painter,
int  tickLength 
)
protectedvirtual

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