<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- qboxset.cpp --> <title>QBoxSet Class | Qt Charts 5.12.6</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.12</td><td ><a href="qtcharts-index.html">Qt Charts</a></td><td ><a href="qtcharts-module.html">C++ Classes</a></td><td >QBoxSet</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right"><a href="qtcharts-index.html">Qt Charts | Commercial or GPLv3</a></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="#static-public-members">Static Public Members</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">QBoxSet Class</h1> <!-- $$$QBoxSet-brief --> <p>The <a href="qboxset.html">QBoxSet</a> class represents one item in a box-and-whiskers chart. <a href="#details">More...</a></p> <!-- @@@QBoxSet --> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include <QBoxSet></span> </td></tr><tr><td class="memItemLeft rightAlign topAlign"> Instantiated By:</td><td class="memItemRight bottomAlign"> <a href="qml-qtcharts-boxset.html">BoxSet</a></td></tr></table></div><ul> <li><a href="qboxset-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="qboxset.html#ValuePositions-enum">ValuePositions</a></b> { LowerExtreme, LowerQuartile, Median, UpperQuartile, UpperExtreme }</td></tr> </table></div> <a name="properties"></a> <h2 id="properties">Properties</h2> <ul> <li class="fn"><b><a href="qboxset.html#brush-prop">brush</a></b> : QBrush</li> <li class="fn"><b><a href="qboxset.html#pen-prop">pen</a></b> : QPen</li> </ul> <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="qboxset.html#QBoxSet">QBoxSet</a></b>(const QString <i>label</i> = QString(), QObject *<i>parent</i> = nullptr)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qboxset.html#QBoxSet-1">QBoxSet</a></b>(const qreal <i>le</i>, const qreal <i>lq</i>, const qreal <i>m</i>, const qreal <i>uq</i>, const qreal <i>ue</i>, const QString <i>label</i> = QString(), QObject *<i>parent</i> = nullptr)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> virtual </td><td class="memItemRight bottomAlign"><b><a href="qboxset.html#dtor.QBoxSet">~QBoxSet</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qboxset.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="qboxset.html#append-1">append</a></b>(const QList<qreal> &<i>values</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qboxset.html#at">at</a></b>(const int <i>index</i>) const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QBrush </td><td class="memItemRight bottomAlign"><b><a href="qboxset.html#brush">brush</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qboxset.html#clear">clear</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qboxset.html#count">count</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qboxset.html#label">label</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QPen </td><td class="memItemRight bottomAlign"><b><a href="qboxset.html#pen">pen</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qboxset.html#setBrush">setBrush</a></b>(const QBrush &<i>brush</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qboxset.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="qboxset.html#setPen">setPen</a></b>(const QPen &<i>pen</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qboxset.html#setValue">setValue</a></b>(const int <i>index</i>, const qreal <i>value</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QBoxSet &</td><td class="memItemRight bottomAlign"><b><a href="qboxset.html#operator-lt-lt">operator<<</a></b>(const qreal &<i>value</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qboxset.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="qboxset.html#brushChanged">brushChanged</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qboxset.html#cleared">cleared</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qboxset.html#clicked">clicked</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qboxset.html#doubleClicked">doubleClicked</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qboxset.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="qboxset.html#penChanged">penChanged</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qboxset.html#pressed">pressed</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qboxset.html#released">released</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qboxset.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="qboxset.html#valuesChanged">valuesChanged</a></b>()</td></tr> </table></div> <a name="static-public-members"></a> <h2 id="static-public-members">Static Public Members</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> const QMetaObject </td><td class="memItemRight bottomAlign"><b><a href="qboxset.html#staticMetaObject-var">staticMetaObject</a></b></td></tr> </table></div> <a name="details"></a> <!-- $$$QBoxSet-description --> <div class="descr"> <h2 id="details">Detailed Description</h2> <p>The <a href="qboxset.html">QBoxSet</a> class represents one item in a box-and-whiskers chart.</p> <p>A box-and-whiskers item is a graphical representation of a range and three median values that is constructed from five different values. There are two ways to specify the values. The first one is by using a constructor or stream operator (<<). The values have to be specified in the following order: lower extreme, lower quartile, median, upper quartile, and upper extreme.</p> <p>The second way is to create an empty <a href="qboxset.html">QBoxSet</a> instance and specify the values using the <a href="qboxset.html#setValue">setValue</a>() method.</p> <p>See the <a href="qtcharts-boxplotchart-example.html">box-and-whiskers chart example</a> to learn how to create a box-and-whiskers chart.</p> </div> <p><b>See also </b><a href="qboxplotseries.html">QBoxPlotSeries</a>.</p> <!-- @@@QBoxSet --> <div class="types"> <h2>Member Type Documentation</h2> <!-- $$$ValuePositions$$$LowerExtreme$$$LowerQuartile$$$Median$$$UpperQuartile$$$UpperExtreme --> <h3 class="fn" id="ValuePositions-enum"><a name="ValuePositions-enum"></a>enum QBoxSet::<span class="name">ValuePositions</span></h3> <p>This enum type defines the values of a box-and-whiskers item:</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>QBoxSet::LowerExtreme</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">The smallest value of the box-and-whiskers item.</td></tr> <tr><td class="topAlign"><code>QBoxSet::LowerQuartile</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">The median value of the lower half of the box-and-whiskers item.</td></tr> <tr><td class="topAlign"><code>QBoxSet::Median</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">The median value of the box-and-whiskers item.</td></tr> <tr><td class="topAlign"><code>QBoxSet::UpperQuartile</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">The median value of the upper half of the box-and-whiskers item.</td></tr> <tr><td class="topAlign"><code>QBoxSet::UpperExtreme</code></td><td class="topAlign tblval"><code>4</code></td><td class="topAlign">The largest value of the box-and-whiskers item.</td></tr> </table></div> <!-- @@@ValuePositions --> </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 fill the box of the box-and-whiskers item.</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="qboxset.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="qboxset.html#setBrush">setBrush</a></b></span>(const QBrush &<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="qboxset.html#brushChanged">brushChanged</a></b></span>()</td></tr> </table></div> <!-- @@@brush --> <!-- $$$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 the box-and-whiskers item.</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="qboxset.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="qboxset.html#setPen">setPen</a></b></span>(const QPen &<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="qboxset.html#penChanged">penChanged</a></b></span>()</td></tr> </table></div> <!-- @@@pen --> </div> <div class="func"> <h2>Member Function Documentation</h2> <!-- $$$QBoxSet[overload1]$$$QBoxSetconstQStringQObject* --> <h3 class="fn" id="QBoxSet"><a name="QBoxSet"></a>QBoxSet::<span class="name">QBoxSet</span>(const <span class="type">QString</span> <i>label</i> = QString(), <span class="type">QObject</span> *<i>parent</i> = nullptr)</h3> <p>Constructs a box-and-whiskers item with the optional label <i>label</i> and parent <i>parent</i>.</p> <!-- @@@QBoxSet --> <!-- $$$QBoxSet$$$QBoxSetconstqrealconstqrealconstqrealconstqrealconstqrealconstQStringQObject* --> <h3 class="fn" id="QBoxSet-1"><a name="QBoxSet-1"></a>QBoxSet::<span class="name">QBoxSet</span>(const <span class="type">qreal</span> <i>le</i>, const <span class="type">qreal</span> <i>lq</i>, const <span class="type">qreal</span> <i>m</i>, const <span class="type">qreal</span> <i>uq</i>, const <span class="type">qreal</span> <i>ue</i>, const <span class="type">QString</span> <i>label</i> = QString(), <span class="type">QObject</span> *<i>parent</i> = nullptr)</h3> <p>Constructs a box-and-whiskers item with the following ordered values: <i>le</i> specifies the lower extreme, <i>lq</i> the lower quartile, <i>m</i> the median, <i>uq</i> the upper quartile, and <i>ue</i> the upper quartile. Optionally, the <i>label</i> and <i>parent</i> can be specified.</p> <!-- @@@QBoxSet --> <!-- $$$~QBoxSet[overload1]$$$~QBoxSet --> <h3 class="fn" id="dtor.QBoxSet"><a name="dtor.QBoxSet"></a><code>[virtual] </code>QBoxSet::<span class="name">~QBoxSet</span>()</h3> <p>Destroys the a box-and-whiskers item.</p> <!-- @@@~QBoxSet --> <!-- $$$append[overload1]$$$appendconstqreal --> <h3 class="fn" id="append"><a name="append"></a><span class="type">void</span> QBoxSet::<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 box-and-whiskers item.</p> <!-- @@@append --> <!-- $$$append$$$appendconstQList<qreal>& --> <h3 class="fn" id="append-1"><a name="append-1"></a><span class="type">void</span> QBoxSet::<span class="name">append</span>(const <span class="type">QList</span><<span class="type">qreal</span>> &<i>values</i>)</h3> <p>Appends a list of real values specified by <i>values</i> to the end of the box-and-whiskers item.</p> <p><b>See also </b><a href="qboxset.html#append">append</a>().</p> <!-- @@@append --> <!-- $$$at[overload1]$$$atconstint --> <h3 class="fn" id="at"><a name="at"></a><span class="type">qreal</span> QBoxSet::<span class="name">at</span>(const <span class="type">int</span> <i>index</i>) const</h3> <p>Returns the value of the box-and-whiskers item specified by <i>index</i>. The index can be specified by using <a href="qboxset.html#ValuePositions-enum">ValuePositions</a> enumeration values. If the index is out of bounds, 0.0 is returned.</p> <!-- @@@at --> <!-- $$$brush --> <h3 class="fn" id="brush"><a name="brush"></a><span class="type">QBrush</span> QBoxSet::<span class="name">brush</span>() const</h3> <p>Returns the brush used to fill the box-and-whiskers item.</p> <p><b>Note:</b> Getter function for property <a href="qboxset.html#brush-prop">brush</a>. </p><p><b>See also </b><a href="qboxset.html#setBrush">setBrush</a>().</p> <!-- @@@brush --> <!-- $$$brushChanged --> <h3 class="fn" id="brushChanged"><a name="brushChanged"></a><code>[signal] </code><span class="type">void</span> QBoxSet::<span class="name">brushChanged</span>()</h3> <p>This signal is emitted when the brush of the box-and-whiskers item changes.</p> <p><b>Note:</b> Notifier signal for property <a href="qboxset.html#brush-prop">brush</a>. </p><p><b>See also </b><a href="qboxset.html#brush-prop">brush</a>.</p> <!-- @@@brushChanged --> <!-- $$$clear[overload1]$$$clear --> <h3 class="fn" id="clear"><a name="clear"></a><span class="type">void</span> QBoxSet::<span class="name">clear</span>()</h3> <p>Sets all the values of the box-and-whiskers item to 0.</p> <!-- @@@clear --> <!-- $$$cleared[overload1]$$$cleared --> <h3 class="fn" id="cleared"><a name="cleared"></a><code>[signal] </code><span class="type">void</span> QBoxSet::<span class="name">cleared</span>()</h3> <p>This signal is emitted when all the values of the box-and-whiskers item are set to 0.</p> <!-- @@@cleared --> <!-- $$$clicked[overload1]$$$clicked --> <h3 class="fn" id="clicked"><a name="clicked"></a><code>[signal] </code><span class="type">void</span> QBoxSet::<span class="name">clicked</span>()</h3> <p>This signal is emitted when the user clicks a box-and-whiskers item in the chart.</p> <!-- @@@clicked --> <!-- $$$count[overload1]$$$count --> <h3 class="fn" id="count"><a name="count"></a><span class="type">int</span> QBoxSet::<span class="name">count</span>() const</h3> <p>Returns the number of values appended to the box-and-whiskers item.</p> <!-- @@@count --> <!-- $$$doubleClicked[overload1]$$$doubleClicked --> <h3 class="fn" id="doubleClicked"><a name="doubleClicked"></a><code>[signal] </code><span class="type">void</span> QBoxSet::<span class="name">doubleClicked</span>()</h3> <p>This signal is emitted when the user double-clicks a box-and-whiskers item.</p> <!-- @@@doubleClicked --> <!-- $$$hovered[overload1]$$$hoveredbool --> <h3 class="fn" id="hovered"><a name="hovered"></a><code>[signal] </code><span class="type">void</span> QBoxSet::<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 a box-and-whiskers item in a chart. When the mouse moves over the item, <i>status</i> turns <code>true</code>, and when the mouse moves away again, it turns <code>false</code>.</p> <!-- @@@hovered --> <!-- $$$label[overload1]$$$label --> <h3 class="fn" id="label"><a name="label"></a><span class="type">QString</span> QBoxSet::<span class="name">label</span>() const</h3> <p>Returns the label of the category of the box-and-whiskers item.</p> <p><b>See also </b><a href="qboxset.html#setLabel">setLabel</a>().</p> <!-- @@@label --> <!-- $$$pen --> <h3 class="fn" id="pen"><a name="pen"></a><span class="type">QPen</span> QBoxSet::<span class="name">pen</span>() const</h3> <p>Returns the pen used to draw the box-and-whiskers item.</p> <p><b>Note:</b> Getter function for property <a href="qboxset.html#pen-prop">pen</a>. </p><p><b>See also </b><a href="qboxset.html#setPen">setPen</a>().</p> <!-- @@@pen --> <!-- $$$penChanged --> <h3 class="fn" id="penChanged"><a name="penChanged"></a><code>[signal] </code><span class="type">void</span> QBoxSet::<span class="name">penChanged</span>()</h3> <p>This signal is emitted when the pen of the box-and-whiskers item changes.</p> <p><b>Note:</b> Notifier signal for property <a href="qboxset.html#pen-prop">pen</a>. </p><p><b>See also </b><a href="qboxset.html#pen-prop">pen</a>.</p> <!-- @@@penChanged --> <!-- $$$pressed[overload1]$$$pressed --> <h3 class="fn" id="pressed"><a name="pressed"></a><code>[signal] </code><span class="type">void</span> QBoxSet::<span class="name">pressed</span>()</h3> <p>This signal is emitted when the user clicks a box-and-whiskers item in the chart and holds down the mouse button.</p> <!-- @@@pressed --> <!-- $$$released[overload1]$$$released --> <h3 class="fn" id="released"><a name="released"></a><code>[signal] </code><span class="type">void</span> QBoxSet::<span class="name">released</span>()</h3> <p>This signal is emitted when the user releases the mouse press on a box-and-whiskers item.</p> <!-- @@@released --> <!-- $$$setBrush --> <h3 class="fn" id="setBrush"><a name="setBrush"></a><span class="type">void</span> QBoxSet::<span class="name">setBrush</span>(const <span class="type">QBrush</span> &<i>brush</i>)</h3> <p>Sets the brush used to fill the box-and-whiskers item to <i>brush</i>.</p> <p><b>Note:</b> Setter function for property <a href="qboxset.html#brush-prop">brush</a>. </p><p><b>See also </b><a href="qboxset.html#brush">brush</a>().</p> <!-- @@@setBrush --> <!-- $$$setLabel[overload1]$$$setLabelconstQString --> <h3 class="fn" id="setLabel"><a name="setLabel"></a><span class="type">void</span> QBoxSet::<span class="name">setLabel</span>(const <span class="type">QString</span> <i>label</i>)</h3> <p>Sets the label specified by <i>label</i> for the category of the box-and-whiskers item.</p> <p><b>See also </b><a href="qboxset.html#label">label</a>().</p> <!-- @@@setLabel --> <!-- $$$setPen --> <h3 class="fn" id="setPen"><a name="setPen"></a><span class="type">void</span> QBoxSet::<span class="name">setPen</span>(const <span class="type">QPen</span> &<i>pen</i>)</h3> <p>Sets the pen used to draw the box-and-whiskers item to <i>pen</i>.</p> <p><b>Note:</b> Setter function for property <a href="qboxset.html#pen-prop">pen</a>. </p><p><b>See also </b><a href="qboxset.html#pen">pen</a>().</p> <!-- @@@setPen --> <!-- $$$setValue[overload1]$$$setValueconstintconstqreal --> <h3 class="fn" id="setValue"><a name="setValue"></a><span class="type">void</span> QBoxSet::<span class="name">setValue</span>(const <span class="type">int</span> <i>index</i>, const <span class="type">qreal</span> <i>value</i>)</h3> <p>Sets the value specified by <i>value</i> in the position specified by <i>index</i>. The index can be specified by using the <a href="qboxset.html#ValuePositions-enum">ValuePositions</a> enumeration values.</p> <!-- @@@setValue --> <!-- $$$valueChanged[overload1]$$$valueChangedint --> <h3 class="fn" id="valueChanged"><a name="valueChanged"></a><code>[signal] </code><span class="type">void</span> QBoxSet::<span class="name">valueChanged</span>(<span class="type">int</span> <i>index</i>)</h3> <p>This signal is emitted when the value of the box-and-whiskers item specified by <i>index</i> is modified.</p> <p><b>See also </b><a href="qboxset.html#at">at</a>().</p> <!-- @@@valueChanged --> <!-- $$$valuesChanged[overload1]$$$valuesChanged --> <h3 class="fn" id="valuesChanged"><a name="valuesChanged"></a><code>[signal] </code><span class="type">void</span> QBoxSet::<span class="name">valuesChanged</span>()</h3> <p>This signal is emitted when multiple values of the box-and-whiskers item change.</p> <p><b>See also </b><a href="qboxset.html#append">append</a>().</p> <!-- @@@valuesChanged --> <!-- $$$operator<<[overload1]$$$operator<<constqreal& --> <h3 class="fn" id="operator-lt-lt"><a name="operator-lt-lt"></a><span class="type"><a href="qboxset.html#QBoxSet">QBoxSet</a></span> &QBoxSet::<span class="name">operator<<</span>(const <span class="type">qreal</span> &<i>value</i>)</h3> <p>A convenience operator for appending the real value specified by <i>value</i> to the end of the box-and-whiskers item.</p> <p><b>See also </b><a href="qboxset.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> QBoxSet::<span class="name">operator[]</span>(const <span class="type">int</span> <i>index</i>) const</h3> <p>Returns the value of the box-and-whiskers item specified by <i>index</i>. The index can be specified by using <a href="qboxset.html#ValuePositions-enum">ValuePositions</a> enumeration values. 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">©</acronym> 2019 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>