1488 lines
112 KiB
HTML
1488 lines
112 KiB
HTML
<!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.9.1"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>Qwt User's Guide: QwtPlotLegendItem 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.2.0</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.9.1 -->
|
|
<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','.html');
|
|
/* @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_legend_item.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_legend_item-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">QwtPlotLegendItem Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>A class which draws a legend inside the plot canvas.
|
|
<a href="class_qwt_plot_legend_item.html#details">More...</a></p>
|
|
|
|
<p><code>#include <<a class="el" href="qwt__plot__legenditem_8h_source.html">qwt_plot_legenditem.h</a>></code></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for QwtPlotLegendItem:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><iframe scrolling="no" frameborder="0" src="class_qwt_plot_legend_item__inherit__graph.svg" width="148" height="112"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
|
</div>
|
|
</div>
|
|
<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:a26f5e39bb332d42f9dde96fa788960cc"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a26f5e39bb332d42f9dde96fa788960cc">BackgroundMode</a> { <a class="el" href="class_qwt_plot_legend_item.html#a26f5e39bb332d42f9dde96fa788960cca638235bb73b0f3b34d0aba92842ec8e1">LegendBackground</a>
|
|
, <a class="el" href="class_qwt_plot_legend_item.html#a26f5e39bb332d42f9dde96fa788960ccad59a658b42182dab97057e923887e7c8">ItemBackground</a>
|
|
}</td></tr>
|
|
<tr class="memdesc:a26f5e39bb332d42f9dde96fa788960cc"><td class="mdescLeft"> </td><td class="mdescRight">Background mode. <a href="class_qwt_plot_legend_item.html#a26f5e39bb332d42f9dde96fa788960cc">More...</a><br /></td></tr>
|
|
<tr class="separator:a26f5e39bb332d42f9dde96fa788960cc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header pub_types_class_qwt_plot_item"><td colspan="2" onclick="javascript:toggleInherit('pub_types_class_qwt_plot_item')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="class_qwt_plot_item.html">QwtPlotItem</a></td></tr>
|
|
<tr class="memitem:ab149ac85e233ce9cedf2f2f2af871bf3 inherit pub_types_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3">RttiValues</a> { <br />
|
|
  <a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3af1fb53ddb320ecbf2bba00a323cf08ff">Rtti_PlotItem</a> = 0
|
|
, <a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3af3125faa8333135a5724cc1d6c276683">Rtti_PlotGrid</a>
|
|
, <a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3a386936d7e0186eabeb833a51cc4fb1cc">Rtti_PlotScale</a>
|
|
, <a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3a06cd77e370cf62597501e692965e1f9c">Rtti_PlotLegend</a>
|
|
, <br />
|
|
  <a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3a15b3819a193f24b76c78e39cb80c7789">Rtti_PlotMarker</a>
|
|
, <a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3af51a35012ed097a762b8918cf20caa69">Rtti_PlotCurve</a>
|
|
, <a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3a27c1741ae71fad58da835b747246015d">Rtti_PlotSpectroCurve</a>
|
|
, <a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3a5698aa120baa6e3d3d2a6bda8a82b226">Rtti_PlotIntervalCurve</a>
|
|
, <br />
|
|
  <a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3a4538dd66ec78ffd7ce6763f9000edcee">Rtti_PlotHistogram</a>
|
|
, <a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3ad67d72195856e6fd8112e1b310f3acb7">Rtti_PlotSpectrogram</a>
|
|
, <a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3af7c213b8b6f59d4362cbf8c474fd5b5c">Rtti_PlotGraphic</a>
|
|
, <a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3abcd9cebf717e528cb67458abfbf622dd">Rtti_PlotTradingCurve</a>
|
|
, <br />
|
|
  <a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3ab89eb3547903640b6cc9d0aac02ef6c3">Rtti_PlotBarChart</a>
|
|
, <a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3a73007ac5158d0ac857af2c6dcecf2712">Rtti_PlotMultiBarChart</a>
|
|
, <a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3af18fa4c34b44eaf43e13608c6bd7c7b7">Rtti_PlotShape</a>
|
|
, <a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3ae6f046fd43f578ad8a59243e6e665167">Rtti_PlotTextLabel</a>
|
|
, <br />
|
|
  <a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3a52b2ec5c64c77a36a103b329a530b606">Rtti_PlotZone</a>
|
|
, <a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3a0619b6d42554232a9b6f4c79f69af8c3">Rtti_PlotVectorField</a>
|
|
, <a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3aa60198228f57f46d4c64e4779107d0dc">Rtti_PlotUserItem</a> = 1000
|
|
<br />
|
|
}</td></tr>
|
|
<tr class="memdesc:ab149ac85e233ce9cedf2f2f2af871bf3"><td class="mdescLeft"> </td><td class="mdescRight">Runtime type information. <a href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3">More...</a><br /></td></tr>
|
|
<tr class="separator:ab149ac85e233ce9cedf2f2f2af871bf3 inherit pub_types_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae0fabcdd35f4818ce5bbe019b0eed062 inherit pub_types_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062">ItemAttribute</a> { <a class="el" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062a4e377b54bd879c60a95162b6a9e9e176">Legend</a> = 0x01
|
|
, <a class="el" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062a9de83e2ad8a88796a36a11ef8b033a48">AutoScale</a> = 0x02
|
|
, <a class="el" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062a56ea00cf43b862667dec2ac727307d4d">Margins</a> = 0x04
|
|
}</td></tr>
|
|
<tr class="memdesc:ae0fabcdd35f4818ce5bbe019b0eed062"><td class="mdescLeft"> </td><td class="mdescRight">Plot Item Attributes. <a href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062">More...</a><br /></td></tr>
|
|
<tr class="separator:ae0fabcdd35f4818ce5bbe019b0eed062 inherit pub_types_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:affbc42460ace9ac725fa825a3f8bfb66 inherit pub_types_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#affbc42460ace9ac725fa825a3f8bfb66">ItemInterest</a> { <a class="el" href="class_qwt_plot_item.html#affbc42460ace9ac725fa825a3f8bfb66a0d1c46890f22ef973d897ab0a9d38971">ScaleInterest</a> = 0x01
|
|
, <a class="el" href="class_qwt_plot_item.html#affbc42460ace9ac725fa825a3f8bfb66afcc4ef45e6613104ccc2b9f7988e4d22">LegendInterest</a> = 0x02
|
|
}</td></tr>
|
|
<tr class="memdesc:affbc42460ace9ac725fa825a3f8bfb66"><td class="mdescLeft"> </td><td class="mdescRight">Plot Item Interests. <a href="class_qwt_plot_item.html#affbc42460ace9ac725fa825a3f8bfb66">More...</a><br /></td></tr>
|
|
<tr class="separator:affbc42460ace9ac725fa825a3f8bfb66 inherit pub_types_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:abe0e8a39aceef9a600b73e02550a9704 inherit pub_types_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#abe0e8a39aceef9a600b73e02550a9704">RenderHint</a> { <a class="el" href="class_qwt_plot_item.html#abe0e8a39aceef9a600b73e02550a9704ae0c9811915d496eaacbd749724647f13">RenderAntialiased</a> = 0x1
|
|
}</td></tr>
|
|
<tr class="memdesc:abe0e8a39aceef9a600b73e02550a9704"><td class="mdescLeft"> </td><td class="mdescRight">Render hints. <a href="class_qwt_plot_item.html#abe0e8a39aceef9a600b73e02550a9704">More...</a><br /></td></tr>
|
|
<tr class="separator:abe0e8a39aceef9a600b73e02550a9704 inherit pub_types_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a56b47402d5d85b586e0908be6e30b8eb inherit pub_types_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">typedef QFlags< <a class="el" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062">ItemAttribute</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a56b47402d5d85b586e0908be6e30b8eb">ItemAttributes</a></td></tr>
|
|
<tr class="separator:a56b47402d5d85b586e0908be6e30b8eb inherit pub_types_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a091a91dac4e9a405a7d6d576fe335d94 inherit pub_types_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">typedef QFlags< <a class="el" href="class_qwt_plot_item.html#affbc42460ace9ac725fa825a3f8bfb66">ItemInterest</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a091a91dac4e9a405a7d6d576fe335d94">ItemInterests</a></td></tr>
|
|
<tr class="separator:a091a91dac4e9a405a7d6d576fe335d94 inherit pub_types_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a448f33b595d511b18c2df88ac43503e1 inherit pub_types_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">typedef QFlags< <a class="el" href="class_qwt_plot_item.html#abe0e8a39aceef9a600b73e02550a9704">RenderHint</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a448f33b595d511b18c2df88ac43503e1">RenderHints</a></td></tr>
|
|
<tr class="separator:a448f33b595d511b18c2df88ac43503e1 inherit pub_types_class_qwt_plot_item"><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:a5e647b9936095cde8193214d6a89b07f"><td class="memItemLeft" align="right" valign="top"><a id="a5e647b9936095cde8193214d6a89b07f"></a>
|
|
 </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a5e647b9936095cde8193214d6a89b07f">QwtPlotLegendItem</a> ()</td></tr>
|
|
<tr class="memdesc:a5e647b9936095cde8193214d6a89b07f"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <br /></td></tr>
|
|
<tr class="separator:a5e647b9936095cde8193214d6a89b07f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:adae55c1a6f185acc37a70df9008d4624"><td class="memItemLeft" align="right" valign="top"><a id="adae55c1a6f185acc37a70df9008d4624"></a>
|
|
virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#adae55c1a6f185acc37a70df9008d4624">~QwtPlotLegendItem</a> ()</td></tr>
|
|
<tr class="memdesc:adae55c1a6f185acc37a70df9008d4624"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <br /></td></tr>
|
|
<tr class="separator:adae55c1a6f185acc37a70df9008d4624"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acfdf91ac1f4c1c72e17b78fb96b9163d"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#acfdf91ac1f4c1c72e17b78fb96b9163d">rtti</a> () const override</td></tr>
|
|
<tr class="separator:acfdf91ac1f4c1c72e17b78fb96b9163d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4d17dc16b45652459f00cd1a16bcd916"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a4d17dc16b45652459f00cd1a16bcd916">setAlignmentInCanvas</a> (Qt::Alignment)</td></tr>
|
|
<tr class="memdesc:a4d17dc16b45652459f00cd1a16bcd916"><td class="mdescLeft"> </td><td class="mdescRight">Set the alignmnet. <a href="class_qwt_plot_legend_item.html#a4d17dc16b45652459f00cd1a16bcd916">More...</a><br /></td></tr>
|
|
<tr class="separator:a4d17dc16b45652459f00cd1a16bcd916"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6bb3ea765d0a7fa81ede5418a669fb06"><td class="memItemLeft" align="right" valign="top">Qt::Alignment </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a6bb3ea765d0a7fa81ede5418a669fb06">alignmentInCanvas</a> () const</td></tr>
|
|
<tr class="separator:a6bb3ea765d0a7fa81ede5418a669fb06"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1bd3b36b79d7bf7783213ef18c668501"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a1bd3b36b79d7bf7783213ef18c668501">setOffsetInCanvas</a> (Qt::Orientations, int numPixels)</td></tr>
|
|
<tr class="memdesc:a1bd3b36b79d7bf7783213ef18c668501"><td class="mdescLeft"> </td><td class="mdescRight">Set the distance between the legend and the canvas border. <a href="class_qwt_plot_legend_item.html#a1bd3b36b79d7bf7783213ef18c668501">More...</a><br /></td></tr>
|
|
<tr class="separator:a1bd3b36b79d7bf7783213ef18c668501"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a31abd39ca87606707b0fe06b528eea5a"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a31abd39ca87606707b0fe06b528eea5a">offsetInCanvas</a> (Qt::Orientation) const</td></tr>
|
|
<tr class="separator:a31abd39ca87606707b0fe06b528eea5a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8b6f1db48c05feb5d0f8525b41898be7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a8b6f1db48c05feb5d0f8525b41898be7">setMaxColumns</a> (uint)</td></tr>
|
|
<tr class="memdesc:a8b6f1db48c05feb5d0f8525b41898be7"><td class="mdescLeft"> </td><td class="mdescRight">Limit the number of columns. <a href="class_qwt_plot_legend_item.html#a8b6f1db48c05feb5d0f8525b41898be7">More...</a><br /></td></tr>
|
|
<tr class="separator:a8b6f1db48c05feb5d0f8525b41898be7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac3adfd28befca5e9597779cedee66cfe"><td class="memItemLeft" align="right" valign="top">uint </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#ac3adfd28befca5e9597779cedee66cfe">maxColumns</a> () const</td></tr>
|
|
<tr class="separator:ac3adfd28befca5e9597779cedee66cfe"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a503f19f2c8b2b7549a74ef887081bb8d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a503f19f2c8b2b7549a74ef887081bb8d">setMargin</a> (int)</td></tr>
|
|
<tr class="memdesc:a503f19f2c8b2b7549a74ef887081bb8d"><td class="mdescLeft"> </td><td class="mdescRight">Set the margin around legend items. <a href="class_qwt_plot_legend_item.html#a503f19f2c8b2b7549a74ef887081bb8d">More...</a><br /></td></tr>
|
|
<tr class="separator:a503f19f2c8b2b7549a74ef887081bb8d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:addb541b96f80893b59a9b5c5a6902045"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#addb541b96f80893b59a9b5c5a6902045">margin</a> () const</td></tr>
|
|
<tr class="separator:addb541b96f80893b59a9b5c5a6902045"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9932f074e5861464a055fdce6394889c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a9932f074e5861464a055fdce6394889c">setSpacing</a> (int)</td></tr>
|
|
<tr class="memdesc:a9932f074e5861464a055fdce6394889c"><td class="mdescLeft"> </td><td class="mdescRight">Set the spacing between the legend items. <a href="class_qwt_plot_legend_item.html#a9932f074e5861464a055fdce6394889c">More...</a><br /></td></tr>
|
|
<tr class="separator:a9932f074e5861464a055fdce6394889c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0f10e23857ef543d8e59d9e630873ce0"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a0f10e23857ef543d8e59d9e630873ce0">spacing</a> () const</td></tr>
|
|
<tr class="separator:a0f10e23857ef543d8e59d9e630873ce0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a85933f3f34ce2ed226217e35eb0341be"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a85933f3f34ce2ed226217e35eb0341be">setItemMargin</a> (int)</td></tr>
|
|
<tr class="separator:a85933f3f34ce2ed226217e35eb0341be"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6519a6e12165d6158189ea65f777fd19"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a6519a6e12165d6158189ea65f777fd19">itemMargin</a> () const</td></tr>
|
|
<tr class="separator:a6519a6e12165d6158189ea65f777fd19"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6f1f7d6e9161260ac703abc1118a63b9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a6f1f7d6e9161260ac703abc1118a63b9">setItemSpacing</a> (int)</td></tr>
|
|
<tr class="separator:a6f1f7d6e9161260ac703abc1118a63b9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9221b190a8bebec8b46c782b0be57a89"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a9221b190a8bebec8b46c782b0be57a89">itemSpacing</a> () const</td></tr>
|
|
<tr class="separator:a9221b190a8bebec8b46c782b0be57a89"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa63eae9c2b05cb92186a40dde19fedec"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#aa63eae9c2b05cb92186a40dde19fedec">setFont</a> (const QFont &)</td></tr>
|
|
<tr class="separator:aa63eae9c2b05cb92186a40dde19fedec"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a39c4ec328b04371f92d2a43f141ee6c1"><td class="memItemLeft" align="right" valign="top">QFont </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a39c4ec328b04371f92d2a43f141ee6c1">font</a> () const</td></tr>
|
|
<tr class="separator:a39c4ec328b04371f92d2a43f141ee6c1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:afe9ab7925e12c81d7534343de29ae9cf"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#afe9ab7925e12c81d7534343de29ae9cf">setBorderRadius</a> (double)</td></tr>
|
|
<tr class="separator:afe9ab7925e12c81d7534343de29ae9cf"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:afade40d52edf4a4fd8ef3ea1458ab197"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#afade40d52edf4a4fd8ef3ea1458ab197">borderRadius</a> () const</td></tr>
|
|
<tr class="separator:afade40d52edf4a4fd8ef3ea1458ab197"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a92d38a3db46df13cc325c3ec8ea63768"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a92d38a3db46df13cc325c3ec8ea63768">setBorderPen</a> (const QPen &)</td></tr>
|
|
<tr class="separator:a92d38a3db46df13cc325c3ec8ea63768"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aaed56d7964c4762f85e206178520c9a4"><td class="memItemLeft" align="right" valign="top">QPen </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#aaed56d7964c4762f85e206178520c9a4">borderPen</a> () const</td></tr>
|
|
<tr class="separator:aaed56d7964c4762f85e206178520c9a4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a82c391eecd2752c3a85a274973f34b6e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a82c391eecd2752c3a85a274973f34b6e">setBackgroundBrush</a> (const QBrush &)</td></tr>
|
|
<tr class="memdesc:a82c391eecd2752c3a85a274973f34b6e"><td class="mdescLeft"> </td><td class="mdescRight">Set the background brush. <a href="class_qwt_plot_legend_item.html#a82c391eecd2752c3a85a274973f34b6e">More...</a><br /></td></tr>
|
|
<tr class="separator:a82c391eecd2752c3a85a274973f34b6e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4be33f6ce973ceb8cfd585f086525f4d"><td class="memItemLeft" align="right" valign="top">QBrush </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a4be33f6ce973ceb8cfd585f086525f4d">backgroundBrush</a> () const</td></tr>
|
|
<tr class="separator:a4be33f6ce973ceb8cfd585f086525f4d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4974efd3548c1335f0969275a95e7cba"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a4974efd3548c1335f0969275a95e7cba">setBackgroundMode</a> (<a class="el" href="class_qwt_plot_legend_item.html#a26f5e39bb332d42f9dde96fa788960cc">BackgroundMode</a>)</td></tr>
|
|
<tr class="memdesc:a4974efd3548c1335f0969275a95e7cba"><td class="mdescLeft"> </td><td class="mdescRight">Set the background mode. <a href="class_qwt_plot_legend_item.html#a4974efd3548c1335f0969275a95e7cba">More...</a><br /></td></tr>
|
|
<tr class="separator:a4974efd3548c1335f0969275a95e7cba"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4102abdc1f91af1973b82932150616b0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_plot_legend_item.html#a26f5e39bb332d42f9dde96fa788960cc">BackgroundMode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a4102abdc1f91af1973b82932150616b0">backgroundMode</a> () const</td></tr>
|
|
<tr class="separator:a4102abdc1f91af1973b82932150616b0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae41a2af3f5353a01ed5d4dd786b84ef7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#ae41a2af3f5353a01ed5d4dd786b84ef7">setTextPen</a> (const QPen &)</td></tr>
|
|
<tr class="memdesc:ae41a2af3f5353a01ed5d4dd786b84ef7"><td class="mdescLeft"> </td><td class="mdescRight">Set the pen for drawing text labels. <a href="class_qwt_plot_legend_item.html#ae41a2af3f5353a01ed5d4dd786b84ef7">More...</a><br /></td></tr>
|
|
<tr class="separator:ae41a2af3f5353a01ed5d4dd786b84ef7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:adeec95bfb8d15516149c080057a12934"><td class="memItemLeft" align="right" valign="top">QPen </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#adeec95bfb8d15516149c080057a12934">textPen</a> () const</td></tr>
|
|
<tr class="separator:adeec95bfb8d15516149c080057a12934"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4a53a3621001c50b005bf579ab77a437"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a4a53a3621001c50b005bf579ab77a437">draw</a> (QPainter *, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &xMap, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &yMap, const QRectF &canvasRect) const override</td></tr>
|
|
<tr class="separator:a4a53a3621001c50b005bf579ab77a437"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad5bf74d642b8a0ccfcc1a278442f94e9"><td class="memItemLeft" align="right" valign="top"><a id="ad5bf74d642b8a0ccfcc1a278442f94e9"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#ad5bf74d642b8a0ccfcc1a278442f94e9">clearLegend</a> ()</td></tr>
|
|
<tr class="memdesc:ad5bf74d642b8a0ccfcc1a278442f94e9"><td class="mdescLeft"> </td><td class="mdescRight">Remove all items from the legend. <br /></td></tr>
|
|
<tr class="separator:ad5bf74d642b8a0ccfcc1a278442f94e9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4bcacc31901ec70a67c79a47838e0af9"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a4bcacc31901ec70a67c79a47838e0af9">updateLegend</a> (const <a class="el" href="class_qwt_plot_item.html">QwtPlotItem</a> *, const <a class="el" href="class_q_list.html">QList</a>< <a class="el" href="class_qwt_legend_data.html">QwtLegendData</a> > &) override</td></tr>
|
|
<tr class="separator:a4bcacc31901ec70a67c79a47838e0af9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a399e911ba6cf2670456f0c3ce8067485"><td class="memItemLeft" align="right" valign="top">virtual QRect </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a399e911ba6cf2670456f0c3ce8067485">geometry</a> (const QRectF &canvasRect) const</td></tr>
|
|
<tr class="separator:a399e911ba6cf2670456f0c3ce8067485"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:abbfe45a7fca3effba9c1339dc18c0d19"><td class="memItemLeft" align="right" valign="top">virtual QSize </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#abbfe45a7fca3effba9c1339dc18c0d19">minimumSize</a> (const <a class="el" href="class_qwt_legend_data.html">QwtLegendData</a> &) const</td></tr>
|
|
<tr class="separator:abbfe45a7fca3effba9c1339dc18c0d19"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9f38136dea7b4a19bd86a481849a4651"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a9f38136dea7b4a19bd86a481849a4651">heightForWidth</a> (const <a class="el" href="class_qwt_legend_data.html">QwtLegendData</a> &, int width) const</td></tr>
|
|
<tr class="separator:a9f38136dea7b4a19bd86a481849a4651"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a872dadf9f21f57a5369ad811e6dfa68a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_list.html">QList</a>< const <a class="el" href="class_qwt_plot_item.html">QwtPlotItem</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a872dadf9f21f57a5369ad811e6dfa68a">plotItems</a> () const</td></tr>
|
|
<tr class="separator:a872dadf9f21f57a5369ad811e6dfa68a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a77ed43325a316da51fd9ec068e36907e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_list.html">QList</a>< QRect > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a77ed43325a316da51fd9ec068e36907e">legendGeometries</a> (const <a class="el" href="class_qwt_plot_item.html">QwtPlotItem</a> *) const</td></tr>
|
|
<tr class="separator:a77ed43325a316da51fd9ec068e36907e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header pub_methods_class_qwt_plot_item"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_qwt_plot_item')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="class_qwt_plot_item.html">QwtPlotItem</a></td></tr>
|
|
<tr class="memitem:a02208d2d8265fcccc07e64ed051eda2b inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a02208d2d8265fcccc07e64ed051eda2b">QwtPlotItem</a> ()</td></tr>
|
|
<tr class="separator:a02208d2d8265fcccc07e64ed051eda2b inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aed06a7b94cd016df187fccc344e97f78 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#aed06a7b94cd016df187fccc344e97f78">QwtPlotItem</a> (const QString &<a class="el" href="class_qwt_plot_item.html#a3abdb947d71e457de120851922de3197">title</a>)</td></tr>
|
|
<tr class="separator:aed06a7b94cd016df187fccc344e97f78 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2884fd0eb5845579f150b0ee81e7bb49 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a2884fd0eb5845579f150b0ee81e7bb49">QwtPlotItem</a> (const <a class="el" href="class_qwt_text.html">QwtText</a> &<a class="el" href="class_qwt_plot_item.html#a3abdb947d71e457de120851922de3197">title</a>)</td></tr>
|
|
<tr class="separator:a2884fd0eb5845579f150b0ee81e7bb49 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a282a1d0424a06737f80e1fe83ccf7a0c inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top"><a id="a282a1d0424a06737f80e1fe83ccf7a0c"></a>
|
|
virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a282a1d0424a06737f80e1fe83ccf7a0c">~QwtPlotItem</a> ()</td></tr>
|
|
<tr class="memdesc:a282a1d0424a06737f80e1fe83ccf7a0c inherit pub_methods_class_qwt_plot_item"><td class="mdescLeft"> </td><td class="mdescRight">Destroy the <a class="el" href="class_qwt_plot_item.html" title="Base class for items on the plot canvas.">QwtPlotItem</a>. <br /></td></tr>
|
|
<tr class="separator:a282a1d0424a06737f80e1fe83ccf7a0c inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aeb2f676533ccae3436bf578824e2165e inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#aeb2f676533ccae3436bf578824e2165e">attach</a> (<a class="el" href="class_qwt_plot.html">QwtPlot</a> *<a class="el" href="class_qwt_plot_item.html#a68dc5c562bdec6ee764ddedae6acd3bf">plot</a>)</td></tr>
|
|
<tr class="memdesc:aeb2f676533ccae3436bf578824e2165e inherit pub_methods_class_qwt_plot_item"><td class="mdescLeft"> </td><td class="mdescRight">Attach the item to a plot. <a href="class_qwt_plot_item.html#aeb2f676533ccae3436bf578824e2165e">More...</a><br /></td></tr>
|
|
<tr class="separator:aeb2f676533ccae3436bf578824e2165e inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab2bbee6dbe36a5f1d0ce853ac66716a6 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#ab2bbee6dbe36a5f1d0ce853ac66716a6">detach</a> ()</td></tr>
|
|
<tr class="memdesc:ab2bbee6dbe36a5f1d0ce853ac66716a6 inherit pub_methods_class_qwt_plot_item"><td class="mdescLeft"> </td><td class="mdescRight">This method detaches a <a class="el" href="class_qwt_plot_item.html" title="Base class for items on the plot canvas.">QwtPlotItem</a> from any <a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget.">QwtPlot</a> it has been associated with. <a href="class_qwt_plot_item.html#ab2bbee6dbe36a5f1d0ce853ac66716a6">More...</a><br /></td></tr>
|
|
<tr class="separator:ab2bbee6dbe36a5f1d0ce853ac66716a6 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a68dc5c562bdec6ee764ddedae6acd3bf inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top"><a id="a68dc5c562bdec6ee764ddedae6acd3bf"></a>
|
|
<a class="el" href="class_qwt_plot.html">QwtPlot</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a68dc5c562bdec6ee764ddedae6acd3bf">plot</a> () const</td></tr>
|
|
<tr class="memdesc:a68dc5c562bdec6ee764ddedae6acd3bf inherit pub_methods_class_qwt_plot_item"><td class="mdescLeft"> </td><td class="mdescRight">Return attached plot. <br /></td></tr>
|
|
<tr class="separator:a68dc5c562bdec6ee764ddedae6acd3bf inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1b74686181ab6dd5033917123c7db30f inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a1b74686181ab6dd5033917123c7db30f">setTitle</a> (const QString &<a class="el" href="class_qwt_plot_item.html#a3abdb947d71e457de120851922de3197">title</a>)</td></tr>
|
|
<tr class="separator:a1b74686181ab6dd5033917123c7db30f inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2db3214b23b78274fa6f8c0321a76839 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a2db3214b23b78274fa6f8c0321a76839">setTitle</a> (const <a class="el" href="class_qwt_text.html">QwtText</a> &<a class="el" href="class_qwt_plot_item.html#a3abdb947d71e457de120851922de3197">title</a>)</td></tr>
|
|
<tr class="separator:a2db3214b23b78274fa6f8c0321a76839 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3abdb947d71e457de120851922de3197 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_qwt_text.html">QwtText</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a3abdb947d71e457de120851922de3197">title</a> () const</td></tr>
|
|
<tr class="separator:a3abdb947d71e457de120851922de3197 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5a335be8ff488809a2cf7f4b734ad1b6 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a5a335be8ff488809a2cf7f4b734ad1b6">setItemAttribute</a> (<a class="el" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062">ItemAttribute</a>, bool on=true)</td></tr>
|
|
<tr class="separator:a5a335be8ff488809a2cf7f4b734ad1b6 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac5ffcdbabee06b75a3cc5d863b61a69a inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#ac5ffcdbabee06b75a3cc5d863b61a69a">testItemAttribute</a> (<a class="el" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062">ItemAttribute</a>) const</td></tr>
|
|
<tr class="separator:ac5ffcdbabee06b75a3cc5d863b61a69a inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab65cbfe489ff73e32a919a0633298fb7 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#ab65cbfe489ff73e32a919a0633298fb7">setItemInterest</a> (<a class="el" href="class_qwt_plot_item.html#affbc42460ace9ac725fa825a3f8bfb66">ItemInterest</a>, bool on=true)</td></tr>
|
|
<tr class="separator:ab65cbfe489ff73e32a919a0633298fb7 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8ce5dec4588f9010ffcda7c3bf661644 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a8ce5dec4588f9010ffcda7c3bf661644">testItemInterest</a> (<a class="el" href="class_qwt_plot_item.html#affbc42460ace9ac725fa825a3f8bfb66">ItemInterest</a>) const</td></tr>
|
|
<tr class="separator:a8ce5dec4588f9010ffcda7c3bf661644 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acd023c40f659c304ded324942865edc8 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#acd023c40f659c304ded324942865edc8">setRenderHint</a> (<a class="el" href="class_qwt_plot_item.html#abe0e8a39aceef9a600b73e02550a9704">RenderHint</a>, bool on=true)</td></tr>
|
|
<tr class="separator:acd023c40f659c304ded324942865edc8 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aca66d2161c8a6caf5ebef82f59770d15 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#aca66d2161c8a6caf5ebef82f59770d15">testRenderHint</a> (<a class="el" href="class_qwt_plot_item.html#abe0e8a39aceef9a600b73e02550a9704">RenderHint</a>) const</td></tr>
|
|
<tr class="separator:aca66d2161c8a6caf5ebef82f59770d15 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a188ae18fbbce9adcf259ebe2f0de1f6b inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a188ae18fbbce9adcf259ebe2f0de1f6b">setRenderThreadCount</a> (uint numThreads)</td></tr>
|
|
<tr class="separator:a188ae18fbbce9adcf259ebe2f0de1f6b inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae3651df9594cb48f8221f7b1cc7852ca inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">uint </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#ae3651df9594cb48f8221f7b1cc7852ca">renderThreadCount</a> () const</td></tr>
|
|
<tr class="separator:ae3651df9594cb48f8221f7b1cc7852ca inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0827dd69bf19ec0145b6cc6efad2c11b inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a0827dd69bf19ec0145b6cc6efad2c11b">setLegendIconSize</a> (const QSize &)</td></tr>
|
|
<tr class="separator:a0827dd69bf19ec0145b6cc6efad2c11b inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af516644c94b0ec799af2eb2f0d0f6893 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">QSize </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#af516644c94b0ec799af2eb2f0d0f6893">legendIconSize</a> () const</td></tr>
|
|
<tr class="separator:af516644c94b0ec799af2eb2f0d0f6893 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a717c27fba94fd761a2d4ec06e9dbfa21 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a717c27fba94fd761a2d4ec06e9dbfa21">z</a> () const</td></tr>
|
|
<tr class="separator:a717c27fba94fd761a2d4ec06e9dbfa21 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a57d90e4146133b59d589c71b3a643e82 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a57d90e4146133b59d589c71b3a643e82">setZ</a> (double <a class="el" href="class_qwt_plot_item.html#a717c27fba94fd761a2d4ec06e9dbfa21">z</a>)</td></tr>
|
|
<tr class="memdesc:a57d90e4146133b59d589c71b3a643e82 inherit pub_methods_class_qwt_plot_item"><td class="mdescLeft"> </td><td class="mdescRight">Set the z value. <a href="class_qwt_plot_item.html#a57d90e4146133b59d589c71b3a643e82">More...</a><br /></td></tr>
|
|
<tr class="separator:a57d90e4146133b59d589c71b3a643e82 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a93a50fb9c86bc66617e28315e02281c3 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top"><a id="a93a50fb9c86bc66617e28315e02281c3"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a93a50fb9c86bc66617e28315e02281c3">show</a> ()</td></tr>
|
|
<tr class="memdesc:a93a50fb9c86bc66617e28315e02281c3 inherit pub_methods_class_qwt_plot_item"><td class="mdescLeft"> </td><td class="mdescRight">Show the item. <br /></td></tr>
|
|
<tr class="separator:a93a50fb9c86bc66617e28315e02281c3 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1faea017baa2492416a13e6bc3c144aa inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top"><a id="a1faea017baa2492416a13e6bc3c144aa"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a1faea017baa2492416a13e6bc3c144aa">hide</a> ()</td></tr>
|
|
<tr class="memdesc:a1faea017baa2492416a13e6bc3c144aa inherit pub_methods_class_qwt_plot_item"><td class="mdescLeft"> </td><td class="mdescRight">Hide the item. <br /></td></tr>
|
|
<tr class="separator:a1faea017baa2492416a13e6bc3c144aa inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5f0eeb2b72207fd8d33a95b0565657a1 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a5f0eeb2b72207fd8d33a95b0565657a1">setVisible</a> (bool)</td></tr>
|
|
<tr class="separator:a5f0eeb2b72207fd8d33a95b0565657a1 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1f9e938bef95ccc7b3e026da277ea8f3 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a1f9e938bef95ccc7b3e026da277ea8f3">isVisible</a> () const</td></tr>
|
|
<tr class="separator:a1f9e938bef95ccc7b3e026da277ea8f3 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac9dc449bec8fa8e60ffc40de3684bb6f inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#ac9dc449bec8fa8e60ffc40de3684bb6f">setAxes</a> (QwtAxisId <a class="el" href="class_qwt_plot_item.html#a882b5eb610c7b384b64f0f6077f23c62">xAxis</a>, QwtAxisId <a class="el" href="class_qwt_plot_item.html#a04da91589ece54e665ca94e487f7a208">yAxis</a>)</td></tr>
|
|
<tr class="separator:ac9dc449bec8fa8e60ffc40de3684bb6f inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3e82191235fcb2a7010bdc39c3e8fdf8 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a3e82191235fcb2a7010bdc39c3e8fdf8">setXAxis</a> (QwtAxisId)</td></tr>
|
|
<tr class="separator:a3e82191235fcb2a7010bdc39c3e8fdf8 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a882b5eb610c7b384b64f0f6077f23c62 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top"><a id="a882b5eb610c7b384b64f0f6077f23c62"></a>
|
|
QwtAxisId </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a882b5eb610c7b384b64f0f6077f23c62">xAxis</a> () const</td></tr>
|
|
<tr class="memdesc:a882b5eb610c7b384b64f0f6077f23c62 inherit pub_methods_class_qwt_plot_item"><td class="mdescLeft"> </td><td class="mdescRight">Return xAxis. <br /></td></tr>
|
|
<tr class="separator:a882b5eb610c7b384b64f0f6077f23c62 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a26f9c92f0499c4ddd472651fa60a858a inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a26f9c92f0499c4ddd472651fa60a858a">setYAxis</a> (QwtAxisId)</td></tr>
|
|
<tr class="separator:a26f9c92f0499c4ddd472651fa60a858a inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a04da91589ece54e665ca94e487f7a208 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top"><a id="a04da91589ece54e665ca94e487f7a208"></a>
|
|
QwtAxisId </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a04da91589ece54e665ca94e487f7a208">yAxis</a> () const</td></tr>
|
|
<tr class="memdesc:a04da91589ece54e665ca94e487f7a208 inherit pub_methods_class_qwt_plot_item"><td class="mdescLeft"> </td><td class="mdescRight">Return yAxis. <br /></td></tr>
|
|
<tr class="separator:a04da91589ece54e665ca94e487f7a208 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad956fdbce5b0721abccce6d09fe4d5ce inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#ad956fdbce5b0721abccce6d09fe4d5ce">itemChanged</a> ()</td></tr>
|
|
<tr class="separator:ad956fdbce5b0721abccce6d09fe4d5ce inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3967414c7542e267d0c2793f02be7241 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a3967414c7542e267d0c2793f02be7241">legendChanged</a> ()</td></tr>
|
|
<tr class="separator:a3967414c7542e267d0c2793f02be7241 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aebc6a6627f293f62e1d07006b11912cc inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">virtual QRectF </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#aebc6a6627f293f62e1d07006b11912cc">boundingRect</a> () const</td></tr>
|
|
<tr class="separator:aebc6a6627f293f62e1d07006b11912cc inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae576c06e796379f5c1fc8a37b8d84565 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#ae576c06e796379f5c1fc8a37b8d84565">getCanvasMarginHint</a> (const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &xMap, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &yMap, const QRectF &canvasRect, double &left, double &top, double &right, double &bottom) const</td></tr>
|
|
<tr class="memdesc:ae576c06e796379f5c1fc8a37b8d84565 inherit pub_methods_class_qwt_plot_item"><td class="mdescLeft"> </td><td class="mdescRight">Calculate a hint for the canvas margin. <a href="class_qwt_plot_item.html#ae576c06e796379f5c1fc8a37b8d84565">More...</a><br /></td></tr>
|
|
<tr class="separator:ae576c06e796379f5c1fc8a37b8d84565 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:abf6a70847d3db952161ca4d4a952eea0 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#abf6a70847d3db952161ca4d4a952eea0">updateScaleDiv</a> (const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> &, const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> &)</td></tr>
|
|
<tr class="memdesc:abf6a70847d3db952161ca4d4a952eea0 inherit pub_methods_class_qwt_plot_item"><td class="mdescLeft"> </td><td class="mdescRight">Update the item to changes of the axes scale division. <a href="class_qwt_plot_item.html#abf6a70847d3db952161ca4d4a952eea0">More...</a><br /></td></tr>
|
|
<tr class="separator:abf6a70847d3db952161ca4d4a952eea0 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a43930f6c9bf9338130d2e098834732f4 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">QRectF </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a43930f6c9bf9338130d2e098834732f4">scaleRect</a> (const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &) const</td></tr>
|
|
<tr class="memdesc:a43930f6c9bf9338130d2e098834732f4 inherit pub_methods_class_qwt_plot_item"><td class="mdescLeft"> </td><td class="mdescRight">Calculate the bounding scale rectangle of 2 maps. <a href="class_qwt_plot_item.html#a43930f6c9bf9338130d2e098834732f4">More...</a><br /></td></tr>
|
|
<tr class="separator:a43930f6c9bf9338130d2e098834732f4 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a08deefbedf8742f4877841b2dfd85822 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">QRectF </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a08deefbedf8742f4877841b2dfd85822">paintRect</a> (const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &) const</td></tr>
|
|
<tr class="memdesc:a08deefbedf8742f4877841b2dfd85822 inherit pub_methods_class_qwt_plot_item"><td class="mdescLeft"> </td><td class="mdescRight">Calculate the bounding paint rectangle of 2 maps. <a href="class_qwt_plot_item.html#a08deefbedf8742f4877841b2dfd85822">More...</a><br /></td></tr>
|
|
<tr class="separator:a08deefbedf8742f4877841b2dfd85822 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a367ed5160b8475daf6b5b06558310f98 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_q_list.html">QList</a>< <a class="el" href="class_qwt_legend_data.html">QwtLegendData</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a367ed5160b8475daf6b5b06558310f98">legendData</a> () const</td></tr>
|
|
<tr class="memdesc:a367ed5160b8475daf6b5b06558310f98 inherit pub_methods_class_qwt_plot_item"><td class="mdescLeft"> </td><td class="mdescRight">Return all information, that is needed to represent the item on the legend. <a href="class_qwt_plot_item.html#a367ed5160b8475daf6b5b06558310f98">More...</a><br /></td></tr>
|
|
<tr class="separator:a367ed5160b8475daf6b5b06558310f98 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1a0d7f4328741d7396f1959e44e63412 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_qwt_graphic.html">QwtGraphic</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a1a0d7f4328741d7396f1959e44e63412">legendIcon</a> (int index, const QSizeF &) const</td></tr>
|
|
<tr class="separator:a1a0d7f4328741d7396f1959e44e63412 inherit pub_methods_class_qwt_plot_item"><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:a73b35149f3a8320a83922bf59c4a1e0f"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a73b35149f3a8320a83922bf59c4a1e0f">drawLegendData</a> (QPainter *, const <a class="el" href="class_qwt_plot_item.html">QwtPlotItem</a> *, const <a class="el" href="class_qwt_legend_data.html">QwtLegendData</a> &, const QRectF &) const</td></tr>
|
|
<tr class="separator:a73b35149f3a8320a83922bf59c4a1e0f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac9ceac666827ebe1f30d344328f24859"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#ac9ceac666827ebe1f30d344328f24859">drawBackground</a> (QPainter *, const QRectF &rect) const</td></tr>
|
|
<tr class="separator:ac9ceac666827ebe1f30d344328f24859"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header pro_methods_class_qwt_plot_item"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_qwt_plot_item')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="class_qwt_plot_item.html">QwtPlotItem</a></td></tr>
|
|
<tr class="memitem:a9a86df9a56ed5fea2cee81026e45f375 inherit pro_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_graphic.html">QwtGraphic</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a9a86df9a56ed5fea2cee81026e45f375">defaultIcon</a> (const QBrush &, const QSizeF &) const</td></tr>
|
|
<tr class="memdesc:a9a86df9a56ed5fea2cee81026e45f375 inherit pro_methods_class_qwt_plot_item"><td class="mdescLeft"> </td><td class="mdescRight">Return a default icon from a brush. <a href="class_qwt_plot_item.html#a9a86df9a56ed5fea2cee81026e45f375">More...</a><br /></td></tr>
|
|
<tr class="separator:a9a86df9a56ed5fea2cee81026e45f375 inherit pro_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>A class which draws a legend inside the plot canvas. </p>
|
|
<p><a class="el" href="class_qwt_plot_legend_item.html" title="A class which draws a legend inside the plot canvas.">QwtPlotLegendItem</a> can be used to draw a inside the plot canvas. It can be used together with a <a class="el" href="class_qwt_legend.html" title="The legend widget.">QwtLegend</a> or instead of it to have more space for the plot canvas.</p>
|
|
<p>In opposite to <a class="el" href="class_qwt_legend.html" title="The legend widget.">QwtLegend</a> the legend item is not interactive. To identify mouse clicks on a legend item an event filter needs to be installed catching mouse events ob the plot canvas. The geometries of the legend items are available using <a class="el" href="class_qwt_plot_legend_item.html#a77ed43325a316da51fd9ec068e36907e">legendGeometries()</a>.</p>
|
|
<p>The legend item is aligned to plot canvas according to its alignment() flags. It might have a background for the complete legend ( usually semi transparent ) or for each legend item.</p>
|
|
<dl class="section note"><dt>Note</dt><dd>An external <a class="el" href="class_qwt_legend.html" title="The legend widget.">QwtLegend</a> with a transparent background on top the plot canvas might be another option with a similar effect. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="qwt__plot__legenditem_8h_source.html#l00041">41</a> of file <a class="el" href="qwt__plot__legenditem_8h_source.html">qwt_plot_legenditem.h</a>.</p>
|
|
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
|
|
<a id="a26f5e39bb332d42f9dde96fa788960cc"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a26f5e39bb332d42f9dde96fa788960cc">◆ </a></span>BackgroundMode</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="class_qwt_plot_legend_item.html#a26f5e39bb332d42f9dde96fa788960cc">QwtPlotLegendItem::BackgroundMode</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Background mode. </p>
|
|
<p>Depending on the mode the complete legend or each item might have an background.</p>
|
|
<p>The default setting is LegendBackground.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_legend_item.html#a4974efd3548c1335f0969275a95e7cba" title="Set the background mode.">setBackgroundMode()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a82c391eecd2752c3a85a274973f34b6e" title="Set the background brush.">setBackgroundBrush()</a>, <a class="el" href="class_qwt_plot_legend_item.html#ac9ceac666827ebe1f30d344328f24859">drawBackground()</a> </dd></dl>
|
|
<table class="fieldtable">
|
|
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a26f5e39bb332d42f9dde96fa788960cca638235bb73b0f3b34d0aba92842ec8e1"></a>LegendBackground </td><td class="fielddoc"><p>The legend has a background. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a26f5e39bb332d42f9dde96fa788960ccad59a658b42182dab97057e923887e7c8"></a>ItemBackground </td><td class="fielddoc"><p>Each item has a background. </p>
|
|
</td></tr>
|
|
</table>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="qwt__plot__legenditem_8h_source.html#l00054">54</a> of file <a class="el" href="qwt__plot__legenditem_8h_source.html">qwt_plot_legenditem.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="a6bb3ea765d0a7fa81ede5418a669fb06"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6bb3ea765d0a7fa81ede5418a669fb06">◆ </a></span>alignmentInCanvas()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Qt::Alignment QwtPlotLegendItem::alignmentInCanvas </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>Alignment flags </dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_legend_item.html#a4d17dc16b45652459f00cd1a16bcd916" title="Set the alignmnet.">setAlignmentInCanvas()</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="qwt__plot__legenditem_8cpp_source.html#l00223">223</a> of file <a class="el" href="qwt__plot__legenditem_8cpp_source.html">qwt_plot_legenditem.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a4be33f6ce973ceb8cfd585f086525f4d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4be33f6ce973ceb8cfd585f086525f4d">◆ </a></span>backgroundBrush()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QBrush QwtPlotLegendItem::backgroundBrush </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>Brush is used to fill the background </dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_legend_item.html#a82c391eecd2752c3a85a274973f34b6e" title="Set the background brush.">setBackgroundBrush()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a4102abdc1f91af1973b82932150616b0">backgroundMode()</a>, <a class="el" href="class_qwt_plot_legend_item.html#ac9ceac666827ebe1f30d344328f24859">drawBackground()</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="qwt__plot__legenditem_8cpp_source.html#l00522">522</a> of file <a class="el" href="qwt__plot__legenditem_8cpp_source.html">qwt_plot_legenditem.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a4102abdc1f91af1973b82932150616b0"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4102abdc1f91af1973b82932150616b0">◆ </a></span>backgroundMode()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_qwt_plot_legend_item.html#a26f5e39bb332d42f9dde96fa788960cc">QwtPlotLegendItem::BackgroundMode</a> QwtPlotLegendItem::backgroundMode </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>backgroundMode </dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_legend_item.html#a4974efd3548c1335f0969275a95e7cba" title="Set the background mode.">setBackgroundMode()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a4be33f6ce973ceb8cfd585f086525f4d">backgroundBrush()</a>, <a class="el" href="class_qwt_plot_legend_item.html#ac9ceac666827ebe1f30d344328f24859">drawBackground()</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="qwt__plot__legenditem_8cpp_source.html#l00550">550</a> of file <a class="el" href="qwt__plot__legenditem_8cpp_source.html">qwt_plot_legenditem.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aaed56d7964c4762f85e206178520c9a4"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aaed56d7964c4762f85e206178520c9a4">◆ </a></span>borderPen()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QPen QwtPlotLegendItem::borderPen </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>Pen for drawing the border </dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_legend_item.html#a92d38a3db46df13cc325c3ec8ea63768">setBorderPen()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a4be33f6ce973ceb8cfd585f086525f4d">backgroundBrush()</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="qwt__plot__legenditem_8cpp_source.html#l00496">496</a> of file <a class="el" href="qwt__plot__legenditem_8cpp_source.html">qwt_plot_legenditem.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="afade40d52edf4a4fd8ef3ea1458ab197"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#afade40d52edf4a4fd8ef3ea1458ab197">◆ </a></span>borderRadius()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">double QwtPlotLegendItem::borderRadius </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>Radius of the border </dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_legend_item.html#afe9ab7925e12c81d7534343de29ae9cf">setBorderRadius()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a92d38a3db46df13cc325c3ec8ea63768">setBorderPen()</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="qwt__plot__legenditem_8cpp_source.html#l00472">472</a> of file <a class="el" href="qwt__plot__legenditem_8cpp_source.html">qwt_plot_legenditem.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a4a53a3621001c50b005bf579ab77a437"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4a53a3621001c50b005bf579ab77a437">◆ </a></span>draw()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void QwtPlotLegendItem::draw </td>
|
|
<td>(</td>
|
|
<td class="paramtype">QPainter * </td>
|
|
<td class="paramname"><em>painter</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> & </td>
|
|
<td class="paramname"><em>xMap</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> & </td>
|
|
<td class="paramname"><em>yMap</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const QRectF & </td>
|
|
<td class="paramname"><em>canvasRect</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">override</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Draw the legend</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">painter</td><td>Painter </td></tr>
|
|
<tr><td class="paramname">xMap</td><td>x Scale Map </td></tr>
|
|
<tr><td class="paramname">yMap</td><td>y Scale Map </td></tr>
|
|
<tr><td class="paramname">canvasRect</td><td>Contents rectangle of the canvas in painter coordinates </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Implements <a class="el" href="class_qwt_plot_item.html#a0b0d6589d5db81ce72e6b33c4fbb21f9">QwtPlotItem</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="qwt__plot__legenditem_8cpp_source.html#l00587">587</a> of file <a class="el" href="qwt__plot__legenditem_8cpp_source.html">qwt_plot_legenditem.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ac9ceac666827ebe1f30d344328f24859"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac9ceac666827ebe1f30d344328f24859">◆ </a></span>drawBackground()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void QwtPlotLegendItem::drawBackground </td>
|
|
<td>(</td>
|
|
<td class="paramtype">QPainter * </td>
|
|
<td class="paramname"><em>painter</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 class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Draw a rounded rect</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">painter</td><td>Painter </td></tr>
|
|
<tr><td class="paramname">rect</td><td>Bounding rectangle</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_legend_item.html#afe9ab7925e12c81d7534343de29ae9cf">setBorderRadius()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a92d38a3db46df13cc325c3ec8ea63768">setBorderPen()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a82c391eecd2752c3a85a274973f34b6e" title="Set the background brush.">setBackgroundBrush()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a4974efd3548c1335f0969275a95e7cba" title="Set the background mode.">setBackgroundMode()</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="qwt__plot__legenditem_8cpp_source.html#l00630">630</a> of file <a class="el" href="qwt__plot__legenditem_8cpp_source.html">qwt_plot_legenditem.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a73b35149f3a8320a83922bf59c4a1e0f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a73b35149f3a8320a83922bf59c4a1e0f">◆ </a></span>drawLegendData()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void QwtPlotLegendItem::drawLegendData </td>
|
|
<td>(</td>
|
|
<td class="paramtype">QPainter * </td>
|
|
<td class="paramname"><em>painter</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="class_qwt_plot_item.html">QwtPlotItem</a> * </td>
|
|
<td class="paramname"><em>plotItem</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="class_qwt_legend_data.html">QwtLegendData</a> & </td>
|
|
<td class="paramname"><em>data</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 class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Draw an entry on the legend</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">painter</td><td>Qt Painter </td></tr>
|
|
<tr><td class="paramname">plotItem</td><td>Plot item, represented by the entry </td></tr>
|
|
<tr><td class="paramname">data</td><td>Attributes of the legend entry </td></tr>
|
|
<tr><td class="paramname">rect</td><td>Bounding rectangle for the entry </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="qwt__plot__legenditem_8cpp_source.html#l00780">780</a> of file <a class="el" href="qwt__plot__legenditem_8cpp_source.html">qwt_plot_legenditem.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a39c4ec328b04371f92d2a43f141ee6c1"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a39c4ec328b04371f92d2a43f141ee6c1">◆ </a></span>font()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QFont QwtPlotLegendItem::font </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>Font used for drawing the text label </dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_legend_item.html#aa63eae9c2b05cb92186a40dde19fedec">setFont()</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="qwt__plot__legenditem_8cpp_source.html#l00389">389</a> of file <a class="el" href="qwt__plot__legenditem_8cpp_source.html">qwt_plot_legenditem.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a399e911ba6cf2670456f0c3ce8067485"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a399e911ba6cf2670456f0c3ce8067485">◆ </a></span>geometry()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QRect QwtPlotLegendItem::geometry </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const QRectF & </td>
|
|
<td class="paramname"><em>canvasRect</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">
|
|
<p>Calculate the geometry of the legend on 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>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Geometry of the legend </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="qwt__plot__legenditem_8cpp_source.html#l00650">650</a> of file <a class="el" href="qwt__plot__legenditem_8cpp_source.html">qwt_plot_legenditem.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9f38136dea7b4a19bd86a481849a4651"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9f38136dea7b4a19bd86a481849a4651">◆ </a></span>heightForWidth()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int QwtPlotLegendItem::heightForWidth </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_qwt_legend_data.html">QwtLegendData</a> & </td>
|
|
<td class="paramname"><em>data</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>width</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">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="section return"><dt>Returns</dt><dd>The preferred height, for a width. </dd></dl>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">data</td><td>Attributes of the legend entry </td></tr>
|
|
<tr><td class="paramname">width</td><td>Width </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="qwt__plot__legenditem_8cpp_source.html#l00862">862</a> of file <a class="el" href="qwt__plot__legenditem_8cpp_source.html">qwt_plot_legenditem.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a6519a6e12165d6158189ea65f777fd19"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6519a6e12165d6158189ea65f777fd19">◆ </a></span>itemMargin()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int QwtPlotLegendItem::itemMargin </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>Margin around each item </dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_legend_item.html#a85933f3f34ce2ed226217e35eb0341be">setItemMargin()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a9221b190a8bebec8b46c782b0be57a89">itemSpacing()</a>, <a class="el" href="class_qwt_plot_legend_item.html#addb541b96f80893b59a9b5c5a6902045">margin()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a0f10e23857ef543d8e59d9e630873ce0">spacing()</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="qwt__plot__legenditem_8cpp_source.html#l00335">335</a> of file <a class="el" href="qwt__plot__legenditem_8cpp_source.html">qwt_plot_legenditem.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9221b190a8bebec8b46c782b0be57a89"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9221b190a8bebec8b46c782b0be57a89">◆ </a></span>itemSpacing()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int QwtPlotLegendItem::itemSpacing </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 inside of each item </dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_legend_item.html#a6f1f7d6e9161260ac703abc1118a63b9">setItemSpacing()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a6519a6e12165d6158189ea65f777fd19">itemMargin()</a>, <a class="el" href="class_qwt_plot_legend_item.html#addb541b96f80893b59a9b5c5a6902045">margin()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a0f10e23857ef543d8e59d9e630873ce0">spacing()</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="qwt__plot__legenditem_8cpp_source.html#l00363">363</a> of file <a class="el" href="qwt__plot__legenditem_8cpp_source.html">qwt_plot_legenditem.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a77ed43325a316da51fd9ec068e36907e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a77ed43325a316da51fd9ec068e36907e">◆ </a></span>legendGeometries()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_q_list.html">QList</a>< QRect > QwtPlotLegendItem::legendGeometries </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_qwt_plot_item.html">QwtPlotItem</a> * </td>
|
|
<td class="paramname"><em>plotItem</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="section return"><dt>Returns</dt><dd>Geometries of the items of a plot item </dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>Usually a plot item has only one entry on the legend </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="qwt__plot__legenditem_8cpp_source.html#l00895">895</a> of file <a class="el" href="qwt__plot__legenditem_8cpp_source.html">qwt_plot_legenditem.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="addb541b96f80893b59a9b5c5a6902045"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#addb541b96f80893b59a9b5c5a6902045">◆ </a></span>margin()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int QwtPlotLegendItem::margin </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>Margin around the legend items </dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_legend_item.html#a503f19f2c8b2b7549a74ef887081bb8d" title="Set the margin around legend items.">setMargin()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a0f10e23857ef543d8e59d9e630873ce0">spacing()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a6519a6e12165d6158189ea65f777fd19">itemMargin()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a9221b190a8bebec8b46c782b0be57a89">itemSpacing()</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="qwt__plot__legenditem_8cpp_source.html#l00280">280</a> of file <a class="el" href="qwt__plot__legenditem_8cpp_source.html">qwt_plot_legenditem.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ac3adfd28befca5e9597779cedee66cfe"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac3adfd28befca5e9597779cedee66cfe">◆ </a></span>maxColumns()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint QwtPlotLegendItem::maxColumns </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>Maximum number of columns </dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_legend_item.html#ac3adfd28befca5e9597779cedee66cfe">maxColumns()</a>, <a class="el" href="class_qwt_dyn_grid_layout.html#a73e0cee4cf42ddf5b3f33947b1881143" title="Return the upper limit for the number of columns.">QwtDynGridLayout::maxColumns()</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="qwt__plot__legenditem_8cpp_source.html#l00251">251</a> of file <a class="el" href="qwt__plot__legenditem_8cpp_source.html">qwt_plot_legenditem.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="abbfe45a7fca3effba9c1339dc18c0d19"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#abbfe45a7fca3effba9c1339dc18c0d19">◆ </a></span>minimumSize()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QSize QwtPlotLegendItem::minimumSize </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_qwt_legend_data.html">QwtLegendData</a> & </td>
|
|
<td class="paramname"><em>data</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">
|
|
<p>Minimum size hint needed to display an entry</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">data</td><td>Attributes of the legend entry </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Minimum size </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="qwt__plot__legenditem_8cpp_source.html#l00823">823</a> of file <a class="el" href="qwt__plot__legenditem_8cpp_source.html">qwt_plot_legenditem.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a31abd39ca87606707b0fe06b528eea5a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a31abd39ca87606707b0fe06b528eea5a">◆ </a></span>offsetInCanvas()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int QwtPlotLegendItem::offsetInCanvas </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Qt::Orientation </td>
|
|
<td class="paramname"><em>orientation</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">orientation</td><td>Qt::Horizontal is for the left/right, Qt::Vertical for the top/bottom padding.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Distance between the legend and the canvas border </dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_legend_item.html#a1bd3b36b79d7bf7783213ef18c668501" title="Set the distance between the legend and the canvas border.">setOffsetInCanvas()</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="qwt__plot__legenditem_8cpp_source.html#l00444">444</a> of file <a class="el" href="qwt__plot__legenditem_8cpp_source.html">qwt_plot_legenditem.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a872dadf9f21f57a5369ad811e6dfa68a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a872dadf9f21f57a5369ad811e6dfa68a">◆ </a></span>plotItems()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_q_list.html">QList</a>< const <a class="el" href="class_qwt_plot_item.html">QwtPlotItem</a> * > QwtPlotLegendItem::plotItems </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>All plot items with an entry on the legend </dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>A plot item might have more than one entry on the legend </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="qwt__plot__legenditem_8cpp_source.html#l00886">886</a> of file <a class="el" href="qwt__plot__legenditem_8cpp_source.html">qwt_plot_legenditem.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="acfdf91ac1f4c1c72e17b78fb96b9163d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#acfdf91ac1f4c1c72e17b78fb96b9163d">◆ </a></span>rtti()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int QwtPlotLegendItem::rtti </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3a06cd77e370cf62597501e692965e1f9c" title="For QwtPlotLegendItem.">QwtPlotItem::Rtti_PlotLegend</a> </dd></dl>
|
|
|
|
<p>Reimplemented from <a class="el" href="class_qwt_plot_item.html#a803613b24e745834b2115ee574dda610">QwtPlotItem</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="qwt__plot__legenditem_8cpp_source.html#l00192">192</a> of file <a class="el" href="qwt__plot__legenditem_8cpp_source.html">qwt_plot_legenditem.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a4d17dc16b45652459f00cd1a16bcd916"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4d17dc16b45652459f00cd1a16bcd916">◆ </a></span>setAlignmentInCanvas()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void QwtPlotLegendItem::setAlignmentInCanvas </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Qt::Alignment </td>
|
|
<td class="paramname"><em>alignment</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the alignmnet. </p>
|
|
<p>Alignment means the position of the legend relative to the geometry of the plot canvas.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">alignment</td><td>Alignment flags</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_legend_item.html#a6bb3ea765d0a7fa81ede5418a669fb06">alignmentInCanvas()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a8b6f1db48c05feb5d0f8525b41898be7" title="Limit the number of columns.">setMaxColumns()</a></dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>To align a legend with many items horizontally the number of columns need to be limited </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="qwt__plot__legenditem_8cpp_source.html#l00210">210</a> of file <a class="el" href="qwt__plot__legenditem_8cpp_source.html">qwt_plot_legenditem.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a82c391eecd2752c3a85a274973f34b6e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a82c391eecd2752c3a85a274973f34b6e">◆ </a></span>setBackgroundBrush()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void QwtPlotLegendItem::setBackgroundBrush </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const QBrush & </td>
|
|
<td class="paramname"><em>brush</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the background brush. </p>
|
|
<p>The brush is used to fill the background</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">brush</td><td>Brush </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_legend_item.html#a4be33f6ce973ceb8cfd585f086525f4d">backgroundBrush()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a4974efd3548c1335f0969275a95e7cba" title="Set the background mode.">setBackgroundMode()</a>, <a class="el" href="class_qwt_plot_legend_item.html#ac9ceac666827ebe1f30d344328f24859">drawBackground()</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="qwt__plot__legenditem_8cpp_source.html#l00509">509</a> of file <a class="el" href="qwt__plot__legenditem_8cpp_source.html">qwt_plot_legenditem.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a4974efd3548c1335f0969275a95e7cba"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4974efd3548c1335f0969275a95e7cba">◆ </a></span>setBackgroundMode()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void QwtPlotLegendItem::setBackgroundMode </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="class_qwt_plot_legend_item.html#a26f5e39bb332d42f9dde96fa788960cc">BackgroundMode</a> </td>
|
|
<td class="paramname"><em>mode</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the background mode. </p>
|
|
<p>Depending on the mode the complete legend or each item might have an background.</p>
|
|
<p>The default setting is LegendBackground.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_legend_item.html#a4102abdc1f91af1973b82932150616b0">backgroundMode()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a82c391eecd2752c3a85a274973f34b6e" title="Set the background brush.">setBackgroundBrush()</a>, <a class="el" href="class_qwt_plot_legend_item.html#ac9ceac666827ebe1f30d344328f24859">drawBackground()</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="qwt__plot__legenditem_8cpp_source.html#l00537">537</a> of file <a class="el" href="qwt__plot__legenditem_8cpp_source.html">qwt_plot_legenditem.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a92d38a3db46df13cc325c3ec8ea63768"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a92d38a3db46df13cc325c3ec8ea63768">◆ </a></span>setBorderPen()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void QwtPlotLegendItem::setBorderPen </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const QPen & </td>
|
|
<td class="paramname"><em>pen</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Set the pen for drawing the border</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">pen</td><td>Border pen </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_legend_item.html#aaed56d7964c4762f85e206178520c9a4">borderPen()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a82c391eecd2752c3a85a274973f34b6e" title="Set the background brush.">setBackgroundBrush()</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="qwt__plot__legenditem_8cpp_source.html#l00483">483</a> of file <a class="el" href="qwt__plot__legenditem_8cpp_source.html">qwt_plot_legenditem.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="afe9ab7925e12c81d7534343de29ae9cf"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#afe9ab7925e12c81d7534343de29ae9cf">◆ </a></span>setBorderRadius()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void QwtPlotLegendItem::setBorderRadius </td>
|
|
<td>(</td>
|
|
<td class="paramtype">double </td>
|
|
<td class="paramname"><em>radius</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Set the radius for the border</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">radius</td><td>A value <= 0 defines a rectangular border </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_legend_item.html#afade40d52edf4a4fd8ef3ea1458ab197">borderRadius()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a92d38a3db46df13cc325c3ec8ea63768">setBorderPen()</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="qwt__plot__legenditem_8cpp_source.html#l00457">457</a> of file <a class="el" href="qwt__plot__legenditem_8cpp_source.html">qwt_plot_legenditem.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aa63eae9c2b05cb92186a40dde19fedec"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aa63eae9c2b05cb92186a40dde19fedec">◆ </a></span>setFont()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void QwtPlotLegendItem::setFont </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const QFont & </td>
|
|
<td class="paramname"><em>font</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Change the font used for drawing the text label</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">font</td><td>Legend font </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_legend_item.html#a39c4ec328b04371f92d2a43f141ee6c1">font()</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="qwt__plot__legenditem_8cpp_source.html#l00374">374</a> of file <a class="el" href="qwt__plot__legenditem_8cpp_source.html">qwt_plot_legenditem.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a85933f3f34ce2ed226217e35eb0341be"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a85933f3f34ce2ed226217e35eb0341be">◆ </a></span>setItemMargin()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void QwtPlotLegendItem::setItemMargin </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>margin</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Set the margin around each item</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">margin</td><td>Margin </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_legend_item.html#a6519a6e12165d6158189ea65f777fd19">itemMargin()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a6f1f7d6e9161260ac703abc1118a63b9">setItemSpacing()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a503f19f2c8b2b7549a74ef887081bb8d" title="Set the margin around legend items.">setMargin()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a9932f074e5861464a055fdce6394889c" title="Set the spacing between the legend items.">setSpacing()</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="qwt__plot__legenditem_8cpp_source.html#l00319">319</a> of file <a class="el" href="qwt__plot__legenditem_8cpp_source.html">qwt_plot_legenditem.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a6f1f7d6e9161260ac703abc1118a63b9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6f1f7d6e9161260ac703abc1118a63b9">◆ </a></span>setItemSpacing()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void QwtPlotLegendItem::setItemSpacing </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>Set the spacing inside of each item</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">spacing</td><td>Spacing </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_legend_item.html#a9221b190a8bebec8b46c782b0be57a89">itemSpacing()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a85933f3f34ce2ed226217e35eb0341be">setItemMargin()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a503f19f2c8b2b7549a74ef887081bb8d" title="Set the margin around legend items.">setMargin()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a9932f074e5861464a055fdce6394889c" title="Set the spacing between the legend items.">setSpacing()</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="qwt__plot__legenditem_8cpp_source.html#l00346">346</a> of file <a class="el" href="qwt__plot__legenditem_8cpp_source.html">qwt_plot_legenditem.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a503f19f2c8b2b7549a74ef887081bb8d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a503f19f2c8b2b7549a74ef887081bb8d">◆ </a></span>setMargin()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void QwtPlotLegendItem::setMargin </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>margin</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the margin around legend items. </p>
|
|
<p>The default setting for the margin is 0.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">margin</td><td>Margin in pixels </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_legend_item.html#addb541b96f80893b59a9b5c5a6902045">margin()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a9932f074e5861464a055fdce6394889c" title="Set the spacing between the legend items.">setSpacing()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a85933f3f34ce2ed226217e35eb0341be">setItemMargin()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a6f1f7d6e9161260ac703abc1118a63b9">setItemSpacing</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="qwt__plot__legenditem_8cpp_source.html#l00264">264</a> of file <a class="el" href="qwt__plot__legenditem_8cpp_source.html">qwt_plot_legenditem.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a8b6f1db48c05feb5d0f8525b41898be7"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8b6f1db48c05feb5d0f8525b41898be7">◆ </a></span>setMaxColumns()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void QwtPlotLegendItem::setMaxColumns </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint </td>
|
|
<td class="paramname"><em>maxColumns</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Limit the number of columns. </p>
|
|
<p>When aligning the legend horizontally ( Qt::AlignLeft, Qt::AlignRight ) the number of columns needs to be limited to avoid, that the width of the legend grows with an increasing number of entries.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">maxColumns</td><td>Maximum number of columns. 0 means unlimited. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_legend_item.html#ac3adfd28befca5e9597779cedee66cfe">maxColumns()</a>, <a class="el" href="class_qwt_dyn_grid_layout.html#a910bc4bcdecfa2d3a98a9bd091933014">QwtDynGridLayout::setMaxColumns()</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="qwt__plot__legenditem_8cpp_source.html#l00238">238</a> of file <a class="el" href="qwt__plot__legenditem_8cpp_source.html">qwt_plot_legenditem.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a1bd3b36b79d7bf7783213ef18c668501"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a1bd3b36b79d7bf7783213ef18c668501">◆ </a></span>setOffsetInCanvas()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void QwtPlotLegendItem::setOffsetInCanvas </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Qt::Orientations </td>
|
|
<td class="paramname"><em>orientations</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>numPixels</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the distance between the legend and the canvas border. </p>
|
|
<p>The default setting is 10 pixels.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">orientations</td><td>Qt::Horizontal is for the left/right, Qt::Vertical for the top/bottom offset.</td></tr>
|
|
<tr><td class="paramname">numPixels</td><td>Distance in pixels </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_legend_item.html#a503f19f2c8b2b7549a74ef887081bb8d" title="Set the margin around legend items.">setMargin()</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="qwt__plot__legenditem_8cpp_source.html#l00405">405</a> of file <a class="el" href="qwt__plot__legenditem_8cpp_source.html">qwt_plot_legenditem.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9932f074e5861464a055fdce6394889c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9932f074e5861464a055fdce6394889c">◆ </a></span>setSpacing()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void QwtPlotLegendItem::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>Set the spacing between the legend items. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">spacing</td><td>Spacing in pixels </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_legend_item.html#a0f10e23857ef543d8e59d9e630873ce0">spacing()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a503f19f2c8b2b7549a74ef887081bb8d" title="Set the margin around legend items.">setMargin()</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="qwt__plot__legenditem_8cpp_source.html#l00294">294</a> of file <a class="el" href="qwt__plot__legenditem_8cpp_source.html">qwt_plot_legenditem.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae41a2af3f5353a01ed5d4dd786b84ef7"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae41a2af3f5353a01ed5d4dd786b84ef7">◆ </a></span>setTextPen()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void QwtPlotLegendItem::setTextPen </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const QPen & </td>
|
|
<td class="paramname"><em>pen</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the pen for drawing text labels. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">pen</td><td>Text pen </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_legend_item.html#adeec95bfb8d15516149c080057a12934">textPen()</a>, <a class="el" href="class_qwt_plot_legend_item.html#aa63eae9c2b05cb92186a40dde19fedec">setFont()</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="qwt__plot__legenditem_8cpp_source.html#l00561">561</a> of file <a class="el" href="qwt__plot__legenditem_8cpp_source.html">qwt_plot_legenditem.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a0f10e23857ef543d8e59d9e630873ce0"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0f10e23857ef543d8e59d9e630873ce0">◆ </a></span>spacing()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int QwtPlotLegendItem::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 between the legend items </dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_legend_item.html#a9932f074e5861464a055fdce6394889c" title="Set the spacing between the legend items.">setSpacing()</a>, <a class="el" href="class_qwt_plot_legend_item.html#addb541b96f80893b59a9b5c5a6902045">margin()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a9221b190a8bebec8b46c782b0be57a89">itemSpacing()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a6519a6e12165d6158189ea65f777fd19">itemMargin()</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="qwt__plot__legenditem_8cpp_source.html#l00308">308</a> of file <a class="el" href="qwt__plot__legenditem_8cpp_source.html">qwt_plot_legenditem.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="adeec95bfb8d15516149c080057a12934"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#adeec95bfb8d15516149c080057a12934">◆ </a></span>textPen()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QPen QwtPlotLegendItem::textPen </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>Pen for drawing text labels </dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_legend_item.html#ae41a2af3f5353a01ed5d4dd786b84ef7" title="Set the pen for drawing text labels.">setTextPen()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a39c4ec328b04371f92d2a43f141ee6c1">font()</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="qwt__plot__legenditem_8cpp_source.html#l00574">574</a> of file <a class="el" href="qwt__plot__legenditem_8cpp_source.html">qwt_plot_legenditem.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a4bcacc31901ec70a67c79a47838e0af9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4bcacc31901ec70a67c79a47838e0af9">◆ </a></span>updateLegend()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void QwtPlotLegendItem::updateLegend </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_qwt_plot_item.html">QwtPlotItem</a> * </td>
|
|
<td class="paramname"><em>plotItem</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="class_q_list.html">QList</a>< <a class="el" href="class_qwt_legend_data.html">QwtLegendData</a> > & </td>
|
|
<td class="paramname"><em>data</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">override</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Update the legend items according to modifications of a plot item</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">plotItem</td><td>Plot item </td></tr>
|
|
<tr><td class="paramname">data</td><td>Attributes of the legend entries </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Reimplemented from <a class="el" href="class_qwt_plot_item.html#af0c4272375b1ee95a1454c4c503ff324">QwtPlotItem</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="qwt__plot__legenditem_8cpp_source.html#l00697">697</a> of file <a class="el" href="qwt__plot__legenditem_8cpp_source.html">qwt_plot_legenditem.cpp</a>.</p>
|
|
|
|
</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_legend_item.html">QwtPlotLegendItem</a></li>
|
|
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|