1
.TH "QwtPlotMagnifier" 3 "22 Mar 2009" "Version 5.1.2" "Qwt User's Guide" \" -*- nroff -*-
9
Inherits \fBQwtMagnifier\fP.
11
.SH "Detailed Description"
13
\fBQwtPlotMagnifier\fP provides zooming, by magnifying in steps.
15
Using \fBQwtPlotMagnifier\fP a plot can be zoomed in/out in steps using keys, the mouse wheel or moving a mouse button in vertical direction.
17
Together with \fBQwtPlotZoomer\fP and \fBQwtPlotPanner\fP it is possible to implement individual and powerful navigation of the plot canvas.
21
\fBQwtPlotZoomer\fP, \fBQwtPlotPanner\fP, \fBQwtPlot\fP
26
Definition at line 30 of file qwt_plot_magnifier.h.
27
.SS "Public Member Functions"
31
.RI "\fBQwtPlotMagnifier\fP (\fBQwtPlotCanvas\fP *)"
34
.RI "virtual \fB~QwtPlotMagnifier\fP ()"
37
.RI "void \fBsetAxisEnabled\fP (int axis, bool on)"
40
.RI "bool \fBisAxisEnabled\fP (int axis) const"
43
.RI "\fBQwtPlotCanvas\fP * \fBcanvas\fP ()"
46
.RI "const \fBQwtPlotCanvas\fP * \fBcanvas\fP () const"
49
.RI "\fBQwtPlot\fP * \fBplot\fP ()"
52
.RI "const \fBQwtPlot\fP * \fBplot\fP () const"
55
.SS "Protected Member Functions"
59
.RI "virtual void \fBrescale\fP (double factor)"
62
.SH "Constructor & Destructor Documentation"
64
.SS "QwtPlotMagnifier::QwtPlotMagnifier (\fBQwtPlotCanvas\fP * canvas)\fC [explicit]\fP"
70
\fIcanvas\fP Plot canvas to be magnified
75
Definition at line 35 of file qwt_plot_magnifier.cpp.
76
.SS "QwtPlotMagnifier::~QwtPlotMagnifier ()\fC [virtual]\fP"
80
Definition at line 42 of file qwt_plot_magnifier.cpp.
81
.SH "Member Function Documentation"
83
.SS "void QwtPlotMagnifier::setAxisEnabled (int axis, bool on)"
87
Axes that are enabled will be synchronized to the result of panning. All other axes will remain unchanged.
91
\fIaxis\fP Axis, see \fBQwtPlot::Axis\fP
103
Definition at line 58 of file qwt_plot_magnifier.cpp.
104
.SS "bool QwtPlotMagnifier::isAxisEnabled (int axis) const"
106
Test if an axis is enabled
110
\fIaxis\fP Axis, see \fBQwtPlot::Axis\fP
115
True, if the axis is enabled
125
Definition at line 72 of file qwt_plot_magnifier.cpp.
127
Referenced by rescale().
128
.SS "\fBQwtPlotCanvas\fP * QwtPlotMagnifier::canvas ()"
130
Return observed plot canvas.
132
Definition at line 81 of file qwt_plot_magnifier.cpp.
134
Referenced by plot().
135
.SS "const \fBQwtPlotCanvas\fP * QwtPlotMagnifier::canvas () const"
137
Return Observed plot canvas.
139
Definition at line 91 of file qwt_plot_magnifier.cpp.
140
.SS "\fBQwtPlot\fP * QwtPlotMagnifier::plot ()"
142
Return plot widget, containing the observed plot canvas.
144
Definition at line 97 of file qwt_plot_magnifier.cpp.
148
Referenced by rescale().
149
.SS "const \fBQwtPlot\fP * QwtPlotMagnifier::plot () const"
151
Return plot widget, containing the observed plot canvas.
153
Definition at line 111 of file qwt_plot_magnifier.cpp.
154
.SS "void QwtPlotMagnifier::rescale (double factor)\fC [protected, virtual]\fP"
156
Zoom in/out the axes scales
160
\fIfactor\fP A value < 1.0 zooms in, a value > 1.0 zooms out.
165
Implements \fBQwtMagnifier\fP.
167
Definition at line 120 of file qwt_plot_magnifier.cpp.
169
References QwtPlot::autoReplot(), QwtPlot::axisScaleDiv(), isAxisEnabled(), QwtScaleDiv::lBound(), plot(), QwtPlot::replot(), QwtPlot::setAutoReplot(), and QwtPlot::setAxisScale().
173
Generated automatically by Doxygen for Qwt User's Guide from the source code.