Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-updates > by-pkgid > 845e36bb3ecce380666d628d88446962 > files > 113

qtdatavis3d5-doc-5.12.6-1.mga7.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" />
<!-- qitemmodelbardataproxy.cpp -->
  <title>QItemModelBarDataProxy Class | Qt Data Visualization 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="qtdatavisualization-index.html">Qt Data Visualization</a></td><td ><a href="qtdatavisualization-module.html">C++ Classes</a></td><td >QItemModelBarDataProxy</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right"><a href="qtdatavisualization-index.html">Qt Data Visualization | 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">QItemModelBarDataProxy Class</h1>
<!-- $$$QItemModelBarDataProxy-brief -->
<p>Proxy class for presenting data in item models with <a href="q3dbars.html">Q3DBars</a>. <a href="#details">More...</a></p>
<!-- @@@QItemModelBarDataProxy -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QItemModelBarDataProxy&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign">  QtDataVisualization 1.0</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Instantiated By:</td><td class="memItemRight bottomAlign"> <a href="qml-qtdatavisualization-itemmodelbardataproxy.html">ItemModelBarDataProxy</a></td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="qbardataproxy.html">QBarDataProxy</a></td></tr></table></div><ul>
<li><a href="qitemmodelbardataproxy-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="qitemmodelbardataproxy.html#MultiMatchBehavior-enum">MultiMatchBehavior</a></b> { MMBFirst, MMBLast, MMBAverage, MMBCumulative }</td></tr>
</table></div>
<a name="properties"></a>
<h2 id="properties">Properties</h2>
<div class="table"><table class="propsummary">
<tr><td class="topAlign"><ul>
<li class="fn"><b><a href="qitemmodelbardataproxy.html#autoColumnCategories-prop">autoColumnCategories</a></b> : bool</li>
<li class="fn"><b><a href="qitemmodelbardataproxy.html#autoRowCategories-prop">autoRowCategories</a></b> : bool</li>
<li class="fn"><b><a href="qitemmodelbardataproxy.html#columnCategories-prop">columnCategories</a></b> : QStringList</li>
<li class="fn"><b><a href="qitemmodelbardataproxy.html#columnRole-prop">columnRole</a></b> : QString</li>
<li class="fn"><b><a href="qitemmodelbardataproxy.html#columnRolePattern-prop">columnRolePattern</a></b> : QRegExp</li>
<li class="fn"><b><a href="qitemmodelbardataproxy.html#columnRoleReplace-prop">columnRoleReplace</a></b> : QString</li>
<li class="fn"><b><a href="qitemmodelbardataproxy.html#itemModel-prop">itemModel</a></b> : QAbstractItemModel*</li>
<li class="fn"><b><a href="qitemmodelbardataproxy.html#multiMatchBehavior-prop">multiMatchBehavior</a></b> : MultiMatchBehavior</li>
<li class="fn"><b><a href="qitemmodelbardataproxy.html#rotationRole-prop">rotationRole</a></b> : QString</li>
<li class="fn"><b><a href="qitemmodelbardataproxy.html#rotationRolePattern-prop">rotationRolePattern</a></b> : QRegExp</li>
</ul></td><td class="topAlign"><ul>
<li class="fn"><b><a href="qitemmodelbardataproxy.html#rotationRoleReplace-prop">rotationRoleReplace</a></b> : QString</li>
<li class="fn"><b><a href="qitemmodelbardataproxy.html#rowCategories-prop">rowCategories</a></b> : QStringList</li>
<li class="fn"><b><a href="qitemmodelbardataproxy.html#rowRole-prop">rowRole</a></b> : QString</li>
<li class="fn"><b><a href="qitemmodelbardataproxy.html#rowRolePattern-prop">rowRolePattern</a></b> : QRegExp</li>
<li class="fn"><b><a href="qitemmodelbardataproxy.html#rowRoleReplace-prop">rowRoleReplace</a></b> : QString</li>
<li class="fn"><b><a href="qitemmodelbardataproxy.html#useModelCategories-prop">useModelCategories</a></b> : bool</li>
<li class="fn"><b><a href="qitemmodelbardataproxy.html#valueRole-prop">valueRole</a></b> : QString</li>
<li class="fn"><b><a href="qitemmodelbardataproxy.html#valueRolePattern-prop">valueRolePattern</a></b> : QRegExp</li>
<li class="fn"><b><a href="qitemmodelbardataproxy.html#valueRoleReplace-prop">valueRoleReplace</a></b> : QString</li>
</ul>
</td></tr>
</table></div>
<ul>
<li class="fn">4 properties inherited from <a href="qbardataproxy.html#properties">QBarDataProxy</a></li>
<li class="fn">1 property inherited from <a href="qabstractdataproxy.html#properties">QAbstractDataProxy</a></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="qitemmodelbardataproxy.html#QItemModelBarDataProxy">QItemModelBarDataProxy</a></b>(QObject *<i>parent</i> = nullptr)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#QItemModelBarDataProxy-1">QItemModelBarDataProxy</a></b>(QAbstractItemModel *<i>itemModel</i>, QObject *<i>parent</i> = nullptr)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#QItemModelBarDataProxy-2">QItemModelBarDataProxy</a></b>(QAbstractItemModel *<i>itemModel</i>, const QString &amp;<i>valueRole</i>, QObject *<i>parent</i> = nullptr)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#QItemModelBarDataProxy-3">QItemModelBarDataProxy</a></b>(QAbstractItemModel *<i>itemModel</i>, const QString &amp;<i>rowRole</i>, const QString &amp;<i>columnRole</i>, const QString &amp;<i>valueRole</i>, QObject *<i>parent</i> = nullptr)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#QItemModelBarDataProxy-4">QItemModelBarDataProxy</a></b>(QAbstractItemModel *<i>itemModel</i>, const QString &amp;<i>rowRole</i>, const QString &amp;<i>columnRole</i>, const QString &amp;<i>valueRole</i>, const QString &amp;<i>rotationRole</i>, QObject *<i>parent</i> = nullptr)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#QItemModelBarDataProxy-5">QItemModelBarDataProxy</a></b>(QAbstractItemModel *<i>itemModel</i>, const QString &amp;<i>rowRole</i>, const QString &amp;<i>columnRole</i>, const QString &amp;<i>valueRole</i>, const QStringList &amp;<i>rowCategories</i>, const QStringList &amp;<i>columnCategories</i>, QObject *<i>parent</i> = nullptr)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#QItemModelBarDataProxy-6">QItemModelBarDataProxy</a></b>(QAbstractItemModel *<i>itemModel</i>, const QString &amp;<i>rowRole</i>, const QString &amp;<i>columnRole</i>, const QString &amp;<i>valueRole</i>, const QString &amp;<i>rotationRole</i>, const QStringList &amp;<i>rowCategories</i>, const QStringList &amp;<i>columnCategories</i>, QObject *<i>parent</i> = nullptr)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#dtor.QItemModelBarDataProxy">~QItemModelBarDataProxy</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#autoColumnCategories-prop">autoColumnCategories</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#autoRowCategories-prop">autoRowCategories</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QStringList </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#columnCategories-prop">columnCategories</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#columnCategoryIndex">columnCategoryIndex</a></b>(const QString &amp;<i>category</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#columnRole-prop">columnRole</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QRegExp </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#columnRolePattern-prop">columnRolePattern</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#columnRoleReplace-prop">columnRoleReplace</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QAbstractItemModel *</td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#itemModel-prop">itemModel</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QItemModelBarDataProxy::MultiMatchBehavior </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#multiMatchBehavior-prop">multiMatchBehavior</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#remap">remap</a></b>(const QString &amp;<i>rowRole</i>, const QString &amp;<i>columnRole</i>, const QString &amp;<i>valueRole</i>, const QString &amp;<i>rotationRole</i>, const QStringList &amp;<i>rowCategories</i>, const QStringList &amp;<i>columnCategories</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#rotationRole-prop">rotationRole</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QRegExp </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#rotationRolePattern-prop">rotationRolePattern</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#rotationRoleReplace-prop">rotationRoleReplace</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QStringList </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#rowCategories-prop">rowCategories</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#rowCategoryIndex">rowCategoryIndex</a></b>(const QString &amp;<i>category</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#rowRole-prop">rowRole</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QRegExp </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#rowRolePattern-prop">rowRolePattern</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#rowRoleReplace-prop">rowRoleReplace</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#autoColumnCategories-prop">setAutoColumnCategories</a></b>(bool <i>enable</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#autoRowCategories-prop">setAutoRowCategories</a></b>(bool <i>enable</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#columnCategories-prop">setColumnCategories</a></b>(const QStringList &amp;<i>categories</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#columnRole-prop">setColumnRole</a></b>(const QString &amp;<i>role</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#columnRolePattern-prop">setColumnRolePattern</a></b>(const QRegExp &amp;<i>pattern</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#columnRoleReplace-prop">setColumnRoleReplace</a></b>(const QString &amp;<i>replace</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#setItemModel">setItemModel</a></b>(QAbstractItemModel *<i>itemModel</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#multiMatchBehavior-prop">setMultiMatchBehavior</a></b>(QItemModelBarDataProxy::MultiMatchBehavior <i>behavior</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#rotationRole-prop">setRotationRole</a></b>(const QString &amp;<i>role</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#rotationRolePattern-prop">setRotationRolePattern</a></b>(const QRegExp &amp;<i>pattern</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#rotationRoleReplace-prop">setRotationRoleReplace</a></b>(const QString &amp;<i>replace</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#rowCategories-prop">setRowCategories</a></b>(const QStringList &amp;<i>categories</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#rowRole-prop">setRowRole</a></b>(const QString &amp;<i>role</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#rowRolePattern-prop">setRowRolePattern</a></b>(const QRegExp &amp;<i>pattern</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#rowRoleReplace-prop">setRowRoleReplace</a></b>(const QString &amp;<i>replace</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#useModelCategories-prop">setUseModelCategories</a></b>(bool <i>enable</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#valueRole-prop">setValueRole</a></b>(const QString &amp;<i>role</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#valueRolePattern-prop">setValueRolePattern</a></b>(const QRegExp &amp;<i>pattern</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#valueRoleReplace-prop">setValueRoleReplace</a></b>(const QString &amp;<i>replace</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#useModelCategories-prop">useModelCategories</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#valueRole-prop">valueRole</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QRegExp </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#valueRolePattern-prop">valueRolePattern</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#valueRoleReplace-prop">valueRoleReplace</a></b>() const</td></tr>
</table></div>
<ul>
<li class="fn">28 public functions inherited from <a href="qbardataproxy.html#public-functions">QBarDataProxy</a></li>
<li class="fn">1 public function inherited from <a href="qabstractdataproxy.html#public-functions">QAbstractDataProxy</a></li>
</ul>
<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="qitemmodelbardataproxy.html#autoColumnCategories-prop">autoColumnCategoriesChanged</a></b>(bool <i>enable</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#autoRowCategories-prop">autoRowCategoriesChanged</a></b>(bool <i>enable</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#columnCategories-prop">columnCategoriesChanged</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#columnRole-prop">columnRoleChanged</a></b>(const QString &amp;<i>role</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#columnRolePattern-prop">columnRolePatternChanged</a></b>(const QRegExp &amp;<i>pattern</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#columnRoleReplace-prop">columnRoleReplaceChanged</a></b>(const QString &amp;<i>replace</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#itemModel-prop">itemModelChanged</a></b>(const QAbstractItemModel *<i>itemModel</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#multiMatchBehavior-prop">multiMatchBehaviorChanged</a></b>(QItemModelBarDataProxy::MultiMatchBehavior <i>behavior</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#rotationRole-prop">rotationRoleChanged</a></b>(const QString &amp;<i>role</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#rotationRolePattern-prop">rotationRolePatternChanged</a></b>(const QRegExp &amp;<i>pattern</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#rotationRoleReplace-prop">rotationRoleReplaceChanged</a></b>(const QString &amp;<i>replace</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#rowCategories-prop">rowCategoriesChanged</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#rowRole-prop">rowRoleChanged</a></b>(const QString &amp;<i>role</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#rowRolePattern-prop">rowRolePatternChanged</a></b>(const QRegExp &amp;<i>pattern</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#rowRoleReplace-prop">rowRoleReplaceChanged</a></b>(const QString &amp;<i>replace</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#useModelCategories-prop">useModelCategoriesChanged</a></b>(bool <i>enable</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#valueRole-prop">valueRoleChanged</a></b>(const QString &amp;<i>role</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#valueRolePattern-prop">valueRolePatternChanged</a></b>(const QRegExp &amp;<i>pattern</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelbardataproxy.html#valueRoleReplace-prop">valueRoleReplaceChanged</a></b>(const QString &amp;<i>replace</i>)</td></tr>
</table></div>
<ul>
<li class="fn">10 signals inherited from <a href="qbardataproxy.html#signals">QBarDataProxy</a></li>
</ul>
<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="qitemmodelbardataproxy.html#staticMetaObject-var">staticMetaObject</a></b></td></tr>
</table></div>
<a name="details"></a>
<!-- $$$QItemModelBarDataProxy-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>Proxy class for presenting data in item models with <a href="q3dbars.html">Q3DBars</a>.</p>
<p><a href="qitemmodelbardataproxy.html">QItemModelBarDataProxy</a> allows you to use QAbstractItemModel derived models as a data source for <a href="q3dbars.html">Q3DBars</a>. It uses the defined mappings to map data from the model to rows, columns, and values of <a href="q3dbars.html">Q3DBars</a> graph.</p>
<p>The data is resolved asynchronously whenever mappings or the model changes. <a href="qbardataproxy.html#arrayReset">QBarDataProxy::arrayReset</a>() is emitted when the data has been resolved. However, when <a href="qitemmodelbardataproxy.html#useModelCategories-prop">useModelCategories</a> property is set to true, single item changes are resolved synchronously, unless the same frame also contains a change that causes the whole model to be resolved.</p>
<p>Mappings can be used in the following ways:</p>
<ul>
<li>If <a href="qitemmodelbardataproxy.html#useModelCategories-prop">useModelCategories</a> property is set to true, this proxy will map rows and columns of QAbstractItemModel directly to rows and columns of <a href="q3dbars.html">Q3DBars</a>, and uses the value returned for Qt::DisplayRole as bar value by default. The value role to be used can be redefined if Qt::DisplayRole is not suitable.</li>
<li>For models that do not have data already neatly sorted into rows and columns, such as QAbstractListModel based models, you can define a role from the model to map for each of row, column and value.</li>
<li>If you do not want to include all data contained in the model, or the autogenerated rows and columns are not ordered as you wish, you can specify which rows and columns should be included and in which order by defining an explicit list of categories for either or both of rows and columns.</li>
</ul>
<p>For example, assume that you have a custom QAbstractItemModel for storing various monthly values related to a business. Each item in the model has the roles &quot;year&quot;, &quot;month&quot;, &quot;income&quot;, and &quot;expenses&quot;. You could do the following to display the data in a bar graph:</p>
<pre class="cpp">

  <span class="comment">// By defining row and column categories, you tell the mapping which row and column each item</span>
  <span class="comment">// belongs to. The categories must match the data stored in the model in the roles you define</span>
  <span class="comment">// for row and column mapping. In this example we expect &quot;year&quot; role to return four digit year</span>
  <span class="comment">// and &quot;month&quot; to return three letter designation for the month.</span>
  <span class="comment">//</span>
  <span class="comment">// An example of an item in model would be:</span>
  <span class="comment">// Requested role -&gt; Returned data</span>
  <span class="comment">// &quot;year&quot; -&gt; &quot;2006&quot; // Matches the first row category, so this item is added to the first row.</span>
  <span class="comment">// &quot;month&quot; -&gt; &quot;jan&quot; // Matches the first column category, so this item is added as first item in the row.</span>
  <span class="comment">// &quot;income&quot; -&gt; &quot;12.1&quot;</span>
  <span class="comment">// &quot;expenses&quot; -&gt; &quot;9.2&quot;</span>
  <span class="type">QStringList</span> years;
  <span class="type">QStringList</span> months;
  years <span class="operator">&lt;</span><span class="operator">&lt;</span> <span class="string">&quot;2006&quot;</span> <span class="operator">&lt;</span><span class="operator">&lt;</span> <span class="string">&quot;2007&quot;</span> <span class="operator">&lt;</span><span class="operator">&lt;</span> <span class="string">&quot;2008&quot;</span> <span class="operator">&lt;</span><span class="operator">&lt;</span> <span class="string">&quot;2009&quot;</span> <span class="operator">&lt;</span><span class="operator">&lt;</span> <span class="string">&quot;2010&quot;</span> <span class="operator">&lt;</span><span class="operator">&lt;</span> <span class="string">&quot;2011&quot;</span> <span class="operator">&lt;</span><span class="operator">&lt;</span> <span class="string">&quot;2012&quot;</span>;
  months <span class="operator">&lt;</span><span class="operator">&lt;</span> <span class="string">&quot;jan&quot;</span> <span class="operator">&lt;</span><span class="operator">&lt;</span> <span class="string">&quot;feb&quot;</span> <span class="operator">&lt;</span><span class="operator">&lt;</span> <span class="string">&quot;mar&quot;</span> <span class="operator">&lt;</span><span class="operator">&lt;</span> <span class="string">&quot;apr&quot;</span> <span class="operator">&lt;</span><span class="operator">&lt;</span> <span class="string">&quot;may&quot;</span> <span class="operator">&lt;</span><span class="operator">&lt;</span> <span class="string">&quot;jun&quot;</span> <span class="operator">&lt;</span><span class="operator">&lt;</span> <span class="string">&quot;jul&quot;</span> <span class="operator">&lt;</span><span class="operator">&lt;</span> <span class="string">&quot;aug&quot;</span> <span class="operator">&lt;</span><span class="operator">&lt;</span> <span class="string">&quot;sep&quot;</span> <span class="operator">&lt;</span><span class="operator">&lt;</span> <span class="string">&quot;oct&quot;</span> <span class="operator">&lt;</span><span class="operator">&lt;</span> <span class="string">&quot;nov&quot;</span> <span class="operator">&lt;</span><span class="operator">&lt;</span> <span class="string">&quot;dec&quot;</span>;

  <span class="type"><a href="qitemmodelbardataproxy.html#QItemModelBarDataProxy">QItemModelBarDataProxy</a></span> <span class="operator">*</span>proxy <span class="operator">=</span> <span class="keyword">new</span> <span class="type"><a href="qitemmodelbardataproxy.html#QItemModelBarDataProxy">QItemModelBarDataProxy</a></span>(customModel<span class="operator">,</span>
                                                             <span class="type">QStringLiteral</span>(<span class="string">&quot;year&quot;</span>)<span class="operator">,</span> <span class="comment">// Row role</span>
                                                             <span class="type">QStringLiteral</span>(<span class="string">&quot;month&quot;</span>)<span class="operator">,</span> <span class="comment">// Column role</span>
                                                             <span class="type">QStringLiteral</span>(<span class="string">&quot;income&quot;</span>)<span class="operator">,</span> <span class="comment">// Value role</span>
                                                             years<span class="operator">,</span> <span class="comment">// Row categories</span>
                                                             months); <span class="comment">// Column categories</span>

  <span class="comment">//...</span>

  <span class="comment">// To display different data later, you can simply change the mapping.</span>
  proxy<span class="operator">-</span><span class="operator">&gt;</span>setValueRole(<span class="type">QStringLiteral</span>(<span class="string">&quot;expenses&quot;</span>));

</pre>
<p>If the fields of the model do not contain the data in the exact format you need, you can specify a search pattern regular expression and a replace rule for each role to get the value in a format you need. For more information how the replace using regular expressions works, see QString::replace(const QRegExp &amp;rx, const QString &amp;after) function documentation. Note that using regular expressions has an impact on the performance, so it's more efficient to utilize item models where doing search and replace is not necessary to get the desired values.</p>
<p>For example about using the search patterns in conjunction with the roles, see <a href="qtdatavisualization-qmlbars-example.html">Qt Quick 2 Bars Example</a>.</p>
</div>
<p><b>See also </b><a href="qtdatavisualization-data-handling.html">Qt Data Visualization Data Handling</a>.</p>
<!-- @@@QItemModelBarDataProxy -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$MultiMatchBehavior$$$MMBFirst$$$MMBLast$$$MMBAverage$$$MMBCumulative -->
<h3 class="fn" id="MultiMatchBehavior-enum"><a name="MultiMatchBehavior-enum"></a>enum QItemModelBarDataProxy::<span class="name">MultiMatchBehavior</span></h3>
<p>Behavior types for <a href="qitemmodelbardataproxy.html#multiMatchBehavior-prop">QItemModelBarDataProxy::multiMatchBehavior</a> property.</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>QItemModelBarDataProxy::MMBFirst</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">The value is taken from the first item in the item model that matches each row/column combination.</td></tr>
<tr><td class="topAlign"><code>QItemModelBarDataProxy::MMBLast</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">The value is taken from the last item in the item model that matches each row/column combination.</td></tr>
<tr><td class="topAlign"><code>QItemModelBarDataProxy::MMBAverage</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">The values from all items matching each row/column combination are averaged together and the average is used as the bar value.</td></tr>
<tr><td class="topAlign"><code>QItemModelBarDataProxy::MMBCumulative</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">The values from all items matching each row/column combination are added together and the total is used as the bar value.</td></tr>
</table></div>
<!-- @@@MultiMatchBehavior -->
</div>
<div class="prop">
<h2>Property Documentation</h2>
<!-- $$$autoColumnCategories-prop$$$autoColumnCategories$$$setAutoColumnCategoriesbool$$$autoColumnCategoriesChangedbool -->
<h3 class="fn" id="autoColumnCategories-prop"><a name="autoColumnCategories-prop"></a><span class="name">autoColumnCategories</span> : <span class="type">bool</span></h3>
<p>This property holds whether column categories are generated automatically.</p>
<p>When set to <code>true</code>, the mapping ignores any explicitly set column categories and overwrites them with automatically generated ones whenever the data from model is resolved. Defaults to <code>true</code>.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><span class="name"><b>autoColumnCategories</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setAutoColumnCategories</b></span>(bool <i>enable</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>autoColumnCategoriesChanged</b></span>(bool <i>enable</i>)</td></tr>
</table></div>
<!-- @@@autoColumnCategories -->
<!-- $$$autoRowCategories-prop$$$autoRowCategories$$$setAutoRowCategoriesbool$$$autoRowCategoriesChangedbool -->
<h3 class="fn" id="autoRowCategories-prop"><a name="autoRowCategories-prop"></a><span class="name">autoRowCategories</span> : <span class="type">bool</span></h3>
<p>This property holds whether row categories are generated automatically.</p>
<p>When set to <code>true</code>, the mapping ignores any explicitly set row categories and overwrites them with automatically generated ones whenever the data from model is resolved. Defaults to <code>true</code>.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><span class="name"><b>autoRowCategories</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setAutoRowCategories</b></span>(bool <i>enable</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>autoRowCategoriesChanged</b></span>(bool <i>enable</i>)</td></tr>
</table></div>
<!-- @@@autoRowCategories -->
<!-- $$$columnCategories-prop$$$columnCategories$$$setColumnCategoriesconstQStringList&$$$columnCategoriesChanged -->
<h3 class="fn" id="columnCategories-prop"><a name="columnCategories-prop"></a><span class="name">columnCategories</span> : <span class="type">QStringList</span></h3>
<p>This property holds the column categories for the mapping.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QStringList </td><td class="memItemRight bottomAlign"><span class="name"><b>columnCategories</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setColumnCategories</b></span>(const QStringList &amp;<i>categories</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>columnCategoriesChanged</b></span>()</td></tr>
</table></div>
<!-- @@@columnCategories -->
<!-- $$$columnRole-prop$$$columnRole$$$setColumnRoleconstQString&$$$columnRoleChangedconstQString& -->
<h3 class="fn" id="columnRole-prop"><a name="columnRole-prop"></a><span class="name">columnRole</span> : <span class="type">QString</span></h3>
<p>This property holds the column role for the mapping.</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>columnRole</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setColumnRole</b></span>(const QString &amp;<i>role</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>columnRoleChanged</b></span>(const QString &amp;<i>role</i>)</td></tr>
</table></div>
<!-- @@@columnRole -->
<!-- $$$columnRolePattern-prop$$$columnRolePattern$$$setColumnRolePatternconstQRegExp&$$$columnRolePatternChangedconstQRegExp& -->
<h3 class="fn" id="columnRolePattern-prop"><a name="columnRolePattern-prop"></a><span class="name">columnRolePattern</span> : <span class="type">QRegExp</span></h3>
<p>This property holds whether a search and replace is done on the value mapped by column role before it is used as a column category.</p>
<p>This property specifies the regular expression to find the portion of the mapped value to replace and <a href="qitemmodelbardataproxy.html#columnRoleReplace-prop">columnRoleReplace</a> property contains the replacement string. This is useful for example in parsing row and column categories from a single timestamp field in the item model.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QRegExp </td><td class="memItemRight bottomAlign"><span class="name"><b>columnRolePattern</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setColumnRolePattern</b></span>(const QRegExp &amp;<i>pattern</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>columnRolePatternChanged</b></span>(const QRegExp &amp;<i>pattern</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qitemmodelbardataproxy.html#columnRole-prop">columnRole</a> and <a href="qitemmodelbardataproxy.html#columnRoleReplace-prop">columnRoleReplace</a>.</p>
<!-- @@@columnRolePattern -->
<!-- $$$columnRoleReplace-prop$$$columnRoleReplace$$$setColumnRoleReplaceconstQString&$$$columnRoleReplaceChangedconstQString& -->
<h3 class="fn" id="columnRoleReplace-prop"><a name="columnRoleReplace-prop"></a><span class="name">columnRoleReplace</span> : <span class="type">QString</span></h3>
<p>This property holds the replace content to be used in conjunction with <a href="qitemmodelbardataproxy.html#columnRolePattern-prop">columnRolePattern</a>.</p>
<p>Defaults to empty string. For more information on how the search and replace using regular expressions works, see QString::replace(const QRegExp &amp;rx, const QString &amp;after) function documentation.</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>columnRoleReplace</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setColumnRoleReplace</b></span>(const QString &amp;<i>replace</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>columnRoleReplaceChanged</b></span>(const QString &amp;<i>replace</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qitemmodelbardataproxy.html#columnRole-prop">columnRole</a> and <a href="qitemmodelbardataproxy.html#columnRolePattern-prop">columnRolePattern</a>.</p>
<!-- @@@columnRoleReplace -->
<!-- $$$itemModel-prop$$$itemModel$$$setItemModelQAbstractItemModel*$$$itemModelChangedconstQAbstractItemModel* -->
<h3 class="fn" id="itemModel-prop"><a name="itemModel-prop"></a><span class="name">itemModel</span> : <span class="type">QAbstractItemModel</span>*</h3>
<p>This property holds the item model.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QAbstractItemModel *</td><td class="memItemRight bottomAlign"><span class="name"><b>itemModel</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qitemmodelbardataproxy.html#setItemModel">setItemModel</a></b></span>(QAbstractItemModel *<i>itemModel</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>itemModelChanged</b></span>(const QAbstractItemModel *<i>itemModel</i>)</td></tr>
</table></div>
<!-- @@@itemModel -->
<!-- $$$multiMatchBehavior-prop$$$multiMatchBehavior$$$setMultiMatchBehaviorQItemModelBarDataProxy::MultiMatchBehavior$$$multiMatchBehaviorChangedQItemModelBarDataProxy::MultiMatchBehavior -->
<h3 class="fn" id="multiMatchBehavior-prop"><a name="multiMatchBehavior-prop"></a><span class="name">multiMatchBehavior</span> : <span class="type"><a href="qitemmodelbardataproxy.html#MultiMatchBehavior-enum">MultiMatchBehavior</a></span></h3>
<p>How multiple matches for each row/column combination are handled.</p>
<p>Defaults to <a href="qitemmodelbardataproxy.html#MultiMatchBehavior-enum">QItemModelBarDataProxy::MMBLast</a>. The chosen behavior affects both bar value and rotation.</p>
<p>For example, you might have an item model with timestamped data taken at irregular intervals and you want to visualize total value of data items on each day with a bar graph. This can be done by specifying row and column categories so that each bar represents a day, and setting multiMatchBehavior to <a href="qitemmodelbardataproxy.html#MultiMatchBehavior-enum">QItemModelBarDataProxy::MMBCumulative</a>.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QItemModelBarDataProxy::MultiMatchBehavior </td><td class="memItemRight bottomAlign"><span class="name"><b>multiMatchBehavior</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setMultiMatchBehavior</b></span>(QItemModelBarDataProxy::MultiMatchBehavior <i>behavior</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>multiMatchBehaviorChanged</b></span>(QItemModelBarDataProxy::MultiMatchBehavior <i>behavior</i>)</td></tr>
</table></div>
<!-- @@@multiMatchBehavior -->
<!-- $$$rotationRole-prop$$$rotationRole$$$setRotationRoleconstQString&$$$rotationRoleChangedconstQString& -->
<h3 class="fn" id="rotationRole-prop"><a name="rotationRole-prop"></a><span class="name">rotationRole</span> : <span class="type">QString</span></h3>
<p>This property holds the rotation role for the mapping.</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>rotationRole</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setRotationRole</b></span>(const QString &amp;<i>role</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>rotationRoleChanged</b></span>(const QString &amp;<i>role</i>)</td></tr>
</table></div>
<!-- @@@rotationRole -->
<!-- $$$rotationRolePattern-prop$$$rotationRolePattern$$$setRotationRolePatternconstQRegExp&$$$rotationRolePatternChangedconstQRegExp& -->
<h3 class="fn" id="rotationRolePattern-prop"><a name="rotationRolePattern-prop"></a><span class="name">rotationRolePattern</span> : <span class="type">QRegExp</span></h3>
<p>This property holds whether a search and replace is done on the value mapped by rotation role before it is used as a bar rotation angle.</p>
<p>This property specifies the regular expression to find the portion of the mapped value to replace and <a href="qitemmodelbardataproxy.html#rotationRoleReplace-prop">rotationRoleReplace</a> property contains the replacement string.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QRegExp </td><td class="memItemRight bottomAlign"><span class="name"><b>rotationRolePattern</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setRotationRolePattern</b></span>(const QRegExp &amp;<i>pattern</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>rotationRolePatternChanged</b></span>(const QRegExp &amp;<i>pattern</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qitemmodelbardataproxy.html#rotationRole-prop">rotationRole</a> and <a href="qitemmodelbardataproxy.html#rotationRoleReplace-prop">rotationRoleReplace</a>.</p>
<!-- @@@rotationRolePattern -->
<!-- $$$rotationRoleReplace-prop$$$rotationRoleReplace$$$setRotationRoleReplaceconstQString&$$$rotationRoleReplaceChangedconstQString& -->
<h3 class="fn" id="rotationRoleReplace-prop"><a name="rotationRoleReplace-prop"></a><span class="name">rotationRoleReplace</span> : <span class="type">QString</span></h3>
<p>This property holds the replace content to be used in conjunction with <a href="qitemmodelbardataproxy.html#rotationRolePattern-prop">rotationRolePattern</a>.</p>
<p>Defaults to empty string. For more information on how the search and replace using regular expressions works, see QString::replace(const QRegExp &amp;rx, const QString &amp;after) function documentation.</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>rotationRoleReplace</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setRotationRoleReplace</b></span>(const QString &amp;<i>replace</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>rotationRoleReplaceChanged</b></span>(const QString &amp;<i>replace</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qitemmodelbardataproxy.html#rotationRole-prop">rotationRole</a> and <a href="qitemmodelbardataproxy.html#rotationRolePattern-prop">rotationRolePattern</a>.</p>
<!-- @@@rotationRoleReplace -->
<!-- $$$rowCategories-prop$$$rowCategories$$$setRowCategoriesconstQStringList&$$$rowCategoriesChanged -->
<h3 class="fn" id="rowCategories-prop"><a name="rowCategories-prop"></a><span class="name">rowCategories</span> : <span class="type">QStringList</span></h3>
<p>This property holds the row categories for the mapping.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QStringList </td><td class="memItemRight bottomAlign"><span class="name"><b>rowCategories</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setRowCategories</b></span>(const QStringList &amp;<i>categories</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>rowCategoriesChanged</b></span>()</td></tr>
</table></div>
<!-- @@@rowCategories -->
<!-- $$$rowRole-prop$$$rowRole$$$setRowRoleconstQString&$$$rowRoleChangedconstQString& -->
<h3 class="fn" id="rowRole-prop"><a name="rowRole-prop"></a><span class="name">rowRole</span> : <span class="type">QString</span></h3>
<p>This property holds the row role for the mapping.</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>rowRole</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setRowRole</b></span>(const QString &amp;<i>role</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>rowRoleChanged</b></span>(const QString &amp;<i>role</i>)</td></tr>
</table></div>
<!-- @@@rowRole -->
<!-- $$$rowRolePattern-prop$$$rowRolePattern$$$setRowRolePatternconstQRegExp&$$$rowRolePatternChangedconstQRegExp& -->
<h3 class="fn" id="rowRolePattern-prop"><a name="rowRolePattern-prop"></a><span class="name">rowRolePattern</span> : <span class="type">QRegExp</span></h3>
<p>This property holds whether a search and replace is performed on the value mapped by row role before it is used as a row category.</p>
<p>This property specifies the regular expression to find the portion of the mapped value to replace and <a href="qitemmodelbardataproxy.html#rowRoleReplace-prop">rowRoleReplace</a> property contains the replacement string. This is useful for example in parsing row and column categories from a single timestamp field in the item model.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QRegExp </td><td class="memItemRight bottomAlign"><span class="name"><b>rowRolePattern</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setRowRolePattern</b></span>(const QRegExp &amp;<i>pattern</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>rowRolePatternChanged</b></span>(const QRegExp &amp;<i>pattern</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qitemmodelbardataproxy.html#rowRole-prop">rowRole</a> and <a href="qitemmodelbardataproxy.html#rowRoleReplace-prop">rowRoleReplace</a>.</p>
<!-- @@@rowRolePattern -->
<!-- $$$rowRoleReplace-prop$$$rowRoleReplace$$$setRowRoleReplaceconstQString&$$$rowRoleReplaceChangedconstQString& -->
<h3 class="fn" id="rowRoleReplace-prop"><a name="rowRoleReplace-prop"></a><span class="name">rowRoleReplace</span> : <span class="type">QString</span></h3>
<p>This property holds the replace content to be used in conjunction with <a href="qitemmodelbardataproxy.html#rowRolePattern-prop">rowRolePattern</a>.</p>
<p>Defaults to empty string. For more information on how the search and replace using regular expressions works, see QString::replace(const QRegExp &amp;rx, const QString &amp;after) function documentation.</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>rowRoleReplace</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setRowRoleReplace</b></span>(const QString &amp;<i>replace</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>rowRoleReplaceChanged</b></span>(const QString &amp;<i>replace</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qitemmodelbardataproxy.html#rowRole-prop">rowRole</a> and <a href="qitemmodelbardataproxy.html#rowRolePattern-prop">rowRolePattern</a>.</p>
<!-- @@@rowRoleReplace -->
<!-- $$$useModelCategories-prop$$$useModelCategories$$$setUseModelCategoriesbool$$$useModelCategoriesChangedbool -->
<h3 class="fn" id="useModelCategories-prop"><a name="useModelCategories-prop"></a><span class="name">useModelCategories</span> : <span class="type">bool</span></h3>
<p>This property holds whether row and column roles and categories are used for mapping.</p>
<p>When set to <code>true</code>, the mapping ignores row and column roles and categories, and uses the rows and columns from the model instead. Defaults to <code>false</code>.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><span class="name"><b>useModelCategories</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setUseModelCategories</b></span>(bool <i>enable</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>useModelCategoriesChanged</b></span>(bool <i>enable</i>)</td></tr>
</table></div>
<!-- @@@useModelCategories -->
<!-- $$$valueRole-prop$$$valueRole$$$setValueRoleconstQString&$$$valueRoleChangedconstQString& -->
<h3 class="fn" id="valueRole-prop"><a name="valueRole-prop"></a><span class="name">valueRole</span> : <span class="type">QString</span></h3>
<p>This property holds the value role for the mapping.</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>valueRole</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setValueRole</b></span>(const QString &amp;<i>role</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>valueRoleChanged</b></span>(const QString &amp;<i>role</i>)</td></tr>
</table></div>
<!-- @@@valueRole -->
<!-- $$$valueRolePattern-prop$$$valueRolePattern$$$setValueRolePatternconstQRegExp&$$$valueRolePatternChangedconstQRegExp& -->
<h3 class="fn" id="valueRolePattern-prop"><a name="valueRolePattern-prop"></a><span class="name">valueRolePattern</span> : <span class="type">QRegExp</span></h3>
<p>This property holds whether a search and replace is done on the value mapped by value role before it is used as a bar value.</p>
<p>This property specifies the regular expression to find the portion of the mapped value to replace and <a href="qitemmodelbardataproxy.html#valueRoleReplace-prop">valueRoleReplace</a> property contains the replacement string.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QRegExp </td><td class="memItemRight bottomAlign"><span class="name"><b>valueRolePattern</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setValueRolePattern</b></span>(const QRegExp &amp;<i>pattern</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>valueRolePatternChanged</b></span>(const QRegExp &amp;<i>pattern</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qitemmodelbardataproxy.html#valueRole-prop">valueRole</a> and <a href="qitemmodelbardataproxy.html#valueRoleReplace-prop">valueRoleReplace</a>.</p>
<!-- @@@valueRolePattern -->
<!-- $$$valueRoleReplace-prop$$$valueRoleReplace$$$setValueRoleReplaceconstQString&$$$valueRoleReplaceChangedconstQString& -->
<h3 class="fn" id="valueRoleReplace-prop"><a name="valueRoleReplace-prop"></a><span class="name">valueRoleReplace</span> : <span class="type">QString</span></h3>
<p>This property holds the replace content to be used in conjunction with <a href="qitemmodelbardataproxy.html#valueRolePattern-prop">valueRolePattern</a>.</p>
<p>Defaults to empty string. For more information on how the search and replace using regular expressions works, see QString::replace(const QRegExp &amp;rx, const QString &amp;after) function documentation.</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>valueRoleReplace</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setValueRoleReplace</b></span>(const QString &amp;<i>replace</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>valueRoleReplaceChanged</b></span>(const QString &amp;<i>replace</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qitemmodelbardataproxy.html#valueRole-prop">valueRole</a> and <a href="qitemmodelbardataproxy.html#valueRolePattern-prop">valueRolePattern</a>.</p>
<!-- @@@valueRoleReplace -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QItemModelBarDataProxy[overload1]$$$QItemModelBarDataProxyQObject* -->
<h3 class="fn" id="QItemModelBarDataProxy"><a name="QItemModelBarDataProxy"></a>QItemModelBarDataProxy::<span class="name">QItemModelBarDataProxy</span>(<span class="type">QObject</span> *<i>parent</i> = nullptr)</h3>
<p>Constructs <a href="qitemmodelbardataproxy.html">QItemModelBarDataProxy</a> with optional <i>parent</i>.</p>
<!-- @@@QItemModelBarDataProxy -->
<!-- $$$QItemModelBarDataProxy$$$QItemModelBarDataProxyQAbstractItemModel*QObject* -->
<h3 class="fn" id="QItemModelBarDataProxy-1"><a name="QItemModelBarDataProxy-1"></a>QItemModelBarDataProxy::<span class="name">QItemModelBarDataProxy</span>(<span class="type">QAbstractItemModel</span> *<i>itemModel</i>, <span class="type">QObject</span> *<i>parent</i> = nullptr)</h3>
<p>Constructs <a href="qitemmodelbardataproxy.html">QItemModelBarDataProxy</a> with <i>itemModel</i> and optional <i>parent</i>. Proxy doesn't take ownership of the <i>itemModel</i>, as typically item models are owned by other controls.</p>
<!-- @@@QItemModelBarDataProxy -->
<!-- $$$QItemModelBarDataProxy$$$QItemModelBarDataProxyQAbstractItemModel*constQString&QObject* -->
<h3 class="fn" id="QItemModelBarDataProxy-2"><a name="QItemModelBarDataProxy-2"></a>QItemModelBarDataProxy::<span class="name">QItemModelBarDataProxy</span>(<span class="type">QAbstractItemModel</span> *<i>itemModel</i>, const <span class="type">QString</span> &amp;<i>valueRole</i>, <span class="type">QObject</span> *<i>parent</i> = nullptr)</h3>
<p>Constructs <a href="qitemmodelbardataproxy.html">QItemModelBarDataProxy</a> with <i>itemModel</i> and optional <i>parent</i>. Proxy doesn't take ownership of the <i>itemModel</i>, as typically item models are owned by other controls. The value role is set to <i>valueRole</i>. This constructor is meant to be used with models that have data properly sorted in rows and columns already, so it also sets <a href="qitemmodelbardataproxy.html#useModelCategories-prop">useModelCategories</a> property to true.</p>
<!-- @@@QItemModelBarDataProxy -->
<!-- $$$QItemModelBarDataProxy$$$QItemModelBarDataProxyQAbstractItemModel*constQString&constQString&constQString&QObject* -->
<h3 class="fn" id="QItemModelBarDataProxy-3"><a name="QItemModelBarDataProxy-3"></a>QItemModelBarDataProxy::<span class="name">QItemModelBarDataProxy</span>(<span class="type">QAbstractItemModel</span> *<i>itemModel</i>, const <span class="type">QString</span> &amp;<i>rowRole</i>, const <span class="type">QString</span> &amp;<i>columnRole</i>, const <span class="type">QString</span> &amp;<i>valueRole</i>, <span class="type">QObject</span> *<i>parent</i> = nullptr)</h3>
<p>Constructs <a href="qitemmodelbardataproxy.html">QItemModelBarDataProxy</a> with <i>itemModel</i> and optional <i>parent</i>. Proxy doesn't take ownership of the <i>itemModel</i>, as typically item models are owned by other controls. The role mappings are set with <i>rowRole</i>, <i>columnRole</i>, and <i>valueRole</i>.</p>
<!-- @@@QItemModelBarDataProxy -->
<!-- $$$QItemModelBarDataProxy$$$QItemModelBarDataProxyQAbstractItemModel*constQString&constQString&constQString&constQString&QObject* -->
<h3 class="fn" id="QItemModelBarDataProxy-4"><a name="QItemModelBarDataProxy-4"></a>QItemModelBarDataProxy::<span class="name">QItemModelBarDataProxy</span>(<span class="type">QAbstractItemModel</span> *<i>itemModel</i>, const <span class="type">QString</span> &amp;<i>rowRole</i>, const <span class="type">QString</span> &amp;<i>columnRole</i>, const <span class="type">QString</span> &amp;<i>valueRole</i>, const <span class="type">QString</span> &amp;<i>rotationRole</i>, <span class="type">QObject</span> *<i>parent</i> = nullptr)</h3>
<p>Constructs <a href="qitemmodelbardataproxy.html">QItemModelBarDataProxy</a> with <i>itemModel</i> and optional <i>parent</i>. Proxy doesn't take ownership of the <i>itemModel</i>, as typically item models are owned by other controls. The role mappings are set with <i>rowRole</i>, <i>columnRole</i>, <i>valueRole</i>, and <i>rotationRole</i>.</p>
<!-- @@@QItemModelBarDataProxy -->
<!-- $$$QItemModelBarDataProxy$$$QItemModelBarDataProxyQAbstractItemModel*constQString&constQString&constQString&constQStringList&constQStringList&QObject* -->
<h3 class="fn" id="QItemModelBarDataProxy-5"><a name="QItemModelBarDataProxy-5"></a>QItemModelBarDataProxy::<span class="name">QItemModelBarDataProxy</span>(<span class="type">QAbstractItemModel</span> *<i>itemModel</i>, const <span class="type">QString</span> &amp;<i>rowRole</i>, const <span class="type">QString</span> &amp;<i>columnRole</i>, const <span class="type">QString</span> &amp;<i>valueRole</i>, const <span class="type">QStringList</span> &amp;<i>rowCategories</i>, const <span class="type">QStringList</span> &amp;<i>columnCategories</i>, <span class="type">QObject</span> *<i>parent</i> = nullptr)</h3>
<p>Constructs <a href="qitemmodelbardataproxy.html">QItemModelBarDataProxy</a> with <i>itemModel</i> and optional <i>parent</i>. Proxy doesn't take ownership of the <i>itemModel</i>, as typically item models are owned by other controls. The role mappings are set with <i>rowRole</i>, <i>columnRole</i>, and <i>valueRole</i>. Row and column categories are set with <i>rowCategories</i> and <i>columnCategories</i>. This constructor also sets <a href="qitemmodelbardataproxy.html#autoRowCategories-prop">autoRowCategories</a> and <a href="qitemmodelbardataproxy.html#autoColumnCategories-prop">autoColumnCategories</a> to false.</p>
<!-- @@@QItemModelBarDataProxy -->
<!-- $$$QItemModelBarDataProxy$$$QItemModelBarDataProxyQAbstractItemModel*constQString&constQString&constQString&constQString&constQStringList&constQStringList&QObject* -->
<h3 class="fn" id="QItemModelBarDataProxy-6"><a name="QItemModelBarDataProxy-6"></a>QItemModelBarDataProxy::<span class="name">QItemModelBarDataProxy</span>(<span class="type">QAbstractItemModel</span> *<i>itemModel</i>, const <span class="type">QString</span> &amp;<i>rowRole</i>, const <span class="type">QString</span> &amp;<i>columnRole</i>, const <span class="type">QString</span> &amp;<i>valueRole</i>, const <span class="type">QString</span> &amp;<i>rotationRole</i>, const <span class="type">QStringList</span> &amp;<i>rowCategories</i>, const <span class="type">QStringList</span> &amp;<i>columnCategories</i>, <span class="type">QObject</span> *<i>parent</i> = nullptr)</h3>
<p>Constructs <a href="qitemmodelbardataproxy.html">QItemModelBarDataProxy</a> with <i>itemModel</i> and optional <i>parent</i>. Proxy doesn't take ownership of the <i>itemModel</i>, as typically item models are owned by other controls. The role mappings are set with <i>rowRole</i>, <i>columnRole</i>, <i>valueRole</i>, and <i>rotationRole</i>. Row and column categories are set with <i>rowCategories</i> and <i>columnCategories</i>. This constructor also sets <a href="qitemmodelbardataproxy.html#autoRowCategories-prop">autoRowCategories</a> and <a href="qitemmodelbardataproxy.html#autoColumnCategories-prop">autoColumnCategories</a> to false.</p>
<!-- @@@QItemModelBarDataProxy -->
<!-- $$$~QItemModelBarDataProxy[overload1]$$$~QItemModelBarDataProxy -->
<h3 class="fn" id="dtor.QItemModelBarDataProxy"><a name="dtor.QItemModelBarDataProxy"></a><code>[virtual] </code>QItemModelBarDataProxy::<span class="name">~QItemModelBarDataProxy</span>()</h3>
<p>Destroys <a href="qitemmodelbardataproxy.html">QItemModelBarDataProxy</a>.</p>
<!-- @@@~QItemModelBarDataProxy -->
<!-- $$$columnCategoryIndex[overload1]$$$columnCategoryIndexconstQString& -->
<h3 class="fn" id="columnCategoryIndex"><a name="columnCategoryIndex"></a><span class="type">int</span> QItemModelBarDataProxy::<span class="name">columnCategoryIndex</span>(const <span class="type">QString</span> &amp;<i>category</i>)</h3>
<p>Returns the index of the specified <i>category</i> in column categories list. If the category is not found, -1 is returned.</p>
<p><b>Note: </b>If the automatic column categories generation is in use, this method will not return a valid index before the data in the model is resolved for the first time.</p><p><b>Note: </b>This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.</p>
<!-- @@@columnCategoryIndex -->
<!-- $$$remap[overload1]$$$remapconstQString&constQString&constQString&constQString&constQStringList&constQStringList& -->
<h3 class="fn" id="remap"><a name="remap"></a><span class="type">void</span> QItemModelBarDataProxy::<span class="name">remap</span>(const <span class="type">QString</span> &amp;<i>rowRole</i>, const <span class="type">QString</span> &amp;<i>columnRole</i>, const <span class="type">QString</span> &amp;<i>valueRole</i>, const <span class="type">QString</span> &amp;<i>rotationRole</i>, const <span class="type">QStringList</span> &amp;<i>rowCategories</i>, const <span class="type">QStringList</span> &amp;<i>columnCategories</i>)</h3>
<p>Changes <i>rowRole</i>, <i>columnRole</i>, <i>valueRole</i>, <i>rotationRole</i>, <i>rowCategories</i> and <i>columnCategories</i> to the mapping.</p>
<!-- @@@remap -->
<!-- $$$rowCategoryIndex[overload1]$$$rowCategoryIndexconstQString& -->
<h3 class="fn" id="rowCategoryIndex"><a name="rowCategoryIndex"></a><span class="type">int</span> QItemModelBarDataProxy::<span class="name">rowCategoryIndex</span>(const <span class="type">QString</span> &amp;<i>category</i>)</h3>
<p>Returns the index of the specified <i>category</i> in row categories list. If the row categories list is empty, -1 is returned.</p>
<p><b>Note: </b>If the automatic row categories generation is in use, this method will not return a valid index before the data in the model is resolved for the first time.</p><p><b>Note: </b>This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.</p>
<!-- @@@rowCategoryIndex -->
<!-- $$$setItemModel -->
<h3 class="fn" id="setItemModel"><a name="setItemModel"></a><span class="type">void</span> QItemModelBarDataProxy::<span class="name">setItemModel</span>(<span class="type">QAbstractItemModel</span> *<i>itemModel</i>)</h3>
<p>Sets the item model to <i>itemModel</i>. Does not take ownership of the model, but does connect to it to listen for changes.</p>
<p><b>Note:</b> Setter function for property <a href="qitemmodelbardataproxy.html#itemModel-prop">itemModel</a>. </p><p><b>See also </b><a href="qitemmodelbardataproxy.html#itemModel-prop">itemModel</a>().</p>
<!-- @@@setItemModel -->
</div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</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>