📄 class_qwt_plot_zoomer.html
字号:
<td> </td> <td><p>Zoom in or out. <p>Activate a rectangle on the zoom stack with an offset relative to the current position. Negative values of offest will zoom out, positive zoom in. A value of 0 zooms out to the zoom base.<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>offset</em> </td><td>Offset relative to the current position of the zoom stack. </td></tr> </table></dl><dl compact><dt><b>Note:</b></dt><dd>The zoomed signal is emitted. </dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_zoomer.html#63797aa3b9e540a2c5f539fa34a05fbc">zoomRectIndex()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00319">319</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="class_qwt_plot_zoomer.html#e4e9b90ccfb97f4eae54c667f79644ff">zoomed()</a>, and <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00258">zoomRect()</a>. </td> </tr></table><a class="anchor" name="eeed51dfa01136f00961e679dcbb9d9d"></a><!-- doxytag: member="QwtPlotZoomer::zoom" ref="eeed51dfa01136f00961e679dcbb9d9d" args="(const QwtDoubleRect &)" --><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::zoom </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const QwtDoubleRect & </td> <td class="mdname1" valign="top" nowrap> <em>rect</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [virtual, slot]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Zoom in. <p>Clears all rectangles above the current position of the zoom stack and pushs the intersection of <a class="el" href="class_qwt_plot_zoomer.html#ef67ca3d673cbd6063f0574621c808ae">zoomRect()</a> and the normalized rect on it.<p><dl compact><dt><b>Note:</b></dt><dd>If the maximal stack depth is reached, zoom is ignored. <p>The zoomed signal is emitted. </dd></dl><p>Definition at line <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00282">282</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="class_qwt_plot_zoomer.html#e4e9b90ccfb97f4eae54c667f79644ff">zoomed()</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#l00575">end()</a>, <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00145">setMaxStackDepth()</a>, <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00429">widgetKeyPressEvent()</a>, and <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00406">widgetMouseReleaseEvent()</a>. </td> </tr></table><a class="anchor" name="ec745fbace2e6d1e69e7d9be0368bd8e"></a><!-- doxytag: member="QwtPlotZoomer::zoomBase" ref="ec745fbace2e6d1e69e7d9be0368bd8e" args="() const " --><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">QwtDoubleRect QwtPlotZoomer::zoomBase </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p><dl compact><dt><b>Returns:</b></dt><dd>Initial rectangle of the zoomer </dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_zoomer.html#7a1711597f441223efdb7d9931fe19b9">setZoomBase()</a>, <a class="el" href="class_qwt_plot_zoomer.html#ef67ca3d673cbd6063f0574621c808ae">zoomRect()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00190">190</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#l00467">move()</a>. </td> </tr></table><a class="anchor" name="e4e9b90ccfb97f4eae54c667f79644ff"></a><!-- doxytag: member="QwtPlotZoomer::zoomed" ref="e4e9b90ccfb97f4eae54c667f79644ff" args="(const QwtDoubleRect &rect)" --><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::zoomed </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const QwtDoubleRect & </td> <td class="mdname1" valign="top" nowrap> <em>rect</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [signal]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>A signal emitting the <a class="el" href="class_qwt_plot_zoomer.html#ef67ca3d673cbd6063f0574621c808ae">zoomRect()</a>, when the plot has been zoomed in or out.<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>rect</em> </td><td>Current zoom rectangle. </td></tr> </table></dl><p>Referenced by <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00282">zoom()</a>. </td> </tr></table><a class="anchor" name="ef67ca3d673cbd6063f0574621c808ae"></a><!-- doxytag: member="QwtPlotZoomer::zoomRect" ref="ef67ca3d673cbd6063f0574621c808ae" args="() const " --><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">QwtDoubleRect QwtPlotZoomer::zoomRect </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Rectangle at the current position on the zoom stack.<p><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_zoomer.html#63797aa3b9e540a2c5f539fa34a05fbc">QwtPlotZoomer::zoomRectIndex()</a>, <a class="el" href="class_qwt_plot_picker.html#4bdeadb4e7a794bab248d1e2a2c76345">QwtPlotZoomer::scaleRect()</a>. </dd></dl><p>Definition at line <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00258">258</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#l00575">end()</a>, <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00467">move()</a>, and <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00282">zoom()</a>. </td> </tr></table><a class="anchor" name="63797aa3b9e540a2c5f539fa34a05fbc"></a><!-- doxytag: member="QwtPlotZoomer::zoomRectIndex" ref="63797aa3b9e540a2c5f539fa34a05fbc" args="() const " --><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">uint QwtPlotZoomer::zoomRectIndex </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p><dl compact><dt><b>Returns:</b></dt><dd>Index of current position of zoom stack. </dd></dl><p>Definition at line <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00266">266</a> of file <a class="el" href="qwt__plot__zoomer_8cpp-source.html">qwt_plot_zoomer.cpp</a>. </td> </tr></table><a class="anchor" name="bbd7fe8750c177a82f80ea91611909fd"></a><!-- doxytag: member="QwtPlotZoomer::zoomStack" ref="bbd7fe8750c177a82f80ea91611909fd" args="() const " --><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">const QwtZoomStack & QwtPlotZoomer::zoomStack </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Return the zoom stack. <a class="el" href="class_qwt_plot_zoomer.html#bbd7fe8750c177a82f80ea91611909fd">zoomStack()</a>[0] is the zoom base, <a class="el" href="class_qwt_plot_zoomer.html#bbd7fe8750c177a82f80ea91611909fd">zoomStack()</a>[1] the first zoomed rectangle. <p>Definition at line <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00181">181</a> of file <a class="el" href="qwt__plot__zoomer_8cpp-source.html">qwt_plot_zoomer.cpp</a>. </td> </tr></table><hr size="1"><address style="align: right;"><small>Generated on Mon Feb 26 21:25:34 2007 for Qwt User's Guide by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -