Sophie

Sophie

distrib > Mageia > 6 > x86_64 > media > core-updates > by-pkgid > 19952c5e751bf7e3108c3c59625b0f35 > files > 150

qtcharts5-doc-5.9.4-1.mga6.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qlegendmarker.cpp -->
  <title>QLegendMarker Class | Qt Charts 5.9</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td >Qt 5.9</td><td ><a href="qtcharts-index.html">Qt Charts</a></td><td ><a href="qt-charts-module.html">C++ Classes</a></td><td >QLegendMarker</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.9.4 Reference Documentation</td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#public-types">Public Types</a></li>
<li class="level1"><a href="#properties">Properties</a></li>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#signals">Signals</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">QLegendMarker Class</h1>
<!-- $$$QLegendMarker-brief -->
<p>The <a href="qlegendmarker.html">QLegendMarker</a> class is an abstract object that can be used to access markers within a legend. <a href="#details">More...</a></p>
<!-- @@@QLegendMarker -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QLegendMarker&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherited By:</td><td class="memItemRight bottomAlign"> <p><a href="qarealegendmarker.html">QAreaLegendMarker</a>, <a href="qbarlegendmarker.html">QBarLegendMarker</a>, <a href="qboxplotlegendmarker.html">QBoxPlotLegendMarker</a>, <a href="qcandlesticklegendmarker.html">QCandlestickLegendMarker</a>, <a href="qpielegendmarker.html">QPieLegendMarker</a>, and <a href="qxylegendmarker.html">QXYLegendMarker</a></p>
</td></tr></table></div><ul>
<li><a href="qlegendmarker-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-types"></a>
<h2 id="public-types">Public Types</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qlegendmarker.html#LegendMarkerType-enum">LegendMarkerType</a></b> { LegendMarkerTypeArea, LegendMarkerTypeBar, LegendMarkerTypePie, LegendMarkerTypeXY, LegendMarkerTypeBoxPlot, LegendMarkerTypeCandlestick }</td></tr>
</table></div>
<a name="properties"></a>
<h2 id="properties">Properties</h2>
<div class="table"><table class="propsummary">
<tr><td class="topAlign"><ul>
<li class="fn"><b><a href="qlegendmarker.html#brush-prop">brush</a></b> : QBrush</li>
<li class="fn"><b><a href="qlegendmarker.html#font-prop">font</a></b> : QFont</li>
<li class="fn"><b><a href="qlegendmarker.html#label-prop">label</a></b> : QString</li>
<li class="fn"><b><a href="qlegendmarker.html#labelBrush-prop">labelBrush</a></b> : QBrush</li>
</ul></td><td class="topAlign"><ul>
<li class="fn"><b><a href="qlegendmarker.html#pen-prop">pen</a></b> : QPen</li>
<li class="fn"><b><a href="qlegendmarker.html#shape-prop">shape</a></b> : QLegend::MarkerShape</li>
<li class="fn"><b><a href="qlegendmarker.html#visible-prop">visible</a></b> : bool</li>
</ul>
</td></tr>
</table></div>
<a name="public-functions"></a>
<h2 id="public-functions">Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> virtual </td><td class="memItemRight bottomAlign"><b><a href="qlegendmarker.html#dtor.QLegendMarker">~QLegendMarker</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QBrush </td><td class="memItemRight bottomAlign"><b><a href="qlegendmarker.html#brush">brush</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QFont </td><td class="memItemRight bottomAlign"><b><a href="qlegendmarker.html#font">font</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qlegendmarker.html#isVisible">isVisible</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qlegendmarker.html#label">label</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QBrush </td><td class="memItemRight bottomAlign"><b><a href="qlegendmarker.html#labelBrush">labelBrush</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QPen </td><td class="memItemRight bottomAlign"><b><a href="qlegendmarker.html#pen">pen</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QAbstractSeries *</td><td class="memItemRight bottomAlign"><b><a href="qlegendmarker.html#series">series</a></b>() = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qlegendmarker.html#setBrush">setBrush</a></b>(const QBrush &amp;<i>brush</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qlegendmarker.html#setFont">setFont</a></b>(const QFont &amp;<i>font</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qlegendmarker.html#setLabel">setLabel</a></b>(const QString &amp;<i>label</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qlegendmarker.html#setLabelBrush">setLabelBrush</a></b>(const QBrush &amp;<i>brush</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qlegendmarker.html#setPen">setPen</a></b>(const QPen &amp;<i>pen</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qlegendmarker.html#shape-prop">setShape</a></b>(QLegend::MarkerShape <i>shape</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qlegendmarker.html#setVisible">setVisible</a></b>(bool <i>visible</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QLegend::MarkerShape </td><td class="memItemRight bottomAlign"><b><a href="qlegendmarker.html#shape-prop">shape</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual LegendMarkerType </td><td class="memItemRight bottomAlign"><b><a href="qlegendmarker.html#type">type</a></b>() = 0</td></tr>
</table></div>
<a name="signals"></a>
<h2 id="signals">Signals</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qlegendmarker.html#brushChanged">brushChanged</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qlegendmarker.html#clicked">clicked</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qlegendmarker.html#fontChanged">fontChanged</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qlegendmarker.html#hovered">hovered</a></b>(bool <i>status</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qlegendmarker.html#labelBrushChanged">labelBrushChanged</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qlegendmarker.html#labelChanged">labelChanged</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qlegendmarker.html#penChanged">penChanged</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qlegendmarker.html#shape-prop">shapeChanged</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qlegendmarker.html#visibleChanged">visibleChanged</a></b>()</td></tr>
</table></div>
<a name="details"></a>
<!-- $$$QLegendMarker-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qlegendmarker.html">QLegendMarker</a> class is an abstract object that can be used to access markers within a legend.</p>
<p>A legend marker consists of an icon and a label. The icon color corresponds to the color used to draw a series and the label displays the name of the series (or the label of the slice for a pie series or bar set for a bar series). A legend marker is always related to one series, slice, or bar set.</p>
<p class="centerAlign"><img src="images/examples_percentbarchart_legend.png" alt="" /></p></div>
<p><b>See also </b><a href="qlegend.html">QLegend</a>.</p>
<!-- @@@QLegendMarker -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$LegendMarkerType$$$LegendMarkerTypeArea$$$LegendMarkerTypeBar$$$LegendMarkerTypePie$$$LegendMarkerTypeXY$$$LegendMarkerTypeBoxPlot$$$LegendMarkerTypeCandlestick -->
<h3 class="fn" id="LegendMarkerType-enum"><a name="LegendMarkerType-enum"></a>enum QLegendMarker::<span class="name">LegendMarkerType</span></h3>
<p>The type of the legend marker object.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QLegendMarker::LegendMarkerTypeArea</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">A legend marker for an area series.</td></tr>
<tr><td class="topAlign"><code>QLegendMarker::LegendMarkerTypeBar</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">A legend marker for a bar set.</td></tr>
<tr><td class="topAlign"><code>QLegendMarker::LegendMarkerTypePie</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">A legend marker for a pie slice.</td></tr>
<tr><td class="topAlign"><code>QLegendMarker::LegendMarkerTypeXY</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">A legend marker for a line, spline, or scatter series.</td></tr>
<tr><td class="topAlign"><code>QLegendMarker::LegendMarkerTypeBoxPlot</code></td><td class="topAlign tblval"><code>4</code></td><td class="topAlign">A legend marker for a box plot series.</td></tr>
<tr><td class="topAlign"><code>QLegendMarker::LegendMarkerTypeCandlestick</code></td><td class="topAlign tblval"><code>5</code></td><td class="topAlign">A legend marker for a candlestick series.</td></tr>
</table></div>
<p>This enum was introduced or modified in  Qt 5.8.</p>
<!-- @@@LegendMarkerType -->
</div>
<div class="prop">
<h2>Property Documentation</h2>
<!-- $$$brush-prop$$$brush$$$setBrushconstQBrush&$$$brushChanged -->
<h3 class="fn" id="brush-prop"><a name="brush-prop"></a><span class="name">brush</span> : <span class="type">QBrush</span></h3>
<p>This property holds the brush used to fill the icon.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QBrush </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qlegendmarker.html#brush">brush</a></b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qlegendmarker.html#setBrush">setBrush</a></b></span>(const QBrush &amp;<i>brush</i>)</td></tr>
</table></div>
<p><b>Notifier signal:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qlegendmarker.html#brushChanged">brushChanged</a></b></span>()</td></tr>
</table></div>
<!-- @@@brush -->
<!-- $$$font-prop$$$font$$$setFontconstQFont&$$$fontChanged -->
<h3 class="fn" id="font-prop"><a name="font-prop"></a><span class="name">font</span> : <span class="type">QFont</span></h3>
<p>This property holds the font of the label.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QFont </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qlegendmarker.html#font">font</a></b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qlegendmarker.html#setFont">setFont</a></b></span>(const QFont &amp;<i>font</i>)</td></tr>
</table></div>
<p><b>Notifier signal:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qlegendmarker.html#fontChanged">fontChanged</a></b></span>()</td></tr>
</table></div>
<!-- @@@font -->
<!-- $$$label-prop$$$label$$$setLabelconstQString&$$$labelChanged -->
<h3 class="fn" id="label-prop"><a name="label-prop"></a><span class="name">label</span> : <span class="type">QString</span></h3>
<p>This property holds the text shown in the legend for a legend marker.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QString </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qlegendmarker.html#label">label</a></b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qlegendmarker.html#setLabel">setLabel</a></b></span>(const QString &amp;<i>label</i>)</td></tr>
</table></div>
<p><b>Notifier signal:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qlegendmarker.html#labelChanged">labelChanged</a></b></span>()</td></tr>
</table></div>
<!-- @@@label -->
<!-- $$$labelBrush-prop$$$labelBrush$$$setLabelBrushconstQBrush&$$$labelBrushChanged -->
<h3 class="fn" id="labelBrush-prop"><a name="labelBrush-prop"></a><span class="name">labelBrush</span> : <span class="type">QBrush</span></h3>
<p>This property holds the brush of the label.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QBrush </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qlegendmarker.html#labelBrush">labelBrush</a></b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qlegendmarker.html#setLabelBrush">setLabelBrush</a></b></span>(const QBrush &amp;<i>brush</i>)</td></tr>
</table></div>
<p><b>Notifier signal:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qlegendmarker.html#labelBrushChanged">labelBrushChanged</a></b></span>()</td></tr>
</table></div>
<!-- @@@labelBrush -->
<!-- $$$pen-prop$$$pen$$$setPenconstQPen&$$$penChanged -->
<h3 class="fn" id="pen-prop"><a name="pen-prop"></a><span class="name">pen</span> : <span class="type">QPen</span></h3>
<p>This property holds the pen used to draw the outline of the icon.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QPen </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qlegendmarker.html#pen">pen</a></b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qlegendmarker.html#setPen">setPen</a></b></span>(const QPen &amp;<i>pen</i>)</td></tr>
</table></div>
<p><b>Notifier signal:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qlegendmarker.html#penChanged">penChanged</a></b></span>()</td></tr>
</table></div>
<!-- @@@pen -->
<!-- $$$shape-prop$$$shape$$$setShapeQLegend::MarkerShape$$$shapeChanged -->
<h3 class="fn" id="shape-prop"><a name="shape-prop"></a><span class="name">shape</span> : <span class="type"><a href="qlegend.html#MarkerShape-enum">QLegend::MarkerShape</a></span></h3>
<p>The shape of the legend marker. Defaults to <a href="qlegend.html#MarkerShape-enum">QLegend::MarkerShapeDefault</a>, which indicates the shape is determined by <a href="qlegend.html#markerShape-prop">QLegend::markerShape</a> property.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QLegend::MarkerShape </td><td class="memItemRight bottomAlign"><span class="name"><b>shape</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setShape</b></span>(QLegend::MarkerShape <i>shape</i>)</td></tr>
</table></div>
<p><b>Notifier signal:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>shapeChanged</b></span>()</td></tr>
</table></div>
<!-- @@@shape -->
<!-- $$$visible-prop$$$isVisible$$$setVisiblebool$$$visibleChanged -->
<h3 class="fn" id="visible-prop"><a name="visible-prop"></a><span class="name">visible</span> : <span class="type">bool</span></h3>
<p>This property holds the visibility of the legend marker.</p>
<p>The visibility affects both the legend marker label and the icon.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qlegendmarker.html#isVisible">isVisible</a></b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qlegendmarker.html#setVisible">setVisible</a></b></span>(bool <i>visible</i>)</td></tr>
</table></div>
<p><b>Notifier signal:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qlegendmarker.html#visibleChanged">visibleChanged</a></b></span>()</td></tr>
</table></div>
<!-- @@@visible -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$~QLegendMarker[overload1]$$$~QLegendMarker -->
<h3 class="fn" id="dtor.QLegendMarker"><a name="dtor.QLegendMarker"></a><code>[virtual] </code>QLegendMarker::<span class="name">~QLegendMarker</span>()</h3>
<p>Removes the legend marker.</p>
<!-- @@@~QLegendMarker -->
<!-- $$$brush -->
<h3 class="fn" id="brush"><a name="brush"></a><span class="type">QBrush</span> QLegendMarker::<span class="name">brush</span>() const</h3>
<p>Returns the brush used to fill the icon.</p>
<p><b>Note:</b> Getter function for property <a href="qlegendmarker.html#brush-prop">brush</a>. </p><p><b>See also </b><a href="qlegendmarker.html#setBrush">setBrush</a>().</p>
<!-- @@@brush -->
<!-- $$$brushChanged -->
<h3 class="fn" id="brushChanged"><a name="brushChanged"></a><code>[signal] </code><span class="type">void</span> QLegendMarker::<span class="name">brushChanged</span>()</h3>
<p>This signal is emitted when the brush of the legend marker has changed.</p>
<p><b>Note:</b> Notifier signal for property <a href="qlegendmarker.html#brush-prop">brush</a>. </p><!-- @@@brushChanged -->
<!-- $$$clicked[overload1]$$$clicked -->
<h3 class="fn" id="clicked"><a name="clicked"></a><code>[signal] </code><span class="type">void</span> QLegendMarker::<span class="name">clicked</span>()</h3>
<p>This signal is emitted when the legend marker is clicked.</p>
<!-- @@@clicked -->
<!-- $$$font -->
<h3 class="fn" id="font"><a name="font"></a><span class="type">QFont</span> QLegendMarker::<span class="name">font</span>() const</h3>
<p>Retuns the font of the label.</p>
<p><b>Note:</b> Getter function for property <a href="qlegendmarker.html#font-prop">font</a>. </p><p><b>See also </b><a href="qlegendmarker.html#setFont">setFont</a>().</p>
<!-- @@@font -->
<!-- $$$fontChanged -->
<h3 class="fn" id="fontChanged"><a name="fontChanged"></a><code>[signal] </code><span class="type">void</span> QLegendMarker::<span class="name">fontChanged</span>()</h3>
<p>This signal is emitted when the (label) font of the legend marker has changed.</p>
<p><b>Note:</b> Notifier signal for property <a href="qlegendmarker.html#font-prop">font</a>. </p><!-- @@@fontChanged -->
<!-- $$$hovered[overload1]$$$hoveredbool -->
<h3 class="fn" id="hovered"><a name="hovered"></a><code>[signal] </code><span class="type">void</span> QLegendMarker::<span class="name">hovered</span>(<span class="type">bool</span> <i>status</i>)</h3>
<p>This signal is emitted when a mouse is hovered over the legend marker. When the mouse moves over the marker, <i>status</i> turns <code>true</code>, and when the mouse moves away again, it turns <code>false</code>.</p>
<!-- @@@hovered -->
<!-- $$$isVisible -->
<h3 class="fn" id="isVisible"><a name="isVisible"></a><span class="type">bool</span> QLegendMarker::<span class="name">isVisible</span>() const</h3>
<p>Returns the visibility of the marker.</p>
<p><b>Note:</b> Getter function for property <a href="qlegendmarker.html#visible-prop">visible</a>. </p><!-- @@@isVisible -->
<!-- $$$label -->
<h3 class="fn" id="label"><a name="label"></a><span class="type">QString</span> QLegendMarker::<span class="name">label</span>() const</h3>
<p>Returns the label of the marker.</p>
<p><b>Note:</b> Getter function for property <a href="qlegendmarker.html#label-prop">label</a>. </p><p><b>See also </b><a href="qlegendmarker.html#setLabel">setLabel</a>().</p>
<!-- @@@label -->
<!-- $$$labelBrush -->
<h3 class="fn" id="labelBrush"><a name="labelBrush"></a><span class="type">QBrush</span> QLegendMarker::<span class="name">labelBrush</span>() const</h3>
<p>Returns the brush that is used to draw the label.</p>
<p><b>Note:</b> Getter function for property <a href="qlegendmarker.html#labelBrush-prop">labelBrush</a>. </p><p><b>See also </b><a href="qlegendmarker.html#setLabelBrush">setLabelBrush</a>().</p>
<!-- @@@labelBrush -->
<!-- $$$labelBrushChanged -->
<h3 class="fn" id="labelBrushChanged"><a name="labelBrushChanged"></a><code>[signal] </code><span class="type">void</span> QLegendMarker::<span class="name">labelBrushChanged</span>()</h3>
<p>This signal is emitted when the label brush of the legend marker has changed.</p>
<p><b>Note:</b> Notifier signal for property <a href="qlegendmarker.html#labelBrush-prop">labelBrush</a>. </p><!-- @@@labelBrushChanged -->
<!-- $$$labelChanged -->
<h3 class="fn" id="labelChanged"><a name="labelChanged"></a><code>[signal] </code><span class="type">void</span> QLegendMarker::<span class="name">labelChanged</span>()</h3>
<p>This signal is emitted when the label of the legend marker has changed.</p>
<p><b>Note:</b> Notifier signal for property <a href="qlegendmarker.html#label-prop">label</a>. </p><!-- @@@labelChanged -->
<!-- $$$pen -->
<h3 class="fn" id="pen"><a name="pen"></a><span class="type">QPen</span> QLegendMarker::<span class="name">pen</span>() const</h3>
<p>Returns the pen used to draw the outline of the icon.</p>
<p><b>Note:</b> Getter function for property <a href="qlegendmarker.html#pen-prop">pen</a>. </p><p><b>See also </b><a href="qlegendmarker.html#setPen">setPen</a>().</p>
<!-- @@@pen -->
<!-- $$$penChanged -->
<h3 class="fn" id="penChanged"><a name="penChanged"></a><code>[signal] </code><span class="type">void</span> QLegendMarker::<span class="name">penChanged</span>()</h3>
<p>This signal is emitted when the pen of the legend marker has changed.</p>
<p><b>Note:</b> Notifier signal for property <a href="qlegendmarker.html#pen-prop">pen</a>. </p><!-- @@@penChanged -->
<!-- $$$series[overload1]$$$series -->
<h3 class="fn" id="series"><a name="series"></a><code>[pure virtual] </code><span class="type"><a href="qabstractseries.html">QAbstractSeries</a></span> *QLegendMarker::<span class="name">series</span>()</h3>
<p>Returns a pointer to the series that is related to this legend marker. A legend marker is always related to a series.</p>
<!-- @@@series -->
<!-- $$$setBrush -->
<h3 class="fn" id="setBrush"><a name="setBrush"></a><span class="type">void</span> QLegendMarker::<span class="name">setBrush</span>(const <span class="type">QBrush</span> &amp;<i>brush</i>)</h3>
<p>Sets the brush used to fill the icon to <i>brush</i>.</p>
<p><b>Note: </b>Changing the color of the series also changes the color of the icon.</p><p><b>Note:</b> Setter function for property <a href="qlegendmarker.html#brush-prop">brush</a>. </p><p><b>See also </b><a href="qlegendmarker.html#brush">brush</a>().</p>
<!-- @@@setBrush -->
<!-- $$$setFont -->
<h3 class="fn" id="setFont"><a name="setFont"></a><span class="type">void</span> QLegendMarker::<span class="name">setFont</span>(const <span class="type">QFont</span> &amp;<i>font</i>)</h3>
<p>Sets the font of the label to <i>font</i>.</p>
<p><b>Note:</b> Setter function for property <a href="qlegendmarker.html#font-prop">font</a>. </p><p><b>See also </b><a href="qlegendmarker.html#font">font</a>().</p>
<!-- @@@setFont -->
<!-- $$$setLabel -->
<h3 class="fn" id="setLabel"><a name="setLabel"></a><span class="type">void</span> QLegendMarker::<span class="name">setLabel</span>(const <span class="type">QString</span> &amp;<i>label</i>)</h3>
<p>Sets the label of the marker to <i>label</i>.</p>
<p><b>Note: </b>Changing the name of a series also changes the label of its marker.</p><p><b>Note:</b> Setter function for property <a href="qlegendmarker.html#label-prop">label</a>. </p><p><b>See also </b><a href="qlegendmarker.html#label">label</a>().</p>
<!-- @@@setLabel -->
<!-- $$$setLabelBrush -->
<h3 class="fn" id="setLabelBrush"><a name="setLabelBrush"></a><span class="type">void</span> QLegendMarker::<span class="name">setLabelBrush</span>(const <span class="type">QBrush</span> &amp;<i>brush</i>)</h3>
<p>Sets the the brush used to draw to label to <i>brush</i>.</p>
<p><b>Note:</b> Setter function for property <a href="qlegendmarker.html#labelBrush-prop">labelBrush</a>. </p><p><b>See also </b><a href="qlegendmarker.html#labelBrush">labelBrush</a>().</p>
<!-- @@@setLabelBrush -->
<!-- $$$setPen -->
<h3 class="fn" id="setPen"><a name="setPen"></a><span class="type">void</span> QLegendMarker::<span class="name">setPen</span>(const <span class="type">QPen</span> &amp;<i>pen</i>)</h3>
<p>Sets the <i>pen</i> used to draw the outline of the icon to <i>pen</i>.</p>
<p><b>Note:</b> Setter function for property <a href="qlegendmarker.html#pen-prop">pen</a>. </p><p><b>See also </b><a href="qlegendmarker.html#pen">pen</a>().</p>
<!-- @@@setPen -->
<!-- $$$setVisible -->
<h3 class="fn" id="setVisible"><a name="setVisible"></a><span class="type">void</span> QLegendMarker::<span class="name">setVisible</span>(<span class="type">bool</span> <i>visible</i>)</h3>
<p>Sets the marker's visibility to <i>visible</i>.</p>
<p><b>Note:</b> Setter function for property <a href="qlegendmarker.html#visible-prop">visible</a>. </p><p><b>See also </b><a href="qlegendmarker.html#isVisible">isVisible</a>().</p>
<!-- @@@setVisible -->
<!-- $$$type[overload1]$$$type -->
<h3 class="fn" id="type"><a name="type"></a><code>[pure virtual] </code><span class="type"><a href="qlegendmarker.html#LegendMarkerType-enum">LegendMarkerType</a></span> QLegendMarker::<span class="name">type</span>()</h3>
<p>Returns the type of the legend marker for the related series, pie slice, or bar set.</p>
<p><b>See also </b><a href="qlegendmarker.html#LegendMarkerType-enum">LegendMarkerType</a>.</p>
<!-- @@@type -->
<!-- $$$visibleChanged -->
<h3 class="fn" id="visibleChanged"><a name="visibleChanged"></a><code>[signal] </code><span class="type">void</span> QLegendMarker::<span class="name">visibleChanged</span>()</h3>
<p>This signal is emitted when the visibility of the legend marker has changed.</p>
<p><b>Note:</b> Notifier signal for property <a href="qlegendmarker.html#visible-prop">visible</a>. </p><!-- @@@visibleChanged -->
</div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2017 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>