26 #ifndef EXTERNALAXIS_WIDGET_H_
27 #define EXTERNALAXIS_WIDGET_H_
44 void setPlot( QwtPlot* canvas );
49 virtual void drawTicks( QPainter* painter,
int tickLength ) = 0;
50 virtual void defineAxis( QLine& axisLine ) = 0;
void drawBackBone(QPainter *painter)
void setAxisLabel(const QString &label)
int getTickIncrement(int tickCount) const
virtual void defineAxis(QLine &axisLine)=0
void setPlot(QwtPlot *canvas)
Base class for classes that use the QwtScaleDiv information to draw their own axis.
virtual void paintEvent(QPaintEvent *event)
void drawLabel(QPainter *painter)
const int FONT_SIZE_AXIS_LABEL
ExternalAxisControl(QWidget *parent)
virtual int getCanvasHeight() const
double getTickDistance(QwtPlot::Axis axis)
virtual void drawAxisLabel(QPainter *painter)=0
virtual ~ExternalAxisControl()
virtual int getStartY() const
virtual void drawTicks(QPainter *painter, int tickLength)=0
const int AXIS_SMALL_SIDE
double getTickStartPixel(QwtPlot::Axis axis)