Files
ResInsight/ThirdParty/Qwt/doc/html/class_qwt_plot_legend_item.html

1322 lines
99 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3.1"/>
<title>Qwt User&#39;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="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</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 style="padding-left: 0.5em;">
<div id="projectname">Qwt User&#39;s Guide
&#160;<span id="projectnumber">6.1.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Pages</a></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><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<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 &lt;<a class="el" href="qwt__plot__legenditem_8h_source.html">qwt_plot_legenditem.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for QwtPlotLegendItem:</div>
<div class="dyncontent">
<div class="center"><img src="class_qwt_plot_legend_item__inherit__graph.png" border="0" usemap="#_qwt_plot_legend_item_inherit__map" alt="Inheritance graph"/></div>
<map name="_qwt_plot_legend_item_inherit__map" id="_qwt_plot_legend_item_inherit__map">
<area shape="rect" id="node2" href="class_qwt_plot_item.html" title="Base class for items on the plot canvas." alt="" coords="27,5,117,32"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></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 &#160;</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">&#160;</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">&#160;</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="-"/>&#160;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 &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3">RttiValues</a> { <br/>
&#160;&#160;<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/>
&#160;&#160;<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/>
&#160;&#160;<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#ab149ac85e233ce9cedf2f2f2af871bf3a3aabc62d4c006ab40dd3e01db692ab4a">Rtti_PlotSVG</a>,
<a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3abcd9cebf717e528cb67458abfbf622dd">Rtti_PlotTradingCurve</a>,
<br/>
&#160;&#160;<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/>
&#160;&#160;<a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3a52b2ec5c64c77a36a103b329a530b606">Rtti_PlotZone</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">&#160;</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">&#160;</td></tr>
<tr class="memitem:ae0fabcdd35f4818ce5bbe019b0eed062 inherit pub_types_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">enum &#160;</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">&#160;</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">&#160;</td></tr>
<tr class="memitem:affbc42460ace9ac725fa825a3f8bfb66 inherit pub_types_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">enum &#160;</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">&#160;</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">&#160;</td></tr>
<tr class="memitem:abe0e8a39aceef9a600b73e02550a9704 inherit pub_types_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">enum &#160;</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">&#160;</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">&#160;</td></tr>
<tr class="memitem:af356dc13c7838c7437334e199a356764 inherit pub_types_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af356dc13c7838c7437334e199a356764"></a>
typedef QFlags&lt; <a class="el" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062">ItemAttribute</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#af356dc13c7838c7437334e199a356764">ItemAttributes</a></td></tr>
<tr class="memdesc:af356dc13c7838c7437334e199a356764 inherit pub_types_class_qwt_plot_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">Plot Item Attributes. <br/></td></tr>
<tr class="separator:af356dc13c7838c7437334e199a356764 inherit pub_types_class_qwt_plot_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a0c870664f074f342422859638c1228 inherit pub_types_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6a0c870664f074f342422859638c1228"></a>
typedef QFlags&lt; <a class="el" href="class_qwt_plot_item.html#affbc42460ace9ac725fa825a3f8bfb66">ItemInterest</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a6a0c870664f074f342422859638c1228">ItemInterests</a></td></tr>
<tr class="memdesc:a6a0c870664f074f342422859638c1228 inherit pub_types_class_qwt_plot_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">Plot Item Interests. <br/></td></tr>
<tr class="separator:a6a0c870664f074f342422859638c1228 inherit pub_types_class_qwt_plot_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40cf900701d3a68948b00316689616d1 inherit pub_types_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a40cf900701d3a68948b00316689616d1"></a>
typedef QFlags&lt; <a class="el" href="class_qwt_plot_item.html#abe0e8a39aceef9a600b73e02550a9704">RenderHint</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a40cf900701d3a68948b00316689616d1">RenderHints</a></td></tr>
<tr class="memdesc:a40cf900701d3a68948b00316689616d1 inherit pub_types_class_qwt_plot_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">Render hints. <br/></td></tr>
<tr class="separator:a40cf900701d3a68948b00316689616d1 inherit pub_types_class_qwt_plot_item"><td class="memSeparator" colspan="2">&#160;</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 class="anchor" id="a5e647b9936095cde8193214d6a89b07f"></a>
&#160;</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">&#160;</td><td class="mdescRight">Constructor. <br/></td></tr>
<tr class="separator:a5e647b9936095cde8193214d6a89b07f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adae55c1a6f185acc37a70df9008d4624"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adae55c1a6f185acc37a70df9008d4624"></a>
virtual&#160;</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">&#160;</td><td class="mdescRight">Destructor. <br/></td></tr>
<tr class="separator:adae55c1a6f185acc37a70df9008d4624"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5ae47214f5424e73e960cf16e282cf5"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#ad5ae47214f5424e73e960cf16e282cf5">rtti</a> () const </td></tr>
<tr class="separator:ad5ae47214f5424e73e960cf16e282cf5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f0bc77d242fe1977d8dee501fa5240f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a7f0bc77d242fe1977d8dee501fa5240f">setAlignment</a> (Qt::Alignment)</td></tr>
<tr class="memdesc:a7f0bc77d242fe1977d8dee501fa5240f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the alignmnet. <a href="#a7f0bc77d242fe1977d8dee501fa5240f">More...</a><br/></td></tr>
<tr class="separator:a7f0bc77d242fe1977d8dee501fa5240f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33fd4ca3a52bdc4cf046103c1fc797b3"><td class="memItemLeft" align="right" valign="top">Qt::Alignment&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a33fd4ca3a52bdc4cf046103c1fc797b3">alignment</a> () const </td></tr>
<tr class="separator:a33fd4ca3a52bdc4cf046103c1fc797b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b6f1db48c05feb5d0f8525b41898be7"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</td><td class="mdescRight">Limit the number of columns. <a href="#a8b6f1db48c05feb5d0f8525b41898be7">More...</a><br/></td></tr>
<tr class="separator:a8b6f1db48c05feb5d0f8525b41898be7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:addf073d47a835cf50dce684667a377ba"><td class="memItemLeft" align="right" valign="top">uint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#addf073d47a835cf50dce684667a377ba">maxColumns</a> () const </td></tr>
<tr class="separator:addf073d47a835cf50dce684667a377ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a503f19f2c8b2b7549a74ef887081bb8d"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</td><td class="mdescRight">Set the margin around legend items. <a href="#a503f19f2c8b2b7549a74ef887081bb8d">More...</a><br/></td></tr>
<tr class="separator:a503f19f2c8b2b7549a74ef887081bb8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac146ccfb6e0f3c85bed5d2a898a5ffc8"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#ac146ccfb6e0f3c85bed5d2a898a5ffc8">margin</a> () const </td></tr>
<tr class="separator:ac146ccfb6e0f3c85bed5d2a898a5ffc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9932f074e5861464a055fdce6394889c"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</td><td class="mdescRight">Set the spacing between the legend items. <a href="#a9932f074e5861464a055fdce6394889c">More...</a><br/></td></tr>
<tr class="separator:a9932f074e5861464a055fdce6394889c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4906d4e498c3b537a6354e2a1293a9c9"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a4906d4e498c3b537a6354e2a1293a9c9">spacing</a> () const </td></tr>
<tr class="separator:a4906d4e498c3b537a6354e2a1293a9c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85933f3f34ce2ed226217e35eb0341be"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</td></tr>
<tr class="memitem:a7024ac39e0a9ce5b003089191c78b93d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a7024ac39e0a9ce5b003089191c78b93d">itemMargin</a> () const </td></tr>
<tr class="separator:a7024ac39e0a9ce5b003089191c78b93d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f1f7d6e9161260ac703abc1118a63b9"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</td></tr>
<tr class="memitem:a2a57286be83056770ec7971ff885e393"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a2a57286be83056770ec7971ff885e393">itemSpacing</a> () const </td></tr>
<tr class="separator:a2a57286be83056770ec7971ff885e393"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa63eae9c2b05cb92186a40dde19fedec"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#aa63eae9c2b05cb92186a40dde19fedec">setFont</a> (const QFont &amp;)</td></tr>
<tr class="separator:aa63eae9c2b05cb92186a40dde19fedec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a040a9645b326123adde3ae0fe0bd3250"><td class="memItemLeft" align="right" valign="top">QFont&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a040a9645b326123adde3ae0fe0bd3250">font</a> () const </td></tr>
<tr class="separator:a040a9645b326123adde3ae0fe0bd3250"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1238fb3d43f81bea8fa5d89fb6f24bfe"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a1238fb3d43f81bea8fa5d89fb6f24bfe">setBorderDistance</a> (int numPixels)</td></tr>
<tr class="memdesc:a1238fb3d43f81bea8fa5d89fb6f24bfe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the margin between the legend and the canvas border. <a href="#a1238fb3d43f81bea8fa5d89fb6f24bfe">More...</a><br/></td></tr>
<tr class="separator:a1238fb3d43f81bea8fa5d89fb6f24bfe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd3614864cb8a2870c5e94aaa2e09875"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#abd3614864cb8a2870c5e94aaa2e09875">borderDistance</a> () const </td></tr>
<tr class="separator:abd3614864cb8a2870c5e94aaa2e09875"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe9ab7925e12c81d7534343de29ae9cf"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</td></tr>
<tr class="memitem:a2dc0926a766161c962c396b63cbc2778"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a2dc0926a766161c962c396b63cbc2778">borderRadius</a> () const </td></tr>
<tr class="separator:a2dc0926a766161c962c396b63cbc2778"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92d38a3db46df13cc325c3ec8ea63768"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a92d38a3db46df13cc325c3ec8ea63768">setBorderPen</a> (const QPen &amp;)</td></tr>
<tr class="separator:a92d38a3db46df13cc325c3ec8ea63768"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef9f3986e55bfd53513b7c45fad240f3"><td class="memItemLeft" align="right" valign="top">QPen&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#aef9f3986e55bfd53513b7c45fad240f3">borderPen</a> () const </td></tr>
<tr class="separator:aef9f3986e55bfd53513b7c45fad240f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82c391eecd2752c3a85a274973f34b6e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a82c391eecd2752c3a85a274973f34b6e">setBackgroundBrush</a> (const QBrush &amp;)</td></tr>
<tr class="memdesc:a82c391eecd2752c3a85a274973f34b6e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the background brush. <a href="#a82c391eecd2752c3a85a274973f34b6e">More...</a><br/></td></tr>
<tr class="separator:a82c391eecd2752c3a85a274973f34b6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c3ab70e6df9d2c3bad203f7c505ae0c"><td class="memItemLeft" align="right" valign="top">QBrush&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a7c3ab70e6df9d2c3bad203f7c505ae0c">backgroundBrush</a> () const </td></tr>
<tr class="separator:a7c3ab70e6df9d2c3bad203f7c505ae0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4974efd3548c1335f0969275a95e7cba"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</td><td class="mdescRight">Set the background mode. <a href="#a4974efd3548c1335f0969275a95e7cba">More...</a><br/></td></tr>
<tr class="separator:a4974efd3548c1335f0969275a95e7cba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a550f9c49a2905e90ab7c6459105b43b2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_plot_legend_item.html#a26f5e39bb332d42f9dde96fa788960cc">BackgroundMode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a550f9c49a2905e90ab7c6459105b43b2">backgroundMode</a> () const </td></tr>
<tr class="separator:a550f9c49a2905e90ab7c6459105b43b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae41a2af3f5353a01ed5d4dd786b84ef7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#ae41a2af3f5353a01ed5d4dd786b84ef7">setTextPen</a> (const QPen &amp;)</td></tr>
<tr class="memdesc:ae41a2af3f5353a01ed5d4dd786b84ef7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the pen for drawing text labels. <a href="#ae41a2af3f5353a01ed5d4dd786b84ef7">More...</a><br/></td></tr>
<tr class="separator:ae41a2af3f5353a01ed5d4dd786b84ef7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a402f612eb053d20bea8ee94b2e6e1893"><td class="memItemLeft" align="right" valign="top">QPen&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a402f612eb053d20bea8ee94b2e6e1893">textPen</a> () const </td></tr>
<tr class="separator:a402f612eb053d20bea8ee94b2e6e1893"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ce9e0ea057705582e31d3f6ea44ff16"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a6ce9e0ea057705582e31d3f6ea44ff16">draw</a> (QPainter *p, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;xMap, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;yMap, const QRectF &amp;rect) const </td></tr>
<tr class="separator:a6ce9e0ea057705582e31d3f6ea44ff16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5bf74d642b8a0ccfcc1a278442f94e9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad5bf74d642b8a0ccfcc1a278442f94e9"></a>
void&#160;</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">&#160;</td><td class="mdescRight">Remove all items from the legend. <br/></td></tr>
<tr class="separator:ad5bf74d642b8a0ccfcc1a278442f94e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bfda08242671a2d9d02b7bfc558926d"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a5bfda08242671a2d9d02b7bfc558926d">updateLegend</a> (const <a class="el" href="class_qwt_plot_item.html">QwtPlotItem</a> *, const QList&lt; <a class="el" href="class_qwt_legend_data.html">QwtLegendData</a> &gt; &amp;)</td></tr>
<tr class="separator:a5bfda08242671a2d9d02b7bfc558926d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a526803d997725b68ca96cc9b9f911d49"><td class="memItemLeft" align="right" valign="top">virtual QRect&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a526803d997725b68ca96cc9b9f911d49">geometry</a> (const QRectF &amp;canvasRect) const </td></tr>
<tr class="separator:a526803d997725b68ca96cc9b9f911d49"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad80478871117dc788d13cbef58759b4e"><td class="memItemLeft" align="right" valign="top">virtual QSize&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#ad80478871117dc788d13cbef58759b4e">minimumSize</a> (const <a class="el" href="class_qwt_legend_data.html">QwtLegendData</a> &amp;) const </td></tr>
<tr class="separator:ad80478871117dc788d13cbef58759b4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4b16cf1966e4c2bc96ba173501ef66f"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#af4b16cf1966e4c2bc96ba173501ef66f">heightForWidth</a> (const <a class="el" href="class_qwt_legend_data.html">QwtLegendData</a> &amp;, int w) const </td></tr>
<tr class="separator:af4b16cf1966e4c2bc96ba173501ef66f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada1609304901c61024548ee37d824e7a"><td class="memItemLeft" align="right" valign="top">QList&lt; const <a class="el" href="class_qwt_plot_item.html">QwtPlotItem</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#ada1609304901c61024548ee37d824e7a">plotItems</a> () const </td></tr>
<tr class="separator:ada1609304901c61024548ee37d824e7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca33e96eaa79ad4e220a52c9c25fa224"><td class="memItemLeft" align="right" valign="top">QList&lt; QRect &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#aca33e96eaa79ad4e220a52c9c25fa224">legendGeometries</a> (const <a class="el" href="class_qwt_plot_item.html">QwtPlotItem</a> *) const </td></tr>
<tr class="separator:aca33e96eaa79ad4e220a52c9c25fa224"><td class="memSeparator" colspan="2">&#160;</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="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_qwt_plot_item.html">QwtPlotItem</a></td></tr>
<tr class="memitem:a5d892ac856fb9176515c5f2d806161dc inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a5d892ac856fb9176515c5f2d806161dc">QwtPlotItem</a> (const <a class="el" href="class_qwt_text.html">QwtText</a> &amp;<a class="el" href="class_qwt_plot_item.html#a3859d011b670b5f89e45d1ccef9206f7">title</a>=<a class="el" href="class_qwt_text.html">QwtText</a>())</td></tr>
<tr class="separator:a5d892ac856fb9176515c5f2d806161dc inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a282a1d0424a06737f80e1fe83ccf7a0c inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a282a1d0424a06737f80e1fe83ccf7a0c"></a>
virtual&#160;</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">&#160;</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">&#160;</td></tr>
<tr class="memitem:aeb2f676533ccae3436bf578824e2165e inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">void&#160;</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#a4c99653a14a49ad94d466168d06e97b9">plot</a>)</td></tr>
<tr class="memdesc:aeb2f676533ccae3436bf578824e2165e inherit pub_methods_class_qwt_plot_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attach the item to a plot. <a href="#aeb2f676533ccae3436bf578824e2165e">More...</a><br/></td></tr>
<tr class="separator:aeb2f676533ccae3436bf578824e2165e inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2bbee6dbe36a5f1d0ce853ac66716a6 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</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="#ab2bbee6dbe36a5f1d0ce853ac66716a6">More...</a><br/></td></tr>
<tr class="separator:ab2bbee6dbe36a5f1d0ce853ac66716a6 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c99653a14a49ad94d466168d06e97b9 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4c99653a14a49ad94d466168d06e97b9"></a>
<a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a4c99653a14a49ad94d466168d06e97b9">plot</a> () const </td></tr>
<tr class="memdesc:a4c99653a14a49ad94d466168d06e97b9 inherit pub_methods_class_qwt_plot_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return attached plot. <br/></td></tr>
<tr class="separator:a4c99653a14a49ad94d466168d06e97b9 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b74686181ab6dd5033917123c7db30f inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a1b74686181ab6dd5033917123c7db30f">setTitle</a> (const QString &amp;<a class="el" href="class_qwt_plot_item.html#a3859d011b670b5f89e45d1ccef9206f7">title</a>)</td></tr>
<tr class="separator:a1b74686181ab6dd5033917123c7db30f inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2db3214b23b78274fa6f8c0321a76839 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">void&#160;</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> &amp;<a class="el" href="class_qwt_plot_item.html#a3859d011b670b5f89e45d1ccef9206f7">title</a>)</td></tr>
<tr class="separator:a2db3214b23b78274fa6f8c0321a76839 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3859d011b670b5f89e45d1ccef9206f7 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> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a3859d011b670b5f89e45d1ccef9206f7">title</a> () const </td></tr>
<tr class="separator:a3859d011b670b5f89e45d1ccef9206f7 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a335be8ff488809a2cf7f4b734ad1b6 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</td></tr>
<tr class="memitem:aef70936d34ef661876692e6a06d4a464 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#aef70936d34ef661876692e6a06d4a464">testItemAttribute</a> (<a class="el" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062">ItemAttribute</a>) const </td></tr>
<tr class="separator:aef70936d34ef661876692e6a06d4a464 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab65cbfe489ff73e32a919a0633298fb7 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</td></tr>
<tr class="memitem:a788e1dcce2faadd0bf2fd6f453ec55d0 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a788e1dcce2faadd0bf2fd6f453ec55d0">testItemInterest</a> (<a class="el" href="class_qwt_plot_item.html#affbc42460ace9ac725fa825a3f8bfb66">ItemInterest</a>) const </td></tr>
<tr class="separator:a788e1dcce2faadd0bf2fd6f453ec55d0 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd023c40f659c304ded324942865edc8 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</td></tr>
<tr class="memitem:ad4009381d6a26359125549e1cf874b69 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#ad4009381d6a26359125549e1cf874b69">testRenderHint</a> (<a class="el" href="class_qwt_plot_item.html#abe0e8a39aceef9a600b73e02550a9704">RenderHint</a>) const </td></tr>
<tr class="separator:ad4009381d6a26359125549e1cf874b69 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a188ae18fbbce9adcf259ebe2f0de1f6b inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</td></tr>
<tr class="memitem:acb8a2fce65770739fc263fd1fb19fcf3 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">uint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#acb8a2fce65770739fc263fd1fb19fcf3">renderThreadCount</a> () const </td></tr>
<tr class="separator:acb8a2fce65770739fc263fd1fb19fcf3 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0827dd69bf19ec0145b6cc6efad2c11b inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a0827dd69bf19ec0145b6cc6efad2c11b">setLegendIconSize</a> (const QSize &amp;)</td></tr>
<tr class="separator:a0827dd69bf19ec0145b6cc6efad2c11b inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3239ad2b425382e153e80cc393dd4fc2 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">QSize&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a3239ad2b425382e153e80cc393dd4fc2">legendIconSize</a> () const </td></tr>
<tr class="separator:a3239ad2b425382e153e80cc393dd4fc2 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c58d814336643190b9f2918f80c30df inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a4c58d814336643190b9f2918f80c30df">z</a> () const </td></tr>
<tr class="separator:a4c58d814336643190b9f2918f80c30df inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57d90e4146133b59d589c71b3a643e82 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">void&#160;</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#a4c58d814336643190b9f2918f80c30df">z</a>)</td></tr>
<tr class="memdesc:a57d90e4146133b59d589c71b3a643e82 inherit pub_methods_class_qwt_plot_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the z value. <a href="#a57d90e4146133b59d589c71b3a643e82">More...</a><br/></td></tr>
<tr class="separator:a57d90e4146133b59d589c71b3a643e82 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93a50fb9c86bc66617e28315e02281c3 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a93a50fb9c86bc66617e28315e02281c3"></a>
void&#160;</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">&#160;</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">&#160;</td></tr>
<tr class="memitem:a1faea017baa2492416a13e6bc3c144aa inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1faea017baa2492416a13e6bc3c144aa"></a>
void&#160;</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">&#160;</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">&#160;</td></tr>
<tr class="memitem:a5f0eeb2b72207fd8d33a95b0565657a1 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</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">&#160;</td></tr>
<tr class="memitem:aeaf8eeb5f080017e181a5d7be798d789 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#aeaf8eeb5f080017e181a5d7be798d789">isVisible</a> () const </td></tr>
<tr class="separator:aeaf8eeb5f080017e181a5d7be798d789 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f6c7b34fe86e8029914b3b780b55ea4 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a6f6c7b34fe86e8029914b3b780b55ea4">setAxes</a> (int <a class="el" href="class_qwt_plot_item.html#a7af360bf6d5a5b6257ce6b0dd99b7525">xAxis</a>, int <a class="el" href="class_qwt_plot_item.html#ac7714ffa278a10e0cf45972e487b63ff">yAxis</a>)</td></tr>
<tr class="separator:a6f6c7b34fe86e8029914b3b780b55ea4 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81d3dd7feaadda4b0dbb8c13642046cf inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a81d3dd7feaadda4b0dbb8c13642046cf">setXAxis</a> (int axis)</td></tr>
<tr class="separator:a81d3dd7feaadda4b0dbb8c13642046cf inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7af360bf6d5a5b6257ce6b0dd99b7525 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7af360bf6d5a5b6257ce6b0dd99b7525"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a7af360bf6d5a5b6257ce6b0dd99b7525">xAxis</a> () const </td></tr>
<tr class="memdesc:a7af360bf6d5a5b6257ce6b0dd99b7525 inherit pub_methods_class_qwt_plot_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return xAxis. <br/></td></tr>
<tr class="separator:a7af360bf6d5a5b6257ce6b0dd99b7525 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa92dad876d76ce136925d5ae8f01db9a inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#aa92dad876d76ce136925d5ae8f01db9a">setYAxis</a> (int axis)</td></tr>
<tr class="separator:aa92dad876d76ce136925d5ae8f01db9a inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7714ffa278a10e0cf45972e487b63ff inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac7714ffa278a10e0cf45972e487b63ff"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#ac7714ffa278a10e0cf45972e487b63ff">yAxis</a> () const </td></tr>
<tr class="memdesc:ac7714ffa278a10e0cf45972e487b63ff inherit pub_methods_class_qwt_plot_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return yAxis. <br/></td></tr>
<tr class="separator:ac7714ffa278a10e0cf45972e487b63ff inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad956fdbce5b0721abccce6d09fe4d5ce inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</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">&#160;</td></tr>
<tr class="memitem:a3967414c7542e267d0c2793f02be7241 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</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">&#160;</td></tr>
<tr class="memitem:aec3c408e14af30b82b52c1197310eb21 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">virtual QRectF&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#aec3c408e14af30b82b52c1197310eb21">boundingRect</a> () const </td></tr>
<tr class="separator:aec3c408e14af30b82b52c1197310eb21 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46b0d88f7667e0e93dee5253c8be001f inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a46b0d88f7667e0e93dee5253c8be001f">getCanvasMarginHint</a> (const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;xMap, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;yMap, const QRectF &amp;canvasSize, double &amp;left, double &amp;top, double &amp;right, double &amp;bottom) const </td></tr>
<tr class="memdesc:a46b0d88f7667e0e93dee5253c8be001f inherit pub_methods_class_qwt_plot_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate a hint for the canvas margin. <a href="#a46b0d88f7667e0e93dee5253c8be001f">More...</a><br/></td></tr>
<tr class="separator:a46b0d88f7667e0e93dee5253c8be001f inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf6a70847d3db952161ca4d4a952eea0 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</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> &amp;, const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> &amp;)</td></tr>
<tr class="memdesc:abf6a70847d3db952161ca4d4a952eea0 inherit pub_methods_class_qwt_plot_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update the item to changes of the axes scale division. <a href="#abf6a70847d3db952161ca4d4a952eea0">More...</a><br/></td></tr>
<tr class="separator:abf6a70847d3db952161ca4d4a952eea0 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a186036cbee194b87b9bc4afb693c27f4 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">QRectF&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a186036cbee194b87b9bc4afb693c27f4">scaleRect</a> (const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;) const </td></tr>
<tr class="memdesc:a186036cbee194b87b9bc4afb693c27f4 inherit pub_methods_class_qwt_plot_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate the bounding scale rectangle of 2 maps. <a href="#a186036cbee194b87b9bc4afb693c27f4">More...</a><br/></td></tr>
<tr class="separator:a186036cbee194b87b9bc4afb693c27f4 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa05b98fd7ea65ca1ffcb04bb6b4326d inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">QRectF&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#afa05b98fd7ea65ca1ffcb04bb6b4326d">paintRect</a> (const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;) const </td></tr>
<tr class="memdesc:afa05b98fd7ea65ca1ffcb04bb6b4326d inherit pub_methods_class_qwt_plot_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate the bounding paint rectangle of 2 maps. <a href="#afa05b98fd7ea65ca1ffcb04bb6b4326d">More...</a><br/></td></tr>
<tr class="separator:afa05b98fd7ea65ca1ffcb04bb6b4326d inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a584b37b42cb2c63424cedade1f4d7221 inherit pub_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top">virtual QList&lt; <a class="el" href="class_qwt_legend_data.html">QwtLegendData</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a584b37b42cb2c63424cedade1f4d7221">legendData</a> () const </td></tr>
<tr class="memdesc:a584b37b42cb2c63424cedade1f4d7221 inherit pub_methods_class_qwt_plot_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return all information, that is needed to represent the item on the legend. <a href="#a584b37b42cb2c63424cedade1f4d7221">More...</a><br/></td></tr>
<tr class="separator:a584b37b42cb2c63424cedade1f4d7221 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab192921c0d3c94832c6f617716a6b275 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>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#ab192921c0d3c94832c6f617716a6b275">legendIcon</a> (int index, const QSizeF &amp;) const </td></tr>
<tr class="separator:ab192921c0d3c94832c6f617716a6b275 inherit pub_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2">&#160;</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:a4c9c3d7babfbaf5a7d09050d766d3987"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#a4c9c3d7babfbaf5a7d09050d766d3987">drawLegendData</a> (QPainter *painter, const <a class="el" href="class_qwt_plot_item.html">QwtPlotItem</a> *, const <a class="el" href="class_qwt_legend_data.html">QwtLegendData</a> &amp;, const QRectF &amp;) const </td></tr>
<tr class="separator:a4c9c3d7babfbaf5a7d09050d766d3987"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac72275134c687efc56304e2e74917174"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_legend_item.html#ac72275134c687efc56304e2e74917174">drawBackground</a> (QPainter *, const QRectF &amp;rect) const </td></tr>
<tr class="separator:ac72275134c687efc56304e2e74917174"><td class="memSeparator" colspan="2">&#160;</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="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_qwt_plot_item.html">QwtPlotItem</a></td></tr>
<tr class="memitem:af5264c9dcd9d1ec503bc1d46c10adc83 inherit pro_methods_class_qwt_plot_item"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_graphic.html">QwtGraphic</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#af5264c9dcd9d1ec503bc1d46c10adc83">defaultIcon</a> (const QBrush &amp;, const QSizeF &amp;) const </td></tr>
<tr class="memdesc:af5264c9dcd9d1ec503bc1d46c10adc83 inherit pro_methods_class_qwt_plot_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a default icon from a brush. <a href="#af5264c9dcd9d1ec503bc1d46c10adc83">More...</a><br/></td></tr>
<tr class="separator:af5264c9dcd9d1ec503bc1d46c10adc83 inherit pro_methods_class_qwt_plot_item"><td class="memSeparator" colspan="2">&#160;</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#aca33e96eaa79ad4e220a52c9c25fa224">legendGeometries()</a>.</p>
<p>The legend item is aligned to plot canvas according to its <a class="el" href="class_qwt_plot_legend_item.html#a33fd4ca3a52bdc4cf046103c1fc797b3">alignment()</a> 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>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a class="anchor" id="a26f5e39bb332d42f9dde96fa788960cc"></a>
<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#ac72275134c687efc56304e2e74917174">drawBackground()</a> </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="a26f5e39bb332d42f9dde96fa788960cca638235bb73b0f3b34d0aba92842ec8e1"></a>LegendBackground</em>&nbsp;</td><td class="fielddoc">
<p>The legend has a background. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a26f5e39bb332d42f9dde96fa788960ccad59a658b42182dab97057e923887e7c8"></a>ItemBackground</em>&nbsp;</td><td class="fielddoc">
<p>Each item has a background. </p>
</td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a33fd4ca3a52bdc4cf046103c1fc797b3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Qt::Alignment QwtPlotLegendItem::alignment </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#a7f0bc77d242fe1977d8dee501fa5240f" title="Set the alignmnet.">setAlignment()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a7c3ab70e6df9d2c3bad203f7c505ae0c"></a>
<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#a550f9c49a2905e90ab7c6459105b43b2">backgroundMode()</a>, <a class="el" href="class_qwt_plot_legend_item.html#ac72275134c687efc56304e2e74917174">drawBackground()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a550f9c49a2905e90ab7c6459105b43b2"></a>
<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#a7c3ab70e6df9d2c3bad203f7c505ae0c">backgroundBrush()</a>, <a class="el" href="class_qwt_plot_legend_item.html#ac72275134c687efc56304e2e74917174">drawBackground()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="abd3614864cb8a2870c5e94aaa2e09875"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int QwtPlotLegendItem::borderDistance </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 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#ac146ccfb6e0f3c85bed5d2a898a5ffc8">margin()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="aef9f3986e55bfd53513b7c45fad240f3"></a>
<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#a7c3ab70e6df9d2c3bad203f7c505ae0c">backgroundBrush()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a2dc0926a766161c962c396b63cbc2778"></a>
<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>
</div>
</div>
<a class="anchor" id="a6ce9e0ea057705582e31d3f6ea44ff16"></a>
<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 *&#160;</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> &amp;&#160;</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> &amp;&#160;</td>
<td class="paramname"><em>yMap</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QRectF &amp;&#160;</td>
<td class="paramname"><em>canvasRect</em>&#160;</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">
<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>
</div>
</div>
<a class="anchor" id="ac72275134c687efc56304e2e74917174"></a>
<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 *&#160;</td>
<td class="paramname"><em>painter</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QRectF &amp;&#160;</td>
<td class="paramname"><em>rect</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</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>
</div>
</div>
<a class="anchor" id="a4c9c3d7babfbaf5a7d09050d766d3987"></a>
<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 *&#160;</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> *&#160;</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> &amp;&#160;</td>
<td class="paramname"><em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QRectF &amp;&#160;</td>
<td class="paramname"><em>rect</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</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>
</div>
</div>
<a class="anchor" id="a040a9645b326123adde3ae0fe0bd3250"></a>
<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>
</div>
</div>
<a class="anchor" id="a526803d997725b68ca96cc9b9f911d49"></a>
<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 &amp;&#160;</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>
</div>
</div>
<a class="anchor" id="af4b16cf1966e4c2bc96ba173501ef66f"></a>
<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> &amp;&#160;</td>
<td class="paramname"><em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>width</em>&#160;</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>
</div>
</div>
<a class="anchor" id="a7024ac39e0a9ce5b003089191c78b93d"></a>
<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#a2a57286be83056770ec7971ff885e393">itemSpacing()</a>, <a class="el" href="class_qwt_plot_legend_item.html#ac146ccfb6e0f3c85bed5d2a898a5ffc8">margin()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a4906d4e498c3b537a6354e2a1293a9c9">spacing()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a2a57286be83056770ec7971ff885e393"></a>
<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#a7024ac39e0a9ce5b003089191c78b93d">itemMargin()</a>, <a class="el" href="class_qwt_plot_legend_item.html#ac146ccfb6e0f3c85bed5d2a898a5ffc8">margin()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a4906d4e498c3b537a6354e2a1293a9c9">spacing()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="aca33e96eaa79ad4e220a52c9c25fa224"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QList&lt; QRect &gt; QwtPlotLegendItem::legendGeometries </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_qwt_plot_item.html">QwtPlotItem</a> *&#160;</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>
</div>
</div>
<a class="anchor" id="ac146ccfb6e0f3c85bed5d2a898a5ffc8"></a>
<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#a4906d4e498c3b537a6354e2a1293a9c9">spacing()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a7024ac39e0a9ce5b003089191c78b93d">itemMargin()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a2a57286be83056770ec7971ff885e393">itemSpacing()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="addf073d47a835cf50dce684667a377ba"></a>
<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#addf073d47a835cf50dce684667a377ba">maxColumns()</a>, <a class="el" href="class_qwt_dyn_grid_layout.html#a06b418089a233555dd3354d98b712c3e" title="Return the upper limit for the number of columns.">QwtDynGridLayout::maxColumns()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ad80478871117dc788d13cbef58759b4e"></a>
<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> &amp;&#160;</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>
</div>
</div>
<a class="anchor" id="ada1609304901c61024548ee37d824e7a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QList&lt; const <a class="el" href="class_qwt_plot_item.html">QwtPlotItem</a> * &gt; 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>
</div>
</div>
<a class="anchor" id="ad5ae47214f5424e73e960cf16e282cf5"></a>
<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">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#af153b5a40a60ac626f1c58e69fc4ecad">QwtPlotItem</a>.</p>
</div>
</div>
<a class="anchor" id="a7f0bc77d242fe1977d8dee501fa5240f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QwtPlotLegendItem::setAlignment </td>
<td>(</td>
<td class="paramtype">Qt::Alignment&#160;</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#a33fd4ca3a52bdc4cf046103c1fc797b3">alignment()</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>
</div>
</div>
<a class="anchor" id="a82c391eecd2752c3a85a274973f34b6e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QwtPlotLegendItem::setBackgroundBrush </td>
<td>(</td>
<td class="paramtype">const QBrush &amp;&#160;</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#a7c3ab70e6df9d2c3bad203f7c505ae0c">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#ac72275134c687efc56304e2e74917174">drawBackground()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a4974efd3548c1335f0969275a95e7cba"></a>
<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>&#160;</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#a550f9c49a2905e90ab7c6459105b43b2">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#ac72275134c687efc56304e2e74917174">drawBackground()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a1238fb3d43f81bea8fa5d89fb6f24bfe"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QwtPlotLegendItem::setBorderDistance </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>distance</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the margin between the legend and the canvas border. </p>
<p>The default setting for the margin is 10 pixels.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">distance</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#a503f19f2c8b2b7549a74ef887081bb8d" title="Set the margin around legend items.">setMargin()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a92d38a3db46df13cc325c3ec8ea63768"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QwtPlotLegendItem::setBorderPen </td>
<td>(</td>
<td class="paramtype">const QPen &amp;&#160;</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#aef9f3986e55bfd53513b7c45fad240f3">borderPen()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a82c391eecd2752c3a85a274973f34b6e" title="Set the background brush.">setBackgroundBrush()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="afe9ab7925e12c81d7534343de29ae9cf"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QwtPlotLegendItem::setBorderRadius </td>
<td>(</td>
<td class="paramtype">double&#160;</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 &lt;= 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#a2dc0926a766161c962c396b63cbc2778">borderRadius()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a92d38a3db46df13cc325c3ec8ea63768">setBorderPen()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="aa63eae9c2b05cb92186a40dde19fedec"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QwtPlotLegendItem::setFont </td>
<td>(</td>
<td class="paramtype">const QFont &amp;&#160;</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#a040a9645b326123adde3ae0fe0bd3250">font()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a85933f3f34ce2ed226217e35eb0341be"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QwtPlotLegendItem::setItemMargin </td>
<td>(</td>
<td class="paramtype">int&#160;</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#a7024ac39e0a9ce5b003089191c78b93d">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>
</div>
</div>
<a class="anchor" id="a6f1f7d6e9161260ac703abc1118a63b9"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QwtPlotLegendItem::setItemSpacing </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>spacing</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>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#a2a57286be83056770ec7971ff885e393">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>
</div>
</div>
<a class="anchor" id="a503f19f2c8b2b7549a74ef887081bb8d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QwtPlotLegendItem::setMargin </td>
<td>(</td>
<td class="paramtype">int&#160;</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#ac146ccfb6e0f3c85bed5d2a898a5ffc8">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>
</div>
</div>
<a class="anchor" id="a8b6f1db48c05feb5d0f8525b41898be7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QwtPlotLegendItem::setMaxColumns </td>
<td>(</td>
<td class="paramtype">uint&#160;</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#addf073d47a835cf50dce684667a377ba">maxColumns()</a>, <a class="el" href="class_qwt_dyn_grid_layout.html#a436bdce04ae004008acf2e1282941032">QwtDynGridLayout::setMaxColumns()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a9932f074e5861464a055fdce6394889c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QwtPlotLegendItem::setSpacing </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>spacing</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>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#a4906d4e498c3b537a6354e2a1293a9c9">spacing()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a503f19f2c8b2b7549a74ef887081bb8d" title="Set the margin around legend items.">setMargin()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ae41a2af3f5353a01ed5d4dd786b84ef7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QwtPlotLegendItem::setTextPen </td>
<td>(</td>
<td class="paramtype">const QPen &amp;&#160;</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#a402f612eb053d20bea8ee94b2e6e1893">textPen()</a>, <a class="el" href="class_qwt_plot_legend_item.html#aa63eae9c2b05cb92186a40dde19fedec">setFont()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a4906d4e498c3b537a6354e2a1293a9c9"></a>
<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#ac146ccfb6e0f3c85bed5d2a898a5ffc8">margin()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a2a57286be83056770ec7971ff885e393">itemSpacing()</a>, <a class="el" href="class_qwt_plot_legend_item.html#a7024ac39e0a9ce5b003089191c78b93d">itemMargin()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a402f612eb053d20bea8ee94b2e6e1893"></a>
<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#a040a9645b326123adde3ae0fe0bd3250">font()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a5bfda08242671a2d9d02b7bfc558926d"></a>
<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> *&#160;</td>
<td class="paramname"><em>plotItem</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QList&lt; <a class="el" href="class_qwt_legend_data.html">QwtLegendData</a> &gt; &amp;&#160;</td>
<td class="paramname"><em>data</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>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>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.3.1
</small></address>
</body>
</html>