10 #ifndef QWT_PLOT_RESCALER_H 11 #define QWT_PLOT_RESCALER_H 88 void setEnabled(
bool );
89 bool isEnabled()
const;
101 void setAspectRatio(
double ratio );
102 void setAspectRatio(
QwtAxisId,
double ratio );
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 QwtAxisId,
const QSize& oldSize,
const QSize& newSize )
const;
128 virtual void updateScales(
131 Qt::Orientation orientation(
QwtAxisId )
const;
137 double pixelDist(
QwtAxisId,
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.
int QwtAxisId
Axis identifier.
The upper limit of the scale is adjusted.
span_constexpr std::size_t size(span< T, Extent > const &spn)