📄 class_qwt_plot_picker.html
字号:
<table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void QwtPlotPicker::append </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const QPoint & </td> <td class="mdname1" valign="top" nowrap> <em>pos</em> </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>Append a point to the selection and update rubberband and tracker.<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>pos</em> </td><td>Additional point </td></tr> </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#f825f383c74928d1541f139e102983f9">isActive</a>, <a class="el" href="class_qwt_picker.html#49cb19aea451e275c5d376235e5a1d83">begin()</a>, <a class="el" href="class_qwt_plot_picker.html#9fceb663542b6f9b0a358e9419406423">end()</a>, <a class="el" href="class_qwt_plot_picker.html#7a979d23cd4d398e309409e76635bcf4">move()</a>, <a class="el" href="class_qwt_plot_picker.html#6a4a43cd13c97bb0f868ba2b375428cc">appended()</a></dd></dl><dl compact><dt><b>Note:</b></dt><dd>The <a class="el" href="class_qwt_picker.html#d52219271a7c8efab35ded14ac89827a">appended(const QPoint &)</a>, appended(const QDoublePoint &) signals are emitted. </dd></dl><p>Reimplemented from <a class="el" href="class_qwt_picker.html#5dd2e0ce6b2a6cc50e345ec13aef9255">QwtPicker</a>.<p>Definition at line <a class="el" href="qwt__plot__picker_8cpp-source.html#l00244">244</a> of file <a class="el" href="qwt__plot__picker_8cpp-source.html">qwt_plot_picker.cpp</a>.<p>References <a class="el" href="qwt__picker_8cpp-source.html#l01143">QwtPicker::append()</a>, <a class="el" href="class_qwt_plot_picker.html#6a4a43cd13c97bb0f868ba2b375428cc">appended()</a>, and <a class="el" href="qwt__plot__picker_8cpp-source.html#l00332">invTransform()</a>. </td> </tr></table><a class="anchor" name="6a4a43cd13c97bb0f868ba2b375428cc"></a><!-- doxytag: member="QwtPlotPicker::appended" ref="6a4a43cd13c97bb0f868ba2b375428cc" args="(const QwtDoublePoint &pos)" --><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 QwtPlotPicker::appended </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const QwtDoublePoint & </td> <td class="mdname1" valign="top" nowrap> <em>pos</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 emitted when a point has been appended to the selection<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>pos</em> </td><td>Position of the appended point. </td></tr> </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_picker.html#86a68e8ea235b9514084b729c75803ea">append()</a>. <a class="el" href="class_qwt_plot_picker.html#2ed5d81844031e3cd8a881ca5ba3b0a6">moved()</a> </dd></dl><p>Referenced by <a class="el" href="qwt__plot__picker_8cpp-source.html#l00244">append()</a>. </td> </tr></table><a class="anchor" name="6b3a29ebce6d9e4991b78b0c8887b124"></a><!-- doxytag: member="QwtPlotPicker::canvas" ref="6b3a29ebce6d9e4991b78b0c8887b124" 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 <a class="el" href="class_qwt_plot_canvas.html">QwtPlotCanvas</a> * QwtPlotPicker::canvas </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 Observed plot canvas. <p><p>Definition at line <a class="el" href="qwt__plot__picker_8cpp-source.html#l00113">113</a> of file <a class="el" href="qwt__plot__picker_8cpp-source.html">qwt_plot_picker.cpp</a>. </td> </tr></table><a class="anchor" name="402820e19bc6a9a33184264345703015"></a><!-- doxytag: member="QwtPlotPicker::canvas" ref="402820e19bc6a9a33184264345703015" 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"><a class="el" href="class_qwt_plot_canvas.html">QwtPlotCanvas</a> * QwtPlotPicker::canvas </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </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>Return observed plot canvas. <p><p>Definition at line <a class="el" href="qwt__plot__picker_8cpp-source.html#l00103">103</a> of file <a class="el" href="qwt__plot__picker_8cpp-source.html">qwt_plot_picker.cpp</a>.<p>References <a class="el" href="qwt__picker_8cpp-source.html#l00312">QwtPicker::parentWidget()</a>.<p>Referenced by <a class="el" href="qwt__plot__picker_8cpp-source.html#l00119">plot()</a>, <a class="el" href="qwt__plot__picker_8cpp-source.html#l00032">QwtPlotPicker()</a>, and <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00051">QwtPlotZoomer::QwtPlotZoomer()</a>. </td> </tr></table><a class="anchor" name="9fceb663542b6f9b0a358e9419406423"></a><!-- doxytag: member="QwtPlotPicker::end" ref="9fceb663542b6f9b0a358e9419406423" args="(bool ok=true)" --><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">bool QwtPlotPicker::end </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">bool </td> <td class="mdname1" valign="top" nowrap> <em>ok</em> = <code>true</code> </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>Close a selection setting the state to inactive.<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>ok</em> </td><td>If true, complete the selection and emit selected signals otherwise discard the selection. </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>true if the selection is accepted, false otherwise </dd></dl><p>Reimplemented from <a class="el" href="class_qwt_picker.html#d258c518257cf2f52326905a36efb0c4">QwtPicker</a>.<p>Reimplemented in <a class="el" href="class_qwt_plot_zoomer.html#c7d10eb27858ccfebebecab5d69ecbb3">QwtPlotZoomer</a>.<p>Definition at line <a class="el" href="qwt__plot__picker_8cpp-source.html#l00273">273</a> of file <a class="el" href="qwt__plot__picker_8cpp-source.html">qwt_plot_picker.cpp</a>.<p>References <a class="el" href="qwt__picker_8cpp-source.html#l01108">QwtPicker::end()</a>, <a class="el" href="qwt__plot__picker_8cpp-source.html#l00332">invTransform()</a>, <a class="el" href="qwt__plot__picker_8cpp-source.html#l00119">plot()</a>, <a class="el" href="class_qwt_plot_picker.html#6bad8ba70a55dbfa275387c1ef6f2f63">selected()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l01199">QwtPicker::selection()</a>, and <a class="el" href="qwt__picker_8cpp-source.html#l00351">QwtPicker::selectionFlags()</a>.<p>Referenced by <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00575">QwtPlotZoomer::end()</a>. </td> </tr></table><a class="anchor" name="598b8b156f33df1cccce890e8dcbba23"></a><!-- doxytag: member="QwtPlotPicker::invTransform" ref="598b8b156f33df1cccce890e8dcbba23" args="(const QPoint &) 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">QwtDoublePoint QwtPlotPicker::invTransform </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const QPoint & </td> <td class="mdname1" valign="top" nowrap> <em>pos</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [protected]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Translate a point from pixel into plot coordinates <dl compact><dt><b>Returns:</b></dt><dd>Point in plot coordinates </dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_picker.html#f825eb774b3fd77cde590f3de7807d9e">QwtPlotPicker::transform()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__plot__picker_8cpp-source.html#l00369">369</a> of file <a class="el" href="qwt__plot__picker_8cpp-source.html">qwt_plot_picker.cpp</a>.<p>References <a class="el" href="qwt__plot_8cpp-source.html#l00626">QwtPlot::canvasMap()</a>, <a class="el" href="qwt__scale__map_8h-source.html#l00163">QwtScaleMap::invTransform()</a>, and <a class="el" href="qwt__plot__picker_8cpp-source.html#l00119">plot()</a>. </td> </tr></table><a class="anchor" name="fed4c21c2c9d7a3bf1d7a722b78b6264"></a><!-- doxytag: member="QwtPlotPicker::invTransform" ref="fed4c21c2c9d7a3bf1d7a722b78b6264" args="(const QRect &) 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 QwtPlotPicker::invTransform </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const QRect & </td> <td class="mdname1" valign="top" nowrap> <em>rect</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [protected]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Translate a rectangle from pixel into plot coordinates<p><dl compact><dt><b>Returns:</b></dt><dd>Rectangle in plot coordinates </dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_picker.html#f825eb774b3fd77cde590f3de7807d9e">QwtPlotPicker::transform()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__plot__picker_8cpp-source.html#l00332">332</a> of file <a class="el" href="qwt__plot__picker_8cpp-source.html">qwt_plot_picker.cpp</a>.<p>References <a class="el" href="qwt__plot_8cpp-source.html#l00626">QwtPlot::canvasMap()</a>, <a class="el" href="qwt__scale__map_8h-source.html#l00163">QwtScaleMap::invTransform()</a>, and <a class="el" href="qwt__plot__picker_8cpp-source.html#l00119">plot()</a>.<p>Referenced by <a class="el" href="qwt__plot__picker_8cpp-source.html#l00244">append()</a>, <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00575">QwtPlotZoomer::end()</a>, <a class="el" href="qwt__plot__picker_8cpp-source.html#l00273">end()</a>, <a class="el" href="qwt__plot__picker_8cpp-source.html#l00259">move()</a>, and <a class="el" href="qwt__plot__picker_8cpp-source.html#l00200">trackerText()</a>. </td> </tr></table><a class="anchor" name="7a979d23cd4d398e309409e76635bcf4"></a><!-- doxytag: member="QwtPlotPicker::move" ref="7a979d23cd4d398e309409e76635bcf4" args="(const QPoint &)" --><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 QwtPlotPicker::move </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const QPoint & </td> <td class="mdname1" valign="top" nowrap> <em>pos</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [protected, virtual]</code></td> </tr> </table> </td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -