Common code for drawing a horizontal axis external to the plot.
More...
#include <ExternalAxisWidgetHorizontal.h>
|
| ExternalAxisWidgetHorizontal (QWidget *parent, QwtPlot *plot, bool leftAxisInternal, bool bottomAxisInternal, bool rightAxisInternal) |
|
virtual | ~ExternalAxisWidgetHorizontal () |
|
| ExternalAxisWidget (QWidget *parent, QwtPlot *plot, bool leftAxisInternal, bool bottomAxisInternal, bool rightAxisInternal) |
|
void | setAxisLabel (const QString &label) |
|
QString | getAxisLabel () const |
|
virtual void | paintEvent (QPaintEvent *event) |
|
void | print (QPainter *painter, QRect imageRect) |
|
void | setDateFormat (const casacore::String &newFormat) |
| Date formats. More...
|
|
void | setRelativeDateFormat (const casacore::String &newFormat) |
|
void | setAxisScale (PlotAxisScale scale, casacore::uInt base=10) |
| Axis scale. More...
|
|
void | setReferenceValue (bool on, double value) |
|
void | setAxisFont (const QFont &font) |
| Axis font. More...
|
|
virtual | ~ExternalAxisWidget () |
|
Common code for drawing a horizontal axis external to the plot.
Definition at line 37 of file ExternalAxisWidgetHorizontal.h.
casa::ExternalAxisWidgetHorizontal::ExternalAxisWidgetHorizontal |
( |
QWidget * |
parent, |
|
|
QwtPlot * |
plot, |
|
|
bool |
leftAxisInternal, |
|
|
bool |
bottomAxisInternal, |
|
|
bool |
rightAxisInternal |
|
) |
| |
virtual casa::ExternalAxisWidgetHorizontal::~ExternalAxisWidgetHorizontal |
( |
| ) |
|
|
virtual |
virtual void casa::ExternalAxisWidgetHorizontal::drawTick |
( |
QPainter * |
painter, |
|
|
double |
xPixel, |
|
|
double |
value, |
|
|
int |
tickLength |
|
) |
| |
|
protectedpure virtual |
virtual void casa::ExternalAxisWidgetHorizontal::drawTicks |
( |
QPainter * |
painter, |
|
|
int |
tickLength |
|
) |
| |
|
protectedvirtual |
virtual int casa::ExternalAxisWidgetHorizontal::getAxisLength |
( |
| ) |
const |
|
protectedvirtual |
virtual int casa::ExternalAxisWidgetHorizontal::getEndX |
( |
| ) |
const |
|
protectedvirtual |
Return the x pixel coordinate for the end of the axis.
virtual int casa::ExternalAxisWidgetHorizontal::getStartX |
( |
| ) |
const |
|
protectedvirtual |
The documentation for this class was generated from the following file: