class_qwt_plot_layout.html 65 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.20"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>Qwt User&#39;s Guide: QwtPlotLayout Class Reference</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="navtree.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="resize.js"></script>
  14. <script type="text/javascript" src="navtreedata.js"></script>
  15. <script type="text/javascript" src="navtree.js"></script>
  16. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  17. <script type="text/javascript" src="search/searchdata.js"></script>
  18. <script type="text/javascript" src="search/search.js"></script>
  19. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  20. </head>
  21. <body>
  22. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  23. <div id="titlearea">
  24. <table cellspacing="0" cellpadding="0">
  25. <tbody>
  26. <tr style="height: 56px;">
  27. <td id="projectalign" style="padding-left: 0.5em;">
  28. <div id="projectname">Qwt User&#39;s Guide
  29. &#160;<span id="projectnumber">6.1.6</span>
  30. </div>
  31. </td>
  32. </tr>
  33. </tbody>
  34. </table>
  35. </div>
  36. <!-- end header part -->
  37. <!-- Generated by Doxygen 1.8.20 -->
  38. <script type="text/javascript">
  39. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  40. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  41. /* @license-end */
  42. </script>
  43. <script type="text/javascript" src="menudata.js"></script>
  44. <script type="text/javascript" src="menu.js"></script>
  45. <script type="text/javascript">
  46. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  47. $(function() {
  48. initMenu('',true,false,'search.php','Search');
  49. $(document).ready(function() { init_search(); });
  50. });
  51. /* @license-end */</script>
  52. <div id="main-nav"></div>
  53. </div><!-- top -->
  54. <div id="side-nav" class="ui-resizable side-nav-resizable">
  55. <div id="nav-tree">
  56. <div id="nav-tree-contents">
  57. <div id="nav-sync" class="sync"></div>
  58. </div>
  59. </div>
  60. <div id="splitbar" style="-moz-user-select:none;"
  61. class="ui-resizable-handle">
  62. </div>
  63. </div>
  64. <script type="text/javascript">
  65. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  66. $(document).ready(function(){initNavTree('class_qwt_plot_layout.html',''); initResizable(); });
  67. /* @license-end */
  68. </script>
  69. <div id="doc-content">
  70. <!-- window showing the filter options -->
  71. <div id="MSearchSelectWindow"
  72. onmouseover="return searchBox.OnSearchSelectShow()"
  73. onmouseout="return searchBox.OnSearchSelectHide()"
  74. onkeydown="return searchBox.OnSearchSelectKey(event)">
  75. </div>
  76. <!-- iframe showing the search results (closed by default) -->
  77. <div id="MSearchResultsWindow">
  78. <iframe src="javascript:void(0)" frameborder="0"
  79. name="MSearchResults" id="MSearchResults">
  80. </iframe>
  81. </div>
  82. <div class="header">
  83. <div class="summary">
  84. <a href="#pub-types">Public Types</a> &#124;
  85. <a href="#pub-methods">Public Member Functions</a> &#124;
  86. <a href="#pro-methods">Protected Member Functions</a> &#124;
  87. <a href="class_qwt_plot_layout-members.html">List of all members</a> </div>
  88. <div class="headertitle">
  89. <div class="title">QwtPlotLayout Class Reference</div> </div>
  90. </div><!--header-->
  91. <div class="contents">
  92. <p>Layout engine for <a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget.">QwtPlot</a>.
  93. <a href="class_qwt_plot_layout.html#details">More...</a></p>
  94. <p><code>#include &lt;<a class="el" href="qwt__plot__layout_8h_source.html">qwt_plot_layout.h</a>&gt;</code></p>
  95. <table class="memberdecls">
  96. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
  97. Public Types</h2></td></tr>
  98. <tr class="memitem:ad0d2d60e86a4c69ec105524041d5221d"><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 />
  99. &#160;&#160;<a class="el" href="class_qwt_plot_layout.html#ad0d2d60e86a4c69ec105524041d5221daf92cc90a2b68a8788a813807d379b95a">AlignScales</a> = 0x01,
  100. <a class="el" href="class_qwt_plot_layout.html#ad0d2d60e86a4c69ec105524041d5221da813736a8e614f8f24db773081642b74c">IgnoreScrollbars</a> = 0x02,
  101. <a class="el" href="class_qwt_plot_layout.html#ad0d2d60e86a4c69ec105524041d5221da9036bf7de40018a2f12d456a04949c6b">IgnoreFrames</a> = 0x04,
  102. <a class="el" href="class_qwt_plot_layout.html#ad0d2d60e86a4c69ec105524041d5221daa7237e2be1e8fc41a8b3156b57b95ed3">IgnoreLegend</a> = 0x08,
  103. <br />
  104. &#160;&#160;<a class="el" href="class_qwt_plot_layout.html#ad0d2d60e86a4c69ec105524041d5221da00feaacfa819204f09074fc9b128b22c">IgnoreTitle</a> = 0x10,
  105. <a class="el" href="class_qwt_plot_layout.html#ad0d2d60e86a4c69ec105524041d5221da132d4fc728c0826a269a143f2d655215">IgnoreFooter</a> = 0x20
  106. <br />
  107. }</td></tr>
  108. <tr class="separator:ad0d2d60e86a4c69ec105524041d5221d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  109. <tr class="memitem:aa43457184903f3aaa58e6e073622ef52"><td class="memItemLeft" align="right" valign="top"><a id="aa43457184903f3aaa58e6e073622ef52"></a>
  110. 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>
  111. <tr class="memdesc:aa43457184903f3aaa58e6e073622ef52"><td class="mdescLeft">&#160;</td><td class="mdescRight">Layout options. <br /></td></tr>
  112. <tr class="separator:aa43457184903f3aaa58e6e073622ef52"><td class="memSeparator" colspan="2">&#160;</td></tr>
  113. </table><table class="memberdecls">
  114. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  115. Public Member Functions</h2></td></tr>
  116. <tr class="memitem:ac89596fb2a3d3a92901f124821045a47"><td class="memItemLeft" align="right" valign="top"><a id="ac89596fb2a3d3a92901f124821045a47"></a>
  117. &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#ac89596fb2a3d3a92901f124821045a47">QwtPlotLayout</a> ()</td></tr>
  118. <tr class="memdesc:ac89596fb2a3d3a92901f124821045a47"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br /></td></tr>
  119. <tr class="separator:ac89596fb2a3d3a92901f124821045a47"><td class="memSeparator" colspan="2">&#160;</td></tr>
  120. <tr class="memitem:a39653485c638535bc11f50d2e5ef936d"><td class="memItemLeft" align="right" valign="top"><a id="a39653485c638535bc11f50d2e5ef936d"></a>
  121. virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a39653485c638535bc11f50d2e5ef936d">~QwtPlotLayout</a> ()</td></tr>
  122. <tr class="memdesc:a39653485c638535bc11f50d2e5ef936d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
  123. <tr class="separator:a39653485c638535bc11f50d2e5ef936d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  124. <tr class="memitem:a11667dad6675a7a58cc60ab1597b1203"><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>
  125. <tr class="separator:a11667dad6675a7a58cc60ab1597b1203"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. <tr class="memitem:a272b5eca1b2faaa3e6fb7f9d25d64016"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a272b5eca1b2faaa3e6fb7f9d25d64016">canvasMargin</a> (int axisId) const</td></tr>
  127. <tr class="separator:a272b5eca1b2faaa3e6fb7f9d25d64016"><td class="memSeparator" colspan="2">&#160;</td></tr>
  128. <tr class="memitem:a147fcf4c59b34779b5a7dc7361a3b6c3"><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>
  129. <tr class="memdesc:a147fcf4c59b34779b5a7dc7361a3b6c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the align-canvas-to-axis-scales flag for all axes. <a href="class_qwt_plot_layout.html#a147fcf4c59b34779b5a7dc7361a3b6c3">More...</a><br /></td></tr>
  130. <tr class="separator:a147fcf4c59b34779b5a7dc7361a3b6c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  131. <tr class="memitem:ad243b9afc9b5ce9530b500dc35096d67"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#ad243b9afc9b5ce9530b500dc35096d67">setAlignCanvasToScale</a> (int axisId, bool)</td></tr>
  132. <tr class="separator:ad243b9afc9b5ce9530b500dc35096d67"><td class="memSeparator" colspan="2">&#160;</td></tr>
  133. <tr class="memitem:a4aaca10c99faff613fd2fe2d554a2e0c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a4aaca10c99faff613fd2fe2d554a2e0c">alignCanvasToScale</a> (int axisId) const</td></tr>
  134. <tr class="separator:a4aaca10c99faff613fd2fe2d554a2e0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  135. <tr class="memitem:a6508553ec1d66bede49e7767526c3d03"><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>
  136. <tr class="separator:a6508553ec1d66bede49e7767526c3d03"><td class="memSeparator" colspan="2">&#160;</td></tr>
  137. <tr class="memitem:a1fad9d271b40d6b6e68918d92eb64d02"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a1fad9d271b40d6b6e68918d92eb64d02">spacing</a> () const</td></tr>
  138. <tr class="separator:a1fad9d271b40d6b6e68918d92eb64d02"><td class="memSeparator" colspan="2">&#160;</td></tr>
  139. <tr class="memitem:a11c9695a68f95135841cb23212589f18"><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>
  140. <tr class="memdesc:a11c9695a68f95135841cb23212589f18"><td class="mdescLeft">&#160;</td><td class="mdescRight">Specify the position of the legend. <a href="class_qwt_plot_layout.html#a11c9695a68f95135841cb23212589f18">More...</a><br /></td></tr>
  141. <tr class="separator:a11c9695a68f95135841cb23212589f18"><td class="memSeparator" colspan="2">&#160;</td></tr>
  142. <tr class="memitem:a001f1eca91803d0eaa9548efc50879eb"><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>
  143. <tr class="memdesc:a001f1eca91803d0eaa9548efc50879eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Specify the position of the legend. <a href="class_qwt_plot_layout.html#a001f1eca91803d0eaa9548efc50879eb">More...</a><br /></td></tr>
  144. <tr class="separator:a001f1eca91803d0eaa9548efc50879eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  145. <tr class="memitem:a49106b180459ae7ee4b7f486cbb196e8"><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#a49106b180459ae7ee4b7f486cbb196e8">legendPosition</a> () const</td></tr>
  146. <tr class="separator:a49106b180459ae7ee4b7f486cbb196e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  147. <tr class="memitem:aabe9f952046139667e055c661bee4dbb"><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>
  148. <tr class="separator:aabe9f952046139667e055c661bee4dbb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  149. <tr class="memitem:a88440049820ccdd146e3b77bbf321e00"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a88440049820ccdd146e3b77bbf321e00">legendRatio</a> () const</td></tr>
  150. <tr class="separator:a88440049820ccdd146e3b77bbf321e00"><td class="memSeparator" colspan="2">&#160;</td></tr>
  151. <tr class="memitem:a5993bbcac2aaa0af640236bbc044bfce"><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#a5993bbcac2aaa0af640236bbc044bfce">minimumSizeHint</a> (const <a class="el" href="class_qwt_plot.html">QwtPlot</a> *) const</td></tr>
  152. <tr class="separator:a5993bbcac2aaa0af640236bbc044bfce"><td class="memSeparator" colspan="2">&#160;</td></tr>
  153. <tr class="memitem:ad206e470175a66eac8b1ff0eb1002899"><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#ad206e470175a66eac8b1ff0eb1002899">activate</a> (const <a class="el" href="class_qwt_plot.html">QwtPlot</a> *, const QRectF &amp;plotRect, <a class="el" href="class_qwt_plot_layout.html#aa43457184903f3aaa58e6e073622ef52">Options</a> options=<a class="el" href="class_qwt_plot_layout.html#aa43457184903f3aaa58e6e073622ef52">Options</a>())</td></tr>
  154. <tr class="memdesc:ad206e470175a66eac8b1ff0eb1002899"><td class="mdescLeft">&#160;</td><td class="mdescRight">Recalculate the geometry of all components. <a href="class_qwt_plot_layout.html#ad206e470175a66eac8b1ff0eb1002899">More...</a><br /></td></tr>
  155. <tr class="separator:ad206e470175a66eac8b1ff0eb1002899"><td class="memSeparator" colspan="2">&#160;</td></tr>
  156. <tr class="memitem:a44ce72879951571ffe4daa95be0ec242"><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>
  157. <tr class="separator:a44ce72879951571ffe4daa95be0ec242"><td class="memSeparator" colspan="2">&#160;</td></tr>
  158. <tr class="memitem:a0e6c18f4d1bee939a93890604e91545a"><td class="memItemLeft" align="right" valign="top">QRectF&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a0e6c18f4d1bee939a93890604e91545a">titleRect</a> () const</td></tr>
  159. <tr class="separator:a0e6c18f4d1bee939a93890604e91545a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  160. <tr class="memitem:a1e51041fec828d74fc5b02a2f76ca64c"><td class="memItemLeft" align="right" valign="top">QRectF&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a1e51041fec828d74fc5b02a2f76ca64c">footerRect</a> () const</td></tr>
  161. <tr class="separator:a1e51041fec828d74fc5b02a2f76ca64c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  162. <tr class="memitem:a36669366de8e0e732052c171efc22303"><td class="memItemLeft" align="right" valign="top">QRectF&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a36669366de8e0e732052c171efc22303">legendRect</a> () const</td></tr>
  163. <tr class="separator:a36669366de8e0e732052c171efc22303"><td class="memSeparator" colspan="2">&#160;</td></tr>
  164. <tr class="memitem:a98fd0aacd18fc11c2bf5f944e13e63ab"><td class="memItemLeft" align="right" valign="top">QRectF&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a98fd0aacd18fc11c2bf5f944e13e63ab">scaleRect</a> (int axis) const</td></tr>
  165. <tr class="separator:a98fd0aacd18fc11c2bf5f944e13e63ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
  166. <tr class="memitem:aac82be1d0129a0826b300de679a3403a"><td class="memItemLeft" align="right" valign="top">QRectF&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#aac82be1d0129a0826b300de679a3403a">canvasRect</a> () const</td></tr>
  167. <tr class="separator:aac82be1d0129a0826b300de679a3403a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  168. </table><table class="memberdecls">
  169. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  170. Protected Member Functions</h2></td></tr>
  171. <tr class="memitem:a82b49e88c7928224c4b0342b6302c086"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a82b49e88c7928224c4b0342b6302c086">setTitleRect</a> (const QRectF &amp;)</td></tr>
  172. <tr class="memdesc:a82b49e88c7928224c4b0342b6302c086"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the geometry for the title. <a href="class_qwt_plot_layout.html#a82b49e88c7928224c4b0342b6302c086">More...</a><br /></td></tr>
  173. <tr class="separator:a82b49e88c7928224c4b0342b6302c086"><td class="memSeparator" colspan="2">&#160;</td></tr>
  174. <tr class="memitem:a60698767fe44c86ee4bcef27c1b48d26"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a60698767fe44c86ee4bcef27c1b48d26">setFooterRect</a> (const QRectF &amp;)</td></tr>
  175. <tr class="memdesc:a60698767fe44c86ee4bcef27c1b48d26"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the geometry for the footer. <a href="class_qwt_plot_layout.html#a60698767fe44c86ee4bcef27c1b48d26">More...</a><br /></td></tr>
  176. <tr class="separator:a60698767fe44c86ee4bcef27c1b48d26"><td class="memSeparator" colspan="2">&#160;</td></tr>
  177. <tr class="memitem:a5d5c1dacdfff8281acf0a909acaf866c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a5d5c1dacdfff8281acf0a909acaf866c">setLegendRect</a> (const QRectF &amp;)</td></tr>
  178. <tr class="memdesc:a5d5c1dacdfff8281acf0a909acaf866c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the geometry for the legend. <a href="class_qwt_plot_layout.html#a5d5c1dacdfff8281acf0a909acaf866c">More...</a><br /></td></tr>
  179. <tr class="separator:a5d5c1dacdfff8281acf0a909acaf866c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  180. <tr class="memitem:a842733777eb2b0bf2cacc4bb01c169c7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a842733777eb2b0bf2cacc4bb01c169c7">setScaleRect</a> (int axis, const QRectF &amp;)</td></tr>
  181. <tr class="memdesc:a842733777eb2b0bf2cacc4bb01c169c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the geometry for an axis. <a href="class_qwt_plot_layout.html#a842733777eb2b0bf2cacc4bb01c169c7">More...</a><br /></td></tr>
  182. <tr class="separator:a842733777eb2b0bf2cacc4bb01c169c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  183. <tr class="memitem:ab3d6614684b96a5879300476d2df8f8f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#ab3d6614684b96a5879300476d2df8f8f">setCanvasRect</a> (const QRectF &amp;)</td></tr>
  184. <tr class="memdesc:ab3d6614684b96a5879300476d2df8f8f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the geometry for the canvas. <a href="class_qwt_plot_layout.html#ab3d6614684b96a5879300476d2df8f8f">More...</a><br /></td></tr>
  185. <tr class="separator:ab3d6614684b96a5879300476d2df8f8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  186. <tr class="memitem:a47e0a93ba43d4bafe3666e471fd714b2"><td class="memItemLeft" align="right" valign="top">QRectF&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a47e0a93ba43d4bafe3666e471fd714b2">layoutLegend</a> (<a class="el" href="class_qwt_plot_layout.html#aa43457184903f3aaa58e6e073622ef52">Options</a> options, const QRectF &amp;) const</td></tr>
  187. <tr class="separator:a47e0a93ba43d4bafe3666e471fd714b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  188. <tr class="memitem:a128ca0c9c9eb95e466ecbc0aa9121e53"><td class="memItemLeft" align="right" valign="top">QRectF&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a128ca0c9c9eb95e466ecbc0aa9121e53">alignLegend</a> (const QRectF &amp;<a class="el" href="class_qwt_plot_layout.html#aac82be1d0129a0826b300de679a3403a">canvasRect</a>, const QRectF &amp;<a class="el" href="class_qwt_plot_layout.html#a36669366de8e0e732052c171efc22303">legendRect</a>) const</td></tr>
  189. <tr class="separator:a128ca0c9c9eb95e466ecbc0aa9121e53"><td class="memSeparator" colspan="2">&#160;</td></tr>
  190. <tr class="memitem:afd7a889fcb51a7a5a88942d595baa223"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#afd7a889fcb51a7a5a88942d595baa223">expandLineBreaks</a> (<a class="el" href="class_qwt_plot_layout.html#aa43457184903f3aaa58e6e073622ef52">Options</a> options, const QRectF &amp;rect, int &amp;dimTitle, int &amp;dimFooter, int dimAxes[<a class="el" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271aea62036dfd48ee0f9450718592614892">QwtPlot::axisCnt</a>]) const</td></tr>
  191. <tr class="separator:afd7a889fcb51a7a5a88942d595baa223"><td class="memSeparator" colspan="2">&#160;</td></tr>
  192. <tr class="memitem:abb79b564eca29b88a51effb13eb8530e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#abb79b564eca29b88a51effb13eb8530e">alignScales</a> (<a class="el" href="class_qwt_plot_layout.html#aa43457184903f3aaa58e6e073622ef52">Options</a> options, QRectF &amp;<a class="el" href="class_qwt_plot_layout.html#aac82be1d0129a0826b300de679a3403a">canvasRect</a>, QRectF <a class="el" href="class_qwt_plot_layout.html#a98fd0aacd18fc11c2bf5f944e13e63ab">scaleRect</a>[<a class="el" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271aea62036dfd48ee0f9450718592614892">QwtPlot::axisCnt</a>]) const</td></tr>
  193. <tr class="separator:abb79b564eca29b88a51effb13eb8530e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  194. </table>
  195. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  196. <div class="textblock"><p>Layout engine for <a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget.">QwtPlot</a>. </p>
  197. <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>
  198. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot.html#a08e258f9ba498662a8be9a559c9c7e44" title="Assign a new plot layout.">QwtPlot::setPlotLayout()</a> </dd></dl>
  199. </div><h2 class="groupheader">Member Enumeration Documentation</h2>
  200. <a id="ad0d2d60e86a4c69ec105524041d5221d"></a>
  201. <h2 class="memtitle"><span class="permalink"><a href="#ad0d2d60e86a4c69ec105524041d5221d">&#9670;&nbsp;</a></span>Option</h2>
  202. <div class="memitem">
  203. <div class="memproto">
  204. <table class="memname">
  205. <tr>
  206. <td class="memname">enum <a class="el" href="class_qwt_plot_layout.html#ad0d2d60e86a4c69ec105524041d5221d">QwtPlotLayout::Option</a></td>
  207. </tr>
  208. </table>
  209. </div><div class="memdoc">
  210. <p>Options to configure the plot layout engine </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_layout.html#ad206e470175a66eac8b1ff0eb1002899" 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>
  211. <table class="fieldtable">
  212. <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ad0d2d60e86a4c69ec105524041d5221daf92cc90a2b68a8788a813807d379b95a"></a>AlignScales&#160;</td><td class="fielddoc"><p>Unused. </p>
  213. </td></tr>
  214. <tr><td class="fieldname"><a id="ad0d2d60e86a4c69ec105524041d5221da813736a8e614f8f24db773081642b74c"></a>IgnoreScrollbars&#160;</td><td class="fielddoc"><p>Ignore the dimension of the scrollbars. There are no scrollbars, when the plot is not rendered to widgets. </p>
  215. </td></tr>
  216. <tr><td class="fieldname"><a id="ad0d2d60e86a4c69ec105524041d5221da9036bf7de40018a2f12d456a04949c6b"></a>IgnoreFrames&#160;</td><td class="fielddoc"><p>Ignore all frames. </p>
  217. </td></tr>
  218. <tr><td class="fieldname"><a id="ad0d2d60e86a4c69ec105524041d5221daa7237e2be1e8fc41a8b3156b57b95ed3"></a>IgnoreLegend&#160;</td><td class="fielddoc"><p>Ignore the legend. </p>
  219. </td></tr>
  220. <tr><td class="fieldname"><a id="ad0d2d60e86a4c69ec105524041d5221da00feaacfa819204f09074fc9b128b22c"></a>IgnoreTitle&#160;</td><td class="fielddoc"><p>Ignore the title. </p>
  221. </td></tr>
  222. <tr><td class="fieldname"><a id="ad0d2d60e86a4c69ec105524041d5221da132d4fc728c0826a269a143f2d655215"></a>IgnoreFooter&#160;</td><td class="fielddoc"><p>Ignore the footer. </p>
  223. </td></tr>
  224. </table>
  225. </div>
  226. </div>
  227. <h2 class="groupheader">Member Function Documentation</h2>
  228. <a id="ad206e470175a66eac8b1ff0eb1002899"></a>
  229. <h2 class="memtitle"><span class="permalink"><a href="#ad206e470175a66eac8b1ff0eb1002899">&#9670;&nbsp;</a></span>activate()</h2>
  230. <div class="memitem">
  231. <div class="memproto">
  232. <table class="mlabels">
  233. <tr>
  234. <td class="mlabels-left">
  235. <table class="memname">
  236. <tr>
  237. <td class="memname">void QwtPlotLayout::activate </td>
  238. <td>(</td>
  239. <td class="paramtype">const <a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</td>
  240. <td class="paramname"><em>plot</em>, </td>
  241. </tr>
  242. <tr>
  243. <td class="paramkey"></td>
  244. <td></td>
  245. <td class="paramtype">const QRectF &amp;&#160;</td>
  246. <td class="paramname"><em>plotRect</em>, </td>
  247. </tr>
  248. <tr>
  249. <td class="paramkey"></td>
  250. <td></td>
  251. <td class="paramtype"><a class="el" href="class_qwt_plot_layout.html#aa43457184903f3aaa58e6e073622ef52">Options</a>&#160;</td>
  252. <td class="paramname"><em>options</em> = <code><a class="el" href="class_qwt_plot_layout.html#aa43457184903f3aaa58e6e073622ef52">Options</a>()</code>&#160;</td>
  253. </tr>
  254. <tr>
  255. <td></td>
  256. <td>)</td>
  257. <td></td><td></td>
  258. </tr>
  259. </table>
  260. </td>
  261. <td class="mlabels-right">
  262. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  263. </tr>
  264. </table>
  265. </div><div class="memdoc">
  266. <p>Recalculate the geometry of all components. </p>
  267. <dl class="params"><dt>Parameters</dt><dd>
  268. <table class="params">
  269. <tr><td class="paramname">plot</td><td>Plot to be layout </td></tr>
  270. <tr><td class="paramname">plotRect</td><td>Rectangle where to place the components </td></tr>
  271. <tr><td class="paramname">options</td><td>Layout options</td></tr>
  272. </table>
  273. </dd>
  274. </dl>
  275. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_layout.html#a44ce72879951571ffe4daa95be0ec242">invalidate()</a>, <a class="el" href="class_qwt_plot_layout.html#a0e6c18f4d1bee939a93890604e91545a">titleRect()</a>, <a class="el" href="class_qwt_plot_layout.html#a1e51041fec828d74fc5b02a2f76ca64c">footerRect()</a> <a class="el" href="class_qwt_plot_layout.html#a36669366de8e0e732052c171efc22303">legendRect()</a>, <a class="el" href="class_qwt_plot_layout.html#a98fd0aacd18fc11c2bf5f944e13e63ab">scaleRect()</a>, <a class="el" href="class_qwt_plot_layout.html#aac82be1d0129a0826b300de679a3403a">canvasRect()</a> </dd></dl>
  276. </div>
  277. </div>
  278. <a id="a4aaca10c99faff613fd2fe2d554a2e0c"></a>
  279. <h2 class="memtitle"><span class="permalink"><a href="#a4aaca10c99faff613fd2fe2d554a2e0c">&#9670;&nbsp;</a></span>alignCanvasToScale()</h2>
  280. <div class="memitem">
  281. <div class="memproto">
  282. <table class="memname">
  283. <tr>
  284. <td class="memname">bool QwtPlotLayout::alignCanvasToScale </td>
  285. <td>(</td>
  286. <td class="paramtype">int&#160;</td>
  287. <td class="paramname"><em>axisId</em></td><td>)</td>
  288. <td> const</td>
  289. </tr>
  290. </table>
  291. </div><div class="memdoc">
  292. <p>Return the align-canvas-to-axis-scales setting. The canvas may:</p><ul>
  293. <li>extend beyond the axis scale ends to maximize its size</li>
  294. <li>align with the axis scale ends to control its size.</li>
  295. </ul>
  296. <dl class="params"><dt>Parameters</dt><dd>
  297. <table class="params">
  298. <tr><td class="paramname">axisId</td><td>Axis index </td></tr>
  299. </table>
  300. </dd>
  301. </dl>
  302. <dl class="section return"><dt>Returns</dt><dd>align-canvas-to-axis-scales setting </dd></dl>
  303. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_layout.html#ad243b9afc9b5ce9530b500dc35096d67">setAlignCanvasToScale()</a>, <a class="el" href="class_qwt_plot_layout.html#ad243b9afc9b5ce9530b500dc35096d67">setAlignCanvasToScale()</a>, <a class="el" href="class_qwt_plot_layout.html#a11667dad6675a7a58cc60ab1597b1203">setCanvasMargin()</a> </dd></dl>
  304. </div>
  305. </div>
  306. <a id="a128ca0c9c9eb95e466ecbc0aa9121e53"></a>
  307. <h2 class="memtitle"><span class="permalink"><a href="#a128ca0c9c9eb95e466ecbc0aa9121e53">&#9670;&nbsp;</a></span>alignLegend()</h2>
  308. <div class="memitem">
  309. <div class="memproto">
  310. <table class="mlabels">
  311. <tr>
  312. <td class="mlabels-left">
  313. <table class="memname">
  314. <tr>
  315. <td class="memname">QRectF QwtPlotLayout::alignLegend </td>
  316. <td>(</td>
  317. <td class="paramtype">const QRectF &amp;&#160;</td>
  318. <td class="paramname"><em>canvasRect</em>, </td>
  319. </tr>
  320. <tr>
  321. <td class="paramkey"></td>
  322. <td></td>
  323. <td class="paramtype">const QRectF &amp;&#160;</td>
  324. <td class="paramname"><em>legendRect</em>&#160;</td>
  325. </tr>
  326. <tr>
  327. <td></td>
  328. <td>)</td>
  329. <td></td><td> const</td>
  330. </tr>
  331. </table>
  332. </td>
  333. <td class="mlabels-right">
  334. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  335. </tr>
  336. </table>
  337. </div><div class="memdoc">
  338. <p>Align the legend to the canvas</p>
  339. <dl class="params"><dt>Parameters</dt><dd>
  340. <table class="params">
  341. <tr><td class="paramname">canvasRect</td><td>Geometry of the canvas </td></tr>
  342. <tr><td class="paramname">legendRect</td><td>Maximum geometry for the legend</td></tr>
  343. </table>
  344. </dd>
  345. </dl>
  346. <dl class="section return"><dt>Returns</dt><dd>Geometry for the aligned legend </dd></dl>
  347. </div>
  348. </div>
  349. <a id="abb79b564eca29b88a51effb13eb8530e"></a>
  350. <h2 class="memtitle"><span class="permalink"><a href="#abb79b564eca29b88a51effb13eb8530e">&#9670;&nbsp;</a></span>alignScales()</h2>
  351. <div class="memitem">
  352. <div class="memproto">
  353. <table class="mlabels">
  354. <tr>
  355. <td class="mlabels-left">
  356. <table class="memname">
  357. <tr>
  358. <td class="memname">void QwtPlotLayout::alignScales </td>
  359. <td>(</td>
  360. <td class="paramtype"><a class="el" href="class_qwt_plot_layout.html#aa43457184903f3aaa58e6e073622ef52">Options</a>&#160;</td>
  361. <td class="paramname"><em>options</em>, </td>
  362. </tr>
  363. <tr>
  364. <td class="paramkey"></td>
  365. <td></td>
  366. <td class="paramtype">QRectF &amp;&#160;</td>
  367. <td class="paramname"><em>canvasRect</em>, </td>
  368. </tr>
  369. <tr>
  370. <td class="paramkey"></td>
  371. <td></td>
  372. <td class="paramtype">QRectF&#160;</td>
  373. <td class="paramname"><em>scaleRect</em>[QwtPlot::axisCnt]&#160;</td>
  374. </tr>
  375. <tr>
  376. <td></td>
  377. <td>)</td>
  378. <td></td><td> const</td>
  379. </tr>
  380. </table>
  381. </td>
  382. <td class="mlabels-right">
  383. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  384. </tr>
  385. </table>
  386. </div><div class="memdoc">
  387. <p>Align the ticks of the axis to the canvas borders using the empty corners.</p>
  388. <dl class="params"><dt>Parameters</dt><dd>
  389. <table class="params">
  390. <tr><td class="paramname">options</td><td>Layout options </td></tr>
  391. <tr><td class="paramname">canvasRect</td><td>Geometry of the canvas ( IN/OUT ) </td></tr>
  392. <tr><td class="paramname">scaleRect</td><td>Geometries of the scales ( IN/OUT )</td></tr>
  393. </table>
  394. </dd>
  395. </dl>
  396. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_layout.html#aa43457184903f3aaa58e6e073622ef52" title="Layout options.">Options</a> </dd></dl>
  397. </div>
  398. </div>
  399. <a id="a272b5eca1b2faaa3e6fb7f9d25d64016"></a>
  400. <h2 class="memtitle"><span class="permalink"><a href="#a272b5eca1b2faaa3e6fb7f9d25d64016">&#9670;&nbsp;</a></span>canvasMargin()</h2>
  401. <div class="memitem">
  402. <div class="memproto">
  403. <table class="memname">
  404. <tr>
  405. <td class="memname">int QwtPlotLayout::canvasMargin </td>
  406. <td>(</td>
  407. <td class="paramtype">int&#160;</td>
  408. <td class="paramname"><em>axisId</em></td><td>)</td>
  409. <td> const</td>
  410. </tr>
  411. </table>
  412. </div><div class="memdoc">
  413. <dl class="params"><dt>Parameters</dt><dd>
  414. <table class="params">
  415. <tr><td class="paramname">axisId</td><td>Axis index </td></tr>
  416. </table>
  417. </dd>
  418. </dl>
  419. <dl class="section return"><dt>Returns</dt><dd>Margin around the scale tick borders </dd></dl>
  420. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_layout.html#a11667dad6675a7a58cc60ab1597b1203">setCanvasMargin()</a> </dd></dl>
  421. </div>
  422. </div>
  423. <a id="aac82be1d0129a0826b300de679a3403a"></a>
  424. <h2 class="memtitle"><span class="permalink"><a href="#aac82be1d0129a0826b300de679a3403a">&#9670;&nbsp;</a></span>canvasRect()</h2>
  425. <div class="memitem">
  426. <div class="memproto">
  427. <table class="memname">
  428. <tr>
  429. <td class="memname">QRectF QwtPlotLayout::canvasRect </td>
  430. <td>(</td>
  431. <td class="paramname"></td><td>)</td>
  432. <td> const</td>
  433. </tr>
  434. </table>
  435. </div><div class="memdoc">
  436. <dl class="section return"><dt>Returns</dt><dd>Geometry for the canvas </dd></dl>
  437. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_layout.html#ad206e470175a66eac8b1ff0eb1002899" title="Recalculate the geometry of all components.">activate()</a>, <a class="el" href="class_qwt_plot_layout.html#a44ce72879951571ffe4daa95be0ec242">invalidate()</a> </dd></dl>
  438. </div>
  439. </div>
  440. <a id="afd7a889fcb51a7a5a88942d595baa223"></a>
  441. <h2 class="memtitle"><span class="permalink"><a href="#afd7a889fcb51a7a5a88942d595baa223">&#9670;&nbsp;</a></span>expandLineBreaks()</h2>
  442. <div class="memitem">
  443. <div class="memproto">
  444. <table class="mlabels">
  445. <tr>
  446. <td class="mlabels-left">
  447. <table class="memname">
  448. <tr>
  449. <td class="memname">void QwtPlotLayout::expandLineBreaks </td>
  450. <td>(</td>
  451. <td class="paramtype"><a class="el" href="class_qwt_plot_layout.html#aa43457184903f3aaa58e6e073622ef52">Options</a>&#160;</td>
  452. <td class="paramname"><em>options</em>, </td>
  453. </tr>
  454. <tr>
  455. <td class="paramkey"></td>
  456. <td></td>
  457. <td class="paramtype">const QRectF &amp;&#160;</td>
  458. <td class="paramname"><em>rect</em>, </td>
  459. </tr>
  460. <tr>
  461. <td class="paramkey"></td>
  462. <td></td>
  463. <td class="paramtype">int &amp;&#160;</td>
  464. <td class="paramname"><em>dimTitle</em>, </td>
  465. </tr>
  466. <tr>
  467. <td class="paramkey"></td>
  468. <td></td>
  469. <td class="paramtype">int &amp;&#160;</td>
  470. <td class="paramname"><em>dimFooter</em>, </td>
  471. </tr>
  472. <tr>
  473. <td class="paramkey"></td>
  474. <td></td>
  475. <td class="paramtype">int&#160;</td>
  476. <td class="paramname"><em>dimAxes</em>[QwtPlot::axisCnt]&#160;</td>
  477. </tr>
  478. <tr>
  479. <td></td>
  480. <td>)</td>
  481. <td></td><td> const</td>
  482. </tr>
  483. </table>
  484. </td>
  485. <td class="mlabels-right">
  486. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  487. </tr>
  488. </table>
  489. </div><div class="memdoc">
  490. <p>Expand all line breaks in text labels, and calculate the height of their widgets in orientation of the text.</p>
  491. <dl class="params"><dt>Parameters</dt><dd>
  492. <table class="params">
  493. <tr><td class="paramname">options</td><td>Options how to layout the legend </td></tr>
  494. <tr><td class="paramname">rect</td><td>Bounding rectangle for title, footer, axes and canvas. </td></tr>
  495. <tr><td class="paramname">dimTitle</td><td>Expanded height of the title widget </td></tr>
  496. <tr><td class="paramname">dimFooter</td><td>Expanded height of the footer widget </td></tr>
  497. <tr><td class="paramname">dimAxes</td><td>Expanded heights of the axis in axis orientation.</td></tr>
  498. </table>
  499. </dd>
  500. </dl>
  501. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_layout.html#aa43457184903f3aaa58e6e073622ef52" title="Layout options.">Options</a> </dd></dl>
  502. </div>
  503. </div>
  504. <a id="a1e51041fec828d74fc5b02a2f76ca64c"></a>
  505. <h2 class="memtitle"><span class="permalink"><a href="#a1e51041fec828d74fc5b02a2f76ca64c">&#9670;&nbsp;</a></span>footerRect()</h2>
  506. <div class="memitem">
  507. <div class="memproto">
  508. <table class="memname">
  509. <tr>
  510. <td class="memname">QRectF QwtPlotLayout::footerRect </td>
  511. <td>(</td>
  512. <td class="paramname"></td><td>)</td>
  513. <td> const</td>
  514. </tr>
  515. </table>
  516. </div><div class="memdoc">
  517. <dl class="section return"><dt>Returns</dt><dd>Geometry for the footer </dd></dl>
  518. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_layout.html#ad206e470175a66eac8b1ff0eb1002899" title="Recalculate the geometry of all components.">activate()</a>, <a class="el" href="class_qwt_plot_layout.html#a44ce72879951571ffe4daa95be0ec242">invalidate()</a> </dd></dl>
  519. </div>
  520. </div>
  521. <a id="a44ce72879951571ffe4daa95be0ec242"></a>
  522. <h2 class="memtitle"><span class="permalink"><a href="#a44ce72879951571ffe4daa95be0ec242">&#9670;&nbsp;</a></span>invalidate()</h2>
  523. <div class="memitem">
  524. <div class="memproto">
  525. <table class="mlabels">
  526. <tr>
  527. <td class="mlabels-left">
  528. <table class="memname">
  529. <tr>
  530. <td class="memname">void QwtPlotLayout::invalidate </td>
  531. <td>(</td>
  532. <td class="paramname"></td><td>)</td>
  533. <td></td>
  534. </tr>
  535. </table>
  536. </td>
  537. <td class="mlabels-right">
  538. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  539. </tr>
  540. </table>
  541. </div><div class="memdoc">
  542. <p>Invalidate the geometry of all components. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_layout.html#ad206e470175a66eac8b1ff0eb1002899" title="Recalculate the geometry of all components.">activate()</a> </dd></dl>
  543. </div>
  544. </div>
  545. <a id="a47e0a93ba43d4bafe3666e471fd714b2"></a>
  546. <h2 class="memtitle"><span class="permalink"><a href="#a47e0a93ba43d4bafe3666e471fd714b2">&#9670;&nbsp;</a></span>layoutLegend()</h2>
  547. <div class="memitem">
  548. <div class="memproto">
  549. <table class="mlabels">
  550. <tr>
  551. <td class="mlabels-left">
  552. <table class="memname">
  553. <tr>
  554. <td class="memname">QRectF QwtPlotLayout::layoutLegend </td>
  555. <td>(</td>
  556. <td class="paramtype"><a class="el" href="class_qwt_plot_layout.html#aa43457184903f3aaa58e6e073622ef52">Options</a>&#160;</td>
  557. <td class="paramname"><em>options</em>, </td>
  558. </tr>
  559. <tr>
  560. <td class="paramkey"></td>
  561. <td></td>
  562. <td class="paramtype">const QRectF &amp;&#160;</td>
  563. <td class="paramname"><em>rect</em>&#160;</td>
  564. </tr>
  565. <tr>
  566. <td></td>
  567. <td>)</td>
  568. <td></td><td> const</td>
  569. </tr>
  570. </table>
  571. </td>
  572. <td class="mlabels-right">
  573. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  574. </tr>
  575. </table>
  576. </div><div class="memdoc">
  577. <p>Find the geometry for the legend</p>
  578. <dl class="params"><dt>Parameters</dt><dd>
  579. <table class="params">
  580. <tr><td class="paramname">options</td><td>Options how to layout the legend </td></tr>
  581. <tr><td class="paramname">rect</td><td>Rectangle where to place the legend</td></tr>
  582. </table>
  583. </dd>
  584. </dl>
  585. <dl class="section return"><dt>Returns</dt><dd>Geometry for the legend </dd></dl>
  586. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_layout.html#aa43457184903f3aaa58e6e073622ef52" title="Layout options.">Options</a> </dd></dl>
  587. </div>
  588. </div>
  589. <a id="a49106b180459ae7ee4b7f486cbb196e8"></a>
  590. <h2 class="memtitle"><span class="permalink"><a href="#a49106b180459ae7ee4b7f486cbb196e8">&#9670;&nbsp;</a></span>legendPosition()</h2>
  591. <div class="memitem">
  592. <div class="memproto">
  593. <table class="memname">
  594. <tr>
  595. <td class="memname"><a class="el" href="class_qwt_plot.html#a31aacb65b5c049dde8c34a0d8482661b">QwtPlot::LegendPosition</a> QwtPlotLayout::legendPosition </td>
  596. <td>(</td>
  597. <td class="paramname"></td><td>)</td>
  598. <td> const</td>
  599. </tr>
  600. </table>
  601. </div><div class="memdoc">
  602. <dl class="section return"><dt>Returns</dt><dd>Position of the legend </dd></dl>
  603. <dl class="section see"><dt>See also</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>
  604. </div>
  605. </div>
  606. <a id="a88440049820ccdd146e3b77bbf321e00"></a>
  607. <h2 class="memtitle"><span class="permalink"><a href="#a88440049820ccdd146e3b77bbf321e00">&#9670;&nbsp;</a></span>legendRatio()</h2>
  608. <div class="memitem">
  609. <div class="memproto">
  610. <table class="memname">
  611. <tr>
  612. <td class="memname">double QwtPlotLayout::legendRatio </td>
  613. <td>(</td>
  614. <td class="paramname"></td><td>)</td>
  615. <td> const</td>
  616. </tr>
  617. </table>
  618. </div><div class="memdoc">
  619. <dl class="section return"><dt>Returns</dt><dd>The relative size of the legend in the plot. </dd></dl>
  620. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_layout.html#a11c9695a68f95135841cb23212589f18" title="Specify the position of the legend.">setLegendPosition()</a> </dd></dl>
  621. </div>
  622. </div>
  623. <a id="a36669366de8e0e732052c171efc22303"></a>
  624. <h2 class="memtitle"><span class="permalink"><a href="#a36669366de8e0e732052c171efc22303">&#9670;&nbsp;</a></span>legendRect()</h2>
  625. <div class="memitem">
  626. <div class="memproto">
  627. <table class="memname">
  628. <tr>
  629. <td class="memname">QRectF QwtPlotLayout::legendRect </td>
  630. <td>(</td>
  631. <td class="paramname"></td><td>)</td>
  632. <td> const</td>
  633. </tr>
  634. </table>
  635. </div><div class="memdoc">
  636. <dl class="section return"><dt>Returns</dt><dd>Geometry for the legend </dd></dl>
  637. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_layout.html#ad206e470175a66eac8b1ff0eb1002899" title="Recalculate the geometry of all components.">activate()</a>, <a class="el" href="class_qwt_plot_layout.html#a44ce72879951571ffe4daa95be0ec242">invalidate()</a> </dd></dl>
  638. </div>
  639. </div>
  640. <a id="a5993bbcac2aaa0af640236bbc044bfce"></a>
  641. <h2 class="memtitle"><span class="permalink"><a href="#a5993bbcac2aaa0af640236bbc044bfce">&#9670;&nbsp;</a></span>minimumSizeHint()</h2>
  642. <div class="memitem">
  643. <div class="memproto">
  644. <table class="mlabels">
  645. <tr>
  646. <td class="mlabels-left">
  647. <table class="memname">
  648. <tr>
  649. <td class="memname">QSize QwtPlotLayout::minimumSizeHint </td>
  650. <td>(</td>
  651. <td class="paramtype">const <a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</td>
  652. <td class="paramname"><em>plot</em></td><td>)</td>
  653. <td> const</td>
  654. </tr>
  655. </table>
  656. </td>
  657. <td class="mlabels-right">
  658. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  659. </tr>
  660. </table>
  661. </div><div class="memdoc">
  662. <dl class="section return"><dt>Returns</dt><dd>Minimum size hint </dd></dl>
  663. <dl class="params"><dt>Parameters</dt><dd>
  664. <table class="params">
  665. <tr><td class="paramname">plot</td><td>Plot widget</td></tr>
  666. </table>
  667. </dd>
  668. </dl>
  669. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot.html#a1f013570f561aba1af14b5c98da2132b" title="Return a minimum size hint.">QwtPlot::minimumSizeHint()</a> </dd></dl>
  670. </div>
  671. </div>
  672. <a id="a98fd0aacd18fc11c2bf5f944e13e63ab"></a>
  673. <h2 class="memtitle"><span class="permalink"><a href="#a98fd0aacd18fc11c2bf5f944e13e63ab">&#9670;&nbsp;</a></span>scaleRect()</h2>
  674. <div class="memitem">
  675. <div class="memproto">
  676. <table class="memname">
  677. <tr>
  678. <td class="memname">QRectF QwtPlotLayout::scaleRect </td>
  679. <td>(</td>
  680. <td class="paramtype">int&#160;</td>
  681. <td class="paramname"><em>axis</em></td><td>)</td>
  682. <td> const</td>
  683. </tr>
  684. </table>
  685. </div><div class="memdoc">
  686. <dl class="params"><dt>Parameters</dt><dd>
  687. <table class="params">
  688. <tr><td class="paramname">axis</td><td>Axis index </td></tr>
  689. </table>
  690. </dd>
  691. </dl>
  692. <dl class="section return"><dt>Returns</dt><dd>Geometry for the scale </dd></dl>
  693. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_layout.html#ad206e470175a66eac8b1ff0eb1002899" title="Recalculate the geometry of all components.">activate()</a>, <a class="el" href="class_qwt_plot_layout.html#a44ce72879951571ffe4daa95be0ec242">invalidate()</a> </dd></dl>
  694. </div>
  695. </div>
  696. <a id="ad243b9afc9b5ce9530b500dc35096d67"></a>
  697. <h2 class="memtitle"><span class="permalink"><a href="#ad243b9afc9b5ce9530b500dc35096d67">&#9670;&nbsp;</a></span>setAlignCanvasToScale()</h2>
  698. <div class="memitem">
  699. <div class="memproto">
  700. <table class="memname">
  701. <tr>
  702. <td class="memname">void QwtPlotLayout::setAlignCanvasToScale </td>
  703. <td>(</td>
  704. <td class="paramtype">int&#160;</td>
  705. <td class="paramname"><em>axisId</em>, </td>
  706. </tr>
  707. <tr>
  708. <td class="paramkey"></td>
  709. <td></td>
  710. <td class="paramtype">bool&#160;</td>
  711. <td class="paramname"><em>on</em>&#160;</td>
  712. </tr>
  713. <tr>
  714. <td></td>
  715. <td>)</td>
  716. <td></td><td></td>
  717. </tr>
  718. </table>
  719. </div><div class="memdoc">
  720. <p>Change the align-canvas-to-axis-scales setting. The canvas may:</p>
  721. <ul>
  722. <li>extend beyond the axis scale ends to maximize its size,</li>
  723. <li>align with the axis scale ends to control its size.</li>
  724. </ul>
  725. <p>The axisId parameter is somehow confusing as it identifies a border of the plot and not the axes, that are aligned. F.e when <a class="el" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271a1bb1fbc11e31ebfa8bf72356f6837b17" title="Y axis left of the canvas.">QwtPlot::yLeft</a> is set, the left end of the the x-axes ( <a class="el" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271ae51eb7525eb3f9f806e659614018beb8" title="X axis above the canvas.">QwtPlot::xTop</a>, <a class="el" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271ad5566960e78f2473c1a1e853def4c4ac" title="X axis below the canvas.">QwtPlot::xBottom</a> ) is aligned.</p>
  726. <dl class="params"><dt>Parameters</dt><dd>
  727. <table class="params">
  728. <tr><td class="paramname">axisId</td><td>Axis index </td></tr>
  729. <tr><td class="paramname">on</td><td>New align-canvas-to-axis-scales setting</td></tr>
  730. </table>
  731. </dd>
  732. </dl>
  733. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_layout.html#a11667dad6675a7a58cc60ab1597b1203">setCanvasMargin()</a>, <a class="el" href="class_qwt_plot_layout.html#a4aaca10c99faff613fd2fe2d554a2e0c">alignCanvasToScale()</a>, <a class="el" href="class_qwt_plot_layout.html#a147fcf4c59b34779b5a7dc7361a3b6c3" title="Set the align-canvas-to-axis-scales flag for all axes.">setAlignCanvasToScales()</a> </dd></dl>
  734. <dl class="section warning"><dt>Warning</dt><dd>In case of on == true <a class="el" href="class_qwt_plot_layout.html#a272b5eca1b2faaa3e6fb7f9d25d64016">canvasMargin()</a> will have no effect </dd></dl>
  735. </div>
  736. </div>
  737. <a id="a147fcf4c59b34779b5a7dc7361a3b6c3"></a>
  738. <h2 class="memtitle"><span class="permalink"><a href="#a147fcf4c59b34779b5a7dc7361a3b6c3">&#9670;&nbsp;</a></span>setAlignCanvasToScales()</h2>
  739. <div class="memitem">
  740. <div class="memproto">
  741. <table class="memname">
  742. <tr>
  743. <td class="memname">void QwtPlotLayout::setAlignCanvasToScales </td>
  744. <td>(</td>
  745. <td class="paramtype">bool&#160;</td>
  746. <td class="paramname"><em>on</em></td><td>)</td>
  747. <td></td>
  748. </tr>
  749. </table>
  750. </div><div class="memdoc">
  751. <p>Set the align-canvas-to-axis-scales flag for all axes. </p>
  752. <dl class="params"><dt>Parameters</dt><dd>
  753. <table class="params">
  754. <tr><td class="paramname">on</td><td>True/False </td></tr>
  755. </table>
  756. </dd>
  757. </dl>
  758. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_layout.html#ad243b9afc9b5ce9530b500dc35096d67">setAlignCanvasToScale()</a>, <a class="el" href="class_qwt_plot_layout.html#a4aaca10c99faff613fd2fe2d554a2e0c">alignCanvasToScale()</a> </dd></dl>
  759. </div>
  760. </div>
  761. <a id="a11667dad6675a7a58cc60ab1597b1203"></a>
  762. <h2 class="memtitle"><span class="permalink"><a href="#a11667dad6675a7a58cc60ab1597b1203">&#9670;&nbsp;</a></span>setCanvasMargin()</h2>
  763. <div class="memitem">
  764. <div class="memproto">
  765. <table class="memname">
  766. <tr>
  767. <td class="memname">void QwtPlotLayout::setCanvasMargin </td>
  768. <td>(</td>
  769. <td class="paramtype">int&#160;</td>
  770. <td class="paramname"><em>margin</em>, </td>
  771. </tr>
  772. <tr>
  773. <td class="paramkey"></td>
  774. <td></td>
  775. <td class="paramtype">int&#160;</td>
  776. <td class="paramname"><em>axis</em> = <code>-1</code>&#160;</td>
  777. </tr>
  778. <tr>
  779. <td></td>
  780. <td>)</td>
  781. <td></td><td></td>
  782. </tr>
  783. </table>
  784. </div><div class="memdoc">
  785. <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>
  786. <dl class="params"><dt>Parameters</dt><dd>
  787. <table class="params">
  788. <tr><td class="paramname">margin</td><td>New margin </td></tr>
  789. <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>
  790. </table>
  791. </dd>
  792. </dl>
  793. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_layout.html#a272b5eca1b2faaa3e6fb7f9d25d64016">canvasMargin()</a></dd></dl>
  794. <dl class="section warning"><dt>Warning</dt><dd>The margin will have no effect when <a class="el" href="class_qwt_plot_layout.html#a4aaca10c99faff613fd2fe2d554a2e0c">alignCanvasToScale()</a> is true </dd></dl>
  795. </div>
  796. </div>
  797. <a id="ab3d6614684b96a5879300476d2df8f8f"></a>
  798. <h2 class="memtitle"><span class="permalink"><a href="#ab3d6614684b96a5879300476d2df8f8f">&#9670;&nbsp;</a></span>setCanvasRect()</h2>
  799. <div class="memitem">
  800. <div class="memproto">
  801. <table class="mlabels">
  802. <tr>
  803. <td class="mlabels-left">
  804. <table class="memname">
  805. <tr>
  806. <td class="memname">void QwtPlotLayout::setCanvasRect </td>
  807. <td>(</td>
  808. <td class="paramtype">const QRectF &amp;&#160;</td>
  809. <td class="paramname"><em>rect</em></td><td>)</td>
  810. <td></td>
  811. </tr>
  812. </table>
  813. </td>
  814. <td class="mlabels-right">
  815. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  816. </tr>
  817. </table>
  818. </div><div class="memdoc">
  819. <p>Set the geometry for the canvas. </p>
  820. <p>This method is intended to be used from derived layouts overloading <a class="el" href="class_qwt_plot_layout.html#ad206e470175a66eac8b1ff0eb1002899" title="Recalculate the geometry of all components.">activate()</a></p>
  821. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_layout.html#aac82be1d0129a0826b300de679a3403a">canvasRect()</a>, <a class="el" href="class_qwt_plot_layout.html#ad206e470175a66eac8b1ff0eb1002899" title="Recalculate the geometry of all components.">activate()</a> </dd></dl>
  822. </div>
  823. </div>
  824. <a id="a60698767fe44c86ee4bcef27c1b48d26"></a>
  825. <h2 class="memtitle"><span class="permalink"><a href="#a60698767fe44c86ee4bcef27c1b48d26">&#9670;&nbsp;</a></span>setFooterRect()</h2>
  826. <div class="memitem">
  827. <div class="memproto">
  828. <table class="mlabels">
  829. <tr>
  830. <td class="mlabels-left">
  831. <table class="memname">
  832. <tr>
  833. <td class="memname">void QwtPlotLayout::setFooterRect </td>
  834. <td>(</td>
  835. <td class="paramtype">const QRectF &amp;&#160;</td>
  836. <td class="paramname"><em>rect</em></td><td>)</td>
  837. <td></td>
  838. </tr>
  839. </table>
  840. </td>
  841. <td class="mlabels-right">
  842. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  843. </tr>
  844. </table>
  845. </div><div class="memdoc">
  846. <p>Set the geometry for the footer. </p>
  847. <p>This method is intended to be used from derived layouts overloading <a class="el" href="class_qwt_plot_layout.html#ad206e470175a66eac8b1ff0eb1002899" title="Recalculate the geometry of all components.">activate()</a></p>
  848. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_layout.html#a1e51041fec828d74fc5b02a2f76ca64c">footerRect()</a>, <a class="el" href="class_qwt_plot_layout.html#ad206e470175a66eac8b1ff0eb1002899" title="Recalculate the geometry of all components.">activate()</a> </dd></dl>
  849. </div>
  850. </div>
  851. <a id="a001f1eca91803d0eaa9548efc50879eb"></a>
  852. <h2 class="memtitle"><span class="permalink"><a href="#a001f1eca91803d0eaa9548efc50879eb">&#9670;&nbsp;</a></span>setLegendPosition() <span class="overload">[1/2]</span></h2>
  853. <div class="memitem">
  854. <div class="memproto">
  855. <table class="memname">
  856. <tr>
  857. <td class="memname">void QwtPlotLayout::setLegendPosition </td>
  858. <td>(</td>
  859. <td class="paramtype"><a class="el" href="class_qwt_plot.html#a31aacb65b5c049dde8c34a0d8482661b">QwtPlot::LegendPosition</a>&#160;</td>
  860. <td class="paramname"><em>pos</em></td><td>)</td>
  861. <td></td>
  862. </tr>
  863. </table>
  864. </div><div class="memdoc">
  865. <p>Specify the position of the legend. </p>
  866. <dl class="params"><dt>Parameters</dt><dd>
  867. <table class="params">
  868. <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 above the title.">QwtPlot::TopLegend</a></code>, <code><a class="el" href="class_qwt_plot.html#a31aacb65b5c049dde8c34a0d8482661ba8b863705308d89b388732f186be15fb5" title="The legend will be below the footer.">QwtPlot::BottomLegend</a></code>.</td></tr>
  869. </table>
  870. </dd>
  871. </dl>
  872. <dl class="section see"><dt>See also</dt><dd>QwtPlot::setLegendPosition() </dd></dl>
  873. </div>
  874. </div>
  875. <a id="a11c9695a68f95135841cb23212589f18"></a>
  876. <h2 class="memtitle"><span class="permalink"><a href="#a11c9695a68f95135841cb23212589f18">&#9670;&nbsp;</a></span>setLegendPosition() <span class="overload">[2/2]</span></h2>
  877. <div class="memitem">
  878. <div class="memproto">
  879. <table class="memname">
  880. <tr>
  881. <td class="memname">void QwtPlotLayout::setLegendPosition </td>
  882. <td>(</td>
  883. <td class="paramtype"><a class="el" href="class_qwt_plot.html#a31aacb65b5c049dde8c34a0d8482661b">QwtPlot::LegendPosition</a>&#160;</td>
  884. <td class="paramname"><em>pos</em>, </td>
  885. </tr>
  886. <tr>
  887. <td class="paramkey"></td>
  888. <td></td>
  889. <td class="paramtype">double&#160;</td>
  890. <td class="paramname"><em>ratio</em>&#160;</td>
  891. </tr>
  892. <tr>
  893. <td></td>
  894. <td>)</td>
  895. <td></td><td></td>
  896. </tr>
  897. </table>
  898. </div><div class="memdoc">
  899. <p>Specify the position of the legend. </p>
  900. <dl class="params"><dt>Parameters</dt><dd>
  901. <table class="params">
  902. <tr><td class="paramname">pos</td><td>The legend's position. </td></tr>
  903. <tr><td class="paramname">ratio</td><td>Ratio between legend and the bounding rectangle of title, footer, canvas and axes. The legend will be shrunk 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>
  904. </table>
  905. </dd>
  906. </dl>
  907. <dl class="section see"><dt>See also</dt><dd>QwtPlot::setLegendPosition() </dd></dl>
  908. </div>
  909. </div>
  910. <a id="aabe9f952046139667e055c661bee4dbb"></a>
  911. <h2 class="memtitle"><span class="permalink"><a href="#aabe9f952046139667e055c661bee4dbb">&#9670;&nbsp;</a></span>setLegendRatio()</h2>
  912. <div class="memitem">
  913. <div class="memproto">
  914. <table class="memname">
  915. <tr>
  916. <td class="memname">void QwtPlotLayout::setLegendRatio </td>
  917. <td>(</td>
  918. <td class="paramtype">double&#160;</td>
  919. <td class="paramname"><em>ratio</em></td><td>)</td>
  920. <td></td>
  921. </tr>
  922. </table>
  923. </div><div class="memdoc">
  924. <p>Specify the relative size of the legend in the plot </p><dl class="params"><dt>Parameters</dt><dd>
  925. <table class="params">
  926. <tr><td class="paramname">ratio</td><td>Ratio between legend and the bounding rectangle of title, footer, canvas and axes. The legend will be shrunk 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>
  927. </table>
  928. </dd>
  929. </dl>
  930. </div>
  931. </div>
  932. <a id="a5d5c1dacdfff8281acf0a909acaf866c"></a>
  933. <h2 class="memtitle"><span class="permalink"><a href="#a5d5c1dacdfff8281acf0a909acaf866c">&#9670;&nbsp;</a></span>setLegendRect()</h2>
  934. <div class="memitem">
  935. <div class="memproto">
  936. <table class="mlabels">
  937. <tr>
  938. <td class="mlabels-left">
  939. <table class="memname">
  940. <tr>
  941. <td class="memname">void QwtPlotLayout::setLegendRect </td>
  942. <td>(</td>
  943. <td class="paramtype">const QRectF &amp;&#160;</td>
  944. <td class="paramname"><em>rect</em></td><td>)</td>
  945. <td></td>
  946. </tr>
  947. </table>
  948. </td>
  949. <td class="mlabels-right">
  950. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  951. </tr>
  952. </table>
  953. </div><div class="memdoc">
  954. <p>Set the geometry for the legend. </p>
  955. <p>This method is intended to be used from derived layouts overloading <a class="el" href="class_qwt_plot_layout.html#ad206e470175a66eac8b1ff0eb1002899" title="Recalculate the geometry of all components.">activate()</a></p>
  956. <dl class="params"><dt>Parameters</dt><dd>
  957. <table class="params">
  958. <tr><td class="paramname">rect</td><td>Rectangle for the legend</td></tr>
  959. </table>
  960. </dd>
  961. </dl>
  962. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_layout.html#a36669366de8e0e732052c171efc22303">legendRect()</a>, <a class="el" href="class_qwt_plot_layout.html#ad206e470175a66eac8b1ff0eb1002899" title="Recalculate the geometry of all components.">activate()</a> </dd></dl>
  963. </div>
  964. </div>
  965. <a id="a842733777eb2b0bf2cacc4bb01c169c7"></a>
  966. <h2 class="memtitle"><span class="permalink"><a href="#a842733777eb2b0bf2cacc4bb01c169c7">&#9670;&nbsp;</a></span>setScaleRect()</h2>
  967. <div class="memitem">
  968. <div class="memproto">
  969. <table class="mlabels">
  970. <tr>
  971. <td class="mlabels-left">
  972. <table class="memname">
  973. <tr>
  974. <td class="memname">void QwtPlotLayout::setScaleRect </td>
  975. <td>(</td>
  976. <td class="paramtype">int&#160;</td>
  977. <td class="paramname"><em>axis</em>, </td>
  978. </tr>
  979. <tr>
  980. <td class="paramkey"></td>
  981. <td></td>
  982. <td class="paramtype">const QRectF &amp;&#160;</td>
  983. <td class="paramname"><em>rect</em>&#160;</td>
  984. </tr>
  985. <tr>
  986. <td></td>
  987. <td>)</td>
  988. <td></td><td></td>
  989. </tr>
  990. </table>
  991. </td>
  992. <td class="mlabels-right">
  993. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  994. </tr>
  995. </table>
  996. </div><div class="memdoc">
  997. <p>Set the geometry for an axis. </p>
  998. <p>This method is intended to be used from derived layouts overloading <a class="el" href="class_qwt_plot_layout.html#ad206e470175a66eac8b1ff0eb1002899" title="Recalculate the geometry of all components.">activate()</a></p>
  999. <dl class="params"><dt>Parameters</dt><dd>
  1000. <table class="params">
  1001. <tr><td class="paramname">axis</td><td>Axis index </td></tr>
  1002. <tr><td class="paramname">rect</td><td>Rectangle for the scale</td></tr>
  1003. </table>
  1004. </dd>
  1005. </dl>
  1006. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_layout.html#a98fd0aacd18fc11c2bf5f944e13e63ab">scaleRect()</a>, <a class="el" href="class_qwt_plot_layout.html#ad206e470175a66eac8b1ff0eb1002899" title="Recalculate the geometry of all components.">activate()</a> </dd></dl>
  1007. </div>
  1008. </div>
  1009. <a id="a6508553ec1d66bede49e7767526c3d03"></a>
  1010. <h2 class="memtitle"><span class="permalink"><a href="#a6508553ec1d66bede49e7767526c3d03">&#9670;&nbsp;</a></span>setSpacing()</h2>
  1011. <div class="memitem">
  1012. <div class="memproto">
  1013. <table class="memname">
  1014. <tr>
  1015. <td class="memname">void QwtPlotLayout::setSpacing </td>
  1016. <td>(</td>
  1017. <td class="paramtype">int&#160;</td>
  1018. <td class="paramname"><em>spacing</em></td><td>)</td>
  1019. <td></td>
  1020. </tr>
  1021. </table>
  1022. </div><div class="memdoc">
  1023. <p>Change the spacing of the plot. The spacing is the distance between the plot components.</p>
  1024. <dl class="params"><dt>Parameters</dt><dd>
  1025. <table class="params">
  1026. <tr><td class="paramname">spacing</td><td>New spacing </td></tr>
  1027. </table>
  1028. </dd>
  1029. </dl>
  1030. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_layout.html#a11667dad6675a7a58cc60ab1597b1203">setCanvasMargin()</a>, <a class="el" href="class_qwt_plot_layout.html#a1fad9d271b40d6b6e68918d92eb64d02">spacing()</a> </dd></dl>
  1031. </div>
  1032. </div>
  1033. <a id="a82b49e88c7928224c4b0342b6302c086"></a>
  1034. <h2 class="memtitle"><span class="permalink"><a href="#a82b49e88c7928224c4b0342b6302c086">&#9670;&nbsp;</a></span>setTitleRect()</h2>
  1035. <div class="memitem">
  1036. <div class="memproto">
  1037. <table class="mlabels">
  1038. <tr>
  1039. <td class="mlabels-left">
  1040. <table class="memname">
  1041. <tr>
  1042. <td class="memname">void QwtPlotLayout::setTitleRect </td>
  1043. <td>(</td>
  1044. <td class="paramtype">const QRectF &amp;&#160;</td>
  1045. <td class="paramname"><em>rect</em></td><td>)</td>
  1046. <td></td>
  1047. </tr>
  1048. </table>
  1049. </td>
  1050. <td class="mlabels-right">
  1051. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  1052. </tr>
  1053. </table>
  1054. </div><div class="memdoc">
  1055. <p>Set the geometry for the title. </p>
  1056. <p>This method is intended to be used from derived layouts overloading <a class="el" href="class_qwt_plot_layout.html#ad206e470175a66eac8b1ff0eb1002899" title="Recalculate the geometry of all components.">activate()</a></p>
  1057. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_layout.html#a0e6c18f4d1bee939a93890604e91545a">titleRect()</a>, <a class="el" href="class_qwt_plot_layout.html#ad206e470175a66eac8b1ff0eb1002899" title="Recalculate the geometry of all components.">activate()</a> </dd></dl>
  1058. </div>
  1059. </div>
  1060. <a id="a1fad9d271b40d6b6e68918d92eb64d02"></a>
  1061. <h2 class="memtitle"><span class="permalink"><a href="#a1fad9d271b40d6b6e68918d92eb64d02">&#9670;&nbsp;</a></span>spacing()</h2>
  1062. <div class="memitem">
  1063. <div class="memproto">
  1064. <table class="memname">
  1065. <tr>
  1066. <td class="memname">int QwtPlotLayout::spacing </td>
  1067. <td>(</td>
  1068. <td class="paramname"></td><td>)</td>
  1069. <td> const</td>
  1070. </tr>
  1071. </table>
  1072. </div><div class="memdoc">
  1073. <dl class="section return"><dt>Returns</dt><dd>Spacing </dd></dl>
  1074. <dl class="section see"><dt>See also</dt><dd>margin(), <a class="el" href="class_qwt_plot_layout.html#a6508553ec1d66bede49e7767526c3d03">setSpacing()</a> </dd></dl>
  1075. </div>
  1076. </div>
  1077. <a id="a0e6c18f4d1bee939a93890604e91545a"></a>
  1078. <h2 class="memtitle"><span class="permalink"><a href="#a0e6c18f4d1bee939a93890604e91545a">&#9670;&nbsp;</a></span>titleRect()</h2>
  1079. <div class="memitem">
  1080. <div class="memproto">
  1081. <table class="memname">
  1082. <tr>
  1083. <td class="memname">QRectF QwtPlotLayout::titleRect </td>
  1084. <td>(</td>
  1085. <td class="paramname"></td><td>)</td>
  1086. <td> const</td>
  1087. </tr>
  1088. </table>
  1089. </div><div class="memdoc">
  1090. <dl class="section return"><dt>Returns</dt><dd>Geometry for the title </dd></dl>
  1091. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_layout.html#ad206e470175a66eac8b1ff0eb1002899" title="Recalculate the geometry of all components.">activate()</a>, <a class="el" href="class_qwt_plot_layout.html#a44ce72879951571ffe4daa95be0ec242">invalidate()</a> </dd></dl>
  1092. </div>
  1093. </div>
  1094. </div><!-- contents -->
  1095. </div><!-- doc-content -->
  1096. <!-- start footer part -->
  1097. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  1098. <ul>
  1099. <li class="navelem"><a class="el" href="class_qwt_plot_layout.html">QwtPlotLayout</a></li>
  1100. <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
  1101. </ul>
  1102. </div>
  1103. </body>
  1104. </html>