Files
QtModelsToolkit/docs/qml-qtmodelstoolkit-sourcemodel.html
2025-06-13 16:25:14 +02:00

62 lines
3.0 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- concatmodel.cpp -->
<title>SourceModel QML Type | QtModelsToolkit</title>
<link rel="stylesheet" type="text/css" href="style/docs-styling.css" />
</head>
<body>
<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="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">SourceModel QML Type</h1>
<span class="subtitle"></span>
<!-- $$$SourceModel-brief -->
<p>Wraps arbitrary QAbstractItemModel to be concatenated with other models within a <a href="qml-qtmodelstoolkit-concatmodel.html">ConcatModel</a>. <a href="#details">More...</a></p>
<!-- @@@SourceModel -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import QtModelsToolkit .</td></tr></table></div><ul>
<li><a href="qml-qtmodelstoolkit-sourcemodel-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="properties"></a>
<h2 id="properties">Properties</h2>
<ul>
<li class="fn"><b><b><a href="qml-qtmodelstoolkit-sourcemodel.html#markerRoleValue-prop">markerRoleValue</a></b></b> : any</li>
<li class="fn"><b><b><a href="qml-qtmodelstoolkit-sourcemodel.html#model-prop">model</a></b></b> : any</li>
</ul>
<!-- $$$SourceModel-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<p>It allows assigning a value of a special marker role in <a href="qml-qtmodelstoolkit-concatmodel.html">ConcatModel</a> for the given model.</p>
<!-- @@@SourceModel -->
<h2>Property Documentation</h2>
<!-- $$$markerRoleValue -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="markerRoleValue-prop">
<td class="tblQmlPropNode"><p>
<a name="markerRoleValue-prop"></a><span class="name">markerRoleValue</span> : <span class="type">any</span></p></td></tr>
</table></div></div>
<div class="qmldoc"><p>The value that will be exposed from the <a href="qml-qtmodelstoolkit-concatmodel.html">ConcatModel</a> through the role named according to <a href="qml-qtmodelstoolkit-concatmodel.html#markerRoleName-prop">ConcatModel::markerRoleName</a> for the entries coming from the model defined in <a href="qml-qtmodelstoolkit-sourcemodel.html#model-prop">SourceModel::model</a>.</p>
</div></div><!-- @@@markerRoleValue -->
<br/>
<!-- $$$model -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="model-prop">
<td class="tblQmlPropNode"><p>
<a name="model-prop"></a><span class="name">model</span> : <span class="type">any</span></p></td></tr>
</table></div></div>
<div class="qmldoc"><p>The model that will be concatenated with other models within <a href="qml-qtmodelstoolkit-concatmodel.html">ConcatModel</a>.</p>
</div></div><!-- @@@model -->
<br/>
</body>
</html>