454 if ( event->type() == QEvent::LocaleChange )
459 QWidget::changeEvent( event );
A abstract base class for drawing scales.
void setScale(double lowerBound, double upperBound)
Specify a scale.
void setScaleEngine(QwtScaleEngine *)
Set a scale engine.
QwtAbstractScaleDraw * scaleDraw
void setAbstractScaleDraw(QwtAbstractScaleDraw *)
Set a scale draw.
virtual void scaleChange()
Notify changed scale.
int scaleMaxMinor() const
int transform(double) const
A class representing an interval.
QwtScaleEngine * scaleEngine
double scaleStepSize() const
const QwtScaleMap & scaleMap() const
void setScaleStepSize(double stepSize)
Set the step size used for calculating a scale division.
A class representing a scale division.
const QwtScaleMap & scaleMap() const
void setLowerBound(double value)
QwtTransform * transformation() const
double upperBound() const
void setScaleMaxMajor(int ticks)
Set the maximum number of major tick intervals.
double invTransform(int) const
const QwtScaleDiv & scaleDiv() const
const QwtScaleDiv & scaleDiv() const
double lowerBound() const
const QwtAbstractScaleDraw * abstractScaleDraw() const
void setScaleMaxMinor(int ticks)
Set the maximum number of minor tick intervals.
double invTransform(double p) const
virtual void changeEvent(QEvent *)
const QwtScaleEngine * scaleEngine() const
double lowerBound() const
int scaleMaxMajor() const
void setScaleDiv(const QwtScaleDiv &s)
void setTransformation(QwtTransform *)
A class for drawing scales.
A scale engine for linear scales.
double transform(double s) const
virtual ~QwtAbstractScale()
Destructor.
virtual QwtScaleDiv divideScale(double x1, double x2, int maxMajorSteps, int maxMinorSteps, double stepSize=0.0) const =0
Calculate a scale division.
void rescale(double lowerBound, double upperBound, double stepSize)
void setUpperBound(double value)
double upperBound() const
QwtAbstractScale(QWidget *parent=NULL)
Base class for scale engines.