📄 class_qwt_plot_layout.html
字号:
</tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Align the legend to the canvas <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>canvasRect</em> </td><td>Geometry of the canvas </td></tr> <tr><td valign="top"></td><td valign="top"><em>legendRect</em> </td><td>Maximum geometry for the legend </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>Geometry for the aligned legend </dd></dl><p>Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00709">709</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="a1ea394fce72c1c06f2aaf6fcd90db2a"></a><!-- doxytag: member="QwtPlotLayout::alignScales" ref="a1ea394fce72c1c06f2aaf6fcd90db2a" args="(int options, QRect &canvasRect, QRect scaleRect[QwtPlot::axisCnt]) 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">void QwtPlotLayout::alignScales </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname" nowrap> <em>options</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>QRect & </td> <td class="mdname" nowrap> <em>canvasRect</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>QRect </td> <td class="mdname" nowrap> <em>scaleRect</em>[QwtPlot::axisCnt]</td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"> const<code> [protected]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Align the ticks of the axis to the canvas borders using the empty corners. <p>Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00850">850</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="acf659495ecc45367eacf5f4b2aeca7d"></a><!-- doxytag: member="QwtPlotLayout::canvasMargin" ref="acf659495ecc45367eacf5f4b2aeca7d" args="(int axis) 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::canvasMargin </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname1" valign="top" nowrap> <em>axis</em> </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>Margin around the scale tick borders </dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#11667dad6675a7a58cc60ab1597b1203">setCanvasMargin()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00254">254</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_8cpp-source.html#l00626">QwtPlot::canvasMap()</a>. </td> </tr></table><a class="anchor" name="244d79c1d635630b5d160053b62ae9f3"></a><!-- doxytag: member="QwtPlotLayout::canvasRect" ref="244d79c1d635630b5d160053b62ae9f3" 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::canvasRect </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 canvas </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#l00443">443</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="036716f40c899fb5e82d2866e8758c81"></a><!-- doxytag: member="QwtPlotLayout::expandLineBreaks" ref="036716f40c899fb5e82d2866e8758c81" args="(int options, const QRect &rect, int &dimTitle, int dimAxes[QwtPlot::axisCnt]) 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">void QwtPlotLayout::expandLineBreaks </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname" nowrap> <em>options</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const QRect & </td> <td class="mdname" nowrap> <em>rect</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>dimTitle</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>dimAxis</em>[QwtPlot::axisCnt]</td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"> const<code> [protected]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Expand all line breaks in text labels, and calculate the height of their widgets in orientation of the text.<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>options</em> </td><td>Options how to layout the legend </td></tr> <tr><td valign="top"></td><td valign="top"><em>rect</em> </td><td>Bounding rect for title, axes and canvas. </td></tr> <tr><td valign="top"></td><td valign="top"><em>dimTitle</em> </td><td>Expanded height of the title widget </td></tr> <tr><td valign="top"></td><td valign="top"><em>dimAxis</em> </td><td>Expanded heights of the axis in axis orientation. </td></tr> </table></dl><p>Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00744">744</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="44ce72879951571ffe4daa95be0ec242"></a><!-- doxytag: member="QwtPlotLayout::invalidate" ref="44ce72879951571ffe4daa95be0ec242" 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 QwtPlotLayout::invalidate </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> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Invalidate the geometry of all components. <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#4ccba7e8e8a857cd1e16d2a68f9bcbcb">activate()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00452">452</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#l01017">activate()</a>, and <a class="el" href="qwt__plot__layout_8cpp-source.html#l00183">QwtPlotLayout()</a>. </td> </tr></table><a class="anchor" name="3ac077f6dd97a28a81e2e443597d378c"></a><!-- doxytag: member="QwtPlotLayout::layoutLegend" ref="3ac077f6dd97a28a81e2e443597d378c" args="(int options, 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">QRect QwtPlotLayout::layoutLegend </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname" nowrap> <em>options</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const QRect & </td> <td class="mdname" nowrap> <em>rect</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"> const<code> [protected]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Find the geometry for the legend <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>options</em> </td><td>Options how to layout the legend </td></tr> <tr><td valign="top"></td><td valign="top"><em>rect</em> </td><td>Rectangle where to place the legend </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>Geometry for the legend </dd></dl><p>Definition at line <a class="el" href="qwt__plot__layout_8cpp-source.html#l00648">648</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#l01017">activate()</a>. </td> </tr></table><a class="anchor" name="6351a18b76e22d9e83d682d203599afc"></a><!-- doxytag: member="QwtPlotLayout::legendPosition" ref="6351a18b76e22d9e83d682d203599afc" args="() const " --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -