Sophie

Sophie

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

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" />
<!-- qpieslice.cpp -->
  <title>QPieSlice 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 >QPieSlice</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">QPieSlice Class</h1>
<!-- $$$QPieSlice-brief -->
<p>The <a href="qpieslice.html">QPieSlice</a> class represents a single slice in a pie series. <a href="#details">More...</a></p>
<!-- @@@QPieSlice -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QPieSlice&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Instantiated By:</td><td class="memItemRight bottomAlign"> <a href="qml-qtcharts-pieslice.html">PieSlice</a></td></tr></table></div><ul>
<li><a href="qpieslice-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="qpieslice.html#LabelPosition-enum">LabelPosition</a></b> { LabelOutside, LabelInsideHorizontal, LabelInsideTangential, LabelInsideNormal }</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="qpieslice.html#angleSpan-prop">angleSpan</a></b> : const qreal</li>
<li class="fn"><b><a href="qpieslice.html#borderColor-prop">borderColor</a></b> : QColor</li>
<li class="fn"><b><a href="qpieslice.html#borderWidth-prop">borderWidth</a></b> : int</li>
<li class="fn"><b><a href="qpieslice.html#brush-prop">brush</a></b> : QBrush</li>
<li class="fn"><b><a href="qpieslice.html#color-prop">color</a></b> : QColor</li>
<li class="fn"><b><a href="qpieslice.html#explodeDistanceFactor-prop">explodeDistanceFactor</a></b> : qreal</li>
<li class="fn"><b><a href="qpieslice.html#exploded-prop">exploded</a></b> : bool</li>
<li class="fn"><b><a href="qpieslice.html#label-prop">label</a></b> : QString</li>
<li class="fn"><b><a href="qpieslice.html#labelArmLengthFactor-prop">labelArmLengthFactor</a></b> : qreal</li>
</ul></td><td class="topAlign"><ul>
<li class="fn"><b><a href="qpieslice.html#labelBrush-prop">labelBrush</a></b> : QBrush</li>
<li class="fn"><b><a href="qpieslice.html#labelColor-prop">labelColor</a></b> : QColor</li>
<li class="fn"><b><a href="qpieslice.html#labelFont-prop">labelFont</a></b> : QFont</li>
<li class="fn"><b><a href="qpieslice.html#labelPosition-prop">labelPosition</a></b> : LabelPosition</li>
<li class="fn"><b><a href="qpieslice.html#labelVisible-prop">labelVisible</a></b> : bool</li>
<li class="fn"><b><a href="qpieslice.html#pen-prop">pen</a></b> : QPen</li>
<li class="fn"><b><a href="qpieslice.html#percentage-prop">percentage</a></b> : const qreal</li>
<li class="fn"><b><a href="qpieslice.html#startAngle-prop">startAngle</a></b> : const qreal</li>
<li class="fn"><b><a href="qpieslice.html#value-prop">value</a></b> : qreal</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"> </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#QPieSlice">QPieSlice</a></b>(QObject *<i>parent</i> = Q_NULLPTR)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#QPieSlice-1">QPieSlice</a></b>(QString <i>label</i>, qreal <i>value</i>, QObject *<i>parent</i> = Q_NULLPTR)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#dtor.QPieSlice">~QPieSlice</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#angleSpan-prop">angleSpan</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QColor </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#borderColor-prop">borderColor</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#borderWidth-prop">borderWidth</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QBrush </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#brush-prop">brush</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QColor </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#color-prop">color</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#explodeDistanceFactor-prop">explodeDistanceFactor</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#exploded-prop">isExploded</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#labelVisible-prop">isLabelVisible</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#label-prop">label</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#labelArmLengthFactor-prop">labelArmLengthFactor</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QBrush </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#labelBrush-prop">labelBrush</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QColor </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#labelColor-prop">labelColor</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QFont </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#labelFont-prop">labelFont</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> LabelPosition </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#labelPosition-prop">labelPosition</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QPen </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#pen-prop">pen</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#percentage-prop">percentage</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QPieSeries *</td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#series">series</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#borderColor-prop">setBorderColor</a></b>(QColor <i>color</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#borderWidth-prop">setBorderWidth</a></b>(int <i>width</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#brush-prop">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="qpieslice.html#color-prop">setColor</a></b>(QColor <i>color</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#explodeDistanceFactor-prop">setExplodeDistanceFactor</a></b>(qreal <i>factor</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#exploded-prop">setExploded</a></b>(bool <i>exploded</i> = true)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#label-prop">setLabel</a></b>(QString <i>label</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#labelArmLengthFactor-prop">setLabelArmLengthFactor</a></b>(qreal <i>factor</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#labelBrush-prop">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="qpieslice.html#labelColor-prop">setLabelColor</a></b>(QColor <i>color</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#labelFont-prop">setLabelFont</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="qpieslice.html#labelPosition-prop">setLabelPosition</a></b>(LabelPosition <i>position</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#labelVisible-prop">setLabelVisible</a></b>(bool <i>visible</i> = true)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#pen-prop">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="qpieslice.html#value-prop">setValue</a></b>(qreal <i>value</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#startAngle-prop">startAngle</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#value-prop">value</a></b>() const</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="qpieslice.html#angleSpanChanged">angleSpanChanged</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#borderColorChanged">borderColorChanged</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#borderWidthChanged">borderWidthChanged</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#brushChanged">brushChanged</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#clicked">clicked</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#colorChanged">colorChanged</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#doubleClicked">doubleClicked</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#hovered">hovered</a></b>(bool <i>state</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#labelBrushChanged">labelBrushChanged</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#labelChanged">labelChanged</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#labelColorChanged">labelColorChanged</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#labelFontChanged">labelFontChanged</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#labelVisibleChanged">labelVisibleChanged</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#penChanged">penChanged</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#percentageChanged">percentageChanged</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#pressed">pressed</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#released">released</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#startAngleChanged">startAngleChanged</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpieslice.html#valueChanged">valueChanged</a></b>()</td></tr>
</table></div>
<a name="details"></a>
<!-- $$$QPieSlice-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qpieslice.html">QPieSlice</a> class represents a single slice in a pie series.</p>
<p>A pie slice has a value and a label. When the slice is added to a pie series, the <a href="qpieseries.html">QPieSeries</a> object calculates the percentage of the slice compared with the sum of all slices in the series to determine the actual size of the slice in the chart.</p>
<p>By default, the label is hidden. If it is visible, it can be either located outside the slice and connected to it with an arm or centered inside the slice either horizontally or in parallel with the tangential or normal of the slice's arc.</p>
<p>By default, the visual appearance of the slice is set by a theme, but the theme can be overridden by specifying slice properties. However, if the theme is changed after the slices are customized, all customization will be lost.</p>
<p>To enable user interaction with the pie chart, some basic signals are emitted when users click pie slices or hover the mouse over them.</p>
</div>
<p><b>See also </b><a href="qpieseries.html">QPieSeries</a>.</p>
<!-- @@@QPieSlice -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$LabelPosition$$$LabelOutside$$$LabelInsideHorizontal$$$LabelInsideTangential$$$LabelInsideNormal -->
<h3 class="fn" id="LabelPosition-enum"><a name="LabelPosition-enum"></a>enum QPieSlice::<span class="name">LabelPosition</span></h3>
<p>This enum describes the position of the slice label.</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>QPieSlice::LabelOutside</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">The label is located outside the slice connected to it with an arm. This is the default value.</td></tr>
<tr><td class="topAlign"><code>QPieSlice::LabelInsideHorizontal</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">The label is centered within the slice and laid out horizontally.</td></tr>
<tr><td class="topAlign"><code>QPieSlice::LabelInsideTangential</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">The label is centered within the slice and rotated to be parallel with the tangential of the slice's arc.</td></tr>
<tr><td class="topAlign"><code>QPieSlice::LabelInsideNormal</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">The label is centered within the slice and rotated to be parallel with the normal of the slice's arc.</td></tr>
</table></div>
<!-- @@@LabelPosition -->
</div>
<div class="prop">
<h2>Property Documentation</h2>
<!-- $$$angleSpan-prop$$$angleSpan$$$angleSpanChanged -->
<h3 class="fn" id="angleSpan-prop"><a name="angleSpan-prop"></a><span class="name">angleSpan</span> : const <span class="type">qreal</span></h3>
<p>This property holds the span of the slice in degrees. A full pie is 360 degrees, where 0 degrees is at 12 a'clock. Updated automatically once the slice is added to the series.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> qreal </td><td class="memItemRight bottomAlign"><span class="name"><b>angleSpan</b></span>() const</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="qpieslice.html#angleSpanChanged">angleSpanChanged</a></b></span>()</td></tr>
</table></div>
<!-- @@@angleSpan -->
<!-- $$$borderColor-prop$$$borderColor$$$setBorderColorQColor$$$borderColorChanged -->
<h3 class="fn" id="borderColor-prop"><a name="borderColor-prop"></a><span class="name">borderColor</span> : <span class="type">QColor</span></h3>
<p>This property holds the color used to draw the slice border. This is a convenience property for modifying the slice pen.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QColor </td><td class="memItemRight bottomAlign"><span class="name"><b>borderColor</b></span>()</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setBorderColor</b></span>(QColor <i>color</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="qpieslice.html#borderColorChanged">borderColorChanged</a></b></span>()</td></tr>
</table></div>
<p><b>See also </b><a href="qpieslice.html#pen-prop">pen</a> and <a href="qpieslice.html#borderWidth-prop">borderWidth</a>.</p>
<!-- @@@borderColor -->
<!-- $$$borderWidth-prop$$$borderWidth$$$setBorderWidthint$$$borderWidthChanged -->
<h3 class="fn" id="borderWidth-prop"><a name="borderWidth-prop"></a><span class="name">borderWidth</span> : <span class="type">int</span></h3>
<p>This property holds the width of the slice border. This is a convenience property for modifying the slice pen.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><span class="name"><b>borderWidth</b></span>()</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setBorderWidth</b></span>(int <i>width</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="qpieslice.html#borderWidthChanged">borderWidthChanged</a></b></span>()</td></tr>
</table></div>
<p><b>See also </b><a href="qpieslice.html#pen-prop">pen</a> and <a href="qpieslice.html#borderColor-prop">borderColor</a>.</p>
<!-- @@@borderWidth -->
<!-- $$$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 slice.</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>brush</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setBrush</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="qpieslice.html#brushChanged">brushChanged</a></b></span>()</td></tr>
</table></div>
<!-- @@@brush -->
<!-- $$$color-prop$$$color$$$setColorQColor$$$colorChanged -->
<h3 class="fn" id="color-prop"><a name="color-prop"></a><span class="name">color</span> : <span class="type">QColor</span></h3>
<p>This property holds the fill (brush) color of the slice. This is a convenience property for modifying the slice brush.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QColor </td><td class="memItemRight bottomAlign"><span class="name"><b>color</b></span>()</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setColor</b></span>(QColor <i>color</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="qpieslice.html#colorChanged">colorChanged</a></b></span>()</td></tr>
</table></div>
<p><b>See also </b><a href="qpieslice.html#brush-prop">brush</a>.</p>
<!-- @@@color -->
<!-- $$$explodeDistanceFactor-prop$$$explodeDistanceFactor$$$setExplodeDistanceFactorqreal -->
<h3 class="fn" id="explodeDistanceFactor-prop"><a name="explodeDistanceFactor-prop"></a><span class="name">explodeDistanceFactor</span> : <span class="type">qreal</span></h3>
<p>Determines how far away from the pie the slice is exploded.</p>
<ul>
<li>1.0 means that the distance is the same as the radius.</li>
<li>0.5 means that the distance is half of the radius.</li>
</ul>
<p>By default, the distance is 0.15</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> qreal </td><td class="memItemRight bottomAlign"><span class="name"><b>explodeDistanceFactor</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setExplodeDistanceFactor</b></span>(qreal <i>factor</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qpieslice.html#exploded-prop">exploded</a>.</p>
<!-- @@@explodeDistanceFactor -->
<!-- $$$exploded-prop$$$isExploded$$$setExplodedbool -->
<h3 class="fn" id="exploded-prop"><a name="exploded-prop"></a><span class="name">exploded</span> : <span class="type">bool</span></h3>
<p>This property holds whether the slice is separated from the pie.</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>isExploded</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setExploded</b></span>(bool <i>exploded</i> = true)</td></tr>
</table></div>
<p><b>See also </b><a href="qpieslice.html#explodeDistanceFactor-prop">explodeDistanceFactor</a>.</p>
<!-- @@@exploded -->
<!-- $$$label-prop$$$label$$$setLabelQString$$$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 label of the slice.</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>label</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setLabel</b></span>(QString <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="qpieslice.html#labelChanged">labelChanged</a></b></span>()</td></tr>
</table></div>
<p><b>See also </b><a href="qpieslice.html#labelVisible-prop">labelVisible</a>, <a href="qpieslice.html#labelBrush-prop">labelBrush</a>, <a href="qpieslice.html#labelFont-prop">labelFont</a>, and <a href="qpieslice.html#labelArmLengthFactor-prop">labelArmLengthFactor</a>.</p>
<!-- @@@label -->
<!-- $$$labelArmLengthFactor-prop$$$labelArmLengthFactor$$$setLabelArmLengthFactorqreal -->
<h3 class="fn" id="labelArmLengthFactor-prop"><a name="labelArmLengthFactor-prop"></a><span class="name">labelArmLengthFactor</span> : <span class="type">qreal</span></h3>
<p>This property holds the length of the label arm. The factor is relative to the pie radius. For example:</p>
<ul>
<li>1.0 means that the length is the same as the radius.</li>
<li>0.5 means that the length is half of the radius.</li>
</ul>
<p>By default, the arm length is 0.15</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> qreal </td><td class="memItemRight bottomAlign"><span class="name"><b>labelArmLengthFactor</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setLabelArmLengthFactor</b></span>(qreal <i>factor</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qpieslice.html#label-prop">label</a>, <a href="qpieslice.html#labelVisible-prop">labelVisible</a>, <a href="qpieslice.html#labelBrush-prop">labelBrush</a>, and <a href="qpieslice.html#labelFont-prop">labelFont</a>.</p>
<!-- @@@labelArmLengthFactor -->
<!-- $$$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 used to draw the label and label arm of the slice.</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>labelBrush</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setLabelBrush</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="qpieslice.html#labelBrushChanged">labelBrushChanged</a></b></span>()</td></tr>
</table></div>
<p><b>See also </b><a href="qpieslice.html#label-prop">label</a>, <a href="qpieslice.html#labelVisible-prop">labelVisible</a>, <a href="qpieslice.html#labelFont-prop">labelFont</a>, and <a href="qpieslice.html#labelArmLengthFactor-prop">labelArmLengthFactor</a>.</p>
<!-- @@@labelBrush -->
<!-- $$$labelColor-prop$$$labelColor$$$setLabelColorQColor$$$labelColorChanged -->
<h3 class="fn" id="labelColor-prop"><a name="labelColor-prop"></a><span class="name">labelColor</span> : <span class="type">QColor</span></h3>
<p>This property holds the color used to draw the slice label. This is a convenience property for modifying the slice label brush.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QColor </td><td class="memItemRight bottomAlign"><span class="name"><b>labelColor</b></span>()</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setLabelColor</b></span>(QColor <i>color</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="qpieslice.html#labelColorChanged">labelColorChanged</a></b></span>()</td></tr>
</table></div>
<p><b>See also </b><a href="qpieslice.html#labelBrush-prop">labelBrush</a>.</p>
<!-- @@@labelColor -->
<!-- $$$labelFont-prop$$$labelFont$$$setLabelFontconstQFont&$$$labelFontChanged -->
<h3 class="fn" id="labelFont-prop"><a name="labelFont-prop"></a><span class="name">labelFont</span> : <span class="type">QFont</span></h3>
<p>This property holds the font used for drawing the label text.</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>labelFont</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setLabelFont</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="qpieslice.html#labelFontChanged">labelFontChanged</a></b></span>()</td></tr>
</table></div>
<p><b>See also </b><a href="qpieslice.html#label-prop">label</a>, <a href="qpieslice.html#labelVisible-prop">labelVisible</a>, and <a href="qpieslice.html#labelArmLengthFactor-prop">labelArmLengthFactor</a>.</p>
<!-- @@@labelFont -->
<!-- $$$labelPosition-prop$$$labelPosition$$$setLabelPositionLabelPosition -->
<h3 class="fn" id="labelPosition-prop"><a name="labelPosition-prop"></a><span class="name">labelPosition</span> : <span class="type"><a href="qpieslice.html#LabelPosition-enum">LabelPosition</a></span></h3>
<p>This property holds the position of the slice label.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> LabelPosition </td><td class="memItemRight bottomAlign"><span class="name"><b>labelPosition</b></span>()</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setLabelPosition</b></span>(LabelPosition <i>position</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qpieslice.html#label-prop">label</a> and <a href="qpieslice.html#labelVisible-prop">labelVisible</a>.</p>
<!-- @@@labelPosition -->
<!-- $$$labelVisible-prop$$$isLabelVisible$$$setLabelVisiblebool$$$labelVisibleChanged -->
<h3 class="fn" id="labelVisible-prop"><a name="labelVisible-prop"></a><span class="name">labelVisible</span> : <span class="type">bool</span></h3>
<p>This property holds the visibility of the slice label. By default, the label is not visible.</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>isLabelVisible</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setLabelVisible</b></span>(bool <i>visible</i> = true)</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="qpieslice.html#labelVisibleChanged">labelVisibleChanged</a></b></span>()</td></tr>
</table></div>
<p><b>See also </b><a href="qpieslice.html#label-prop">label</a>, <a href="qpieslice.html#labelBrush-prop">labelBrush</a>, <a href="qpieslice.html#labelFont-prop">labelFont</a>, and <a href="qpieslice.html#labelArmLengthFactor-prop">labelArmLengthFactor</a>.</p>
<!-- @@@labelVisible -->
<!-- $$$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 slice border.</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>pen</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setPen</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="qpieslice.html#penChanged">penChanged</a></b></span>()</td></tr>
</table></div>
<!-- @@@pen -->
<!-- $$$percentage-prop$$$percentage$$$percentageChanged -->
<h3 class="fn" id="percentage-prop"><a name="percentage-prop"></a><span class="name">percentage</span> : const <span class="type">qreal</span></h3>
<p>This property holds the percentage of the slice compared to the sum of all slices in the series. The actual value ranges from 0.0 to 1.0&#x2e; Updated automatically once the slice is added to the series.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> qreal </td><td class="memItemRight bottomAlign"><span class="name"><b>percentage</b></span>() const</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="qpieslice.html#percentageChanged">percentageChanged</a></b></span>()</td></tr>
</table></div>
<p><b>See also </b><a href="qpieslice.html#value-prop">value</a> and <a href="qpieseries.html#sum-prop">QPieSeries::sum</a>.</p>
<!-- @@@percentage -->
<!-- $$$startAngle-prop$$$startAngle$$$startAngleChanged -->
<h3 class="fn" id="startAngle-prop"><a name="startAngle-prop"></a><span class="name">startAngle</span> : const <span class="type">qreal</span></h3>
<p>This property holds the starting angle of this slice in the series it belongs to. A full pie is 360 degrees, where 0 degrees is at 12 a'clock. Updated automatically once the slice is added to the series.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> qreal </td><td class="memItemRight bottomAlign"><span class="name"><b>startAngle</b></span>() const</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="qpieslice.html#startAngleChanged">startAngleChanged</a></b></span>()</td></tr>
</table></div>
<!-- @@@startAngle -->
<!-- $$$value-prop$$$value$$$setValueqreal$$$valueChanged -->
<h3 class="fn" id="value-prop"><a name="value-prop"></a><span class="name">value</span> : <span class="type">qreal</span></h3>
<p>This property holds the value of the slice.</p>
<p><b>Note: </b>A negative value is converted to a positive value.</p><p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> qreal </td><td class="memItemRight bottomAlign"><span class="name"><b>value</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setValue</b></span>(qreal <i>value</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="qpieslice.html#valueChanged">valueChanged</a></b></span>()</td></tr>
</table></div>
<p><b>See also </b><a href="qpieslice.html#percentage-prop">percentage</a>() and <a href="qpieseries.html#sum">QPieSeries::sum</a>().</p>
<!-- @@@value -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QPieSlice[overload1]$$$QPieSliceQObject* -->
<h3 class="fn" id="QPieSlice"><a name="QPieSlice"></a>QPieSlice::<span class="name">QPieSlice</span>(<span class="type">QObject</span> *<i>parent</i> = Q_NULLPTR)</h3>
<p>Constructs an empty slice with the parent <i>parent</i>.</p>
<p><b>See also </b><a href="qpieseries.html#append">QPieSeries::append</a>() and <a href="qpieseries.html#insert">QPieSeries::insert</a>().</p>
<!-- @@@QPieSlice -->
<!-- $$$QPieSlice$$$QPieSliceQStringqrealQObject* -->
<h3 class="fn" id="QPieSlice-1"><a name="QPieSlice-1"></a>QPieSlice::<span class="name">QPieSlice</span>(<span class="type">QString</span> <i>label</i>, <span class="type">qreal</span> <i>value</i>, <span class="type">QObject</span> *<i>parent</i> = Q_NULLPTR)</h3>
<p>Constructs an empty slice with the specified <i>value</i>, <i>label</i>, and <i>parent</i>.</p>
<p><b>See also </b><a href="qpieseries.html#append">QPieSeries::append</a>() and <a href="qpieseries.html#insert">QPieSeries::insert</a>().</p>
<!-- @@@QPieSlice -->
<!-- $$$~QPieSlice[overload1]$$$~QPieSlice -->
<h3 class="fn" id="dtor.QPieSlice"><a name="dtor.QPieSlice"></a><code>[virtual] </code>QPieSlice::<span class="name">~QPieSlice</span>()</h3>
<p>Removes the slice. The slice should not be removed if it has been added to a series.</p>
<!-- @@@~QPieSlice -->
<!-- $$$angleSpanChanged -->
<h3 class="fn" id="angleSpanChanged"><a name="angleSpanChanged"></a><code>[signal] </code><span class="type">void</span> QPieSlice::<span class="name">angleSpanChanged</span>()</h3>
<p>This signal is emitted when the angle span of the slice changes.</p>
<p><b>Note:</b> Notifier signal for property <a href="qpieslice.html#angleSpan-prop">angleSpan</a>. </p><p><b>See also </b><a href="qpieslice.html#angleSpan-prop">angleSpan</a>.</p>
<!-- @@@angleSpanChanged -->
<!-- $$$borderColorChanged -->
<h3 class="fn" id="borderColorChanged"><a name="borderColorChanged"></a><code>[signal] </code><span class="type">void</span> QPieSlice::<span class="name">borderColorChanged</span>()</h3>
<p>This signal is emitted when the slice border color changes.</p>
<p><b>Note:</b> Notifier signal for property <a href="qpieslice.html#borderColor-prop">borderColor</a>. </p><p><b>See also </b><a href="qpieslice.html#pen-prop">pen</a> and <a href="qpieslice.html#borderColor-prop">borderColor</a>.</p>
<!-- @@@borderColorChanged -->
<!-- $$$borderWidthChanged -->
<h3 class="fn" id="borderWidthChanged"><a name="borderWidthChanged"></a><code>[signal] </code><span class="type">void</span> QPieSlice::<span class="name">borderWidthChanged</span>()</h3>
<p>This signal is emitted when the slice border width changes.</p>
<p><b>Note:</b> Notifier signal for property <a href="qpieslice.html#borderWidth-prop">borderWidth</a>. </p><p><b>See also </b><a href="qpieslice.html#pen-prop">pen</a> and <a href="qpieslice.html#borderWidth-prop">borderWidth</a>.</p>
<!-- @@@borderWidthChanged -->
<!-- $$$brushChanged -->
<h3 class="fn" id="brushChanged"><a name="brushChanged"></a><code>[signal] </code><span class="type">void</span> QPieSlice::<span class="name">brushChanged</span>()</h3>
<p>This signal is emitted when the brush used to fill the slice changes.</p>
<p><b>Note:</b> Notifier signal for property <a href="qpieslice.html#brush-prop">brush</a>. </p><p><b>See also </b><a href="qpieslice.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> QPieSlice::<span class="name">clicked</span>()</h3>
<p>This signal is emitted when the slice is clicked.</p>
<p><b>See also </b><a href="qpieseries.html#clicked">QPieSeries::clicked</a>().</p>
<!-- @@@clicked -->
<!-- $$$colorChanged -->
<h3 class="fn" id="colorChanged"><a name="colorChanged"></a><code>[signal] </code><span class="type">void</span> QPieSlice::<span class="name">colorChanged</span>()</h3>
<p>This signal is emitted when the slice color changes.</p>
<p><b>Note:</b> Notifier signal for property <a href="qpieslice.html#color-prop">color</a>. </p><p><b>See also </b><a href="qpieslice.html#brush-prop">brush</a>.</p>
<!-- @@@colorChanged -->
<!-- $$$doubleClicked[overload1]$$$doubleClicked -->
<h3 class="fn" id="doubleClicked"><a name="doubleClicked"></a><code>[signal] </code><span class="type">void</span> QPieSlice::<span class="name">doubleClicked</span>()</h3>
<p>This signal is emitted when user double-clicks the slice.</p>
<p><b>See also </b><a href="qpieseries.html#doubleClicked">QPieSeries::doubleClicked</a>().</p>
<!-- @@@doubleClicked -->
<!-- $$$hovered[overload1]$$$hoveredbool -->
<h3 class="fn" id="hovered"><a name="hovered"></a><code>[signal] </code><span class="type">void</span> QPieSlice::<span class="name">hovered</span>(<span class="type">bool</span> <i>state</i>)</h3>
<p>This signal is emitted when a mouse is hovered over the slice. When the mouse moves over the slice, <i>state</i> turns <code>true</code>, and when the mouse moves away again, it turns <code>false</code>.</p>
<p><b>See also </b><a href="qpieseries.html#hovered">QPieSeries::hovered</a>().</p>
<!-- @@@hovered -->
<!-- $$$labelBrushChanged -->
<h3 class="fn" id="labelBrushChanged"><a name="labelBrushChanged"></a><code>[signal] </code><span class="type">void</span> QPieSlice::<span class="name">labelBrushChanged</span>()</h3>
<p>This signal is emitted when the label brush of the slice changes.</p>
<p><b>Note:</b> Notifier signal for property <a href="qpieslice.html#labelBrush-prop">labelBrush</a>. </p><p><b>See also </b><a href="qpieslice.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> QPieSlice::<span class="name">labelChanged</span>()</h3>
<p>This signal is emitted when the slice label changes.</p>
<p><b>Note:</b> Notifier signal for property <a href="qpieslice.html#label-prop">label</a>. </p><p><b>See also </b><a href="qpieslice.html#label-prop">label</a>.</p>
<!-- @@@labelChanged -->
<!-- $$$labelColorChanged -->
<h3 class="fn" id="labelColorChanged"><a name="labelColorChanged"></a><code>[signal] </code><span class="type">void</span> QPieSlice::<span class="name">labelColorChanged</span>()</h3>
<p>This signal is emitted when the slice label color changes.</p>
<p><b>Note:</b> Notifier signal for property <a href="qpieslice.html#labelColor-prop">labelColor</a>. </p><p><b>See also </b><a href="qpieslice.html#labelColor-prop">labelColor</a>.</p>
<!-- @@@labelColorChanged -->
<!-- $$$labelFontChanged -->
<h3 class="fn" id="labelFontChanged"><a name="labelFontChanged"></a><code>[signal] </code><span class="type">void</span> QPieSlice::<span class="name">labelFontChanged</span>()</h3>
<p>This signal is emitted when the label font of the slice changes.</p>
<p><b>Note:</b> Notifier signal for property <a href="qpieslice.html#labelFont-prop">labelFont</a>. </p><p><b>See also </b><a href="qpieslice.html#labelFont-prop">labelFont</a>.</p>
<!-- @@@labelFontChanged -->
<!-- $$$labelVisibleChanged -->
<h3 class="fn" id="labelVisibleChanged"><a name="labelVisibleChanged"></a><code>[signal] </code><span class="type">void</span> QPieSlice::<span class="name">labelVisibleChanged</span>()</h3>
<p>This signal is emitted when the visibility of the slice label changes.</p>
<p><b>Note:</b> Notifier signal for property <a href="qpieslice.html#labelVisible-prop">labelVisible</a>. </p><p><b>See also </b><a href="qpieslice.html#labelVisible-prop">labelVisible</a>.</p>
<!-- @@@labelVisibleChanged -->
<!-- $$$penChanged -->
<h3 class="fn" id="penChanged"><a name="penChanged"></a><code>[signal] </code><span class="type">void</span> QPieSlice::<span class="name">penChanged</span>()</h3>
<p>This signal is emitted when the pen used to draw the slice border changes.</p>
<p><b>Note:</b> Notifier signal for property <a href="qpieslice.html#pen-prop">pen</a>. </p><p><b>See also </b><a href="qpieslice.html#pen-prop">pen</a>.</p>
<!-- @@@penChanged -->
<!-- $$$percentageChanged -->
<h3 class="fn" id="percentageChanged"><a name="percentageChanged"></a><code>[signal] </code><span class="type">void</span> QPieSlice::<span class="name">percentageChanged</span>()</h3>
<p>This signal is emitted when the percentage of the slice changes.</p>
<p><b>Note:</b> Notifier signal for property <a href="qpieslice.html#percentage-prop">percentage</a>. </p><p><b>See also </b><a href="qpieslice.html#percentage-prop">percentage</a>.</p>
<!-- @@@percentageChanged -->
<!-- $$$pressed[overload1]$$$pressed -->
<h3 class="fn" id="pressed"><a name="pressed"></a><code>[signal] </code><span class="type">void</span> QPieSlice::<span class="name">pressed</span>()</h3>
<p>This signal is emitted when the user clicks the slice and holds down the mouse button.</p>
<p><b>See also </b><a href="qpieseries.html#pressed">QPieSeries::pressed</a>().</p>
<!-- @@@pressed -->
<!-- $$$released[overload1]$$$released -->
<h3 class="fn" id="released"><a name="released"></a><code>[signal] </code><span class="type">void</span> QPieSlice::<span class="name">released</span>()</h3>
<p>This signal is emitted when the user releases the mouse press on the slice.</p>
<p><b>See also </b><a href="qpieseries.html#released">QPieSeries::released</a>().</p>
<!-- @@@released -->
<!-- $$$series[overload1]$$$series -->
<h3 class="fn" id="series"><a name="series"></a><span class="type"><a href="qpieseries.html">QPieSeries</a></span> *QPieSlice::<span class="name">series</span>() const</h3>
<p>Returns the series that this slice belongs to.</p>
<p><b>See also </b><a href="qpieseries.html#append">QPieSeries::append</a>().</p>
<!-- @@@series -->
<!-- $$$startAngleChanged -->
<h3 class="fn" id="startAngleChanged"><a name="startAngleChanged"></a><code>[signal] </code><span class="type">void</span> QPieSlice::<span class="name">startAngleChanged</span>()</h3>
<p>This signal is emitted when the starting angle of the slice changes.</p>
<p><b>Note:</b> Notifier signal for property <a href="qpieslice.html#startAngle-prop">startAngle</a>. </p><p><b>See also </b><a href="qpieslice.html#startAngle-prop">startAngle</a>.</p>
<!-- @@@startAngleChanged -->
<!-- $$$valueChanged -->
<h3 class="fn" id="valueChanged"><a name="valueChanged"></a><code>[signal] </code><span class="type">void</span> QPieSlice::<span class="name">valueChanged</span>()</h3>
<p>This signal is emitted when the slice value changes.</p>
<p><b>Note:</b> Notifier signal for property <a href="qpieslice.html#value-prop">value</a>. </p><p><b>See also </b><a href="qpieslice.html#value-prop">value</a>.</p>
<!-- @@@valueChanged -->
</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>