📄 class_qwt_plot_zoomer.html
字号:
<tr> <td> </td> <td><p>Limit zooming by a minimum rectangle. <p><dl compact><dt><b>Returns:</b></dt><dd><a class="el" href="class_qwt_plot_zoomer.html#ec745fbace2e6d1e69e7d9be0368bd8e">zoomBase()</a>.width() / 10e4, <a class="el" href="class_qwt_plot_zoomer.html#ec745fbace2e6d1e69e7d9be0368bd8e">zoomBase()</a>.height() / 10e4 </dd></dl><p>Definition at line <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00531">531</a> of file <a class="el" href="qwt__plot__zoomer_8cpp-source.html">qwt_plot_zoomer.cpp</a>.<p>Referenced by <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00497">accept()</a>, <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00545">begin()</a>, and <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00575">end()</a>. </td> </tr></table><a class="anchor" name="6bfbb67129b1220df65685858c9d882c"></a><!-- doxytag: member="QwtPlotZoomer::move" ref="6bfbb67129b1220df65685858c9d882c" args="(double x, double y)" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void QwtPlotZoomer::move </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">double </td> <td class="mdname" nowrap> <em>x</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>double </td> <td class="mdname" nowrap> <em>y</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"><code> [virtual, slot]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Move the the current zoom rectangle.<p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>x</em> </td><td>X value </td></tr> <tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>Y value</td></tr> </table></dl><dl compact><dt><b>See also:</b></dt><dd>QwtDoubleRect::move </dd></dl><dl compact><dt><b>Note:</b></dt><dd>The changed rectangle is limited by the zoom base </dd></dl><p>Definition at line <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00467">467</a> of file <a class="el" href="qwt__plot__zoomer_8cpp-source.html">qwt_plot_zoomer.cpp</a>.<p>References <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00343">rescale()</a>, <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00190">zoomBase()</a>, and <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00258">zoomRect()</a>.<p>Referenced by <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00452">moveBy()</a>. </td> </tr></table><a class="anchor" name="c66b3eac03db212812198637f4e233ca"></a><!-- doxytag: member="QwtPlotZoomer::moveBy" ref="c66b3eac03db212812198637f4e233ca" args="(double x, double y)" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void QwtPlotZoomer::moveBy </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">double </td> <td class="mdname" nowrap> <em>dx</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>double </td> <td class="mdname" nowrap> <em>dy</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"><code> [slot]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Move the current zoom rectangle.<p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>dx</em> </td><td>X offset </td></tr> <tr><td valign="top"></td><td valign="top"><em>dy</em> </td><td>Y offset</td></tr> </table></dl><dl compact><dt><b>Note:</b></dt><dd>The changed rectangle is limited by the zoom base </dd></dl><p>Definition at line <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00452">452</a> of file <a class="el" href="qwt__plot__zoomer_8cpp-source.html">qwt_plot_zoomer.cpp</a>.<p>References <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00467">move()</a>. </td> </tr></table><a class="anchor" name="0d0f90bbd5fe99d5231b3cee00fffabe"></a><!-- doxytag: member="QwtPlotZoomer::rescale" ref="0d0f90bbd5fe99d5231b3cee00fffabe" args="()" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void QwtPlotZoomer::rescale </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [protected, virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Adjust the observed plot to <a class="el" href="class_qwt_plot_zoomer.html#ef67ca3d673cbd6063f0574621c808ae">zoomRect()</a><p><dl compact><dt><b>Note:</b></dt><dd>Initiates <a class="el" href="class_qwt_plot.html#7b094e29b8e92b00e36517d0d7633c4b">QwtPlot::replot</a> </dd></dl><p>Definition at line <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00343">343</a> of file <a class="el" href="qwt__plot__zoomer_8cpp-source.html">qwt_plot_zoomer.cpp</a>.<p>References <a class="el" href="qwt__plot_8cpp-source.html#l00195">QwtPlot::autoReplot()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00223">QwtPlot::axisScaleDiv()</a>, <a class="el" href="qwt__scale__div_8h-source.html#l00086">QwtScaleDiv::hBound()</a>, <a class="el" href="qwt__scale__div_8h-source.html#l00077">QwtScaleDiv::lBound()</a>, <a class="el" href="qwt__plot__picker_8cpp-source.html#l00119">QwtPlotPicker::plot()</a>, <a class="el" href="qwt__plot__picker_8cpp-source.html#l00143">QwtPlotPicker::scaleRect()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00187">QwtPlot::setAutoReplot()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00384">QwtPlot::setAxisScale()</a>, <a class="el" href="qwt__plot__picker_8cpp-source.html#l00183">QwtPlotPicker::xAxis()</a>, and <a class="el" href="qwt__plot__picker_8cpp-source.html#l00189">QwtPlotPicker::yAxis()</a>.<p>Referenced by <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00467">move()</a>, <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00208">setZoomBase()</a>, and <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00282">zoom()</a>. </td> </tr></table><a class="anchor" name="6cb755e06b83e50e8353dd706f7fb6f0"></a><!-- doxytag: member="QwtPlotZoomer::setAxis" ref="6cb755e06b83e50e8353dd706f7fb6f0" args="(int xAxis, int yAxis)" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void QwtPlotZoomer::setAxis </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname" nowrap> <em>xAxis</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>yAxis</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Reinitialize the axes, and set the zoom base to their scales.<p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>xAxis</em> </td><td>X axis </td></tr> <tr><td valign="top"></td><td valign="top"><em>yAxis</em> </td><td>Y axis </td></tr> </table></dl><p>Reimplemented from <a class="el" href="class_qwt_plot_picker.html#a901c86543585c7056133a5cb6652e3d">QwtPlotPicker</a>.<p>Definition at line <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00387">387</a> of file <a class="el" href="qwt__plot__zoomer_8cpp-source.html">qwt_plot_zoomer.cpp</a>.<p>References <a class="el" href="qwt__plot__picker_8cpp-source.html#l00143">QwtPlotPicker::scaleRect()</a>, <a class="el" href="qwt__plot__picker_8cpp-source.html#l00169">QwtPlotPicker::setAxis()</a>, <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00208">setZoomBase()</a>, <a class="el" href="qwt__plot__picker_8cpp-source.html#l00183">QwtPlotPicker::xAxis()</a>, and <a class="el" href="qwt__plot__picker_8cpp-source.html#l00189">QwtPlotPicker::yAxis()</a>. </td> </tr></table><a class="anchor" name="3965591944793790407ba91d6de3a882"></a><!-- doxytag: member="QwtPlotZoomer::setMaxStackDepth" ref="3965591944793790407ba91d6de3a882" args="(int)" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void QwtPlotZoomer::setMaxStackDepth </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname1" valign="top" nowrap> <em>depth</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Limit the number of recursive zoom operations to depth.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -