📄 class_qwt_plot_picker.html
字号:
<tr> <td class="md" nowrap valign="top">void QwtPlotPicker::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>Set the x and y axes of the picker<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 in <a class="el" href="class_qwt_plot_zoomer.html#6cb755e06b83e50e8353dd706f7fb6f0">QwtPlotZoomer</a>.<p>Definition at line <a class="el" href="qwt__plot__picker_8cpp-source.html#l00169">169</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__picker_8cpp-source.html#l00119">plot()</a>.<p>Referenced by <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00387">QwtPlotZoomer::setAxis()</a>. </td> </tr></table><a class="anchor" name="0b2e4f3995af42367f352cef6d334ee2"></a><!-- doxytag: member="QwtPlotPicker::trackerText" ref="0b2e4f3995af42367f352cef6d334ee2" args="(const QwtDoublePoint &) 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"><a class="el" href="class_qwt_text.html">QwtText</a> QwtPlotPicker::trackerText </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> const<code> [protected, virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Translate a position into a position string. <p>In case of HLineRubberBand the label is the value of the y position, in case of VLineRubberBand the value of the x position. Otherwise the label contains x and y position separated by a ',' .<p>The format for the double to string conversion is "%.4f".<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 </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>Position string </dd></dl><p>Definition at line <a class="el" href="qwt__plot__picker_8cpp-source.html#l00217">217</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#l00373">QwtPicker::rubberBand()</a>. </td> </tr></table><a class="anchor" name="7a85e6d7a45e5e480db670bb5f9a9b72"></a><!-- doxytag: member="QwtPlotPicker::trackerText" ref="7a85e6d7a45e5e480db670bb5f9a9b72" 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"><a class="el" href="class_qwt_text.html">QwtText</a> QwtPlotPicker::trackerText </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, virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Translate a pixel position into a position string<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 in pixel coordinates </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>Position string </dd></dl><p>Reimplemented from <a class="el" href="class_qwt_picker.html#48ab7695edfa22df80490bf930f16cc4">QwtPicker</a>.<p>Definition at line <a class="el" href="qwt__plot__picker_8cpp-source.html#l00200">200</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__picker_8cpp-source.html#l00332">invTransform()</a>. </td> </tr></table><a class="anchor" name="2c15072c6b02020987f101702230e92c"></a><!-- doxytag: member="QwtPlotPicker::transform" ref="2c15072c6b02020987f101702230e92c" args="(const QwtDoublePoint &) 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">QPoint QwtPlotPicker::transform </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> 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 plot into pixel coordinates <dl compact><dt><b>Returns:</b></dt><dd>Point in pixel coordinates </dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_picker.html#fed4c21c2c9d7a3bf1d7a722b78b6264">QwtPlotPicker::invTransform()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__plot__picker_8cpp-source.html#l00385">385</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__plot__picker_8cpp-source.html#l00119">plot()</a>, and <a class="el" href="qwt__scale__map_8h-source.html#l00175">QwtScaleMap::transform()</a>. </td> </tr></table><a class="anchor" name="f825eb774b3fd77cde590f3de7807d9e"></a><!-- doxytag: member="QwtPlotPicker::transform" ref="f825eb774b3fd77cde590f3de7807d9e" args="(const QwtDoubleRect &) 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">QRect QwtPlotPicker::transform </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> 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 plot into pixel coordinates <dl compact><dt><b>Returns:</b></dt><dd>Rectangle in pixel coordinates </dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_picker.html#fed4c21c2c9d7a3bf1d7a722b78b6264">QwtPlotPicker::invTransform()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__plot__picker_8cpp-source.html#l00351">351</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__plot__picker_8cpp-source.html#l00119">plot()</a>, and <a class="el" href="qwt__scale__map_8h-source.html#l00175">QwtScaleMap::transform()</a>. </td> </tr></table><a class="anchor" name="9cdd6d56e990173a00c6c81edbe8818d"></a><!-- doxytag: member="QwtPlotPicker::xAxis" ref="9cdd6d56e990173a00c6c81edbe8818d" 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">int QwtPlotPicker::xAxis </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 x axis. <p><p>Definition at line <a class="el" href="qwt__plot__picker_8cpp-source.html#l00183">183</a> of file <a class="el" href="qwt__plot__picker_8cpp-source.html">qwt_plot_picker.cpp</a>.<p>Referenced by <a class="el" href="qwt__plot__picker_8cpp-source.html#l00032">QwtPlotPicker()</a>, <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00343">QwtPlotZoomer::rescale()</a>, <a class="el" href="qwt__plot__picker_8cpp-source.html#l00143">scaleRect()</a>, and <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00387">QwtPlotZoomer::setAxis()</a>. </td> </tr></table><a class="anchor" name="3068fb734845abfdf5dff00ead18377f"></a><!-- doxytag: member="QwtPlotPicker::yAxis" ref="3068fb734845abfdf5dff00ead18377f" 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">int QwtPlotPicker::yAxis </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 y axis. <p><p>Definition at line <a class="el" href="qwt__plot__picker_8cpp-source.html#l00189">189</a> of file <a class="el" href="qwt__plot__picker_8cpp-source.html">qwt_plot_picker.cpp</a>.<p>Referenced by <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00343">QwtPlotZoomer::rescale()</a>, <a class="el" href="qwt__plot__picker_8cpp-source.html#l00143">scaleRect()</a>, and <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00387">QwtPlotZoomer::setAxis()</a>. </td> </tr></table><hr size="1"><address style="align: right;"><small>Generated on Mon Feb 26 21:25:17 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 + -