📄 class_qwt_plot_layout.html
字号:
<dl compact><dt><b>Warning:</b></dt><dd>The margin will have no effect when alignCanvasToScales is true </dd></dl><p>Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00236">236</a> of file <a class="el" href="qwt__plot__layout_8cpp-source.html">qwt_plot_layout.cpp</a>.<p>Referenced by <a class="el" href="qwt__plot__layout_8cpp-source.html#l00183">QwtPlotLayout()</a>. </td> </tr></table><a class="anchor" name="001f1eca91803d0eaa9548efc50879eb"></a><!-- doxytag: member="QwtPlotLayout::setLegendPosition" ref="001f1eca91803d0eaa9548efc50879eb" args="(QwtPlot::LegendPosition 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 QwtPlotLayout::setLegendPosition </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="class_qwt_plot.html#31aacb65b5c049dde8c34a0d8482661b">QwtPlot::LegendPosition</a> </td> <td class="mdname1" valign="top" nowrap> <em>pos</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>Specify the position of the legend. <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>The legend's position. Valid values are <code>QwtPlot::LeftLegend</code>, <code>QwtPlot::RightLegend</code>, <code>QwtPlot::TopLegend</code>, <code>QwtPlot::BottomLegend</code>.</td></tr> </table></dl><dl compact><dt><b>See also:</b></dt><dd>QwtPlot::setLegendPosition() </dd></dl><p>Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00364">364</a> of file <a class="el" href="qwt__plot__layout_8cpp-source.html">qwt_plot_layout.cpp</a>.<p>References <a class="el" href="qwt__plot__layout_8cpp-source.html#l00327">setLegendPosition()</a>. </td> </tr></table><a class="anchor" name="11c9695a68f95135841cb23212589f18"></a><!-- doxytag: member="QwtPlotLayout::setLegendPosition" ref="11c9695a68f95135841cb23212589f18" args="(QwtPlot::LegendPosition pos, double ratio)" --><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 QwtPlotLayout::setLegendPosition </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="class_qwt_plot.html#31aacb65b5c049dde8c34a0d8482661b">QwtPlot::LegendPosition</a> </td> <td class="mdname" nowrap> <em>pos</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>ratio</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Specify the position of the legend. <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>The legend's position. </td></tr> <tr><td valign="top"></td><td valign="top"><em>ratio</em> </td><td>Ratio between legend and the bounding rect of title, canvas and axes. The legend will be shrinked if it would need more space than the given ratio. The ratio is limited to ]0.0 .. 1.0]. In case of <= 0.0 it will be reset to the default ratio. The default vertical/horizontal ratio is 0.33/0.5.</td></tr> </table></dl><dl compact><dt><b>See also:</b></dt><dd>QwtPlot::setLegendPosition() </dd></dl><p>Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00327">327</a> of file <a class="el" href="qwt__plot__layout_8cpp-source.html">qwt_plot_layout.cpp</a>.<p>Referenced by <a class="el" href="qwt__plot__layout_8cpp-source.html#l00183">QwtPlotLayout()</a>, <a class="el" href="qwt__plot__layout_8cpp-source.html#l00364">setLegendPosition()</a>, and <a class="el" href="qwt__plot__layout_8cpp-source.html#l00388">setLegendRatio()</a>. </td> </tr></table><a class="anchor" name="abe9f952046139667e055c661bee4dbb"></a><!-- doxytag: member="QwtPlotLayout::setLegendRatio" ref="abe9f952046139667e055c661bee4dbb" args="(double ratio)" --><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 QwtPlotLayout::setLegendRatio </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">double </td> <td class="mdname1" valign="top" nowrap> <em>ratio</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>Specify the relative size of the legend in the plot <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>ratio</em> </td><td>Ratio between legend and the bounding rect of title, canvas and axes. The legend will be shrinked if it would need more space than the given ratio. The ratio is limited to ]0.0 .. 1.0]. In case of <= 0.0 it will be reset to the default ratio. The default vertical/horizontal ratio is 0.33/0.5. </td></tr> </table></dl><p>Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00388">388</a> of file <a class="el" href="qwt__plot__layout_8cpp-source.html">qwt_plot_layout.cpp</a>.<p>References <a class="el" href="qwt__plot__layout_8cpp-source.html#l00374">legendPosition()</a>, and <a class="el" href="qwt__plot__layout_8cpp-source.html#l00327">setLegendPosition()</a>. </td> </tr></table><a class="anchor" name="67fc75a6f4c4d368d629841df1c5e6a5"></a><!-- doxytag: member="QwtPlotLayout::setMargin" ref="67fc75a6f4c4d368d629841df1c5e6a5" 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 QwtPlotLayout::setMargin </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname1" valign="top" nowrap> <em>margin</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>Change the margin of the plot. The margin is the space around all components.<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>margin</em> </td><td>new margin </td></tr> </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#358367bf229c02a7a062f9890a1b3507">margin()</a>, <a class="el" href="class_qwt_plot_layout.html#6508553ec1d66bede49e7767526c3d03">setSpacing()</a>, <a class="el" href="class_qwt_plot.html#26f01ba1c3c85308db6cac67c5f1159c">QwtPlot::setMargin()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00207">207</a> of file <a class="el" href="qwt__plot__layout_8cpp-source.html">qwt_plot_layout.cpp</a>. </td> </tr></table><a class="anchor" name="6508553ec1d66bede49e7767526c3d03"></a><!-- doxytag: member="QwtPlotLayout::setSpacing" ref="6508553ec1d66bede49e7767526c3d03" 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 QwtPlotLayout::setSpacing </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname1" valign="top" nowrap> <em>spacing</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>Change the spacing of the plot. The spacing is the distance between the plot components.<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>spacing</em> </td><td>new spacing </td></tr> </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#67fc75a6f4c4d368d629841df1c5e6a5">setMargin()</a>, <a class="el" href="class_qwt_plot_layout.html#e93650a8f3208578f87348334b77a282">spacing()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00300">300</a> of file <a class="el" href="qwt__plot__layout_8cpp-source.html">qwt_plot_layout.cpp</a>. </td> </tr></table><a class="anchor" name="e93650a8f3208578f87348334b77a282"></a><!-- doxytag: member="QwtPlotLayout::spacing" ref="e93650a8f3208578f87348334b77a282" 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 QwtPlotLayout::spacing </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>spacing </dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#358367bf229c02a7a062f9890a1b3507">margin()</a>, <a class="el" href="class_qwt_plot_layout.html#6508553ec1d66bede49e7767526c3d03">setSpacing()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00309">309</a> of file <a class="el" href="qwt__plot__layout_8cpp-source.html">qwt_plot_layout.cpp</a>. </td> </tr></table><a class="anchor" name="f6f48a4705eb7aa7616a9e1da98e2d14"></a><!-- doxytag: member="QwtPlotLayout::titleRect" ref="f6f48a4705eb7aa7616a9e1da98e2d14" 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 QRect & QwtPlotLayout::titleRect </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>Geometry for the title </dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#4ccba7e8e8a857cd1e16d2a68f9bcbcb">activate()</a>, <a class="el" href="class_qwt_plot_layout.html#44ce72879951571ffe4daa95be0ec242">invalidate()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00407">407</a> of file <a class="el" href="qwt__plot__layout_8cpp-source.html">qwt_plot_layout.cpp</a>. </td> </tr></table><hr size="1"><address style="align: right;"><small>Generated on Mon Feb 26 21:25:05 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 + -