10 #ifndef QWT_PLOT_RESCALER_H 11 #define QWT_PLOT_RESCALER_H 88 void setEnabled(
bool );
89 bool isEnabled()
const;
98 void setReferenceAxis(
int axis );
99 int referenceAxis()
const;
101 void setAspectRatio(
double ratio );
102 void setAspectRatio(
int axis,
double ratio );
103 double aspectRatio(
int axis )
const;
105 void setIntervalHint(
int axis,
const QwtInterval& );
109 const QWidget *canvas()
const;
114 virtual bool eventFilter( QObject *, QEvent * )
QWT_OVERRIDE;
116 void rescale() const;
119 virtual
void canvasResizeEvent( QResizeEvent * );
121 virtual
void rescale( const QSize &oldSize, const QSize &newSize ) const;
123 int axis, const QSize &oldSize, const QSize &newSize ) const;
127 const QSize &size ) const;
129 virtual
void updateScales(
132 Qt::Orientation orientation(
int axis ) const;
138 double pixelDist(
int axis, const QSize & ) const;
A class representing an interval.
The lower limit of the scale is adjusted.
basic_reference< false > reference
QwtPlotRescaler takes care of fixed aspect ratios for plot scales.
The upper limit of the scale is adjusted.