Go to the documentation of this file.
17 #include <qcoreevent.h>
430 double lowerBound,
double upperBound,
double stepSize )
455 if ( event->type() == QEvent::LocaleChange )
460 QWidget::changeEvent( event );
473 #include "moc_qwt_abstract_scale.cpp"
A class for drawing scales.
void setTransformation(QwtTransform *)
double invTransform(double p) const
const QwtScaleMap & scaleMap() const
virtual ~QwtAbstractScale()
Destructor.
const QwtScaleMap & scaleMap() const
void setScaleDiv(const QwtScaleDiv &)
const QwtScaleEngine * scaleEngine() const
void setLowerBound(double value)
QwtTransform * transformation() const
const QwtScaleDiv & scaleDiv() const
double lowerBound() const
A scale engine for linear scales.
void rescale(double lowerBound, double upperBound, double stepSize)
void setAbstractScaleDraw(QwtAbstractScaleDraw *)
Set a scale draw.
virtual void scaleChange()
Notify changed scale.
void setScaleStepSize(double stepSize)
Set the step size used for calculating a scale division.
A class representing an interval.
void setScaleMaxMajor(int ticks)
Set the maximum number of major tick intervals.
double invTransform(int) const
QwtScaleEngine * scaleEngine
int transform(double) const
const QwtScaleDiv & scaleDiv() const
double upperBound() const
void setUpperBound(double value)
void setScaleMaxMinor(int ticks)
Set the maximum number of minor tick intervals.
A abstract base class for drawing scales.
virtual QwtScaleDiv divideScale(double x1, double x2, int maxMajorSteps, int maxMinorSteps, double stepSize=0.0) const =0
Calculate a scale division.
double transform(double s) const
Base class for scale engines.
QwtAbstractScale(QWidget *parent=NULL)
const QwtAbstractScaleDraw * abstractScaleDraw() const
void setScale(double lowerBound, double upperBound)
Specify a scale.
void setScaleEngine(QwtScaleEngine *)
Set a scale engine.
A class representing a scale division.
virtual void changeEvent(QEvent *) QWT_OVERRIDE
QwtAbstractScaleDraw * scaleDraw
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:45