mirror of
https://github.com/status-im/QtModelsToolkit.git
synced 2026-08-31 01:51:08 +00:00
62 lines
2.6 KiB
HTML
62 lines
2.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<!-- rolesrenamingmodel.cpp -->
|
|
<title>RoleRename 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">RoleRename QML Type</h1>
|
|
<span class="subtitle"></span>
|
|
<!-- $$$RoleRename-brief -->
|
|
<p>Defines name mapping for a single role within <a href="qml-qtmodelstoolkit-rolesrenamingmodel.html">RolesRenamingModel</a>. <a href="#details">More...</a></p>
|
|
<!-- @@@RoleRename -->
|
|
<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-rolerename-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-rolerename.html#from-prop">from</a></b></b> : string</li>
|
|
<li class="fn"><b><b><a href="qml-qtmodelstoolkit-rolerename.html#to-prop">to</a></b></b> : string</li>
|
|
</ul>
|
|
<!-- $$$RoleRename-description -->
|
|
<a name="details"></a>
|
|
<h2 id="details">Detailed Description</h2>
|
|
<p>This helper component allows specify name of existing role (old name) and the new name which will be exposed from <a href="qml-qtmodelstoolkit-rolesrenamingmodel.html">RolesRenamingModel</a>.</p>
|
|
<!-- @@@RoleRename -->
|
|
<h2>Property Documentation</h2>
|
|
<!-- $$$from -->
|
|
<div class="qmlitem"><div class="qmlproto">
|
|
<div class="table"><table class="qmlname">
|
|
<tr valign="top" class="odd" id="from-prop">
|
|
<td class="tblQmlPropNode"><p>
|
|
<a name="from-prop"></a><span class="name">from</span> : <span class="type">string</span></p></td></tr>
|
|
</table></div></div>
|
|
<div class="qmldoc"><p>This property specifies the role name exising in the source model that is intended to be renamed.</p>
|
|
</div></div><!-- @@@from -->
|
|
<br/>
|
|
<!-- $$$to -->
|
|
<div class="qmlitem"><div class="qmlproto">
|
|
<div class="table"><table class="qmlname">
|
|
<tr valign="top" class="odd" id="to-prop">
|
|
<td class="tblQmlPropNode"><p>
|
|
<a name="to-prop"></a><span class="name">to</span> : <span class="type">string</span></p></td></tr>
|
|
</table></div></div>
|
|
<div class="qmldoc"><p>This property specifies the new name for the role.</p>
|
|
</div></div><!-- @@@to -->
|
|
<br/>
|
|
</body>
|
|
</html>
|