10 #ifndef QWT_PLOT_RESCALER_H 11 #define QWT_PLOT_RESCALER_H 1 85 void setEnabled(
bool );
86 bool isEnabled()
const;
95 void setReferenceAxis(
int axis );
96 int referenceAxis()
const;
98 void setAspectRatio(
double ratio );
99 void setAspectRatio(
int axis,
double ratio );
100 double aspectRatio(
int axis )
const;
102 void setIntervalHint(
int axis,
const QwtInterval& );
106 const QWidget *canvas()
const;
111 virtual bool eventFilter( QObject *, QEvent * );
113 void rescale()
const;
116 virtual void canvasResizeEvent( QResizeEvent * );
118 virtual void rescale(
const QSize &oldSize,
const QSize &newSize )
const;
120 int axis,
const QSize &oldSize,
const QSize &newSize )
const;
124 const QSize &size )
const;
126 virtual void updateScales(
129 Qt::Orientation orientation(
int axis )
const;
135 double pixelDist(
int axis,
const QSize & )
const;
A class representing an interval.
The lower limit of the scale is adjusted.
QwtPlotRescaler takes care of fixed aspect ratios for plot scales.
The upper limit of the scale is adjusted.