10 #ifndef QWT_DATE_SCALE_ENGINE_H 11 #define QWT_DATE_SCALE_ENGINE_H 48 void setTimeSpec( Qt::TimeSpec );
49 Qt::TimeSpec timeSpec()
const;
51 void setUtcOffset(
int seconds );
52 int utcOffset()
const;
57 void setMaxWeeks(
int );
61 int maxNumSteps,
double &x1,
double &x2,
66 int maxMajorSteps,
int maxMinorSteps,
70 const QDateTime &,
const QDateTime &,
int maxSteps )
const;
72 QDateTime toDateTime(
double )
const;
75 virtual QDateTime alignDate(
const QDateTime &,
double stepSize,
79 QwtScaleDiv buildScaleDiv(
const QDateTime &,
const QDateTime &,
80 int maxMajorSteps,
int maxMinorSteps,
A scale engine for date/time values.
A class representing a scale division.
virtual void autoScale(int maxNumSteps, double &x1, double &x2, double &stepSize) const QWT_OVERRIDE
A scale engine for linear scales.
virtual QwtScaleDiv divideScale(double x1, double x2, int maxMajorSteps, int maxMinorSteps, double stepSize=0.0) const QWT_OVERRIDE
Calculate a scale division for an interval.