casa::ExternalAxisWidgetVertical Class Reference

Common code for drawing a vertical axis external to the plot. More...

#include <ExternalAxisWidgetVertical.h>

Inheritance diagram for casa::ExternalAxisWidgetVertical:
casa::ExternalAxisWidget casa::ExternalAxisWidgetLeft casa::ExternalAxisWidgetRight

List of all members.

Public Member Functions

 ExternalAxisWidgetVertical (QWidget *parent, QwtPlot *plot, bool leftAxisInternal, bool bottomAxisInternal, bool rightAxisInternal)
virtual ~ExternalAxisWidgetVertical ()

Protected Member Functions

virtual int getStartY () const
 Return the y pixel coordinate for the start of the axis.
virtual int getEndY () const
 Return the y pixel coordinate for the end of the axis.
virtual int getAxisLength () const
 Return the length of the axis in pixels.
void drawTicks (QPainter *painter, int tickLength)
 Draw tick marks on the axis of the specified length.
virtual void drawTick (QPainter *painter, double yPixel, double value, int tickLength)=0

Detailed Description

Common code for drawing a vertical axis external to the plot.

Definition at line 37 of file ExternalAxisWidgetVertical.h.


Constructor & Destructor Documentation

casa::ExternalAxisWidgetVertical::ExternalAxisWidgetVertical ( QWidget *  parent,
QwtPlot *  plot,
bool  leftAxisInternal,
bool  bottomAxisInternal,
bool  rightAxisInternal 
)
virtual casa::ExternalAxisWidgetVertical::~ExternalAxisWidgetVertical (  )  [virtual]

Member Function Documentation

virtual void casa::ExternalAxisWidgetVertical::drawTick ( QPainter *  painter,
double  yPixel,
double  value,
int  tickLength 
) [protected, pure virtual]
void casa::ExternalAxisWidgetVertical::drawTicks ( QPainter *  painter,
int  tickLength 
) [protected, virtual]

Draw tick marks on the axis of the specified length.

Implements casa::ExternalAxisWidget.

virtual int casa::ExternalAxisWidgetVertical::getAxisLength (  )  const [protected, virtual]

Return the length of the axis in pixels.

Implements casa::ExternalAxisWidget.

virtual int casa::ExternalAxisWidgetVertical::getEndY (  )  const [protected, virtual]

Return the y pixel coordinate for the end of the axis.

Reimplemented from casa::ExternalAxisWidget.

virtual int casa::ExternalAxisWidgetVertical::getStartY (  )  const [protected, virtual]

Return the y pixel coordinate for the start of the axis.

Reimplemented from casa::ExternalAxisWidget.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1