Sophie

Sophie

distrib > Mandriva > cooker > i586 > by-pkgid > 76bdad05b5dca2a491582dbec0713d55 > files > 522

libqwt-devel-6.0.1-2.i586.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Qwt User&#39;s Guide: QwtPlotLayout Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.3 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Qwt User's Guide&#160;<span id="projectnumber">6.0.1</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a>  </div>
  <div class="headertitle">
<h1>QwtPlotLayout Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="QwtPlotLayout" -->
<p>Layout engine for <a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget.">QwtPlot</a>.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="qwt__plot__layout_8h_source.html">qwt_plot_layout.h</a>&gt;</code></p>

<p><a href="class_qwt_plot_layout-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#ad0d2d60e86a4c69ec105524041d5221d">Option</a> { <br/>
&#160;&#160;<a class="el" href="class_qwt_plot_layout.html#ad0d2d60e86a4c69ec105524041d5221daf92cc90a2b68a8788a813807d379b95a">AlignScales</a> =  0x01, 
<br/>
&#160;&#160;<a class="el" href="class_qwt_plot_layout.html#ad0d2d60e86a4c69ec105524041d5221da813736a8e614f8f24db773081642b74c">IgnoreScrollbars</a> =  0x02, 
<br/>
&#160;&#160;<a class="el" href="class_qwt_plot_layout.html#ad0d2d60e86a4c69ec105524041d5221da9036bf7de40018a2f12d456a04949c6b">IgnoreFrames</a> =  0x04, 
<br/>
&#160;&#160;<a class="el" href="class_qwt_plot_layout.html#ad0d2d60e86a4c69ec105524041d5221daa7237e2be1e8fc41a8b3156b57b95ed3">IgnoreLegend</a> =  0x08
<br/>
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef QFlags&lt; <a class="el" href="class_qwt_plot_layout.html#ad0d2d60e86a4c69ec105524041d5221d">Option</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#aa43457184903f3aaa58e6e073622ef52">Options</a></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#af940812bf4a9d94dac534734168d4ac8">activate</a> (const <a class="el" href="class_qwt_plot.html">QwtPlot</a> *, const QRectF &amp;rect, <a class="el" href="class_qwt_plot_layout.html#aa43457184903f3aaa58e6e073622ef52">Options</a> options=0x00)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#ab0200ba639cfd0f31b798d6aa9b6bba7">alignCanvasToScales</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#aacf659495ecc45367eacf5f4b2aeca7d">canvasMargin</a> (int axis) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const QRectF &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#ac18259224add32db416a591a03738d75">canvasRect</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a44ce72879951571ffe4daa95be0ec242">invalidate</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_plot.html#a31aacb65b5c049dde8c34a0d8482661b">QwtPlot::LegendPosition</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a6351a18b76e22d9e83d682d203599afc">legendPosition</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a6d5d4e568ad74010742e1fdcfc1c7672">legendRatio</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const QRectF &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#ac8df9a500b5f9903d5658d99f83c5d5c">legendRect</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSize&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a068a12c510998760c727a095f5b055fe">minimumSizeHint</a> (const <a class="el" href="class_qwt_plot.html">QwtPlot</a> *) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#ac89596fb2a3d3a92901f124821045a47">QwtPlotLayout</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const QRectF &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a9d84ec8ba0482f629798d076d0a7d902">scaleRect</a> (int axis) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a147fcf4c59b34779b5a7dc7361a3b6c3">setAlignCanvasToScales</a> (bool)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a11667dad6675a7a58cc60ab1597b1203">setCanvasMargin</a> (int margin, int axis=-1)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a11c9695a68f95135841cb23212589f18">setLegendPosition</a> (<a class="el" href="class_qwt_plot.html#a31aacb65b5c049dde8c34a0d8482661b">QwtPlot::LegendPosition</a> pos, double ratio)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a001f1eca91803d0eaa9548efc50879eb">setLegendPosition</a> (<a class="el" href="class_qwt_plot.html#a31aacb65b5c049dde8c34a0d8482661b">QwtPlot::LegendPosition</a> pos)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#aabe9f952046139667e055c661bee4dbb">setLegendRatio</a> (double ratio)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a6508553ec1d66bede49e7767526c3d03">setSpacing</a> (int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#ae93650a8f3208578f87348334b77a282">spacing</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const QRectF &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#adfa052a36e48ae0ae625f9f875b739a6">titleRect</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a39653485c638535bc11f50d2e5ef936d">~QwtPlotLayout</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QRectF&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a38c8c706367c67e36664bf901fd14f36">alignLegend</a> (const QRectF &amp;canvasRect, const QRectF &amp;legendRect) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#aba8d76ed436cb36052decee7732bf6e0">alignScales</a> (int options, QRectF &amp;canvasRect, QRectF scaleRect[QwtPlot::axisCnt]) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#ac50f01f0fc49f0dc4028f56f56149d88">expandLineBreaks</a> (int options, const QRectF &amp;rect, int &amp;dimTitle, int dimAxes[QwtPlot::axisCnt]) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QRectF&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#ae5eebbda9691833dfb5d2aa6a193f131">layoutLegend</a> (<a class="el" href="class_qwt_plot_layout.html#aa43457184903f3aaa58e6e073622ef52">Options</a> options, const QRectF &amp;) const </td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Layout engine for <a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget.">QwtPlot</a>. </p>
<p>It is used by the <a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget.">QwtPlot</a> widget to organize its internal widgets or by QwtPlot::print() to render its content to a QPaintDevice like a QPrinter, QPixmap/QImage or QSvgRenderer. </p>
</div><hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="aa43457184903f3aaa58e6e073622ef52"></a><!-- doxytag: member="QwtPlotLayout::Options" ref="aa43457184903f3aaa58e6e073622ef52" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef QFlags&lt;<a class="el" href="class_qwt_plot_layout.html#ad0d2d60e86a4c69ec105524041d5221d">Option</a>&gt; <a class="el" href="class_qwt_plot_layout.html#aa43457184903f3aaa58e6e073622ef52">QwtPlotLayout::Options</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Layout options. </p>

</div>
</div>
<hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="ad0d2d60e86a4c69ec105524041d5221d"></a><!-- doxytag: member="QwtPlotLayout::Option" ref="ad0d2d60e86a4c69ec105524041d5221d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_qwt_plot_layout.html#ad0d2d60e86a4c69ec105524041d5221d">QwtPlotLayout::Option</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Options to configure the plot layout engine </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#af940812bf4a9d94dac534734168d4ac8" title="Recalculate the geometry of all components.">activate()</a>, <a class="el" href="class_qwt_plot_renderer.html" title="Renderer for exporting a plot to a document, a printer or anything else, that is supported by QPainte...">QwtPlotRenderer</a> </dd></dl>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="ad0d2d60e86a4c69ec105524041d5221daf92cc90a2b68a8788a813807d379b95a"></a><!-- doxytag: member="AlignScales" ref="ad0d2d60e86a4c69ec105524041d5221daf92cc90a2b68a8788a813807d379b95a" args="" -->AlignScales</em>&nbsp;</td><td>
<p>Unused. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ad0d2d60e86a4c69ec105524041d5221da813736a8e614f8f24db773081642b74c"></a><!-- doxytag: member="IgnoreScrollbars" ref="ad0d2d60e86a4c69ec105524041d5221da813736a8e614f8f24db773081642b74c" args="" -->IgnoreScrollbars</em>&nbsp;</td><td>
<p>Ignore the dimension of the scrollbars. There are no scrollbars, when the plot is not rendered to widgets. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ad0d2d60e86a4c69ec105524041d5221da9036bf7de40018a2f12d456a04949c6b"></a><!-- doxytag: member="IgnoreFrames" ref="ad0d2d60e86a4c69ec105524041d5221da9036bf7de40018a2f12d456a04949c6b" args="" -->IgnoreFrames</em>&nbsp;</td><td>
<p>Ignore all frames. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ad0d2d60e86a4c69ec105524041d5221daa7237e2be1e8fc41a8b3156b57b95ed3"></a><!-- doxytag: member="IgnoreLegend" ref="ad0d2d60e86a4c69ec105524041d5221daa7237e2be1e8fc41a8b3156b57b95ed3" args="" -->IgnoreLegend</em>&nbsp;</td><td>
<p>Ignore the legend. </p>
</td></tr>
</table>
</dd>
</dl>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ac89596fb2a3d3a92901f124821045a47"></a><!-- doxytag: member="QwtPlotLayout::QwtPlotLayout" ref="ac89596fb2a3d3a92901f124821045a47" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QwtPlotLayout::QwtPlotLayout </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor. </p>

</div>
</div>
<a class="anchor" id="a39653485c638535bc11f50d2e5ef936d"></a><!-- doxytag: member="QwtPlotLayout::~QwtPlotLayout" ref="a39653485c638535bc11f50d2e5ef936d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QwtPlotLayout::~QwtPlotLayout </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Destructor. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="af940812bf4a9d94dac534734168d4ac8"></a><!-- doxytag: member="QwtPlotLayout::activate" ref="af940812bf4a9d94dac534734168d4ac8" args="(const QwtPlot *, const QRectF &amp;rect, Options options=0x00)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotLayout::activate </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</td>
          <td class="paramname"><em>plot</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QRectF &amp;&#160;</td>
          <td class="paramname"><em>plotRect</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_qwt_plot_layout.html#aa43457184903f3aaa58e6e073622ef52">Options</a>&#160;</td>
          <td class="paramname"><em>options</em> = <code>0x00</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Recalculate the geometry of all components. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">plot</td><td>Plot to be layout </td></tr>
    <tr><td class="paramname">plotRect</td><td>Rect where to place the components </td></tr>
    <tr><td class="paramname">options</td><td>Layout options</td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#a44ce72879951571ffe4daa95be0ec242">invalidate()</a>, <a class="el" href="class_qwt_plot_layout.html#adfa052a36e48ae0ae625f9f875b739a6">titleRect()</a>, <a class="el" href="class_qwt_plot_layout.html#ac8df9a500b5f9903d5658d99f83c5d5c">legendRect()</a>, <a class="el" href="class_qwt_plot_layout.html#a9d84ec8ba0482f629798d076d0a7d902">scaleRect()</a>, <a class="el" href="class_qwt_plot_layout.html#ac18259224add32db416a591a03738d75">canvasRect()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ab0200ba639cfd0f31b798d6aa9b6bba7"></a><!-- doxytag: member="QwtPlotLayout::alignCanvasToScales" ref="ab0200ba639cfd0f31b798d6aa9b6bba7" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QwtPlotLayout::alignCanvasToScales </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return the align-canvas-to-axis-scales setting. The canvas may:</p>
<ul>
<li>extend beyond the axis scale ends to maximize its size</li>
<li>align with the axis scale ends to control its size.</li>
</ul>
<dl class="return"><dt><b>Returns:</b></dt><dd>align-canvas-to-axis-scales setting </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#a147fcf4c59b34779b5a7dc7361a3b6c3">setAlignCanvasToScales</a>, <a class="el" href="class_qwt_plot_layout.html#a11667dad6675a7a58cc60ab1597b1203">setCanvasMargin()</a> </dd></dl>
<dl class="note"><dt><b>Note:</b></dt><dd>In this context the term 'scale' means the backbone of a scale. </dd></dl>

</div>
</div>
<a class="anchor" id="a38c8c706367c67e36664bf901fd14f36"></a><!-- doxytag: member="QwtPlotLayout::alignLegend" ref="a38c8c706367c67e36664bf901fd14f36" args="(const QRectF &amp;canvasRect, const QRectF &amp;legendRect) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QRectF QwtPlotLayout::alignLegend </td>
          <td>(</td>
          <td class="paramtype">const QRectF &amp;&#160;</td>
          <td class="paramname"><em>canvasRect</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QRectF &amp;&#160;</td>
          <td class="paramname"><em>legendRect</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Align the legend to the canvas </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">canvasRect</td><td>Geometry of the canvas </td></tr>
    <tr><td class="paramname">legendRect</td><td>Maximum geometry for the legend </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Geometry for the aligned legend </dd></dl>

</div>
</div>
<a class="anchor" id="aba8d76ed436cb36052decee7732bf6e0"></a><!-- doxytag: member="QwtPlotLayout::alignScales" ref="aba8d76ed436cb36052decee7732bf6e0" args="(int options, QRectF &amp;canvasRect, QRectF scaleRect[QwtPlot::axisCnt]) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotLayout::alignScales </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QRectF &amp;&#160;</td>
          <td class="paramname"><em>canvasRect</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QRectF&#160;</td>
          <td class="paramname"><em>scaleRect</em>[QwtPlot::axisCnt]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Align the ticks of the axis to the canvas borders using the empty corners.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#aa43457184903f3aaa58e6e073622ef52" title="Layout options.">Options</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aacf659495ecc45367eacf5f4b2aeca7d"></a><!-- doxytag: member="QwtPlotLayout::canvasMargin" ref="aacf659495ecc45367eacf5f4b2aeca7d" args="(int axis) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int QwtPlotLayout::canvasMargin </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>axis</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>Margin around the scale tick borders </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#a11667dad6675a7a58cc60ab1597b1203">setCanvasMargin()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ac18259224add32db416a591a03738d75"></a><!-- doxytag: member="QwtPlotLayout::canvasRect" ref="ac18259224add32db416a591a03738d75" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const QRectF &amp; QwtPlotLayout::canvasRect </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>Geometry for the canvas </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#af940812bf4a9d94dac534734168d4ac8" title="Recalculate the geometry of all components.">activate()</a>, <a class="el" href="class_qwt_plot_layout.html#a44ce72879951571ffe4daa95be0ec242">invalidate()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ac50f01f0fc49f0dc4028f56f56149d88"></a><!-- doxytag: member="QwtPlotLayout::expandLineBreaks" ref="ac50f01f0fc49f0dc4028f56f56149d88" args="(int options, const QRectF &amp;rect, int &amp;dimTitle, int dimAxes[QwtPlot::axisCnt]) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotLayout::expandLineBreaks </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QRectF &amp;&#160;</td>
          <td class="paramname"><em>rect</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"><em>dimTitle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>dimAxis</em>[QwtPlot::axisCnt]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Expand all line breaks in text labels, and calculate the height of their widgets in orientation of the text.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">options</td><td>Options how to layout the legend </td></tr>
    <tr><td class="paramname">rect</td><td>Bounding rect for title, axes and canvas. </td></tr>
    <tr><td class="paramname">dimTitle</td><td>Expanded height of the title widget </td></tr>
    <tr><td class="paramname">dimAxis</td><td>Expanded heights of the axis in axis orientation.</td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#aa43457184903f3aaa58e6e073622ef52" title="Layout options.">Options</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a44ce72879951571ffe4daa95be0ec242"></a><!-- doxytag: member="QwtPlotLayout::invalidate" ref="a44ce72879951571ffe4daa95be0ec242" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotLayout::invalidate </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Invalidate the geometry of all components. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#af940812bf4a9d94dac534734168d4ac8" title="Recalculate the geometry of all components.">activate()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ae5eebbda9691833dfb5d2aa6a193f131"></a><!-- doxytag: member="QwtPlotLayout::layoutLegend" ref="ae5eebbda9691833dfb5d2aa6a193f131" args="(Options options, const QRectF &amp;) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QRectF QwtPlotLayout::layoutLegend </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_qwt_plot_layout.html#aa43457184903f3aaa58e6e073622ef52">Options</a>&#160;</td>
          <td class="paramname"><em>options</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QRectF &amp;&#160;</td>
          <td class="paramname"><em>rect</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Find the geometry for the legend </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">options</td><td>Options how to layout the legend </td></tr>
    <tr><td class="paramname">rect</td><td>Rectangle where to place the legend </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Geometry for the legend </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#aa43457184903f3aaa58e6e073622ef52" title="Layout options.">Options</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a6351a18b76e22d9e83d682d203599afc"></a><!-- doxytag: member="QwtPlotLayout::legendPosition" ref="a6351a18b76e22d9e83d682d203599afc" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_qwt_plot.html#a31aacb65b5c049dde8c34a0d8482661b">QwtPlot::LegendPosition</a> QwtPlotLayout::legendPosition </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>Position of the legend </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#a11c9695a68f95135841cb23212589f18" title="Specify the position of the legend.">setLegendPosition()</a>, QwtPlot::setLegendPosition(), QwtPlot::legendPosition() </dd></dl>

</div>
</div>
<a class="anchor" id="a6d5d4e568ad74010742e1fdcfc1c7672"></a><!-- doxytag: member="QwtPlotLayout::legendRatio" ref="a6d5d4e568ad74010742e1fdcfc1c7672" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double QwtPlotLayout::legendRatio </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>The relative size of the legend in the plot. </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#a11c9695a68f95135841cb23212589f18" title="Specify the position of the legend.">setLegendPosition()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ac8df9a500b5f9903d5658d99f83c5d5c"></a><!-- doxytag: member="QwtPlotLayout::legendRect" ref="ac8df9a500b5f9903d5658d99f83c5d5c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const QRectF &amp; QwtPlotLayout::legendRect </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>Geometry for the legend </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#af940812bf4a9d94dac534734168d4ac8" title="Recalculate the geometry of all components.">activate()</a>, <a class="el" href="class_qwt_plot_layout.html#a44ce72879951571ffe4daa95be0ec242">invalidate()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a068a12c510998760c727a095f5b055fe"></a><!-- doxytag: member="QwtPlotLayout::minimumSizeHint" ref="a068a12c510998760c727a095f5b055fe" args="(const QwtPlot *) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QSize QwtPlotLayout::minimumSizeHint </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</td>
          <td class="paramname"><em>plot</em></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return a minimum size hint. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot.html#a5a17d0ea2e9a977d48045e742f5b8cfd" title="Return a minimum size hint.">QwtPlot::minimumSizeHint()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a9d84ec8ba0482f629798d076d0a7d902"></a><!-- doxytag: member="QwtPlotLayout::scaleRect" ref="a9d84ec8ba0482f629798d076d0a7d902" args="(int axis) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const QRectF &amp; QwtPlotLayout::scaleRect </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>axis</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">axis</td><td>Axis index </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Geometry for the scale </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#af940812bf4a9d94dac534734168d4ac8" title="Recalculate the geometry of all components.">activate()</a>, <a class="el" href="class_qwt_plot_layout.html#a44ce72879951571ffe4daa95be0ec242">invalidate()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a147fcf4c59b34779b5a7dc7361a3b6c3"></a><!-- doxytag: member="QwtPlotLayout::setAlignCanvasToScales" ref="a147fcf4c59b34779b5a7dc7361a3b6c3" args="(bool)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotLayout::setAlignCanvasToScales </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>alignCanvasToScales</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Change the align-canvas-to-axis-scales setting. The canvas may:</p>
<ul>
<li>extend beyond the axis scale ends to maximize its size,</li>
<li>align with the axis scale ends to control its size.</li>
</ul>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">alignCanvasToScales</td><td>New align-canvas-to-axis-scales setting</td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#a11667dad6675a7a58cc60ab1597b1203">setCanvasMargin()</a> </dd></dl>
<dl class="note"><dt><b>Note:</b></dt><dd>In this context the term 'scale' means the backbone of a scale. </dd></dl>
<dl class="warning"><dt><b>Warning:</b></dt><dd>In case of alignCanvasToScales == true canvasMargin will have no effect </dd></dl>

</div>
</div>
<a class="anchor" id="a11667dad6675a7a58cc60ab1597b1203"></a><!-- doxytag: member="QwtPlotLayout::setCanvasMargin" ref="a11667dad6675a7a58cc60ab1597b1203" args="(int margin, int axis=&#45;1)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotLayout::setCanvasMargin </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>margin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>axis</em> = <code>-1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Change a margin of the canvas. The margin is the space above/below the scale ticks. A negative margin will be set to -1, excluding the borders of the scales.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">margin</td><td>New margin </td></tr>
    <tr><td class="paramname">axis</td><td>One of <a class="el" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271" title="Axis index.">QwtPlot::Axis</a>. Specifies where the position of the margin. -1 means margin at all borders. </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#aacf659495ecc45367eacf5f4b2aeca7d">canvasMargin()</a></dd></dl>
<dl class="warning"><dt><b>Warning:</b></dt><dd>The margin will have no effect when alignCanvasToScales is true </dd></dl>

</div>
</div>
<a class="anchor" id="a001f1eca91803d0eaa9548efc50879eb"></a><!-- doxytag: member="QwtPlotLayout::setLegendPosition" ref="a001f1eca91803d0eaa9548efc50879eb" args="(QwtPlot::LegendPosition pos)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotLayout::setLegendPosition </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_qwt_plot.html#a31aacb65b5c049dde8c34a0d8482661b">QwtPlot::LegendPosition</a>&#160;</td>
          <td class="paramname"><em>pos</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Specify the position of the legend. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pos</td><td>The legend's position. Valid values are <code><a class="el" href="class_qwt_plot.html#a31aacb65b5c049dde8c34a0d8482661ba38b51536a196582bd1f7658c0828eb18" title="The legend will be left from the QwtPlot::yLeft axis.">QwtPlot::LeftLegend</a></code>, <code><a class="el" href="class_qwt_plot.html#a31aacb65b5c049dde8c34a0d8482661ba5273f8002504c24f9dae6ce09b08f03c" title="The legend will be right from the QwtPlot::yRight axis.">QwtPlot::RightLegend</a></code>, <code><a class="el" href="class_qwt_plot.html#a31aacb65b5c049dde8c34a0d8482661ba0ee6820a1e8b56737958b738ca23ae34" title="The legend will be between QwtPlot::xTop axis and the title.">QwtPlot::TopLegend</a></code>, <code><a class="el" href="class_qwt_plot.html#a31aacb65b5c049dde8c34a0d8482661ba8b863705308d89b388732f186be15fb5" title="The legend will be below QwtPlot::xBottom axis.">QwtPlot::BottomLegend</a></code>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd>QwtPlot::setLegendPosition() </dd></dl>

</div>
</div>
<a class="anchor" id="a11c9695a68f95135841cb23212589f18"></a><!-- doxytag: member="QwtPlotLayout::setLegendPosition" ref="a11c9695a68f95135841cb23212589f18" args="(QwtPlot::LegendPosition pos, double ratio)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotLayout::setLegendPosition </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_qwt_plot.html#a31aacb65b5c049dde8c34a0d8482661b">QwtPlot::LegendPosition</a>&#160;</td>
          <td class="paramname"><em>pos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>ratio</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Specify the position of the legend. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pos</td><td>The legend's position. </td></tr>
    <tr><td class="paramname">ratio</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 &lt;= 0.0 it will be reset to the default ratio. The default vertical/horizontal ratio is 0.33/0.5.</td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd>QwtPlot::setLegendPosition() </dd></dl>

</div>
</div>
<a class="anchor" id="aabe9f952046139667e055c661bee4dbb"></a><!-- doxytag: member="QwtPlotLayout::setLegendRatio" ref="aabe9f952046139667e055c661bee4dbb" args="(double ratio)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotLayout::setLegendRatio </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>ratio</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Specify the relative size of the legend in the plot </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">ratio</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 &lt;= 0.0 it will be reset to the default ratio. The default vertical/horizontal ratio is 0.33/0.5. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6508553ec1d66bede49e7767526c3d03"></a><!-- doxytag: member="QwtPlotLayout::setSpacing" ref="a6508553ec1d66bede49e7767526c3d03" args="(int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotLayout::setSpacing </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>spacing</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Change the spacing of the plot. The spacing is the distance between the plot components.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">spacing</td><td>new spacing </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd>setMargin(), <a class="el" href="class_qwt_plot_layout.html#ae93650a8f3208578f87348334b77a282">spacing()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ae93650a8f3208578f87348334b77a282"></a><!-- doxytag: member="QwtPlotLayout::spacing" ref="ae93650a8f3208578f87348334b77a282" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int QwtPlotLayout::spacing </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>spacing </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd>margin(), <a class="el" href="class_qwt_plot_layout.html#a6508553ec1d66bede49e7767526c3d03">setSpacing()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="adfa052a36e48ae0ae625f9f875b739a6"></a><!-- doxytag: member="QwtPlotLayout::titleRect" ref="adfa052a36e48ae0ae625f9f875b739a6" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const QRectF &amp; QwtPlotLayout::titleRect </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>Geometry for the title </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#af940812bf4a9d94dac534734168d4ac8" title="Recalculate the geometry of all components.">activate()</a>, <a class="el" href="class_qwt_plot_layout.html#a44ce72879951571ffe4daa95be0ec242">invalidate()</a> </dd></dl>

</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>Generated by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>