/usr/share/qt5/doc/qtcharts/qbarset.html is in qtcharts5-doc-html 5.9.5-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 | <?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.5 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 <QBarSet></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<qreal> &<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 &<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 &<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 &<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 &<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 &</td><td class="memItemRight bottomAlign"><b><a href="qbarset.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="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 &<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 &<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 &<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 &<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><<span class="type">qreal</span>> &<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> &<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> &<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> &<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> &<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> &QBarSet::<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 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">©</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>
|