Sophie

Sophie

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

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" />
<!-- qitemmodelscatterdataproxy.cpp -->
  <title>QItemModelScatterDataProxy 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 >QItemModelScatterDataProxy</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="#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">QItemModelScatterDataProxy Class</h1>
<!-- $$$QItemModelScatterDataProxy-brief -->
<p>Proxy class for presenting data in item models with <a href="q3dscatter.html">Q3DScatter</a>. <a href="#details">More...</a></p>
<!-- @@@QItemModelScatterDataProxy -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QItemModelScatterDataProxy&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-itemmodelscatterdataproxy.html">ItemModelScatterDataProxy</a></td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="qscatterdataproxy.html">QScatterDataProxy</a></td></tr></table></div><ul>
<li><a href="qitemmodelscatterdataproxy-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="qitemmodelscatterdataproxy.html#itemModel-prop">itemModel</a></b> : QAbstractItemModel*</li>
<li class="fn"><b><a href="qitemmodelscatterdataproxy.html#rotationRole-prop">rotationRole</a></b> : QString</li>
<li class="fn"><b><a href="qitemmodelscatterdataproxy.html#rotationRolePattern-prop">rotationRolePattern</a></b> : QRegExp</li>
<li class="fn"><b><a href="qitemmodelscatterdataproxy.html#rotationRoleReplace-prop">rotationRoleReplace</a></b> : QString</li>
<li class="fn"><b><a href="qitemmodelscatterdataproxy.html#xPosRole-prop">xPosRole</a></b> : QString</li>
<li class="fn"><b><a href="qitemmodelscatterdataproxy.html#xPosRolePattern-prop">xPosRolePattern</a></b> : QRegExp</li>
<li class="fn"><b><a href="qitemmodelscatterdataproxy.html#xPosRoleReplace-prop">xPosRoleReplace</a></b> : QString</li>
</ul></td><td class="topAlign"><ul>
<li class="fn"><b><a href="qitemmodelscatterdataproxy.html#yPosRole-prop">yPosRole</a></b> : QString</li>
<li class="fn"><b><a href="qitemmodelscatterdataproxy.html#yPosRolePattern-prop">yPosRolePattern</a></b> : QRegExp</li>
<li class="fn"><b><a href="qitemmodelscatterdataproxy.html#yPosRoleReplace-prop">yPosRoleReplace</a></b> : QString</li>
<li class="fn"><b><a href="qitemmodelscatterdataproxy.html#zPosRole-prop">zPosRole</a></b> : QString</li>
<li class="fn"><b><a href="qitemmodelscatterdataproxy.html#zPosRolePattern-prop">zPosRolePattern</a></b> : QRegExp</li>
<li class="fn"><b><a href="qitemmodelscatterdataproxy.html#zPosRoleReplace-prop">zPosRoleReplace</a></b> : QString</li>
</ul>
</td></tr>
</table></div>
<ul>
<li class="fn">2 properties inherited from <a href="qscatterdataproxy.html#properties">QScatterDataProxy</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="qitemmodelscatterdataproxy.html#QItemModelScatterDataProxy">QItemModelScatterDataProxy</a></b>(QObject *<i>parent</i> = nullptr)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelscatterdataproxy.html#QItemModelScatterDataProxy-1">QItemModelScatterDataProxy</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="qitemmodelscatterdataproxy.html#QItemModelScatterDataProxy-2">QItemModelScatterDataProxy</a></b>(QAbstractItemModel *<i>itemModel</i>, const QString &amp;<i>xPosRole</i>, const QString &amp;<i>yPosRole</i>, const QString &amp;<i>zPosRole</i>, QObject *<i>parent</i> = nullptr)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelscatterdataproxy.html#QItemModelScatterDataProxy-3">QItemModelScatterDataProxy</a></b>(QAbstractItemModel *<i>itemModel</i>, const QString &amp;<i>xPosRole</i>, const QString &amp;<i>yPosRole</i>, const QString &amp;<i>zPosRole</i>, const QString &amp;<i>rotationRole</i>, QObject *<i>parent</i> = nullptr)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelscatterdataproxy.html#dtor.QItemModelScatterDataProxy">~QItemModelScatterDataProxy</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QAbstractItemModel *</td><td class="memItemRight bottomAlign"><b><a href="qitemmodelscatterdataproxy.html#itemModel-prop">itemModel</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelscatterdataproxy.html#remap">remap</a></b>(const QString &amp;<i>xPosRole</i>, const QString &amp;<i>yPosRole</i>, const QString &amp;<i>zPosRole</i>, const QString &amp;<i>rotationRole</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelscatterdataproxy.html#rotationRole-prop">rotationRole</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QRegExp </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelscatterdataproxy.html#rotationRolePattern-prop">rotationRolePattern</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelscatterdataproxy.html#rotationRoleReplace-prop">rotationRoleReplace</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelscatterdataproxy.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="qitemmodelscatterdataproxy.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="qitemmodelscatterdataproxy.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="qitemmodelscatterdataproxy.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="qitemmodelscatterdataproxy.html#xPosRole-prop">setXPosRole</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="qitemmodelscatterdataproxy.html#xPosRolePattern-prop">setXPosRolePattern</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="qitemmodelscatterdataproxy.html#xPosRoleReplace-prop">setXPosRoleReplace</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="qitemmodelscatterdataproxy.html#yPosRole-prop">setYPosRole</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="qitemmodelscatterdataproxy.html#yPosRolePattern-prop">setYPosRolePattern</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="qitemmodelscatterdataproxy.html#yPosRoleReplace-prop">setYPosRoleReplace</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="qitemmodelscatterdataproxy.html#zPosRole-prop">setZPosRole</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="qitemmodelscatterdataproxy.html#zPosRolePattern-prop">setZPosRolePattern</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="qitemmodelscatterdataproxy.html#zPosRoleReplace-prop">setZPosRoleReplace</a></b>(const QString &amp;<i>replace</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelscatterdataproxy.html#xPosRole-prop">xPosRole</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QRegExp </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelscatterdataproxy.html#xPosRolePattern-prop">xPosRolePattern</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelscatterdataproxy.html#xPosRoleReplace-prop">xPosRoleReplace</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelscatterdataproxy.html#yPosRole-prop">yPosRole</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QRegExp </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelscatterdataproxy.html#yPosRolePattern-prop">yPosRolePattern</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelscatterdataproxy.html#yPosRoleReplace-prop">yPosRoleReplace</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelscatterdataproxy.html#zPosRole-prop">zPosRole</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QRegExp </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelscatterdataproxy.html#zPosRolePattern-prop">zPosRolePattern</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qitemmodelscatterdataproxy.html#zPosRoleReplace-prop">zPosRoleReplace</a></b>() const</td></tr>
</table></div>
<ul>
<li class="fn">12 public functions inherited from <a href="qscatterdataproxy.html#public-functions">QScatterDataProxy</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="qitemmodelscatterdataproxy.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="qitemmodelscatterdataproxy.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="qitemmodelscatterdataproxy.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="qitemmodelscatterdataproxy.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="qitemmodelscatterdataproxy.html#xPosRole-prop">xPosRoleChanged</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="qitemmodelscatterdataproxy.html#xPosRolePattern-prop">xPosRolePatternChanged</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="qitemmodelscatterdataproxy.html#xPosRoleReplace-prop">xPosRoleReplaceChanged</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="qitemmodelscatterdataproxy.html#yPosRole-prop">yPosRoleChanged</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="qitemmodelscatterdataproxy.html#yPosRolePattern-prop">yPosRolePatternChanged</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="qitemmodelscatterdataproxy.html#yPosRoleReplace-prop">yPosRoleReplaceChanged</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="qitemmodelscatterdataproxy.html#zPosRole-prop">zPosRoleChanged</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="qitemmodelscatterdataproxy.html#zPosRolePattern-prop">zPosRolePatternChanged</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="qitemmodelscatterdataproxy.html#zPosRoleReplace-prop">zPosRoleReplaceChanged</a></b>(const QString &amp;<i>replace</i>)</td></tr>
</table></div>
<ul>
<li class="fn">7 signals inherited from <a href="qscatterdataproxy.html#signals">QScatterDataProxy</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="qitemmodelscatterdataproxy.html#staticMetaObject-var">staticMetaObject</a></b></td></tr>
</table></div>
<a name="details"></a>
<!-- $$$QItemModelScatterDataProxy-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>Proxy class for presenting data in item models with <a href="q3dscatter.html">Q3DScatter</a>.</p>
<p><a href="qitemmodelscatterdataproxy.html">QItemModelScatterDataProxy</a> allows you to use QAbstractItemModel derived models as a data source for <a href="q3dscatter.html">Q3DScatter</a>. It maps roles of QAbstractItemModel to the XYZ-values of <a href="q3dscatter.html">Q3DScatter</a> points.</p>
<p>The data is resolved asynchronously whenever the mapping or the model changes. <a href="qscatterdataproxy.html#arrayReset">QScatterDataProxy::arrayReset</a>() is emitted when the data has been resolved. However, inserts, removes, and single data item changes after the model initialization are resolved synchronously, unless the same frame also contains a change that causes the whole model to be resolved.</p>
<p>Mapping ignores rows and columns of the QAbstractItemModel and treats all items equally. It requires the model to provide roles for the data items that can be mapped to X, Y, and Z-values for the scatter points.</p>
<p>For example, assume that you have a custom QAbstractItemModel for storing various measurements done on material samples, providing data for roles such as &quot;density&quot;, &quot;hardness&quot;, and &quot;conductivity&quot;. You could visualize these properties on a scatter graph using this proxy:</p>
<pre class="cpp">

  <span class="comment">// Map &quot;density&quot; value to X-axis, &quot;hardness&quot; to Y-axis and &quot;conductivity&quot; to Z-axis.</span>
  <span class="type"><a href="qitemmodelscatterdataproxy.html#QItemModelScatterDataProxy">QItemModelScatterDataProxy</a></span> <span class="operator">*</span>proxy <span class="operator">=</span> <span class="keyword">new</span> <span class="type"><a href="qitemmodelscatterdataproxy.html#QItemModelScatterDataProxy">QItemModelScatterDataProxy</a></span>(customModel<span class="operator">,</span>
                                                                     <span class="type">QStringLiteral</span>(<span class="string">&quot;density&quot;</span>)<span class="operator">,</span>
                                                                     <span class="type">QStringLiteral</span>(<span class="string">&quot;hardness&quot;</span>)<span class="operator">,</span>
                                                                     <span class="type">QStringLiteral</span>(<span class="string">&quot;conductivity&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="qml-qtdatavisualization-itemmodelbardataproxy.html">ItemModelBarDataProxy</a> usage in <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>
<!-- @@@QItemModelScatterDataProxy -->
<div class="prop">
<h2>Property Documentation</h2>
<!-- $$$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 to use as a data source for a 3D scatter series.</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="qitemmodelscatterdataproxy.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 -->
<!-- $$$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 item model role to map into item rotation.</p>
<p>The model may supply the value for rotation as either variant that is directly convertible to QQuaternion, or as one of the string representations: <code>&quot;scalar,x,y,z&quot;</code> or <code>&quot;@angle,x,y,z&quot;</code>. The first will construct the quaternion directly with given values, and the second one will construct the quaternion using QQuaternion::fromAxisAndAngle() method.</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 the rotation role before it is used as item rotation.</p>
<p>This property specifies the regular expression to find the portion of the mapped value to replace and <a href="qitemmodelscatterdataproxy.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="qitemmodelscatterdataproxy.html#rotationRole-prop">rotationRole</a> and <a href="qitemmodelscatterdataproxy.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 the rotation role pattern.</p>
<p>Defaults to an 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="qitemmodelscatterdataproxy.html#rotationRole-prop">rotationRole</a> and <a href="qitemmodelscatterdataproxy.html#rotationRolePattern-prop">rotationRolePattern</a>.</p>
<!-- @@@rotationRoleReplace -->
<!-- $$$xPosRole-prop$$$xPosRole$$$setXPosRoleconstQString&$$$xPosRoleChangedconstQString& -->
<h3 class="fn" id="xPosRole-prop"><a name="xPosRole-prop"></a><span class="name">xPosRole</span> : <span class="type">QString</span></h3>
<p>This property holds the item model role to map into the X position.</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>xPosRole</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setXPosRole</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>xPosRoleChanged</b></span>(const QString &amp;<i>role</i>)</td></tr>
</table></div>
<!-- @@@xPosRole -->
<!-- $$$xPosRolePattern-prop$$$xPosRolePattern$$$setXPosRolePatternconstQRegExp&$$$xPosRolePatternChangedconstQRegExp& -->
<h3 class="fn" id="xPosRolePattern-prop"><a name="xPosRolePattern-prop"></a><span class="name">xPosRolePattern</span> : <span class="type">QRegExp</span></h3>
<p>This property holds whether search and replace is done on the value mapped by the x position role before it is used as an item position value.</p>
<p>This property specifies the regular expression to find the portion of the mapped value to replace and <a href="qitemmodelscatterdataproxy.html#xPosRoleReplace-prop">xPosRoleReplace</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>xPosRolePattern</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setXPosRolePattern</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>xPosRolePatternChanged</b></span>(const QRegExp &amp;<i>pattern</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qitemmodelscatterdataproxy.html#xPosRole-prop">xPosRole</a> and <a href="qitemmodelscatterdataproxy.html#xPosRoleReplace-prop">xPosRoleReplace</a>.</p>
<!-- @@@xPosRolePattern -->
<!-- $$$xPosRoleReplace-prop$$$xPosRoleReplace$$$setXPosRoleReplaceconstQString&$$$xPosRoleReplaceChangedconstQString& -->
<h3 class="fn" id="xPosRoleReplace-prop"><a name="xPosRoleReplace-prop"></a><span class="name">xPosRoleReplace</span> : <span class="type">QString</span></h3>
<p>This property holds the replace content to be used in conjunction with the x position role pattern.</p>
<p>Defaults to an 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>xPosRoleReplace</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setXPosRoleReplace</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>xPosRoleReplaceChanged</b></span>(const QString &amp;<i>replace</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qitemmodelscatterdataproxy.html#xPosRole-prop">xPosRole</a> and <a href="qitemmodelscatterdataproxy.html#xPosRolePattern-prop">xPosRolePattern</a>.</p>
<!-- @@@xPosRoleReplace -->
<!-- $$$yPosRole-prop$$$yPosRole$$$setYPosRoleconstQString&$$$yPosRoleChangedconstQString& -->
<h3 class="fn" id="yPosRole-prop"><a name="yPosRole-prop"></a><span class="name">yPosRole</span> : <span class="type">QString</span></h3>
<p>This property holds the item model role to map into the Y position.</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>yPosRole</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setYPosRole</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>yPosRoleChanged</b></span>(const QString &amp;<i>role</i>)</td></tr>
</table></div>
<!-- @@@yPosRole -->
<!-- $$$yPosRolePattern-prop$$$yPosRolePattern$$$setYPosRolePatternconstQRegExp&$$$yPosRolePatternChangedconstQRegExp& -->
<h3 class="fn" id="yPosRolePattern-prop"><a name="yPosRolePattern-prop"></a><span class="name">yPosRolePattern</span> : <span class="type">QRegExp</span></h3>
<p>This property holds whether a search and replace is done on the value mapped by the y position role before it is used as an item position value.</p>
<p>This property specifies the regular expression to find the portion of the mapped value to replace and <a href="qitemmodelscatterdataproxy.html#yPosRoleReplace-prop">yPosRoleReplace</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>yPosRolePattern</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setYPosRolePattern</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>yPosRolePatternChanged</b></span>(const QRegExp &amp;<i>pattern</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qitemmodelscatterdataproxy.html#yPosRole-prop">yPosRole</a> and <a href="qitemmodelscatterdataproxy.html#yPosRoleReplace-prop">yPosRoleReplace</a>.</p>
<!-- @@@yPosRolePattern -->
<!-- $$$yPosRoleReplace-prop$$$yPosRoleReplace$$$setYPosRoleReplaceconstQString&$$$yPosRoleReplaceChangedconstQString& -->
<h3 class="fn" id="yPosRoleReplace-prop"><a name="yPosRoleReplace-prop"></a><span class="name">yPosRoleReplace</span> : <span class="type">QString</span></h3>
<p>This property holds the replace content to be used in conjunction with the y position role pattern.</p>
<p>Defaults to an 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>yPosRoleReplace</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setYPosRoleReplace</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>yPosRoleReplaceChanged</b></span>(const QString &amp;<i>replace</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qitemmodelscatterdataproxy.html#yPosRole-prop">yPosRole</a> and <a href="qitemmodelscatterdataproxy.html#yPosRolePattern-prop">yPosRolePattern</a>.</p>
<!-- @@@yPosRoleReplace -->
<!-- $$$zPosRole-prop$$$zPosRole$$$setZPosRoleconstQString&$$$zPosRoleChangedconstQString& -->
<h3 class="fn" id="zPosRole-prop"><a name="zPosRole-prop"></a><span class="name">zPosRole</span> : <span class="type">QString</span></h3>
<p>This property holds the item model role to map into the Z position.</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>zPosRole</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setZPosRole</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>zPosRoleChanged</b></span>(const QString &amp;<i>role</i>)</td></tr>
</table></div>
<!-- @@@zPosRole -->
<!-- $$$zPosRolePattern-prop$$$zPosRolePattern$$$setZPosRolePatternconstQRegExp&$$$zPosRolePatternChangedconstQRegExp& -->
<h3 class="fn" id="zPosRolePattern-prop"><a name="zPosRolePattern-prop"></a><span class="name">zPosRolePattern</span> : <span class="type">QRegExp</span></h3>
<p>This property holds whether a search and replace is done on the value mapped by the z position role before it is used as an item position value.</p>
<p>This property specifies the regular expression to find the portion of the mapped value to replace and <a href="qitemmodelscatterdataproxy.html#zPosRoleReplace-prop">zPosRoleReplace</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>zPosRolePattern</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setZPosRolePattern</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>zPosRolePatternChanged</b></span>(const QRegExp &amp;<i>pattern</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qitemmodelscatterdataproxy.html#zPosRole-prop">zPosRole</a> and <a href="qitemmodelscatterdataproxy.html#zPosRoleReplace-prop">zPosRoleReplace</a>.</p>
<!-- @@@zPosRolePattern -->
<!-- $$$zPosRoleReplace-prop$$$zPosRoleReplace$$$setZPosRoleReplaceconstQString&$$$zPosRoleReplaceChangedconstQString& -->
<h3 class="fn" id="zPosRoleReplace-prop"><a name="zPosRoleReplace-prop"></a><span class="name">zPosRoleReplace</span> : <span class="type">QString</span></h3>
<p>This property holds the replace content to be used in conjunction with the z position role pattern.</p>
<p>Defaults to an 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>zPosRoleReplace</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setZPosRoleReplace</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>zPosRoleReplaceChanged</b></span>(const QString &amp;<i>replace</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qitemmodelscatterdataproxy.html#zPosRole-prop">zPosRole</a> and <a href="qitemmodelscatterdataproxy.html#zPosRolePattern-prop">zPosRolePattern</a>.</p>
<!-- @@@zPosRoleReplace -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QItemModelScatterDataProxy[overload1]$$$QItemModelScatterDataProxyQObject* -->
<h3 class="fn" id="QItemModelScatterDataProxy"><a name="QItemModelScatterDataProxy"></a>QItemModelScatterDataProxy::<span class="name">QItemModelScatterDataProxy</span>(<span class="type">QObject</span> *<i>parent</i> = nullptr)</h3>
<p>Constructs <a href="qitemmodelscatterdataproxy.html">QItemModelScatterDataProxy</a> with optional <i>parent</i>.</p>
<!-- @@@QItemModelScatterDataProxy -->
<!-- $$$QItemModelScatterDataProxy$$$QItemModelScatterDataProxyQAbstractItemModel*QObject* -->
<h3 class="fn" id="QItemModelScatterDataProxy-1"><a name="QItemModelScatterDataProxy-1"></a>QItemModelScatterDataProxy::<span class="name">QItemModelScatterDataProxy</span>(<span class="type">QAbstractItemModel</span> *<i>itemModel</i>, <span class="type">QObject</span> *<i>parent</i> = nullptr)</h3>
<p>Constructs <a href="qitemmodelscatterdataproxy.html">QItemModelScatterDataProxy</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>
<!-- @@@QItemModelScatterDataProxy -->
<!-- $$$QItemModelScatterDataProxy$$$QItemModelScatterDataProxyQAbstractItemModel*constQString&constQString&constQString&QObject* -->
<h3 class="fn" id="QItemModelScatterDataProxy-2"><a name="QItemModelScatterDataProxy-2"></a>QItemModelScatterDataProxy::<span class="name">QItemModelScatterDataProxy</span>(<span class="type">QAbstractItemModel</span> *<i>itemModel</i>, const <span class="type">QString</span> &amp;<i>xPosRole</i>, const <span class="type">QString</span> &amp;<i>yPosRole</i>, const <span class="type">QString</span> &amp;<i>zPosRole</i>, <span class="type">QObject</span> *<i>parent</i> = nullptr)</h3>
<p>Constructs <a href="qitemmodelscatterdataproxy.html">QItemModelScatterDataProxy</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 <a href="qitemmodelscatterdataproxy.html#xPosRole-prop">xPosRole</a> property is set to <i>xPosRole</i>, <a href="qitemmodelscatterdataproxy.html#yPosRole-prop">yPosRole</a> property to <i>yPosRole</i>, and <a href="qitemmodelscatterdataproxy.html#zPosRole-prop">zPosRole</a> property to <i>zPosRole</i>.</p>
<!-- @@@QItemModelScatterDataProxy -->
<!-- $$$QItemModelScatterDataProxy$$$QItemModelScatterDataProxyQAbstractItemModel*constQString&constQString&constQString&constQString&QObject* -->
<h3 class="fn" id="QItemModelScatterDataProxy-3"><a name="QItemModelScatterDataProxy-3"></a>QItemModelScatterDataProxy::<span class="name">QItemModelScatterDataProxy</span>(<span class="type">QAbstractItemModel</span> *<i>itemModel</i>, const <span class="type">QString</span> &amp;<i>xPosRole</i>, const <span class="type">QString</span> &amp;<i>yPosRole</i>, const <span class="type">QString</span> &amp;<i>zPosRole</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="qitemmodelscatterdataproxy.html">QItemModelScatterDataProxy</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 <a href="qitemmodelscatterdataproxy.html#xPosRole-prop">xPosRole</a> property is set to <i>xPosRole</i>, <a href="qitemmodelscatterdataproxy.html#yPosRole-prop">yPosRole</a> property to <i>yPosRole</i>, <a href="qitemmodelscatterdataproxy.html#zPosRole-prop">zPosRole</a> property to <i>zPosRole</i>, and <a href="qitemmodelscatterdataproxy.html#rotationRole-prop">rotationRole</a> property to <i>rotationRole</i>.</p>
<!-- @@@QItemModelScatterDataProxy -->
<!-- $$$~QItemModelScatterDataProxy[overload1]$$$~QItemModelScatterDataProxy -->
<h3 class="fn" id="dtor.QItemModelScatterDataProxy"><a name="dtor.QItemModelScatterDataProxy"></a><code>[virtual] </code>QItemModelScatterDataProxy::<span class="name">~QItemModelScatterDataProxy</span>()</h3>
<p>Destroys <a href="qitemmodelscatterdataproxy.html">QItemModelScatterDataProxy</a>.</p>
<!-- @@@~QItemModelScatterDataProxy -->
<!-- $$$remap[overload1]$$$remapconstQString&constQString&constQString&constQString& -->
<h3 class="fn" id="remap"><a name="remap"></a><span class="type">void</span> QItemModelScatterDataProxy::<span class="name">remap</span>(const <span class="type">QString</span> &amp;<i>xPosRole</i>, const <span class="type">QString</span> &amp;<i>yPosRole</i>, const <span class="type">QString</span> &amp;<i>zPosRole</i>, const <span class="type">QString</span> &amp;<i>rotationRole</i>)</h3>
<p>Changes <i>xPosRole</i>, <i>yPosRole</i>, <i>zPosRole</i>, and <i>rotationRole</i> mapping.</p>
<!-- @@@remap -->
<!-- $$$setItemModel -->
<h3 class="fn" id="setItemModel"><a name="setItemModel"></a><span class="type">void</span> QItemModelScatterDataProxy::<span class="name">setItemModel</span>(<span class="type">QAbstractItemModel</span> *<i>itemModel</i>)</h3>
<p>Sets <i>itemModel</i> as the item model for <a href="q3dscatter.html">Q3DScatter</a>. 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="qitemmodelscatterdataproxy.html#itemModel-prop">itemModel</a>. </p><p><b>See also </b><a href="qitemmodelscatterdataproxy.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>