Sophie

Sophie

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

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" />
<!-- qbarset.cpp -->
  <title>QBarSet 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 >QBarSet</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="#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">QBarSet Class</h1>
<!-- $$$QBarSet-brief -->
<p>The <a href="qbarset.html">QBarSet</a> class represents one set of bars in a bar chart. <a href="#details">More...</a></p>
<!-- @@@QBarSet -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QBarSet&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Instantiated By:</td><td class="memItemRight bottomAlign"> <a href="qml-qtcharts-barset.html">BarSet</a></td></tr></table></div><ul>
<li><a href="qbarset-members.html">List of all members, including inherited members</a></li>
</ul>
<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="qbarset.html#borderColor-prop">borderColor</a></b> : QColor</li>
<li class="fn"><b><a href="qbarset.html#brush-prop">brush</a></b> : QBrush</li>
<li class="fn"><b><a href="qbarset.html#color-prop">color</a></b> : QColor</li>
<li class="fn"><b><a href="qbarset.html#label-prop">label</a></b> : QString</li>
</ul></td><td class="topAlign"><ul>
<li class="fn"><b><a href="qbarset.html#labelBrush-prop">labelBrush</a></b> : QBrush</li>
<li class="fn"><b><a href="qbarset.html#labelColor-prop">labelColor</a></b> : QColor</li>
<li class="fn"><b><a href="qbarset.html#labelFont-prop">labelFont</a></b> : QFont</li>
<li class="fn"><b><a href="qbarset.html#pen-prop">pen</a></b> : QPen</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="qbarset.html#QBarSet">QBarSet</a></b>(const QString <i>label</i>, QObject *<i>parent</i> = Q_NULLPTR)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual </td><td class="memItemRight bottomAlign"><b><a href="qbarset.html#dtor.QBarSet">~QBarSet</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbarset.html#append">append</a></b>(const qreal <i>value</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbarset.html#append-1">append</a></b>(const QList&lt;qreal&gt; &amp;<i>values</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qbarset.html#at">at</a></b>(const int <i>index</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QColor </td><td class="memItemRight bottomAlign"><b><a href="qbarset.html#borderColor">borderColor</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QBrush </td><td class="memItemRight bottomAlign"><b><a href="qbarset.html#brush">brush</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QColor </td><td class="memItemRight bottomAlign"><b><a href="qbarset.html#color">color</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qbarset.html#count">count</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbarset.html#insert">insert</a></b>(const int <i>index</i>, const qreal <i>value</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qbarset.html#label">label</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QBrush </td><td class="memItemRight bottomAlign"><b><a href="qbarset.html#labelBrush">labelBrush</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QColor </td><td class="memItemRight bottomAlign"><b><a href="qbarset.html#labelColor">labelColor</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QFont </td><td class="memItemRight bottomAlign"><b><a href="qbarset.html#labelFont">labelFont</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QPen </td><td class="memItemRight bottomAlign"><b><a href="qbarset.html#pen">pen</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbarset.html#remove">remove</a></b>(const int <i>index</i>, const int <i>count</i> = 1)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbarset.html#replace">replace</a></b>(const int <i>index</i>, const qreal <i>value</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbarset.html#setBorderColor">setBorderColor</a></b>(QColor <i>color</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbarset.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="qbarset.html#setColor">setColor</a></b>(QColor <i>color</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbarset.html#setLabel">setLabel</a></b>(const QString <i>label</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbarset.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="qbarset.html#setLabelColor">setLabelColor</a></b>(QColor <i>color</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbarset.html#setLabelFont">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="qbarset.html#setPen">setPen</a></b>(const QPen &amp;<i>pen</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qbarset.html#sum">sum</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QBarSet &amp;</td><td class="memItemRight bottomAlign"><b><a href="qbarset.html#operator-lt-lt">operator&lt;&lt;</a></b>(const qreal &amp;<i>value</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qbarset.html#operator-5b-5d">operator[]</a></b>(const int <i>index</i>) 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="qbarset.html#borderColorChanged">borderColorChanged</a></b>(QColor <i>color</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbarset.html#brushChanged">brushChanged</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbarset.html#clicked">clicked</a></b>(int <i>index</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbarset.html#colorChanged">colorChanged</a></b>(QColor <i>color</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbarset.html#doubleClicked">doubleClicked</a></b>(int <i>index</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbarset.html#hovered">hovered</a></b>(bool <i>status</i>, int <i>index</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbarset.html#labelBrushChanged">labelBrushChanged</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbarset.html#labelChanged">labelChanged</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbarset.html#labelColorChanged">labelColorChanged</a></b>(QColor <i>color</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbarset.html#labelFontChanged">labelFontChanged</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbarset.html#penChanged">penChanged</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbarset.html#pressed">pressed</a></b>(int <i>index</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbarset.html#released">released</a></b>(int <i>index</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbarset.html#valueChanged">valueChanged</a></b>(int <i>index</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbarset.html#valuesAdded">valuesAdded</a></b>(int <i>index</i>, int <i>count</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbarset.html#valuesRemoved">valuesRemoved</a></b>(int <i>index</i>, int <i>count</i>)</td></tr>
</table></div>
<a name="details"></a>
<!-- $$$QBarSet-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qbarset.html">QBarSet</a> class represents one set of bars in a bar chart.</p>
<p>A bar set contains one data value for each category. The first value of a set is assumed to belong to the first category, the second one to the second category, and so on. If the set has fewer values than there are categories, the missing values are assumed to be located at the end of the set. For missing values in the middle of a set, the numerical value of zero is used. Labels for zero value sets are not shown.</p>
</div>
<p><b>See also </b><a href="qabstractbarseries.html">QAbstractBarSeries</a>, <a href="qbarseries.html">QBarSeries</a>, <a href="qstackedbarseries.html">QStackedBarSeries</a>, <a href="qpercentbarseries.html">QPercentBarSeries</a>, <a href="qhorizontalbarseries.html">QHorizontalBarSeries</a>, <a href="qhorizontalstackedbarseries.html">QHorizontalStackedBarSeries</a>, and <a href="qhorizontalpercentbarseries.html">QHorizontalPercentBarSeries</a>.</p>
<!-- @@@QBarSet -->
<div class="prop">
<h2>Property Documentation</h2>
<!-- $$$borderColor-prop$$$borderColor$$$setBorderColorQColor$$$borderColorChangedQColor -->
<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 line (pen) color of the bar set.</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><a href="qbarset.html#borderColor">borderColor</a></b></span>()</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qbarset.html#setBorderColor">setBorderColor</a></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="qbarset.html#borderColorChanged">borderColorChanged</a></b></span>(QColor <i>color</i>)</td></tr>
</table></div>
<!-- @@@borderColor -->
<!-- $$$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 bars in the bar set.</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="qbarset.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="qbarset.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="qbarset.html#brushChanged">brushChanged</a></b></span>()</td></tr>
</table></div>
<!-- @@@brush -->
<!-- $$$color-prop$$$color$$$setColorQColor$$$colorChangedQColor -->
<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 bar set.</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><a href="qbarset.html#color">color</a></b></span>()</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qbarset.html#setColor">setColor</a></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="qbarset.html#colorChanged">colorChanged</a></b></span>(QColor <i>color</i>)</td></tr>
</table></div>
<!-- @@@color -->
<!-- $$$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 label of the bar set.</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="qbarset.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="qbarset.html#setLabel">setLabel</a></b></span>(const 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="qbarset.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 used to draw the bar set's 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="qbarset.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="qbarset.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="qbarset.html#labelBrushChanged">labelBrushChanged</a></b></span>()</td></tr>
</table></div>
<!-- @@@labelBrush -->
<!-- $$$labelColor-prop$$$labelColor$$$setLabelColorQColor$$$labelColorChangedQColor -->
<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 text (label) color of the bar set.</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><a href="qbarset.html#labelColor">labelColor</a></b></span>()</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qbarset.html#setLabelColor">setLabelColor</a></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="qbarset.html#labelColorChanged">labelColorChanged</a></b></span>(QColor <i>color</i>)</td></tr>
</table></div>
<!-- @@@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 to draw the bar set's 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="qbarset.html#labelFont">labelFont</a></b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qbarset.html#setLabelFont">setLabelFont</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="qbarset.html#labelFontChanged">labelFontChanged</a></b></span>()</td></tr>
</table></div>
<!-- @@@labelFont -->
<!-- $$$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 lines of bars in the bar set.</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="qbarset.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="qbarset.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="qbarset.html#penChanged">penChanged</a></b></span>()</td></tr>
</table></div>
<!-- @@@pen -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QBarSet[overload1]$$$QBarSetconstQStringQObject* -->
<h3 class="fn" id="QBarSet"><a name="QBarSet"></a>QBarSet::<span class="name">QBarSet</span>(const <span class="type">QString</span> <i>label</i>, <span class="type">QObject</span> *<i>parent</i> = Q_NULLPTR)</h3>
<p>Constructs a bar set with the label <i>label</i> and the parent <i>parent</i>.</p>
<!-- @@@QBarSet -->
<!-- $$$~QBarSet[overload1]$$$~QBarSet -->
<h3 class="fn" id="dtor.QBarSet"><a name="dtor.QBarSet"></a><code>[virtual] </code>QBarSet::<span class="name">~QBarSet</span>()</h3>
<p>Removes the bar set.</p>
<!-- @@@~QBarSet -->
<!-- $$$append[overload1]$$$appendconstqreal -->
<h3 class="fn" id="append"><a name="append"></a><span class="type">void</span> QBarSet::<span class="name">append</span>(const <span class="type">qreal</span> <i>value</i>)</h3>
<p>Appends the new value specified by <i>value</i> to the end of the bar set.</p>
<!-- @@@append -->
<!-- $$$append$$$appendconstQList<qreal>& -->
<h3 class="fn" id="append-1"><a name="append-1"></a><span class="type">void</span> QBarSet::<span class="name">append</span>(const <span class="type">QList</span>&lt;<span class="type">qreal</span>&gt; &amp;<i>values</i>)</h3>
<p>Appends the list of real values specified by <i>values</i> to the end of the bar set.</p>
<p><b>See also </b><a href="qbarset.html#append">append</a>().</p>
<!-- @@@append -->
<!-- $$$at[overload1]$$$atconstint -->
<h3 class="fn" id="at"><a name="at"></a><span class="type">qreal</span> QBarSet::<span class="name">at</span>(const <span class="type">int</span> <i>index</i>) const</h3>
<p>Returns the value specified by <i>index</i> from the bar set. If the index is out of bounds, 0.0 is returned.</p>
<!-- @@@at -->
<!-- $$$borderColor -->
<h3 class="fn" id="borderColor"><a name="borderColor"></a><span class="type">QColor</span> QBarSet::<span class="name">borderColor</span>()</h3>
<p>Returns the line color for the bar set.</p>
<p><b>Note:</b> Getter function for property <a href="qbarset.html#borderColor-prop">borderColor</a>. </p><p><b>See also </b><a href="qbarset.html#setBorderColor">setBorderColor</a>().</p>
<!-- @@@borderColor -->
<!-- $$$borderColorChanged -->
<h3 class="fn" id="borderColorChanged"><a name="borderColorChanged"></a><code>[signal] </code><span class="type">void</span> QBarSet::<span class="name">borderColorChanged</span>(<span class="type">QColor</span> <i>color</i>)</h3>
<p>This signal is emitted when the line (pen) color of the bar set changes to <i>color</i>.</p>
<p><b>Note:</b> Notifier signal for property <a href="qbarset.html#borderColor-prop">borderColor</a>. </p><!-- @@@borderColorChanged -->
<!-- $$$brush -->
<h3 class="fn" id="brush"><a name="brush"></a><span class="type">QBrush</span> QBarSet::<span class="name">brush</span>() const</h3>
<p>Returns the brush used to fill the bars in the bar set.</p>
<p><b>Note:</b> Getter function for property <a href="qbarset.html#brush-prop">brush</a>. </p><p><b>See also </b><a href="qbarset.html#setBrush">setBrush</a>().</p>
<!-- @@@brush -->
<!-- $$$brushChanged -->
<h3 class="fn" id="brushChanged"><a name="brushChanged"></a><code>[signal] </code><span class="type">void</span> QBarSet::<span class="name">brushChanged</span>()</h3>
<p>This signal is emitted when the brush used to draw the bar set changes.</p>
<p><b>Note:</b> Notifier signal for property <a href="qbarset.html#brush-prop">brush</a>. </p><p><b>See also </b><a href="qbarset.html#brush-prop">brush</a>.</p>
<!-- @@@brushChanged -->
<!-- $$$clicked[overload1]$$$clickedint -->
<h3 class="fn" id="clicked"><a name="clicked"></a><code>[signal] </code><span class="type">void</span> QBarSet::<span class="name">clicked</span>(<span class="type">int</span> <i>index</i>)</h3>
<p>This signal is emitted when the user clicks the bar specified by <i>index</i> in a bar set.</p>
<!-- @@@clicked -->
<!-- $$$color -->
<h3 class="fn" id="color"><a name="color"></a><span class="type">QColor</span> QBarSet::<span class="name">color</span>()</h3>
<p>Returns the fill color for the bar set.</p>
<p><b>Note:</b> Getter function for property <a href="qbarset.html#color-prop">color</a>. </p><p><b>See also </b><a href="qbarset.html#setColor">setColor</a>().</p>
<!-- @@@color -->
<!-- $$$colorChanged -->
<h3 class="fn" id="colorChanged"><a name="colorChanged"></a><code>[signal] </code><span class="type">void</span> QBarSet::<span class="name">colorChanged</span>(<span class="type">QColor</span> <i>color</i>)</h3>
<p>This signal is emitted when the fill (brush) color of the bar set changes to <i>color</i>.</p>
<p><b>Note:</b> Notifier signal for property <a href="qbarset.html#color-prop">color</a>. </p><!-- @@@colorChanged -->
<!-- $$$count[overload1]$$$count -->
<h3 class="fn" id="count"><a name="count"></a><span class="type">int</span> QBarSet::<span class="name">count</span>() const</h3>
<p>Returns the number of values in a bar set.</p>
<!-- @@@count -->
<!-- $$$doubleClicked[overload1]$$$doubleClickedint -->
<h3 class="fn" id="doubleClicked"><a name="doubleClicked"></a><code>[signal] </code><span class="type">void</span> QBarSet::<span class="name">doubleClicked</span>(<span class="type">int</span> <i>index</i>)</h3>
<p>This signal is emitted when the user double-clicks the bar specified by <i>index</i> in a bar set.</p>
<!-- @@@doubleClicked -->
<!-- $$$hovered[overload1]$$$hoveredboolint -->
<h3 class="fn" id="hovered"><a name="hovered"></a><code>[signal] </code><span class="type">void</span> QBarSet::<span class="name">hovered</span>(<span class="type">bool</span> <i>status</i>, <span class="type">int</span> <i>index</i>)</h3>
<p>This signal is emitted when a mouse is hovered over the bar specified by <i>index</i> in a bar set. When the mouse moves over the bar, <i>status</i> turns <code>true</code>, and when the mouse moves away again, it turns <code>false</code>.</p>
<!-- @@@hovered -->
<!-- $$$insert[overload1]$$$insertconstintconstqreal -->
<h3 class="fn" id="insert"><a name="insert"></a><span class="type">void</span> QBarSet::<span class="name">insert</span>(const <span class="type">int</span> <i>index</i>, const <span class="type">qreal</span> <i>value</i>)</h3>
<p>Inserts <i>value</i> in the position specified by <i>index</i>. The values following the inserted value are moved up one position.</p>
<p><b>See also </b><a href="qbarset.html#remove">remove</a>().</p>
<!-- @@@insert -->
<!-- $$$label -->
<h3 class="fn" id="label"><a name="label"></a><span class="type">QString</span> QBarSet::<span class="name">label</span>() const</h3>
<p>Returns the label of the bar set.</p>
<p><b>Note:</b> Getter function for property <a href="qbarset.html#label-prop">label</a>. </p><p><b>See also </b><a href="qbarset.html#setLabel">setLabel</a>().</p>
<!-- @@@label -->
<!-- $$$labelBrush -->
<h3 class="fn" id="labelBrush"><a name="labelBrush"></a><span class="type">QBrush</span> QBarSet::<span class="name">labelBrush</span>() const</h3>
<p>Returns the brush used to draw values on top of this bar set.</p>
<p><b>Note:</b> Getter function for property <a href="qbarset.html#labelBrush-prop">labelBrush</a>. </p><p><b>See also </b><a href="qbarset.html#setLabelBrush">setLabelBrush</a>().</p>
<!-- @@@labelBrush -->
<!-- $$$labelBrushChanged -->
<h3 class="fn" id="labelBrushChanged"><a name="labelBrushChanged"></a><code>[signal] </code><span class="type">void</span> QBarSet::<span class="name">labelBrushChanged</span>()</h3>
<p>This signal is emitted when the brush used to draw the bar set's label changes.</p>
<p><b>Note:</b> Notifier signal for property <a href="qbarset.html#labelBrush-prop">labelBrush</a>. </p><p><b>See also </b><a href="qbarset.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> QBarSet::<span class="name">labelChanged</span>()</h3>
<p>This signal is emitted when the label of the bar set changes.</p>
<p><b>Note:</b> Notifier signal for property <a href="qbarset.html#label-prop">label</a>. </p><p><b>See also </b><a href="qbarset.html#label-prop">label</a>.</p>
<!-- @@@labelChanged -->
<!-- $$$labelColor -->
<h3 class="fn" id="labelColor"><a name="labelColor"></a><span class="type">QColor</span> QBarSet::<span class="name">labelColor</span>()</h3>
<p>Returns the text color for the bar set.</p>
<p><b>Note:</b> Getter function for property <a href="qbarset.html#labelColor-prop">labelColor</a>. </p><p><b>See also </b><a href="qbarset.html#setLabelColor">setLabelColor</a>().</p>
<!-- @@@labelColor -->
<!-- $$$labelColorChanged -->
<h3 class="fn" id="labelColorChanged"><a name="labelColorChanged"></a><code>[signal] </code><span class="type">void</span> QBarSet::<span class="name">labelColorChanged</span>(<span class="type">QColor</span> <i>color</i>)</h3>
<p>This signal is emitted when the text (label) color of the bar set changes to <i>color</i>.</p>
<p><b>Note:</b> Notifier signal for property <a href="qbarset.html#labelColor-prop">labelColor</a>. </p><!-- @@@labelColorChanged -->
<!-- $$$labelFont -->
<h3 class="fn" id="labelFont"><a name="labelFont"></a><span class="type">QFont</span> QBarSet::<span class="name">labelFont</span>() const</h3>
<p>Returns the pen used to draw values on top of this bar set.</p>
<p><b>Note:</b> Getter function for property <a href="qbarset.html#labelFont-prop">labelFont</a>. </p><p><b>See also </b><a href="qbarset.html#setLabelFont">setLabelFont</a>().</p>
<!-- @@@labelFont -->
<!-- $$$labelFontChanged -->
<h3 class="fn" id="labelFontChanged"><a name="labelFontChanged"></a><code>[signal] </code><span class="type">void</span> QBarSet::<span class="name">labelFontChanged</span>()</h3>
<p>This signal is emitted when the font of the bar set's label changes.</p>
<p><b>Note:</b> Notifier signal for property <a href="qbarset.html#labelFont-prop">labelFont</a>. </p><p><b>See also </b><a href="qbarset.html#labelBrush-prop">labelBrush</a>.</p>
<!-- @@@labelFontChanged -->
<!-- $$$pen -->
<h3 class="fn" id="pen"><a name="pen"></a><span class="type">QPen</span> QBarSet::<span class="name">pen</span>() const</h3>
<p>Returns the pen used to draw the lines in the bar set.</p>
<p><b>Note:</b> Getter function for property <a href="qbarset.html#pen-prop">pen</a>. </p><p><b>See also </b><a href="qbarset.html#setPen">setPen</a>().</p>
<!-- @@@pen -->
<!-- $$$penChanged -->
<h3 class="fn" id="penChanged"><a name="penChanged"></a><code>[signal] </code><span class="type">void</span> QBarSet::<span class="name">penChanged</span>()</h3>
<p>This signal is emitted when the pen used to draw the bar set changes.</p>
<p><b>Note:</b> Notifier signal for property <a href="qbarset.html#pen-prop">pen</a>. </p><p><b>See also </b><a href="qbarset.html#pen-prop">pen</a>.</p>
<!-- @@@penChanged -->
<!-- $$$pressed[overload1]$$$pressedint -->
<h3 class="fn" id="pressed"><a name="pressed"></a><code>[signal] </code><span class="type">void</span> QBarSet::<span class="name">pressed</span>(<span class="type">int</span> <i>index</i>)</h3>
<p>This signal is emitted when the user clicks the bar specified by <i>index</i> in a bar set and holds down the mouse button.</p>
<!-- @@@pressed -->
<!-- $$$released[overload1]$$$releasedint -->
<h3 class="fn" id="released"><a name="released"></a><code>[signal] </code><span class="type">void</span> QBarSet::<span class="name">released</span>(<span class="type">int</span> <i>index</i>)</h3>
<p>This signal is emitted when the user releases the mouse press on the bar specified by <i>index</i> in a bar set.</p>
<!-- @@@released -->
<!-- $$$remove[overload1]$$$removeconstintconstint -->
<h3 class="fn" id="remove"><a name="remove"></a><span class="type">void</span> QBarSet::<span class="name">remove</span>(const <span class="type">int</span> <i>index</i>, const <span class="type">int</span> <i>count</i> = 1)</h3>
<p>Removes the number of values specified by <i>count</i> from the bar set starting with the value specified by <i>index</i>.</p>
<p><b>See also </b><a href="qbarset.html#insert">insert</a>().</p>
<!-- @@@remove -->
<!-- $$$replace[overload1]$$$replaceconstintconstqreal -->
<h3 class="fn" id="replace"><a name="replace"></a><span class="type">void</span> QBarSet::<span class="name">replace</span>(const <span class="type">int</span> <i>index</i>, const <span class="type">qreal</span> <i>value</i>)</h3>
<p>Adds the value specified by <i>value</i> to the bar set at the position specified by <i>index</i>.</p>
<!-- @@@replace -->
<!-- $$$setBorderColor -->
<h3 class="fn" id="setBorderColor"><a name="setBorderColor"></a><span class="type">void</span> QBarSet::<span class="name">setBorderColor</span>(<span class="type">QColor</span> <i>color</i>)</h3>
<p>Sets the line color for the bar set to <i>color</i>.</p>
<p><b>Note:</b> Setter function for property <a href="qbarset.html#borderColor-prop">borderColor</a>. </p><p><b>See also </b><a href="qbarset.html#borderColor">borderColor</a>().</p>
<!-- @@@setBorderColor -->
<!-- $$$setBrush -->
<h3 class="fn" id="setBrush"><a name="setBrush"></a><span class="type">void</span> QBarSet::<span class="name">setBrush</span>(const <span class="type">QBrush</span> &amp;<i>brush</i>)</h3>
<p>Sets the brush used to fill the bars in the bar set to <i>brush</i>.</p>
<p><b>Note:</b> Setter function for property <a href="qbarset.html#brush-prop">brush</a>. </p><p><b>See also </b><a href="qbarset.html#brush">brush</a>().</p>
<!-- @@@setBrush -->
<!-- $$$setColor -->
<h3 class="fn" id="setColor"><a name="setColor"></a><span class="type">void</span> QBarSet::<span class="name">setColor</span>(<span class="type">QColor</span> <i>color</i>)</h3>
<p>Sets the fill color for the bar set to <i>color</i>.</p>
<p><b>Note:</b> Setter function for property <a href="qbarset.html#color-prop">color</a>. </p><p><b>See also </b><a href="qbarset.html#color">color</a>().</p>
<!-- @@@setColor -->
<!-- $$$setLabel -->
<h3 class="fn" id="setLabel"><a name="setLabel"></a><span class="type">void</span> QBarSet::<span class="name">setLabel</span>(const <span class="type">QString</span> <i>label</i>)</h3>
<p>Sets <i>label</i> as the new label for the bar set.</p>
<p><b>Note:</b> Setter function for property <a href="qbarset.html#label-prop">label</a>. </p><p><b>See also </b><a href="qbarset.html#label">label</a>().</p>
<!-- @@@setLabel -->
<!-- $$$setLabelBrush -->
<h3 class="fn" id="setLabelBrush"><a name="setLabelBrush"></a><span class="type">void</span> QBarSet::<span class="name">setLabelBrush</span>(const <span class="type">QBrush</span> &amp;<i>brush</i>)</h3>
<p>Sets the brush used to draw values on top of this bar set to <i>brush</i>.</p>
<p><b>Note:</b> Setter function for property <a href="qbarset.html#labelBrush-prop">labelBrush</a>. </p><p><b>See also </b><a href="qbarset.html#labelBrush">labelBrush</a>().</p>
<!-- @@@setLabelBrush -->
<!-- $$$setLabelColor -->
<h3 class="fn" id="setLabelColor"><a name="setLabelColor"></a><span class="type">void</span> QBarSet::<span class="name">setLabelColor</span>(<span class="type">QColor</span> <i>color</i>)</h3>
<p>Sets the text color for the bar set to <i>color</i>.</p>
<p><b>Note:</b> Setter function for property <a href="qbarset.html#labelColor-prop">labelColor</a>. </p><p><b>See also </b><a href="qbarset.html#labelColor">labelColor</a>().</p>
<!-- @@@setLabelColor -->
<!-- $$$setLabelFont -->
<h3 class="fn" id="setLabelFont"><a name="setLabelFont"></a><span class="type">void</span> QBarSet::<span class="name">setLabelFont</span>(const <span class="type">QFont</span> &amp;<i>font</i>)</h3>
<p>Sets the font used to draw values on top of this bar set to <i>font</i>.</p>
<p><b>Note:</b> Setter function for property <a href="qbarset.html#labelFont-prop">labelFont</a>. </p><p><b>See also </b><a href="qbarset.html#labelFont">labelFont</a>().</p>
<!-- @@@setLabelFont -->
<!-- $$$setPen -->
<h3 class="fn" id="setPen"><a name="setPen"></a><span class="type">void</span> QBarSet::<span class="name">setPen</span>(const <span class="type">QPen</span> &amp;<i>pen</i>)</h3>
<p>Sets the pen used to draw the lines in the bar set to <i>pen</i>.</p>
<p><b>Note:</b> Setter function for property <a href="qbarset.html#pen-prop">pen</a>. </p><p><b>See also </b><a href="qbarset.html#pen">pen</a>().</p>
<!-- @@@setPen -->
<!-- $$$sum[overload1]$$$sum -->
<h3 class="fn" id="sum"><a name="sum"></a><span class="type">qreal</span> QBarSet::<span class="name">sum</span>() const</h3>
<p>Returns the sum of all values in the bar set.</p>
<!-- @@@sum -->
<!-- $$$valueChanged[overload1]$$$valueChangedint -->
<h3 class="fn" id="valueChanged"><a name="valueChanged"></a><code>[signal] </code><span class="type">void</span> QBarSet::<span class="name">valueChanged</span>(<span class="type">int</span> <i>index</i>)</h3>
<p>This signal is emitted when the value at the position specified by <i>index</i> is modified.</p>
<p><b>See also </b><a href="qbarset.html#at">at</a>().</p>
<!-- @@@valueChanged -->
<!-- $$$valuesAdded[overload1]$$$valuesAddedintint -->
<h3 class="fn" id="valuesAdded"><a name="valuesAdded"></a><code>[signal] </code><span class="type">void</span> QBarSet::<span class="name">valuesAdded</span>(<span class="type">int</span> <i>index</i>, <span class="type">int</span> <i>count</i>)</h3>
<p>This signal is emitted when new values are added to the bar set. <i>index</i> indicates the position of the first inserted value, and <i>count</i> is the number of inserted values.</p>
<p><b>See also </b><a href="qbarset.html#append">append</a>() and <a href="qbarset.html#insert">insert</a>().</p>
<!-- @@@valuesAdded -->
<!-- $$$valuesRemoved[overload1]$$$valuesRemovedintint -->
<h3 class="fn" id="valuesRemoved"><a name="valuesRemoved"></a><code>[signal] </code><span class="type">void</span> QBarSet::<span class="name">valuesRemoved</span>(<span class="type">int</span> <i>index</i>, <span class="type">int</span> <i>count</i>)</h3>
<p>This signal is emitted when values are removed from the bar set. <i>index</i> indicates the position of the first removed value, and <i>count</i> is the number of removed values.</p>
<p><b>See also </b><a href="qbarset.html#remove">remove</a>().</p>
<!-- @@@valuesRemoved -->
<!-- $$$operator<<[overload1]$$$operator<<constqreal& -->
<h3 class="fn" id="operator-lt-lt"><a name="operator-lt-lt"></a><span class="type"><a href="qbarset.html#QBarSet">QBarSet</a></span> &amp;QBarSet::<span class="name">operator&lt;&lt;</span>(const <span class="type">qreal</span> &amp;<i>value</i>)</h3>
<p>A convenience operator for appending the real value specified by <i>value</i> to the end of the bar set.</p>
<p><b>See also </b><a href="qbarset.html#append">append</a>().</p>
<!-- @@@operator<< -->
<!-- $$$operator[][overload1]$$$operator[]constint -->
<h3 class="fn" id="operator-5b-5d"><a name="operator-5b-5d"></a><span class="type">qreal</span> QBarSet::<span class="name">operator[]</span>(const <span class="type">int</span> <i>index</i>) const</h3>
<p>Returns the value of the bar set specified by <i>index</i>. If the index is out of bounds, 0.0 is returned.</p>
<!-- @@@operator[] -->
</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>