1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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"/>
- <meta http-equiv="X-UA-Compatible" content="IE=9"/>
- <meta name="generator" content="Doxygen 1.8.20"/>
- <meta name="viewport" content="width=device-width, initial-scale=1"/>
- <title>Qwt User's Guide: QwtPlotLayout Class Reference</title>
- <link href="tabs.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="jquery.js"></script>
- <script type="text/javascript" src="dynsections.js"></script>
- <link href="navtree.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="resize.js"></script>
- <script type="text/javascript" src="navtreedata.js"></script>
- <script type="text/javascript" src="navtree.js"></script>
- <link href="search/search.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="search/searchdata.js"></script>
- <script type="text/javascript" src="search/search.js"></script>
- <link href="doxygen.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
- <div id="titlearea">
- <table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td id="projectalign" style="padding-left: 0.5em;">
- <div id="projectname">Qwt User's Guide
-  <span id="projectnumber">6.1.6</span>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <!-- end header part -->
- <!-- Generated by Doxygen 1.8.20 -->
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- var searchBox = new SearchBox("searchBox", "search",false,'Search');
- /* @license-end */
- </script>
- <script type="text/javascript" src="menudata.js"></script>
- <script type="text/javascript" src="menu.js"></script>
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- $(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
- });
- /* @license-end */</script>
- <div id="main-nav"></div>
- </div><!-- top -->
- <div id="side-nav" class="ui-resizable side-nav-resizable">
- <div id="nav-tree">
- <div id="nav-tree-contents">
- <div id="nav-sync" class="sync"></div>
- </div>
- </div>
- <div id="splitbar" style="-moz-user-select:none;"
- class="ui-resizable-handle">
- </div>
- </div>
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- $(document).ready(function(){initNavTree('class_qwt_plot_layout.html',''); initResizable(); });
- /* @license-end */
- </script>
- <div id="doc-content">
- <!-- window showing the filter options -->
- <div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
- </div>
- <!-- iframe showing the search results (closed by default) -->
- <div id="MSearchResultsWindow">
- <iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
- </iframe>
- </div>
- <div class="header">
- <div class="summary">
- <a href="#pub-types">Public Types</a> |
- <a href="#pub-methods">Public Member Functions</a> |
- <a href="#pro-methods">Protected Member Functions</a> |
- <a href="class_qwt_plot_layout-members.html">List of all members</a> </div>
- <div class="headertitle">
- <div class="title">QwtPlotLayout Class Reference</div> </div>
- </div><!--header-->
- <div class="contents">
- <p>Layout engine for <a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget.">QwtPlot</a>.
- <a href="class_qwt_plot_layout.html#details">More...</a></p>
- <p><code>#include <<a class="el" href="qwt__plot__layout_8h_source.html">qwt_plot_layout.h</a>></code></p>
- <table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
- Public Types</h2></td></tr>
- <tr class="memitem:ad0d2d60e86a4c69ec105524041d5221d"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#ad0d2d60e86a4c69ec105524041d5221d">Option</a> { <br />
-   <a class="el" href="class_qwt_plot_layout.html#ad0d2d60e86a4c69ec105524041d5221daf92cc90a2b68a8788a813807d379b95a">AlignScales</a> = 0x01,
- <a class="el" href="class_qwt_plot_layout.html#ad0d2d60e86a4c69ec105524041d5221da813736a8e614f8f24db773081642b74c">IgnoreScrollbars</a> = 0x02,
- <a class="el" href="class_qwt_plot_layout.html#ad0d2d60e86a4c69ec105524041d5221da9036bf7de40018a2f12d456a04949c6b">IgnoreFrames</a> = 0x04,
- <a class="el" href="class_qwt_plot_layout.html#ad0d2d60e86a4c69ec105524041d5221daa7237e2be1e8fc41a8b3156b57b95ed3">IgnoreLegend</a> = 0x08,
- <br />
-   <a class="el" href="class_qwt_plot_layout.html#ad0d2d60e86a4c69ec105524041d5221da00feaacfa819204f09074fc9b128b22c">IgnoreTitle</a> = 0x10,
- <a class="el" href="class_qwt_plot_layout.html#ad0d2d60e86a4c69ec105524041d5221da132d4fc728c0826a269a143f2d655215">IgnoreFooter</a> = 0x20
- <br />
- }</td></tr>
- <tr class="separator:ad0d2d60e86a4c69ec105524041d5221d"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aa43457184903f3aaa58e6e073622ef52"><td class="memItemLeft" align="right" valign="top"><a id="aa43457184903f3aaa58e6e073622ef52"></a>
- typedef QFlags< <a class="el" href="class_qwt_plot_layout.html#ad0d2d60e86a4c69ec105524041d5221d">Option</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#aa43457184903f3aaa58e6e073622ef52">Options</a></td></tr>
- <tr class="memdesc:aa43457184903f3aaa58e6e073622ef52"><td class="mdescLeft"> </td><td class="mdescRight">Layout options. <br /></td></tr>
- <tr class="separator:aa43457184903f3aaa58e6e073622ef52"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
- Public Member Functions</h2></td></tr>
- <tr class="memitem:ac89596fb2a3d3a92901f124821045a47"><td class="memItemLeft" align="right" valign="top"><a id="ac89596fb2a3d3a92901f124821045a47"></a>
-  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#ac89596fb2a3d3a92901f124821045a47">QwtPlotLayout</a> ()</td></tr>
- <tr class="memdesc:ac89596fb2a3d3a92901f124821045a47"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <br /></td></tr>
- <tr class="separator:ac89596fb2a3d3a92901f124821045a47"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a39653485c638535bc11f50d2e5ef936d"><td class="memItemLeft" align="right" valign="top"><a id="a39653485c638535bc11f50d2e5ef936d"></a>
- virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a39653485c638535bc11f50d2e5ef936d">~QwtPlotLayout</a> ()</td></tr>
- <tr class="memdesc:a39653485c638535bc11f50d2e5ef936d"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <br /></td></tr>
- <tr class="separator:a39653485c638535bc11f50d2e5ef936d"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a11667dad6675a7a58cc60ab1597b1203"><td class="memItemLeft" align="right" valign="top">void </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 class="separator:a11667dad6675a7a58cc60ab1597b1203"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a272b5eca1b2faaa3e6fb7f9d25d64016"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a272b5eca1b2faaa3e6fb7f9d25d64016">canvasMargin</a> (int axisId) const</td></tr>
- <tr class="separator:a272b5eca1b2faaa3e6fb7f9d25d64016"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a147fcf4c59b34779b5a7dc7361a3b6c3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a147fcf4c59b34779b5a7dc7361a3b6c3">setAlignCanvasToScales</a> (bool)</td></tr>
- <tr class="memdesc:a147fcf4c59b34779b5a7dc7361a3b6c3"><td class="mdescLeft"> </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>
- <tr class="separator:a147fcf4c59b34779b5a7dc7361a3b6c3"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ad243b9afc9b5ce9530b500dc35096d67"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#ad243b9afc9b5ce9530b500dc35096d67">setAlignCanvasToScale</a> (int axisId, bool)</td></tr>
- <tr class="separator:ad243b9afc9b5ce9530b500dc35096d67"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a4aaca10c99faff613fd2fe2d554a2e0c"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a4aaca10c99faff613fd2fe2d554a2e0c">alignCanvasToScale</a> (int axisId) const</td></tr>
- <tr class="separator:a4aaca10c99faff613fd2fe2d554a2e0c"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a6508553ec1d66bede49e7767526c3d03"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a6508553ec1d66bede49e7767526c3d03">setSpacing</a> (int)</td></tr>
- <tr class="separator:a6508553ec1d66bede49e7767526c3d03"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a1fad9d271b40d6b6e68918d92eb64d02"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a1fad9d271b40d6b6e68918d92eb64d02">spacing</a> () const</td></tr>
- <tr class="separator:a1fad9d271b40d6b6e68918d92eb64d02"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a11c9695a68f95135841cb23212589f18"><td class="memItemLeft" align="right" valign="top">void </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 class="memdesc:a11c9695a68f95135841cb23212589f18"><td class="mdescLeft"> </td><td class="mdescRight">Specify the position of the legend. <a href="class_qwt_plot_layout.html#a11c9695a68f95135841cb23212589f18">More...</a><br /></td></tr>
- <tr class="separator:a11c9695a68f95135841cb23212589f18"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a001f1eca91803d0eaa9548efc50879eb"><td class="memItemLeft" align="right" valign="top">void </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 class="memdesc:a001f1eca91803d0eaa9548efc50879eb"><td class="mdescLeft"> </td><td class="mdescRight">Specify the position of the legend. <a href="class_qwt_plot_layout.html#a001f1eca91803d0eaa9548efc50879eb">More...</a><br /></td></tr>
- <tr class="separator:a001f1eca91803d0eaa9548efc50879eb"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a49106b180459ae7ee4b7f486cbb196e8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_plot.html#a31aacb65b5c049dde8c34a0d8482661b">QwtPlot::LegendPosition</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a49106b180459ae7ee4b7f486cbb196e8">legendPosition</a> () const</td></tr>
- <tr class="separator:a49106b180459ae7ee4b7f486cbb196e8"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aabe9f952046139667e055c661bee4dbb"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#aabe9f952046139667e055c661bee4dbb">setLegendRatio</a> (double ratio)</td></tr>
- <tr class="separator:aabe9f952046139667e055c661bee4dbb"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a88440049820ccdd146e3b77bbf321e00"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a88440049820ccdd146e3b77bbf321e00">legendRatio</a> () const</td></tr>
- <tr class="separator:a88440049820ccdd146e3b77bbf321e00"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a5993bbcac2aaa0af640236bbc044bfce"><td class="memItemLeft" align="right" valign="top">virtual QSize </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>
- <tr class="separator:a5993bbcac2aaa0af640236bbc044bfce"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ad206e470175a66eac8b1ff0eb1002899"><td class="memItemLeft" align="right" valign="top">virtual void </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 &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>
- <tr class="memdesc:ad206e470175a66eac8b1ff0eb1002899"><td class="mdescLeft"> </td><td class="mdescRight">Recalculate the geometry of all components. <a href="class_qwt_plot_layout.html#ad206e470175a66eac8b1ff0eb1002899">More...</a><br /></td></tr>
- <tr class="separator:ad206e470175a66eac8b1ff0eb1002899"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a44ce72879951571ffe4daa95be0ec242"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a44ce72879951571ffe4daa95be0ec242">invalidate</a> ()</td></tr>
- <tr class="separator:a44ce72879951571ffe4daa95be0ec242"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a0e6c18f4d1bee939a93890604e91545a"><td class="memItemLeft" align="right" valign="top">QRectF </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a0e6c18f4d1bee939a93890604e91545a">titleRect</a> () const</td></tr>
- <tr class="separator:a0e6c18f4d1bee939a93890604e91545a"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a1e51041fec828d74fc5b02a2f76ca64c"><td class="memItemLeft" align="right" valign="top">QRectF </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a1e51041fec828d74fc5b02a2f76ca64c">footerRect</a> () const</td></tr>
- <tr class="separator:a1e51041fec828d74fc5b02a2f76ca64c"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a36669366de8e0e732052c171efc22303"><td class="memItemLeft" align="right" valign="top">QRectF </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a36669366de8e0e732052c171efc22303">legendRect</a> () const</td></tr>
- <tr class="separator:a36669366de8e0e732052c171efc22303"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a98fd0aacd18fc11c2bf5f944e13e63ab"><td class="memItemLeft" align="right" valign="top">QRectF </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a98fd0aacd18fc11c2bf5f944e13e63ab">scaleRect</a> (int axis) const</td></tr>
- <tr class="separator:a98fd0aacd18fc11c2bf5f944e13e63ab"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aac82be1d0129a0826b300de679a3403a"><td class="memItemLeft" align="right" valign="top">QRectF </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#aac82be1d0129a0826b300de679a3403a">canvasRect</a> () const</td></tr>
- <tr class="separator:aac82be1d0129a0826b300de679a3403a"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
- Protected Member Functions</h2></td></tr>
- <tr class="memitem:a82b49e88c7928224c4b0342b6302c086"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a82b49e88c7928224c4b0342b6302c086">setTitleRect</a> (const QRectF &)</td></tr>
- <tr class="memdesc:a82b49e88c7928224c4b0342b6302c086"><td class="mdescLeft"> </td><td class="mdescRight">Set the geometry for the title. <a href="class_qwt_plot_layout.html#a82b49e88c7928224c4b0342b6302c086">More...</a><br /></td></tr>
- <tr class="separator:a82b49e88c7928224c4b0342b6302c086"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a60698767fe44c86ee4bcef27c1b48d26"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a60698767fe44c86ee4bcef27c1b48d26">setFooterRect</a> (const QRectF &)</td></tr>
- <tr class="memdesc:a60698767fe44c86ee4bcef27c1b48d26"><td class="mdescLeft"> </td><td class="mdescRight">Set the geometry for the footer. <a href="class_qwt_plot_layout.html#a60698767fe44c86ee4bcef27c1b48d26">More...</a><br /></td></tr>
- <tr class="separator:a60698767fe44c86ee4bcef27c1b48d26"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a5d5c1dacdfff8281acf0a909acaf866c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a5d5c1dacdfff8281acf0a909acaf866c">setLegendRect</a> (const QRectF &)</td></tr>
- <tr class="memdesc:a5d5c1dacdfff8281acf0a909acaf866c"><td class="mdescLeft"> </td><td class="mdescRight">Set the geometry for the legend. <a href="class_qwt_plot_layout.html#a5d5c1dacdfff8281acf0a909acaf866c">More...</a><br /></td></tr>
- <tr class="separator:a5d5c1dacdfff8281acf0a909acaf866c"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a842733777eb2b0bf2cacc4bb01c169c7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a842733777eb2b0bf2cacc4bb01c169c7">setScaleRect</a> (int axis, const QRectF &)</td></tr>
- <tr class="memdesc:a842733777eb2b0bf2cacc4bb01c169c7"><td class="mdescLeft"> </td><td class="mdescRight">Set the geometry for an axis. <a href="class_qwt_plot_layout.html#a842733777eb2b0bf2cacc4bb01c169c7">More...</a><br /></td></tr>
- <tr class="separator:a842733777eb2b0bf2cacc4bb01c169c7"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ab3d6614684b96a5879300476d2df8f8f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#ab3d6614684b96a5879300476d2df8f8f">setCanvasRect</a> (const QRectF &)</td></tr>
- <tr class="memdesc:ab3d6614684b96a5879300476d2df8f8f"><td class="mdescLeft"> </td><td class="mdescRight">Set the geometry for the canvas. <a href="class_qwt_plot_layout.html#ab3d6614684b96a5879300476d2df8f8f">More...</a><br /></td></tr>
- <tr class="separator:ab3d6614684b96a5879300476d2df8f8f"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a47e0a93ba43d4bafe3666e471fd714b2"><td class="memItemLeft" align="right" valign="top">QRectF </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 &) const</td></tr>
- <tr class="separator:a47e0a93ba43d4bafe3666e471fd714b2"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a128ca0c9c9eb95e466ecbc0aa9121e53"><td class="memItemLeft" align="right" valign="top">QRectF </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_layout.html#a128ca0c9c9eb95e466ecbc0aa9121e53">alignLegend</a> (const QRectF &<a class="el" href="class_qwt_plot_layout.html#aac82be1d0129a0826b300de679a3403a">canvasRect</a>, const QRectF &<a class="el" href="class_qwt_plot_layout.html#a36669366de8e0e732052c171efc22303">legendRect</a>) const</td></tr>
- <tr class="separator:a128ca0c9c9eb95e466ecbc0aa9121e53"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:afd7a889fcb51a7a5a88942d595baa223"><td class="memItemLeft" align="right" valign="top">void </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 &rect, int &dimTitle, int &dimFooter, int dimAxes[<a class="el" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271aea62036dfd48ee0f9450718592614892">QwtPlot::axisCnt</a>]) const</td></tr>
- <tr class="separator:afd7a889fcb51a7a5a88942d595baa223"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:abb79b564eca29b88a51effb13eb8530e"><td class="memItemLeft" align="right" valign="top">void </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 &<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>
- <tr class="separator:abb79b564eca29b88a51effb13eb8530e"><td class="memSeparator" colspan="2"> </td></tr>
- </table>
- <a name="details" id="details"></a><h2 class="groupheader">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>
- <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>
- </div><h2 class="groupheader">Member Enumeration Documentation</h2>
- <a id="ad0d2d60e86a4c69ec105524041d5221d"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ad0d2d60e86a4c69ec105524041d5221d">◆ </a></span>Option</h2>
- <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="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>
- <table class="fieldtable">
- <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ad0d2d60e86a4c69ec105524041d5221daf92cc90a2b68a8788a813807d379b95a"></a>AlignScales </td><td class="fielddoc"><p>Unused. </p>
- </td></tr>
- <tr><td class="fieldname"><a id="ad0d2d60e86a4c69ec105524041d5221da813736a8e614f8f24db773081642b74c"></a>IgnoreScrollbars </td><td class="fielddoc"><p>Ignore the dimension of the scrollbars. There are no scrollbars, when the plot is not rendered to widgets. </p>
- </td></tr>
- <tr><td class="fieldname"><a id="ad0d2d60e86a4c69ec105524041d5221da9036bf7de40018a2f12d456a04949c6b"></a>IgnoreFrames </td><td class="fielddoc"><p>Ignore all frames. </p>
- </td></tr>
- <tr><td class="fieldname"><a id="ad0d2d60e86a4c69ec105524041d5221daa7237e2be1e8fc41a8b3156b57b95ed3"></a>IgnoreLegend </td><td class="fielddoc"><p>Ignore the legend. </p>
- </td></tr>
- <tr><td class="fieldname"><a id="ad0d2d60e86a4c69ec105524041d5221da00feaacfa819204f09074fc9b128b22c"></a>IgnoreTitle </td><td class="fielddoc"><p>Ignore the title. </p>
- </td></tr>
- <tr><td class="fieldname"><a id="ad0d2d60e86a4c69ec105524041d5221da132d4fc728c0826a269a143f2d655215"></a>IgnoreFooter </td><td class="fielddoc"><p>Ignore the footer. </p>
- </td></tr>
- </table>
- </div>
- </div>
- <h2 class="groupheader">Member Function Documentation</h2>
- <a id="ad206e470175a66eac8b1ff0eb1002899"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ad206e470175a66eac8b1ff0eb1002899">◆ </a></span>activate()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <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> * </td>
- <td class="paramname"><em>plot</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const QRectF & </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> </td>
- <td class="paramname"><em>options</em> = <code><a class="el" href="class_qwt_plot_layout.html#aa43457184903f3aaa58e6e073622ef52">Options</a>()</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Recalculate the geometry of all components. </p>
- <dl class="params"><dt>Parameters</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>Rectangle where to place the components </td></tr>
- <tr><td class="paramname">options</td><td>Layout options</td></tr>
- </table>
- </dd>
- </dl>
- <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>
- </div>
- </div>
- <a id="a4aaca10c99faff613fd2fe2d554a2e0c"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a4aaca10c99faff613fd2fe2d554a2e0c">◆ </a></span>alignCanvasToScale()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">bool QwtPlotLayout::alignCanvasToScale </td>
- <td>(</td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>axisId</em></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="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">axisId</td><td>Axis index </td></tr>
- </table>
- </dd>
- </dl>
- <dl class="section return"><dt>Returns</dt><dd>align-canvas-to-axis-scales setting </dd></dl>
- <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>
- </div>
- </div>
- <a id="a128ca0c9c9eb95e466ecbc0aa9121e53"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a128ca0c9c9eb95e466ecbc0aa9121e53">◆ </a></span>alignLegend()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">QRectF QwtPlotLayout::alignLegend </td>
- <td>(</td>
- <td class="paramtype">const QRectF & </td>
- <td class="paramname"><em>canvasRect</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const QRectF & </td>
- <td class="paramname"><em>legendRect</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td> const</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">protected</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Align the legend to the canvas</p>
- <dl class="params"><dt>Parameters</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="section return"><dt>Returns</dt><dd>Geometry for the aligned legend </dd></dl>
- </div>
- </div>
- <a id="abb79b564eca29b88a51effb13eb8530e"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#abb79b564eca29b88a51effb13eb8530e">◆ </a></span>alignScales()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void QwtPlotLayout::alignScales </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="class_qwt_plot_layout.html#aa43457184903f3aaa58e6e073622ef52">Options</a> </td>
- <td class="paramname"><em>options</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">QRectF & </td>
- <td class="paramname"><em>canvasRect</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">QRectF </td>
- <td class="paramname"><em>scaleRect</em>[QwtPlot::axisCnt] </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td> const</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">protected</span></span> </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="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">options</td><td>Layout options </td></tr>
- <tr><td class="paramname">canvasRect</td><td>Geometry of the canvas ( IN/OUT ) </td></tr>
- <tr><td class="paramname">scaleRect</td><td>Geometries of the scales ( IN/OUT )</td></tr>
- </table>
- </dd>
- </dl>
- <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>
- </div>
- </div>
- <a id="a272b5eca1b2faaa3e6fb7f9d25d64016"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a272b5eca1b2faaa3e6fb7f9d25d64016">◆ </a></span>canvasMargin()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">int QwtPlotLayout::canvasMargin </td>
- <td>(</td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>axisId</em></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">axisId</td><td>Axis index </td></tr>
- </table>
- </dd>
- </dl>
- <dl class="section return"><dt>Returns</dt><dd>Margin around the scale tick borders </dd></dl>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_layout.html#a11667dad6675a7a58cc60ab1597b1203">setCanvasMargin()</a> </dd></dl>
- </div>
- </div>
- <a id="aac82be1d0129a0826b300de679a3403a"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#aac82be1d0129a0826b300de679a3403a">◆ </a></span>canvasRect()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">QRectF QwtPlotLayout::canvasRect </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <dl class="section return"><dt>Returns</dt><dd>Geometry for the canvas </dd></dl>
- <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>
- </div>
- </div>
- <a id="afd7a889fcb51a7a5a88942d595baa223"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#afd7a889fcb51a7a5a88942d595baa223">◆ </a></span>expandLineBreaks()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void QwtPlotLayout::expandLineBreaks </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="class_qwt_plot_layout.html#aa43457184903f3aaa58e6e073622ef52">Options</a> </td>
- <td class="paramname"><em>options</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const QRectF & </td>
- <td class="paramname"><em>rect</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int & </td>
- <td class="paramname"><em>dimTitle</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int & </td>
- <td class="paramname"><em>dimFooter</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>dimAxes</em>[QwtPlot::axisCnt] </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td> const</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">protected</span></span> </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 class="params"><dt>Parameters</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 rectangle for title, footer, axes and canvas. </td></tr>
- <tr><td class="paramname">dimTitle</td><td>Expanded height of the title widget </td></tr>
- <tr><td class="paramname">dimFooter</td><td>Expanded height of the footer widget </td></tr>
- <tr><td class="paramname">dimAxes</td><td>Expanded heights of the axis in axis orientation.</td></tr>
- </table>
- </dd>
- </dl>
- <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>
- </div>
- </div>
- <a id="a1e51041fec828d74fc5b02a2f76ca64c"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a1e51041fec828d74fc5b02a2f76ca64c">◆ </a></span>footerRect()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">QRectF QwtPlotLayout::footerRect </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <dl class="section return"><dt>Returns</dt><dd>Geometry for the footer </dd></dl>
- <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>
- </div>
- </div>
- <a id="a44ce72879951571ffe4daa95be0ec242"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a44ce72879951571ffe4daa95be0ec242">◆ </a></span>invalidate()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void QwtPlotLayout::invalidate </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- </div>
- </div>
- <a id="a47e0a93ba43d4bafe3666e471fd714b2"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a47e0a93ba43d4bafe3666e471fd714b2">◆ </a></span>layoutLegend()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <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> </td>
- <td class="paramname"><em>options</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const QRectF & </td>
- <td class="paramname"><em>rect</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td> const</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">protected</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Find the geometry for the legend</p>
- <dl class="params"><dt>Parameters</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="section return"><dt>Returns</dt><dd>Geometry for the legend </dd></dl>
- <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>
- </div>
- </div>
- <a id="a49106b180459ae7ee4b7f486cbb196e8"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a49106b180459ae7ee4b7f486cbb196e8">◆ </a></span>legendPosition()</h2>
- <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="section return"><dt>Returns</dt><dd>Position of the legend </dd></dl>
- <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>
- </div>
- </div>
- <a id="a88440049820ccdd146e3b77bbf321e00"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a88440049820ccdd146e3b77bbf321e00">◆ </a></span>legendRatio()</h2>
- <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="section return"><dt>Returns</dt><dd>The relative size of the legend in the plot. </dd></dl>
- <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>
- </div>
- </div>
- <a id="a36669366de8e0e732052c171efc22303"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a36669366de8e0e732052c171efc22303">◆ </a></span>legendRect()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">QRectF QwtPlotLayout::legendRect </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <dl class="section return"><dt>Returns</dt><dd>Geometry for the legend </dd></dl>
- <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>
- </div>
- </div>
- <a id="a5993bbcac2aaa0af640236bbc044bfce"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a5993bbcac2aaa0af640236bbc044bfce">◆ </a></span>minimumSizeHint()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <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> * </td>
- <td class="paramname"><em>plot</em></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <dl class="section return"><dt>Returns</dt><dd>Minimum size hint </dd></dl>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">plot</td><td>Plot widget</td></tr>
- </table>
- </dd>
- </dl>
- <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>
- </div>
- </div>
- <a id="a98fd0aacd18fc11c2bf5f944e13e63ab"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a98fd0aacd18fc11c2bf5f944e13e63ab">◆ </a></span>scaleRect()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">QRectF QwtPlotLayout::scaleRect </td>
- <td>(</td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>axis</em></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">axis</td><td>Axis index </td></tr>
- </table>
- </dd>
- </dl>
- <dl class="section return"><dt>Returns</dt><dd>Geometry for the scale </dd></dl>
- <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>
- </div>
- </div>
- <a id="ad243b9afc9b5ce9530b500dc35096d67"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ad243b9afc9b5ce9530b500dc35096d67">◆ </a></span>setAlignCanvasToScale()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QwtPlotLayout::setAlignCanvasToScale </td>
- <td>(</td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>axisId</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">bool </td>
- <td class="paramname"><em>on</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</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>
- <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>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">axisId</td><td>Axis index </td></tr>
- <tr><td class="paramname">on</td><td>New align-canvas-to-axis-scales setting</td></tr>
- </table>
- </dd>
- </dl>
- <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>
- <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>
- </div>
- </div>
- <a id="a147fcf4c59b34779b5a7dc7361a3b6c3"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a147fcf4c59b34779b5a7dc7361a3b6c3">◆ </a></span>setAlignCanvasToScales()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QwtPlotLayout::setAlignCanvasToScales </td>
- <td>(</td>
- <td class="paramtype">bool </td>
- <td class="paramname"><em>on</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Set the align-canvas-to-axis-scales flag for all axes. </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">on</td><td>True/False </td></tr>
- </table>
- </dd>
- </dl>
- <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>
- </div>
- </div>
- <a id="a11667dad6675a7a58cc60ab1597b1203"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a11667dad6675a7a58cc60ab1597b1203">◆ </a></span>setCanvasMargin()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QwtPlotLayout::setCanvasMargin </td>
- <td>(</td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>margin</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>axis</em> = <code>-1</code> </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 class="params"><dt>Parameters</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="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_layout.html#a272b5eca1b2faaa3e6fb7f9d25d64016">canvasMargin()</a></dd></dl>
- <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>
- </div>
- </div>
- <a id="ab3d6614684b96a5879300476d2df8f8f"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ab3d6614684b96a5879300476d2df8f8f">◆ </a></span>setCanvasRect()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void QwtPlotLayout::setCanvasRect </td>
- <td>(</td>
- <td class="paramtype">const QRectF & </td>
- <td class="paramname"><em>rect</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">protected</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Set the geometry for the canvas. </p>
- <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>
- <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>
- </div>
- </div>
- <a id="a60698767fe44c86ee4bcef27c1b48d26"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a60698767fe44c86ee4bcef27c1b48d26">◆ </a></span>setFooterRect()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void QwtPlotLayout::setFooterRect </td>
- <td>(</td>
- <td class="paramtype">const QRectF & </td>
- <td class="paramname"><em>rect</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">protected</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Set the geometry for the footer. </p>
- <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>
- <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>
- </div>
- </div>
- <a id="a001f1eca91803d0eaa9548efc50879eb"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a001f1eca91803d0eaa9548efc50879eb">◆ </a></span>setLegendPosition() <span class="overload">[1/2]</span></h2>
- <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> </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 class="params"><dt>Parameters</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 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>
- </table>
- </dd>
- </dl>
- <dl class="section see"><dt>See also</dt><dd>QwtPlot::setLegendPosition() </dd></dl>
- </div>
- </div>
- <a id="a11c9695a68f95135841cb23212589f18"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a11c9695a68f95135841cb23212589f18">◆ </a></span>setLegendPosition() <span class="overload">[2/2]</span></h2>
- <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> </td>
- <td class="paramname"><em>pos</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">double </td>
- <td class="paramname"><em>ratio</em> </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 class="params"><dt>Parameters</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 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 <= 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="section see"><dt>See also</dt><dd>QwtPlot::setLegendPosition() </dd></dl>
- </div>
- </div>
- <a id="aabe9f952046139667e055c661bee4dbb"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#aabe9f952046139667e055c661bee4dbb">◆ </a></span>setLegendRatio()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QwtPlotLayout::setLegendRatio </td>
- <td>(</td>
- <td class="paramtype">double </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 class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <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 <= 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 id="a5d5c1dacdfff8281acf0a909acaf866c"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a5d5c1dacdfff8281acf0a909acaf866c">◆ </a></span>setLegendRect()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void QwtPlotLayout::setLegendRect </td>
- <td>(</td>
- <td class="paramtype">const QRectF & </td>
- <td class="paramname"><em>rect</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">protected</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Set the geometry for the legend. </p>
- <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>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">rect</td><td>Rectangle for the legend</td></tr>
- </table>
- </dd>
- </dl>
- <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>
- </div>
- </div>
- <a id="a842733777eb2b0bf2cacc4bb01c169c7"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a842733777eb2b0bf2cacc4bb01c169c7">◆ </a></span>setScaleRect()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void QwtPlotLayout::setScaleRect </td>
- <td>(</td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>axis</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const QRectF & </td>
- <td class="paramname"><em>rect</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">protected</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Set the geometry for an axis. </p>
- <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>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">axis</td><td>Axis index </td></tr>
- <tr><td class="paramname">rect</td><td>Rectangle for the scale</td></tr>
- </table>
- </dd>
- </dl>
- <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>
- </div>
- </div>
- <a id="a6508553ec1d66bede49e7767526c3d03"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a6508553ec1d66bede49e7767526c3d03">◆ </a></span>setSpacing()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QwtPlotLayout::setSpacing </td>
- <td>(</td>
- <td class="paramtype">int </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 class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">spacing</td><td>New spacing </td></tr>
- </table>
- </dd>
- </dl>
- <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>
- </div>
- </div>
- <a id="a82b49e88c7928224c4b0342b6302c086"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a82b49e88c7928224c4b0342b6302c086">◆ </a></span>setTitleRect()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void QwtPlotLayout::setTitleRect </td>
- <td>(</td>
- <td class="paramtype">const QRectF & </td>
- <td class="paramname"><em>rect</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">protected</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Set the geometry for the title. </p>
- <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>
- <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>
- </div>
- </div>
- <a id="a1fad9d271b40d6b6e68918d92eb64d02"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a1fad9d271b40d6b6e68918d92eb64d02">◆ </a></span>spacing()</h2>
- <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="section return"><dt>Returns</dt><dd>Spacing </dd></dl>
- <dl class="section see"><dt>See also</dt><dd>margin(), <a class="el" href="class_qwt_plot_layout.html#a6508553ec1d66bede49e7767526c3d03">setSpacing()</a> </dd></dl>
- </div>
- </div>
- <a id="a0e6c18f4d1bee939a93890604e91545a"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a0e6c18f4d1bee939a93890604e91545a">◆ </a></span>titleRect()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">QRectF QwtPlotLayout::titleRect </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <dl class="section return"><dt>Returns</dt><dd>Geometry for the title </dd></dl>
- <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>
- </div>
- </div>
- </div><!-- contents -->
- </div><!-- doc-content -->
- <!-- start footer part -->
- <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
- <ul>
- <li class="navelem"><a class="el" href="class_qwt_plot_layout.html">QwtPlotLayout</a></li>
- <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>
- </ul>
- </div>
- </body>
- </html>
|