doc: improve and regenerate doc

This commit is contained in:
grecko 2020-02-02 16:27:31 +01:00
parent 53c01b6ee3
commit 6678acc67c
103 changed files with 2593 additions and 1093 deletions

View File

@ -3,40 +3,61 @@
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qqmlsortfilterproxymodel.cpp -->
<!-- index.qdoc -->
<title>SortFilterProxyModel QML Module | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<li>SortFilterProxyModel QML Module</li>
<h1 class="title">SortFilterProxyModel QML Module</h1>
<span class="subtitle"></span>
<!-- $$$index.html-description -->
<div class="descr"> <a name="details"></a>
<p><a href="qml-sortfilterproxymodel.html">SortFilterProxyModel</a> is an implementation of QSortFilterProxyModel conveniently exposed for QML.</p>
<p><a href="qml-sortfilterproxymodel-sortfilterproxymodel.html">SortFilterProxyModel</a> is an implementation of QSortFilterProxyModel conveniently exposed for QML. <div class="table"><table class="annotated">
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-sortfilterproxymodel.html">SortFilterProxyModel</a></p></td><td class="tblDescr"><p>Filters and sorts data coming from a source QAbstractItemModel</p></td></tr>
</table></div>
</p>
<a name="filters"></a>
<h2 id="filters">Filters</h2>
<div class="table"><table class="annotated">
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-allof.html">AllOf</a></p></td><td class="tblDescr"><p>Filter container accepting rows accepted by all its child filters</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-anyof.html">AnyOf</a></p></td><td class="tblDescr"><p>Filter container accepting rows accepted by at least one of its child filters</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-expressionfilter.html">ExpressionFilter</a></p></td><td class="tblDescr"><p>Filters row with a custom filtering</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-filter.html">Filter</a></p></td><td class="tblDescr"><p>Base type for the SortFilterProxyModel filters</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-indexfilter.html">IndexFilter</a></p></td><td class="tblDescr"><p>Filters rows based on their source index</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-rangefilter.html">RangeFilter</a></p></td><td class="tblDescr"><p>Filters rows between boundary values</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-regexpfilter.html">RegExpFilter</a></p></td><td class="tblDescr"><p>Filters rows matching a regular expression</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-rolefilter.html">RoleFilter</a></p></td><td class="tblDescr"><p>Base type for filters based on a source model role</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-valuefilter.html">ValueFilter</a></p></td><td class="tblDescr"><p>Filters rows matching exactly a value</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-expressionrole.html">ExpressionRole</a></p></td><td class="tblDescr"><p>A custom role computed from a javascrip expression</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-filterrole.html">FilterRole</a></p></td><td class="tblDescr"><p>A role resolving to true for rows matching all its filters</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-joinrole.html">JoinRole</a></p></td><td class="tblDescr"><p>Role made from concatenating other roles</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-proxyrole.html">ProxyRole</a></p></td><td class="tblDescr"><p>Base type for the SortFilterProxyModel proxy roles</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-regexprole.html">RegExpRole</a></p></td><td class="tblDescr"><p>A ProxyRole extracting data from a source role via a regular expression</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-singlerole.html">SingleRole</a></p></td><td class="tblDescr"><p>Base type for the SortFilterProxyModel proxy roles defining a single role</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-switchrole.html">SwitchRole</a></p></td><td class="tblDescr"><p>A role using Filter to conditionnaly compute its data</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel.html">SortFilterProxyModel</a></p></td><td class="tblDescr"><p>Filters and sorts data coming from a source QAbstractItemModel</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-expressionsorter.html">ExpressionSorter</a></p></td><td class="tblDescr"><p>Sorts row with a custom sorting</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-filtersorter.html">FilterSorter</a></p></td><td class="tblDescr"><p>Sorts rows based on if they match filters</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-rolesorter.html">RoleSorter</a></p></td><td class="tblDescr"><p>Sorts rows based on a source model role</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-sorter.html">Sorter</a></p></td><td class="tblDescr"><p>Base type for the SortFilterProxyModel sorters</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-stringsorter.html">StringSorter</a></p></td><td class="tblDescr"><p>Sorts rows based on a source model string role</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-allof.html">AllOf</a></p></td><td class="tblDescr"><p>Filter container accepting rows accepted by all its child filters</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-anyof.html">AnyOf</a></p></td><td class="tblDescr"><p>Filter container accepting rows accepted by at least one of its child filters</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-expressionfilter.html">ExpressionFilter</a></p></td><td class="tblDescr"><p>Filters row with a custom filtering</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-filter.html">Filter</a></p></td><td class="tblDescr"><p>Base type for the SortFilterProxyModel filters</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-indexfilter.html">IndexFilter</a></p></td><td class="tblDescr"><p>Filters rows based on their source index</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-rangefilter.html">RangeFilter</a></p></td><td class="tblDescr"><p>Filters rows between boundary values</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-regexpfilter.html">RegExpFilter</a></p></td><td class="tblDescr"><p>Filters rows matching a regular expression</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-rolefilter.html">RoleFilter</a></p></td><td class="tblDescr"><p>Base type for filters based on a source model role</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-valuefilter.html">ValueFilter</a></p></td><td class="tblDescr"><p>Filters rows matching exactly a value</p></td></tr>
</table></div>
<a name="related-attached-types"></a>
<h3 id="related-attached-types">Related attached types</h3>
<div class="table"><table class="annotated">
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-filtercontainer.html">FilterContainer</a></p></td><td class="tblDescr"><p>Abstract interface for types containing Filters</p></td></tr>
</table></div>
<a name="sorters"></a>
<h2 id="sorters">Sorters</h2>
<div class="table"><table class="annotated">
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-expressionsorter.html">ExpressionSorter</a></p></td><td class="tblDescr"><p>Sorts row with a custom javascript expression</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-filtersorter.html">FilterSorter</a></p></td><td class="tblDescr"><p>Sorts rows based on if they match filters</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-rolesorter.html">RoleSorter</a></p></td><td class="tblDescr"><p>Sorts rows based on a source model role</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-sorter.html">Sorter</a></p></td><td class="tblDescr"><p>Base type for the SortFilterProxyModel sorters</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-stringsorter.html">StringSorter</a></p></td><td class="tblDescr"><p>Sorts rows based on a source model string role</p></td></tr>
</table></div>
<a name="related-attached-types"></a>
<h3 id="related-attached-types">Related attached types</h3>
<div class="table"><table class="annotated">
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-sortercontainer.html">SorterContainer</a></p></td><td class="tblDescr"><p>Abstract interface for types containing Sorters</p></td></tr>
</table></div>
<a name="proxyroles"></a>
<h2 id="proxyroles">ProxyRoles</h2>
<div class="table"><table class="annotated">
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-expressionrole.html">ExpressionRole</a></p></td><td class="tblDescr"><p>A custom role computed from a javascript expression</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-filterrole.html">FilterRole</a></p></td><td class="tblDescr"><p>A role resolving to true for rows matching all its filters</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-joinrole.html">JoinRole</a></p></td><td class="tblDescr"><p>Role made from concatenating other roles</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-proxyrole.html">ProxyRole</a></p></td><td class="tblDescr"><p>Base type for the SortFilterProxyModel proxy roles</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-regexprole.html">RegExpRole</a></p></td><td class="tblDescr"><p>A ProxyRole extracting data from a source role via a regular expression</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-singlerole.html">SingleRole</a></p></td><td class="tblDescr"><p>Base type for the SortFilterProxyModel proxy roles defining a single role</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-switchrole.html">SwitchRole</a></p></td><td class="tblDescr"><p>A role using Filter to conditionnaly compute its data</p></td></tr>
</table></div>
</div>
<!-- @@@index.html -->

View File

@ -1,36 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- alloffilter.cpp -->
<title>AllOf QML Type | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">AllOf QML Type</h1>
<span class="subtitle"></span>
<!-- $$$AllOf-brief -->
<p>Filter container accepting rows accepted by all its child filters <a href="#details">More...</a></p>
<!-- @@@AllOf -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-filter.html">Filter</a></p>
</td></tr></table></div><ul>
<li><a href="qml-allof-members.html">List of all members, including inherited members</a></li>
</ul>
<!-- $$$AllOf-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<p>The <a href="qml-allof.html">AllOf</a> type is a <a href="qml-filter.html">Filter</a> container that accepts rows if all of its contained (and enabled) filters accept them, or if it has no filter.</p>
<p>Using it as a top level filter has the same effect as putting all its child filters as top level filters. It can however be usefull to use an <a href="qml-allof.html">AllOf</a> filter when nested in an <a href="qml-anyof.html">AnyOf</a> filter.</p>
<!-- @@@AllOf -->
</body>
</html>

View File

@ -1,55 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- anyoffilter.cpp -->
<title>AnyOf QML Type | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">AnyOf QML Type</h1>
<span class="subtitle"></span>
<!-- $$$AnyOf-brief -->
<p>Filter container accepting rows accepted by at least one of its child filters <a href="#details">More...</a></p>
<!-- @@@AnyOf -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-filter.html">Filter</a></p>
</td></tr></table></div><ul>
<li><a href="qml-anyof-members.html">List of all members, including inherited members</a></li>
</ul>
<!-- $$$AnyOf-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<p>The <a href="qml-anyof.html">AnyOf</a> type is a <a href="qml-filter.html">Filter</a> container that accepts rows if any of its contained (and enabled) filters accept them.</p>
<p>In the following example, only the rows where the <code>firstName</code> role or the <code>lastName</code> role match the text entered in the <code>nameTextField</code> will be accepted :</p>
<pre class="cpp">TextField {
id: nameTextField
}
SortFilterProxyModel {
sourceModel: contactModel
filters: AnyOf {
RegExpFilter {
roleName: <span class="string">&quot;lastName&quot;</span>
pattern: nameTextField<span class="operator">.</span>text
caseSensitivity: <span class="type">Qt</span><span class="operator">.</span>CaseInsensitive
}
RegExpFilter {
roleName: <span class="string">&quot;firstName&quot;</span>
pattern: nameTextField<span class="operator">.</span>text
caseSensitivity: <span class="type">Qt</span><span class="operator">.</span>CaseInsensitive
}
}
}</pre>
<!-- @@@AnyOf -->
</body>
</html>

View File

@ -1,23 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- expressionfilter.cpp -->
<title>List of All Members for ExpressionFilter | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for ExpressionFilter</h1>
<p>This is the complete list of members for <a href="qml-expressionfilter.html">ExpressionFilter</a>, including inherited members.</p>
<ul>
<li class="fn"><b><b><a href="qml-expressionfilter.html#expression-prop">expression</a></b></b> : expression</li>
</ul>
<p>The following members are inherited from <a href="qml-filter.html">Filter</a>.</p>
<ul>
<li class="fn"><b><b><a href="qml-filter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-filter.html#inverted-prop">inverted</a></b></b> : bool</li>
</ul>
</body>
</html>

View File

@ -1,23 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- expressionsorter.cpp -->
<title>List of All Members for ExpressionSorter | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for ExpressionSorter</h1>
<p>This is the complete list of members for <a href="qml-expressionsorter.html">ExpressionSorter</a>, including inherited members.</p>
<ul>
<li class="fn"><b><b><a href="qml-expressionsorter.html#expression-prop">expression</a></b></b> : expression</li>
</ul>
<p>The following members are inherited from <a href="qml-sorter.html">Sorter</a>.</p>
<ul>
<li class="fn"><b><b><a href="qml-sorter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sorter.html#sortOrder-prop">sortOrder</a></b></b> : Qt::SortOrder</li>
</ul>
</body>
</html>

View File

@ -1,61 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- expressionsorter.cpp -->
<title>ExpressionSorter QML Type | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.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">ExpressionSorter QML Type</h1>
<span class="subtitle"></span>
<!-- $$$ExpressionSorter-brief -->
<p>Sorts row with a custom sorting <a href="#details">More...</a></p>
<!-- @@@ExpressionSorter -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-sorter.html">Sorter</a></p>
</td></tr></table></div><ul>
<li><a href="qml-expressionsorter-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-expressionsorter.html#expression-prop">expression</a></b></b> : expression</li>
</ul>
<!-- $$$ExpressionSorter-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<p>An <a href="qml-expressionsorter.html">ExpressionSorter</a> is a <a href="qml-sorter.html">Sorter</a> allowing to implement custom sorting based on a javascript expression.</p>
<!-- @@@ExpressionSorter -->
<h2>Property Documentation</h2>
<!-- $$$expression -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="expression-prop">
<td class="tblQmlPropNode"><p>
<a name="expression-prop"></a><span class="name">expression</span> : <span class="type"><a href="qml-expressionsorter.html#expression-prop">expression</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>An expression to implement custom sorting. It must evaluate to a bool. It has the same syntax has a <a href="http://doc.qt.io/qt-5/qtqml-syntax-propertybinding.html">Property Binding</a>, except that it will be evaluated for each of the source model's rows. Model data is accessible for both rows with the <code>modelLeft</code>, and <code>modelRight</code> properties:</p>
<pre class="cpp">sorters: ExpressionSorter {
expression: {
<span class="keyword">return</span> modelLeft<span class="operator">.</span>someRole <span class="operator">&lt;</span> modelRight<span class="operator">.</span>someRole;
}
}</pre>
<p>The <code>index</code> of the row is also available through <code>modelLeft</code> and <code>modelRight</code>.</p>
<p>The expression should return <code>true</code> if the value of the left item is less than the value of the right item, otherwise returns false.</p>
<p>This expression is reevaluated for a row every time its model data changes. When an external property (not <code>index*</code> or in <code>model*</code>) the expression depends on changes, the expression is reevaluated for every row of the source model. To capture the properties the expression depends on, the expression is first executed with invalid data and each property access is detected by the QML engine. This means that if a property is not accessed because of a conditional, it won't be captured and the expression won't be reevaluted when this property changes.</p>
<p>A workaround to this problem is to access all the properties the expressions depends unconditionally at the beggining of the expression.</p>
</div></div><!-- @@@expression -->
<br/>
</body>
</html>

View File

@ -1,23 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- filtersorter.cpp -->
<title>List of All Members for FilterSorter | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for FilterSorter</h1>
<p>This is the complete list of members for <a href="qml-filtersorter.html">FilterSorter</a>, including inherited members.</p>
<ul>
<li class="fn"><b><b><a href="qml-filtersorter.html#filters-prop">filters</a></b></b> : string</li>
</ul>
<p>The following members are inherited from <a href="qml-sorter.html">Sorter</a>.</p>
<ul>
<li class="fn"><b><b><a href="qml-sorter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sorter.html#sortOrder-prop">sortOrder</a></b></b> : Qt::SortOrder</li>
</ul>
</body>
</html>

View File

@ -1,60 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- filtersorter.cpp -->
<title>FilterSorter QML Type | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.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">FilterSorter QML Type</h1>
<span class="subtitle"></span>
<!-- $$$FilterSorter-brief -->
<p>Sorts rows based on if they match filters <a href="#details">More...</a></p>
<!-- @@@FilterSorter -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-sorter.html">Sorter</a></p>
</td></tr></table></div><ul>
<li><a href="qml-filtersorter-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-filtersorter.html#filters-prop">filters</a></b></b> : string</li>
</ul>
<!-- $$$FilterSorter-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<p>A <a href="qml-filtersorter.html">FilterSorter</a> is a <a href="qml-sorter.html">Sorter</a> that orders row matching its filters before the rows not matching the filters.</p>
<p>In the following example, rows with their <code>favorite</code> role set to <code>true</code> will be ordered at the beginning :</p>
<pre class="cpp">SortFilterProxyModel {
sourceModel: contactModel
sorters: FilterSorter {
ValueFilter { roleName: <span class="string">&quot;favorite&quot;</span>; value: <span class="keyword">true</span> }
}
}</pre>
<!-- @@@FilterSorter -->
<h2>Property Documentation</h2>
<!-- $$$filters -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="filters-prop">
<td class="tblQmlPropNode"><p>
<a name="filters-prop"></a><span class="name">filters</span> : <span class="type">string</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the list of filters for this filter sorter. If a row match all this <a href="qml-filtersorter.html">FilterSorter</a>'s filters, it will be ordered before rows not matching all the filters.</p>
<p><b>See also </b><a href="qml-filter.html">Filter</a>.</p>
</div></div><!-- @@@filters -->
<br/>
</body>
</html>

View File

@ -1,24 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- indexfilter.cpp -->
<title>List of All Members for IndexFilter | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for IndexFilter</h1>
<p>This is the complete list of members for <a href="qml-indexfilter.html">IndexFilter</a>, including inherited members.</p>
<ul>
<li class="fn"><b><b><a href="qml-indexfilter.html#maximumIndex-prop">maximumIndex</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-indexfilter.html#minimumIndex-prop">minimumIndex</a></b></b> : int</li>
</ul>
<p>The following members are inherited from <a href="qml-filter.html">Filter</a>.</p>
<ul>
<li class="fn"><b><b><a href="qml-filter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-filter.html#inverted-prop">inverted</a></b></b> : bool</li>
</ul>
</body>
</html>

View File

@ -1,23 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- joinrole.cpp -->
<title>List of All Members for JoinRole | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for JoinRole</h1>
<p>This is the complete list of members for <a href="qml-joinrole.html">JoinRole</a>, including inherited members.</p>
<ul>
<li class="fn"><b><b><a href="qml-joinrole.html#roleNames-prop">roleNames</a></b></b> : list&lt;string&gt;</li>
<li class="fn"><b><b><a href="qml-joinrole.html#separator-prop">separator</a></b></b> : string</li>
</ul>
<p>The following members are inherited from <a href="qml-singlerole.html">SingleRole</a>.</p>
<ul>
<li class="fn"><b><b><a href="qml-singlerole.html#name-prop">name</a></b></b> : string</li>
</ul>
</body>
</html>

View File

@ -1,27 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- rangefilter.cpp -->
<title>List of All Members for RangeFilter | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for RangeFilter</h1>
<p>This is the complete list of members for <a href="qml-rangefilter.html">RangeFilter</a>, including inherited members.</p>
<ul>
<li class="fn"><b><b><a href="qml-rangefilter.html#maximumInclusive-prop">maximumInclusive</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-rangefilter.html#maximumValue-prop">maximumValue</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-rangefilter.html#minimumInclusive-prop">minimumInclusive</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-rangefilter.html#minimumValue-prop">minimumValue</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-rangefilter.html#roleName-prop">roleName</a></b></b> : string</li>
</ul>
<p>The following members are inherited from <a href="qml-filter.html">Filter</a>.</p>
<ul>
<li class="fn"><b><b><a href="qml-filter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-filter.html#inverted-prop">inverted</a></b></b> : bool</li>
</ul>
</body>
</html>

View File

@ -1,26 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- regexpfilter.cpp -->
<title>List of All Members for RegExpFilter | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for RegExpFilter</h1>
<p>This is the complete list of members for <a href="qml-regexpfilter.html">RegExpFilter</a>, including inherited members.</p>
<ul>
<li class="fn"><b><b><a href="qml-regexpfilter.html#caseSensitivity-prop">caseSensitivity</a></b></b> : Qt::CaseSensitivity</li>
<li class="fn"><b><b><a href="qml-regexpfilter.html#pattern-prop">pattern</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-regexpfilter.html#roleName-prop">roleName</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-regexpfilter.html#syntax-prop">syntax</a></b></b> : enum</li>
</ul>
<p>The following members are inherited from <a href="qml-filter.html">Filter</a>.</p>
<ul>
<li class="fn"><b><b><a href="qml-filter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-filter.html#inverted-prop">inverted</a></b></b> : bool</li>
</ul>
</body>
</html>

View File

@ -1,20 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- regexprole.cpp -->
<title>List of All Members for RegExpRole | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for RegExpRole</h1>
<p>This is the complete list of members for <a href="qml-regexprole.html">RegExpRole</a>, including inherited members.</p>
<ul>
<li class="fn"><b><b><a href="qml-regexprole.html#caseSensitivity-prop">caseSensitivity</a></b></b> : Qt::CaseSensitivity</li>
<li class="fn"><b><b><a href="qml-regexprole.html#pattern-prop">pattern</a></b></b> : QString</li>
<li class="fn"><b><b><a href="qml-regexprole.html#roleName-prop">roleName</a></b></b> : QString</li>
</ul>
</body>
</html>

View File

@ -1,23 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- rolefilter.cpp -->
<title>List of All Members for RoleFilter | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for RoleFilter</h1>
<p>This is the complete list of members for <a href="qml-rolefilter.html">RoleFilter</a>, including inherited members.</p>
<ul>
<li class="fn"><b><b><a href="qml-rolefilter.html#roleName-prop">roleName</a></b></b> : string</li>
</ul>
<p>The following members are inherited from <a href="qml-filter.html">Filter</a>.</p>
<ul>
<li class="fn"><b><b><a href="qml-filter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-filter.html#inverted-prop">inverted</a></b></b> : bool</li>
</ul>
</body>
</html>

View File

@ -1,53 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- rolefilter.cpp -->
<title>RoleFilter QML Type | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.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">RoleFilter QML Type</h1>
<span class="subtitle"></span>
<!-- $$$RoleFilter-brief -->
<p>Base type for filters based on a source model role <a href="#details">More...</a></p>
<!-- @@@RoleFilter -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-filter.html">Filter</a></p>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherited By:</td><td class="memItemRight bottomAlign"> <p><a href="qml-rangefilter.html">RangeFilter</a>, <a href="qml-regexpfilter.html">RegExpFilter</a>, and <a href="qml-valuefilter.html">ValueFilter</a></p>
</td></tr></table></div><ul>
<li><a href="qml-rolefilter-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-rolefilter.html#roleName-prop">roleName</a></b></b> : string</li>
</ul>
<!-- $$$RoleFilter-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<p>The <a href="qml-rolefilter.html">RoleFilter</a> type cannot be used directly in a QML file. It exists to provide a set of common properties and methods, available across all the other filter types that inherit from it. Attempting to use the <a href="qml-rolefilter.html">RoleFilter</a> type directly will result in an error.</p>
<!-- @@@RoleFilter -->
<h2>Property Documentation</h2>
<!-- $$$roleName -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="roleName-prop">
<td class="tblQmlPropNode"><p>
<a name="roleName-prop"></a><span class="name">roleName</span> : <span class="type">string</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the role name that the filter is using to query the source model's data when filtering items.</p>
</div></div><!-- @@@roleName -->
<br/>
</body>
</html>

View File

@ -1,23 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- rolesorter.cpp -->
<title>List of All Members for RoleSorter | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for RoleSorter</h1>
<p>This is the complete list of members for <a href="qml-rolesorter.html">RoleSorter</a>, including inherited members.</p>
<ul>
<li class="fn"><b><b><a href="qml-rolesorter.html#roleName-prop">roleName</a></b></b> : string</li>
</ul>
<p>The following members are inherited from <a href="qml-sorter.html">Sorter</a>.</p>
<ul>
<li class="fn"><b><b><a href="qml-sorter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sorter.html#sortOrder-prop">sortOrder</a></b></b> : Qt::SortOrder</li>
</ul>
</body>
</html>

View File

@ -1,58 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- rolesorter.cpp -->
<title>RoleSorter QML Type | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.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">RoleSorter QML Type</h1>
<span class="subtitle"></span>
<!-- $$$RoleSorter-brief -->
<p>Sorts rows based on a source model role <a href="#details">More...</a></p>
<!-- @@@RoleSorter -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-sorter.html">Sorter</a></p>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherited By:</td><td class="memItemRight bottomAlign"> <p><a href="qml-stringsorter.html">StringSorter</a></p>
</td></tr></table></div><ul>
<li><a href="qml-rolesorter-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-rolesorter.html#roleName-prop">roleName</a></b></b> : string</li>
</ul>
<!-- $$$RoleSorter-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<p>A <a href="qml-rolesorter.html">RoleSorter</a> is a simple <a href="qml-sorter.html">Sorter</a> that sorts rows based on a source model role.</p>
<p>In the following example, rows with be sorted by their <code>lastName</code> role :</p>
<pre class="cpp">SortFilterProxyModel {
sourceModel: contactModel
sorters: RoleSorter { roleName: <span class="string">&quot;lastName&quot;</span> }
}</pre>
<!-- @@@RoleSorter -->
<h2>Property Documentation</h2>
<!-- $$$roleName -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="roleName-prop">
<td class="tblQmlPropNode"><p>
<a name="roleName-prop"></a><span class="name">roleName</span> : <span class="type">string</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the role name that the sorter is using to query the source model's data when sorting items.</p>
</div></div><!-- @@@roleName -->
<br/>
</body>
</html>

View File

@ -10,11 +10,10 @@
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for AllOf</h1>
<p>This is the complete list of members for <a href="qml-allof.html">AllOf</a>, including inherited members.</p>
<p>The following members are inherited from <a href="qml-filter.html">Filter</a>.</p>
<p>This is the complete list of members for <a href="qml-sortfilterproxymodel-allof.html">AllOf</a>, including inherited members.</p>
<ul>
<li class="fn"><b><b><a href="qml-filter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-filter.html#inverted-prop">inverted</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-allof.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-allof.html#inverted-prop">inverted</a></b></b> : bool</li>
</ul>
</body>
</html>

View File

@ -0,0 +1,67 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- alloffilter.cpp -->
<title>AllOf QML Type | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.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">AllOf QML Type</h1>
<span class="subtitle"></span>
<!-- $$$AllOf-brief -->
<p>Filter container accepting rows accepted by all its child filters. <a href="#details">More...</a></p>
<!-- @@@AllOf -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import SortFilterProxyModel .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-sortfilterproxymodel-filter.html">Filter</a></p>
</td></tr></table></div><ul>
<li><a href="qml-sortfilterproxymodel-allof-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-sortfilterproxymodel-allof.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-allof.html#inverted-prop">inverted</a></b></b> : bool</li>
</ul>
<!-- $$$AllOf-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<p>The AllOf type is a <a href="qml-sortfilterproxymodel-filter.html">Filter</a> container that accepts rows if all of its contained (and enabled) filters accept them, or if it has no filter.</p>
<p>Using it as a top level filter has the same effect as putting all its child filters as top level filters. It can however be usefull to use an AllOf filter when nested in an <a href="qml-sortfilterproxymodel-anyof.html">AnyOf</a> filter.</p>
<p><b>See also </b><a href="qml-sortfilterproxymodel-filtercontainer.html">FilterContainer</a>.</p>
<!-- @@@AllOf -->
<h2>Property Documentation</h2>
<!-- $$$enabled -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="enabled-prop"></a><span class="name">enabled</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds whether the filter is enabled. A disabled filter will accept every rows unconditionally (even if it's inverted).</p>
<p>By default, filters are enabled.</p>
</div></div><!-- @@@enabled -->
<br/>
<!-- $$$inverted -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="inverted-prop"></a><span class="name">inverted</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds whether the filter is inverted. When a filter is inverted, a row normally accepted would be rejected, and vice-versa.</p>
<p>By default, filters are not inverted.</p>
</div></div><!-- @@@inverted -->
<br/>
</body>
</html>

View File

@ -10,11 +10,10 @@
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for AnyOf</h1>
<p>This is the complete list of members for <a href="qml-anyof.html">AnyOf</a>, including inherited members.</p>
<p>The following members are inherited from <a href="qml-filter.html">Filter</a>.</p>
<p>This is the complete list of members for <a href="qml-sortfilterproxymodel-anyof.html">AnyOf</a>, including inherited members.</p>
<ul>
<li class="fn"><b><b><a href="qml-filter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-filter.html#inverted-prop">inverted</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-anyof.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-anyof.html#inverted-prop">inverted</a></b></b> : bool</li>
</ul>
</body>
</html>

View File

@ -0,0 +1,86 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- anyoffilter.cpp -->
<title>AnyOf QML Type | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.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">AnyOf QML Type</h1>
<span class="subtitle"></span>
<!-- $$$AnyOf-brief -->
<p>Filter container accepting rows accepted by at least one of its child filters. <a href="#details">More...</a></p>
<!-- @@@AnyOf -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import SortFilterProxyModel .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-sortfilterproxymodel-filter.html">Filter</a></p>
</td></tr></table></div><ul>
<li><a href="qml-sortfilterproxymodel-anyof-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-sortfilterproxymodel-anyof.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-anyof.html#inverted-prop">inverted</a></b></b> : bool</li>
</ul>
<!-- $$$AnyOf-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<p>The AnyOf type is a <a href="qml-sortfilterproxymodel-filter.html">Filter</a> container that accepts rows if any of its contained (and enabled) filters accept them.</p>
<p>In the following example, only the rows where the <code>firstName</code> role or the <code>lastName</code> role match the text entered in the <code>nameTextField</code> will be accepted :</p>
<pre class="cpp">TextField {
id: nameTextField
}
SortFilterProxyModel {
sourceModel: contactModel
filters: AnyOf {
RegExpFilter {
roleName: <span class="string">&quot;lastName&quot;</span>
pattern: nameTextField<span class="operator">.</span>text
caseSensitivity: <span class="type">Qt</span><span class="operator">.</span>CaseInsensitive
}
RegExpFilter {
roleName: <span class="string">&quot;firstName&quot;</span>
pattern: nameTextField<span class="operator">.</span>text
caseSensitivity: <span class="type">Qt</span><span class="operator">.</span>CaseInsensitive
}
}
}</pre>
<p><b>See also </b><a href="qml-sortfilterproxymodel-filtercontainer.html">FilterContainer</a>.</p>
<!-- @@@AnyOf -->
<h2>Property Documentation</h2>
<!-- $$$enabled -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="enabled-prop"></a><span class="name">enabled</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds whether the filter is enabled. A disabled filter will accept every rows unconditionally (even if it's inverted).</p>
<p>By default, filters are enabled.</p>
</div></div><!-- @@@enabled -->
<br/>
<!-- $$$inverted -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="inverted-prop"></a><span class="name">inverted</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds whether the filter is inverted. When a filter is inverted, a row normally accepted would be rejected, and vice-versa.</p>
<p>By default, filters are not inverted.</p>
</div></div><!-- @@@inverted -->
<br/>
</body>
</html>

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- expressionfilter.cpp -->
<title>List of All Members for ExpressionFilter | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for ExpressionFilter</h1>
<p>This is the complete list of members for <a href="qml-sortfilterproxymodel-expressionfilter.html">ExpressionFilter</a>, including inherited members.</p>
<ul>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-expressionfilter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-expressionfilter.html#expression-prop">expression</a></b></b> : expression</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-expressionfilter.html#inverted-prop">inverted</a></b></b> : bool</li>
</ul>
</body>
</html>

View File

@ -20,35 +20,59 @@
<h1 class="title">ExpressionFilter QML Type</h1>
<span class="subtitle"></span>
<!-- $$$ExpressionFilter-brief -->
<p>Filters row with a custom filtering <a href="#details">More...</a></p>
<p>Filters row with a custom filtering. <a href="#details">More...</a></p>
<!-- @@@ExpressionFilter -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-filter.html">Filter</a></p>
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import SortFilterProxyModel .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-sortfilterproxymodel-filter.html">Filter</a></p>
</td></tr></table></div><ul>
<li><a href="qml-expressionfilter-members.html">List of all members, including inherited members</a></li>
<li><a href="qml-sortfilterproxymodel-expressionfilter-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-expressionfilter.html#expression-prop">expression</a></b></b> : expression</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-expressionfilter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-expressionfilter.html#expression-prop">expression</a></b></b> : expression</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-expressionfilter.html#inverted-prop">inverted</a></b></b> : bool</li>
</ul>
<!-- $$$ExpressionFilter-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<p>An <a href="qml-expressionfilter.html">ExpressionFilter</a> is a <a href="qml-filter.html">Filter</a> allowing to implement custom filtering based on a javascript expression.</p>
<p>An ExpressionFilter is a <a href="qml-sortfilterproxymodel-filter.html">Filter</a> allowing to implement custom filtering based on a javascript expression.</p>
<!-- @@@ExpressionFilter -->
<h2>Property Documentation</h2>
<!-- $$$enabled -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="enabled-prop"></a><span class="name">enabled</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds whether the filter is enabled. A disabled filter will accept every rows unconditionally (even if it's inverted).</p>
<p>By default, filters are enabled.</p>
</div></div><!-- @@@enabled -->
<br/>
<!-- $$$expression -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="expression-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="expression-prop"></a><span class="name">expression</span> : <span class="type"><a href="qml-expressionfilter.html#expression-prop">expression</a></span></p></td></tr>
<a name="expression-prop"></a><span class="name">expression</span> : <span class="type">expression</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>An expression to implement custom filtering, it must evaluate to a boolean. It has the same syntax has a <a href="http://doc.qt.io/qt-5/qtqml-syntax-propertybinding.html">Property Binding</a> except it will be evaluated for each of the source model's rows. Rows that have their expression evaluating to <code>true</code> will be accepted by the model. Data for each row is exposed like for a delegate of a QML View.</p>
<p>This expression is reevaluated for a row every time its model data changes. When an external property (not <code>index</code> or in <code>model</code>) the expression depends on changes, the expression is reevaluated for every row of the source model. To capture the properties the expression depends on, the expression is first executed with invalid data and each property access is detected by the QML engine. This means that if a property is not accessed because of a conditional, it won't be captured and the expression won't be reevaluted when this property changes.</p>
<p>A workaround to this problem is to access all the properties the expressions depends unconditionally at the beggining of the expression.</p>
</div></div><!-- @@@expression -->
<br/>
<!-- $$$inverted -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="inverted-prop"></a><span class="name">inverted</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds whether the filter is inverted. When a filter is inverted, a row normally accepted would be rejected, and vice-versa.</p>
<p>By default, filters are not inverted.</p>
</div></div><!-- @@@inverted -->
<br/>
</body>
</html>

View File

@ -10,13 +10,10 @@
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for ExpressionRole</h1>
<p>This is the complete list of members for <a href="qml-expressionrole.html">ExpressionRole</a>, including inherited members.</p>
<p>This is the complete list of members for <a href="qml-sortfilterproxymodel-expressionrole.html">ExpressionRole</a>, including inherited members.</p>
<ul>
<li class="fn"><b><b><a href="qml-expressionrole.html#expression-prop">expression</a></b></b> : expression</li>
</ul>
<p>The following members are inherited from <a href="qml-singlerole.html">SingleRole</a>.</p>
<ul>
<li class="fn"><b><b><a href="qml-singlerole.html#name-prop">name</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-expressionrole.html#expression-prop">expression</a></b></b> : expression</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-expressionrole.html#name-prop">name</a></b></b> : string</li>
</ul>
</body>
</html>

View File

@ -20,22 +20,23 @@
<h1 class="title">ExpressionRole QML Type</h1>
<span class="subtitle"></span>
<!-- $$$ExpressionRole-brief -->
<p>A custom role computed from a javascrip expression <a href="#details">More...</a></p>
<p>A custom role computed from a javascript expression. <a href="#details">More...</a></p>
<!-- @@@ExpressionRole -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-singlerole.html">SingleRole</a></p>
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import SortFilterProxyModel .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-sortfilterproxymodel-singlerole.html">SingleRole</a></p>
</td></tr></table></div><ul>
<li><a href="qml-expressionrole-members.html">List of all members, including inherited members</a></li>
<li><a href="qml-sortfilterproxymodel-expressionrole-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-expressionrole.html#expression-prop">expression</a></b></b> : expression</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-expressionrole.html#expression-prop">expression</a></b></b> : expression</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-expressionrole.html#name-prop">name</a></b></b> : string</li>
</ul>
<!-- $$$ExpressionRole-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<p>An <a href="qml-expressionrole.html">ExpressionRole</a> is a <a href="qml-proxyrole.html">ProxyRole</a> allowing to implement a custom role based on a javascript expression.</p>
<p>An ExpressionRole is a <a href="qml-sortfilterproxymodel-proxyrole.html">ProxyRole</a> allowing to implement a custom role based on a javascript expression.</p>
<p>In the following example, the <code>c</code> role is computed by adding the <code>a</code> role and <code>b</code> role of the model :</p>
<pre class="cpp">SortFilterProxyModel {
sourceModel: numberModel
@ -49,14 +50,24 @@
<!-- $$$expression -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="expression-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="expression-prop"></a><span class="name">expression</span> : <span class="type"><a href="qml-expressionrole.html#expression-prop">expression</a></span></p></td></tr>
<a name="expression-prop"></a><span class="name">expression</span> : <span class="type">expression</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>An expression to implement a custom role. It has the same syntax has a <a href="http://doc.qt.io/qt-5/qtqml-syntax-propertybinding.html">Property Binding</a> except it will be evaluated for each of the source model's rows. The data for this role will be the retuned valued of the expression. Data for each row is exposed like for a delegate of a QML View.</p>
<p>This expression is reevaluated for a row every time its model data changes. When an external property (not <code>index</code> or in <code>model</code>) the expression depends on changes, the expression is reevaluated for every row of the source model. To capture the properties the expression depends on, the expression is first executed with invalid data and each property access is detected by the QML engine. This means that if a property is not accessed because of a conditional, it won't be captured and the expression won't be reevaluted when this property changes.</p>
<p>A workaround to this problem is to access all the properties the expressions depends unconditionally at the beggining of the expression.</p>
</div></div><!-- @@@expression -->
<br/>
<!-- $$$name -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="name-prop"></a><span class="name">name</span> : <span class="type">string</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the role name of the proxy role.</p>
</div></div><!-- @@@name -->
<br/>
</body>
</html>

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- expressionsorter.cpp -->
<title>List of All Members for ExpressionSorter | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for ExpressionSorter</h1>
<p>This is the complete list of members for <a href="qml-sortfilterproxymodel-expressionsorter.html">ExpressionSorter</a>, including inherited members.</p>
<ul>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-expressionsorter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-expressionsorter.html#expression-prop">expression</a></b></b> : expression</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-expressionsorter.html#priority-prop">priority</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-expressionsorter.html#sortOrder-prop">sortOrder</a></b></b> : Qt::SortOrder</li>
</ul>
</body>
</html>

View File

@ -0,0 +1,101 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- expressionsorter.cpp -->
<title>ExpressionSorter QML Type | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.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">ExpressionSorter QML Type</h1>
<span class="subtitle"></span>
<!-- $$$ExpressionSorter-brief -->
<p>Sorts row with a custom javascript expression. <a href="#details">More...</a></p>
<!-- @@@ExpressionSorter -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import SortFilterProxyModel .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-sortfilterproxymodel-sorter.html">Sorter</a></p>
</td></tr></table></div><ul>
<li><a href="qml-sortfilterproxymodel-expressionsorter-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-sortfilterproxymodel-expressionsorter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-expressionsorter.html#expression-prop">expression</a></b></b> : expression</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-expressionsorter.html#priority-prop">priority</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-expressionsorter.html#sortOrder-prop">sortOrder</a></b></b> : Qt::SortOrder</li>
</ul>
<!-- $$$ExpressionSorter-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<p>An ExpressionSorter is a <a href="qml-sortfilterproxymodel-sorter.html">Sorter</a> allowing to implement custom sorting based on a javascript expression.</p>
<!-- @@@ExpressionSorter -->
<h2>Property Documentation</h2>
<!-- $$$enabled -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="enabled-prop"></a><span class="name">enabled</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds whether the sorter is enabled. A disabled sorter will not change the order of the rows.</p>
<p>By default, sorters are enabled.</p>
</div></div><!-- @@@enabled -->
<br/>
<!-- $$$expression -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="expression-prop"></a><span class="name">expression</span> : <span class="type">expression</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>An expression to implement custom sorting. It must evaluate to a bool. It has the same syntax has a <a href="http://doc.qt.io/qt-5/qtqml-syntax-propertybinding.html">Property Binding</a>, except that it will be evaluated for each of the source model's rows. Model data is accessible for both rows with the <code>modelLeft</code>, and <code>modelRight</code> properties:</p>
<pre class="cpp">sorters: ExpressionSorter {
expression: {
<span class="keyword">return</span> modelLeft<span class="operator">.</span>someRole <span class="operator">&lt;</span> modelRight<span class="operator">.</span>someRole;
}
}</pre>
<p>The <code>index</code> of the row is also available through <code>modelLeft</code> and <code>modelRight</code>.</p>
<p>The expression should return <code>true</code> if the value of the left item is less than the value of the right item, otherwise returns false.</p>
<p>This expression is reevaluated for a row every time its model data changes. When an external property (not <code>index*</code> or in <code>model*</code>) the expression depends on changes, the expression is reevaluated for every row of the source model. To capture the properties the expression depends on, the expression is first executed with invalid data and each property access is detected by the QML engine. This means that if a property is not accessed because of a conditional, it won't be captured and the expression won't be reevaluted when this property changes.</p>
<p>A workaround to this problem is to access all the properties the expressions depends unconditionally at the beggining of the expression.</p>
</div></div><!-- @@@expression -->
<br/>
<!-- $$$priority -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="priority-prop"></a><span class="name">priority</span> : <span class="type">int</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the sort priority of this sorter. Sorters with a higher priority are applied first. In case of equal priority, Sorters are ordered by their insertion order.</p>
<p>By default, the priority is 0.</p>
</div></div><!-- @@@priority -->
<br/>
<!-- $$$sortOrder -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="sortOrder-prop"></a><span class="name">sortOrder</span> : <span class="type">Qt::SortOrder</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the sort order of this sorter.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt.AscendingOrder</code></td><td class="topAlign">The items are sorted ascending e.g&#x2e; starts with 'AAA' ends with 'ZZZ' in Latin-1 locales</td></tr>
<tr><td class="topAlign"><code>Qt.DescendingOrder</code></td><td class="topAlign">The items are sorted descending e.g&#x2e; starts with 'ZZZ' ends with 'AAA' in Latin-1 locales</td></tr>
</table></div>
<p>By default, sorting is in ascending order.</p>
</div></div><!-- @@@sortOrder -->
<br/>
</body>
</html>

View File

@ -10,10 +10,10 @@
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for Filter</h1>
<p>This is the complete list of members for <a href="qml-filter.html">Filter</a>, including inherited members.</p>
<p>This is the complete list of members for <a href="qml-sortfilterproxymodel-filter.html">Filter</a>, including inherited members.</p>
<ul>
<li class="fn"><b><b><a href="qml-filter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-filter.html#inverted-prop">inverted</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-filter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-filter.html#inverted-prop">inverted</a></b></b> : bool</li>
</ul>
</body>
</html>

View File

@ -20,18 +20,18 @@
<h1 class="title">Filter QML Type</h1>
<span class="subtitle"></span>
<!-- $$$Filter-brief -->
<p>Base type for the <a href="qml-sortfilterproxymodel.html">SortFilterProxyModel</a> filters <a href="#details">More...</a></p>
<p>Base type for the <a href="qml-sortfilterproxymodel-sortfilterproxymodel.html">SortFilterProxyModel</a> filters. <a href="#details">More...</a></p>
<!-- @@@Filter -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherited By:</td><td class="memItemRight bottomAlign"> <p><a href="qml-allof.html">AllOf</a>, <a href="qml-anyof.html">AnyOf</a>, <a href="qml-expressionfilter.html">ExpressionFilter</a>, <a href="qml-indexfilter.html">IndexFilter</a>, and <a href="qml-rolefilter.html">RoleFilter</a></p>
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import SortFilterProxyModel .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherited By:</td><td class="memItemRight bottomAlign"> <p><a href="qml-sortfilterproxymodel-allof.html">AllOf</a>, <a href="qml-sortfilterproxymodel-anyof.html">AnyOf</a>, <a href="qml-sortfilterproxymodel-expressionfilter.html">ExpressionFilter</a>, <a href="qml-sortfilterproxymodel-indexfilter.html">IndexFilter</a>, and <a href="qml-sortfilterproxymodel-rolefilter.html">RoleFilter</a></p>
</td></tr></table></div><ul>
<li><a href="qml-filter-members.html">List of all members, including inherited members</a></li>
<li><a href="qml-sortfilterproxymodel-filter-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-filter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-filter.html#inverted-prop">inverted</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-filter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-filter.html#inverted-prop">inverted</a></b></b> : bool</li>
</ul>
<!-- $$$Filter-description -->
<a name="details"></a>
@ -42,7 +42,7 @@
<!-- $$$enabled -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="enabled-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="enabled-prop"></a><span class="name">enabled</span> : <span class="type">bool</span></p></td></tr>
</table></div>
@ -53,7 +53,7 @@
<!-- $$$inverted -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="inverted-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="inverted-prop"></a><span class="name">inverted</span> : <span class="type">bool</span></p></td></tr>
</table></div>

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- filtercontainer.cpp -->
<title>List of All Members for FilterContainer | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for FilterContainer</h1>
<p>This is the complete list of members for <a href="qml-sortfilterproxymodel-filtercontainer.html">FilterContainer</a>, including inherited members.</p>
<ul>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-filtercontainer.html#container-attached-prop">container</a></b></b> : bool [attached]</li>
</ul>
</body>
</html>

View File

@ -0,0 +1,61 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- filtercontainer.cpp -->
<title>FilterContainer QML Type | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#attached-properties">Attached Properties</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
<li class="level2"><a href="#types-implementing-this-interface">Types implementing this interface:</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">FilterContainer QML Type</h1>
<span class="subtitle"></span>
<!-- $$$FilterContainer-brief -->
<p>Abstract interface for types containing <a href="qml-sortfilterproxymodel-filter.html">Filters</a>. <a href="#details">More...</a></p>
<!-- @@@FilterContainer -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import SortFilterProxyModel .</td></tr></table></div><ul>
<li><a href="qml-sortfilterproxymodel-filtercontainer-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="attached-properties"></a>
<h2 id="attached-properties">Attached Properties</h2>
<ul>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-filtercontainer.html#container-attached-prop">container</a></b></b> : bool</li>
</ul>
<!-- $$$FilterContainer-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<a name="types-implementing-this-interface"></a>
<h3 id="types-implementing-this-interface">Types implementing this interface:</h3>
<div class="table"><table class="annotated">
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-allof.html">AllOf</a></p></td><td class="tblDescr"><p>Filter container accepting rows accepted by all its child filters</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-anyof.html">AnyOf</a></p></td><td class="tblDescr"><p>Filter container accepting rows accepted by at least one of its child filters</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-filterrole.html">FilterRole</a></p></td><td class="tblDescr"><p>A role resolving to true for rows matching all its filters</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-filtersorter.html">FilterSorter</a></p></td><td class="tblDescr"><p>Sorts rows based on if they match filters</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-sortfilterproxymodel.html">SortFilterProxyModel</a></p></td><td class="tblDescr"><p>Filters and sorts data coming from a source QAbstractItemModel</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-switchrole.html">SwitchRole</a></p></td><td class="tblDescr"><p>A role using Filter to conditionnaly compute its data</p></td></tr>
</table></div>
<!-- @@@FilterContainer -->
<h2>Attached Property Documentation</h2>
<!-- $$$container -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="container-attached-prop"></a><span class="name">FilterContainer.container</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This attached property allows you to include in a <a href="qml-sortfilterproxymodel-filtercontainer.html">FilterContainer</a> a <a href="qml-sortfilterproxymodel-filter.html">Filter</a> that has been instantiated outside of the <a href="qml-sortfilterproxymodel-filtercontainer.html">FilterContainer</a>, for example in an Instantiator.</p>
</div></div><!-- @@@container -->
<br/>
</body>
</html>

View File

@ -10,13 +10,10 @@
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for FilterRole</h1>
<p>This is the complete list of members for <a href="qml-filterrole.html">FilterRole</a>, including inherited members.</p>
<p>This is the complete list of members for <a href="qml-sortfilterproxymodel-filterrole.html">FilterRole</a>, including inherited members.</p>
<ul>
<li class="fn"><b><b><a href="qml-filterrole.html#filters-prop">filters</a></b></b> : string</li>
</ul>
<p>The following members are inherited from <a href="qml-singlerole.html">SingleRole</a>.</p>
<ul>
<li class="fn"><b><b><a href="qml-singlerole.html#name-prop">name</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-filterrole.html#filters-prop">filters</a></b></b> : list&lt;Filter&gt; [default]</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-filterrole.html#name-prop">name</a></b></b> : string</li>
</ul>
</body>
</html>

View File

@ -20,22 +20,23 @@
<h1 class="title">FilterRole QML Type</h1>
<span class="subtitle"></span>
<!-- $$$FilterRole-brief -->
<p>A role resolving to <code>true</code> for rows matching all its filters <a href="#details">More...</a></p>
<p>A role resolving to <code>true</code> for rows matching all its filters. <a href="#details">More...</a></p>
<!-- @@@FilterRole -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-singlerole.html">SingleRole</a></p>
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import SortFilterProxyModel .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-sortfilterproxymodel-singlerole.html">SingleRole</a></p>
</td></tr></table></div><ul>
<li><a href="qml-filterrole-members.html">List of all members, including inherited members</a></li>
<li><a href="qml-sortfilterproxymodel-filterrole-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-filterrole.html#filters-prop">filters</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-filterrole.html#filters-prop">filters</a></b></b> : list&lt;Filter&gt;</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-filterrole.html#name-prop">name</a></b></b> : string</li>
</ul>
<!-- $$$FilterRole-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<p>A <a href="qml-filterrole.html">FilterRole</a> is a <a href="qml-proxyrole.html">ProxyRole</a> that returns <code>true</code> for rows matching all its filters.</p>
<p>A FilterRole is a <a href="qml-sortfilterproxymodel-proxyrole.html">ProxyRole</a> that returns <code>true</code> for rows matching all its filters.</p>
<p>In the following example, the <code>isAdult</code> role will be equal to <code>true</code> if the <code>age</code> role is superior or equal to 18.</p>
<pre class="cpp">SortFilterProxyModel {
sourceModel: personModel
@ -44,18 +45,29 @@
RangeFilter { roleName: <span class="string">&quot;age&quot;</span>; minimumValue: <span class="number">18</span>; minimumInclusive: <span class="keyword">true</span> }
}
}</pre>
<p><b>See also </b><a href="qml-sortfilterproxymodel-filtercontainer.html">FilterContainer</a>.</p>
<!-- @@@FilterRole -->
<h2>Property Documentation</h2>
<!-- $$$filters -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="filters-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="filters-prop"></a><span class="name">filters</span> : <span class="type">string</span></p></td></tr>
<a name="filters-prop"></a><span class="qmldefault">[default] </span><span class="name">filters</span> : <span class="type">list</span>&lt;<span class="type"><a href="qml-sortfilterproxymodel-filter.html">Filter</a></span>&gt;</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the list of filters for this filter role. The data of this role will be equal to the <code>true</code> if all its filters match the model row, <code>false</code> otherwise.</p>
<p><b>See also </b><a href="qml-filter.html">Filter</a>.</p>
<p><b>See also </b><a href="qml-sortfilterproxymodel-filter.html">Filter</a> and <a href="qml-sortfilterproxymodel-filtercontainer.html">FilterContainer</a>.</p>
</div></div><!-- @@@filters -->
<br/>
<!-- $$$name -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="name-prop"></a><span class="name">name</span> : <span class="type">string</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the role name of the proxy role.</p>
</div></div><!-- @@@name -->
<br/>
</body>
</html>

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- filtersorter.cpp -->
<title>List of All Members for FilterSorter | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for FilterSorter</h1>
<p>This is the complete list of members for <a href="qml-sortfilterproxymodel-filtersorter.html">FilterSorter</a>, including inherited members.</p>
<ul>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-filtersorter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-filtersorter.html#filters-prop">filters</a></b></b> : list&lt;Filter&gt; [default]</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-filtersorter.html#priority-prop">priority</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-filtersorter.html#sortOrder-prop">sortOrder</a></b></b> : Qt::SortOrder</li>
</ul>
</body>
</html>

View File

@ -0,0 +1,101 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- filtersorter.cpp -->
<title>FilterSorter QML Type | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.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">FilterSorter QML Type</h1>
<span class="subtitle"></span>
<!-- $$$FilterSorter-brief -->
<p>Sorts rows based on if they match filters. <a href="#details">More...</a></p>
<!-- @@@FilterSorter -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import SortFilterProxyModel .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-sortfilterproxymodel-sorter.html">Sorter</a></p>
</td></tr></table></div><ul>
<li><a href="qml-sortfilterproxymodel-filtersorter-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-sortfilterproxymodel-filtersorter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-filtersorter.html#filters-prop">filters</a></b></b> : list&lt;Filter&gt;</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-filtersorter.html#priority-prop">priority</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-filtersorter.html#sortOrder-prop">sortOrder</a></b></b> : Qt::SortOrder</li>
</ul>
<!-- $$$FilterSorter-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<p>A FilterSorter is a <a href="qml-sortfilterproxymodel-sorter.html">Sorter</a> that orders row matching its filters before the rows not matching the filters.</p>
<p>In the following example, rows with their <code>favorite</code> role set to <code>true</code> will be ordered at the beginning :</p>
<pre class="cpp">SortFilterProxyModel {
sourceModel: contactModel
sorters: FilterSorter {
ValueFilter { roleName: <span class="string">&quot;favorite&quot;</span>; value: <span class="keyword">true</span> }
}
}</pre>
<p><b>See also </b><a href="qml-sortfilterproxymodel-filtercontainer.html">FilterContainer</a>.</p>
<!-- @@@FilterSorter -->
<h2>Property Documentation</h2>
<!-- $$$enabled -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="enabled-prop"></a><span class="name">enabled</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds whether the sorter is enabled. A disabled sorter will not change the order of the rows.</p>
<p>By default, sorters are enabled.</p>
</div></div><!-- @@@enabled -->
<br/>
<!-- $$$filters -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="filters-prop"></a><span class="qmldefault">[default] </span><span class="name">filters</span> : <span class="type">list</span>&lt;<span class="type"><a href="qml-sortfilterproxymodel-filter.html">Filter</a></span>&gt;</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the list of filters for this filter sorter. If a row match all this <a href="qml-sortfilterproxymodel-filtersorter.html">FilterSorter</a>'s filters, it will be ordered before rows not matching all the filters.</p>
<p><b>See also </b><a href="qml-sortfilterproxymodel-filter.html">Filter</a> and <a href="qml-sortfilterproxymodel-filtercontainer.html">FilterContainer</a>.</p>
</div></div><!-- @@@filters -->
<br/>
<!-- $$$priority -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="priority-prop"></a><span class="name">priority</span> : <span class="type">int</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the sort priority of this sorter. Sorters with a higher priority are applied first. In case of equal priority, Sorters are ordered by their insertion order.</p>
<p>By default, the priority is 0.</p>
</div></div><!-- @@@priority -->
<br/>
<!-- $$$sortOrder -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="sortOrder-prop"></a><span class="name">sortOrder</span> : <span class="type">Qt::SortOrder</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the sort order of this sorter.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt.AscendingOrder</code></td><td class="topAlign">The items are sorted ascending e.g&#x2e; starts with 'AAA' ends with 'ZZZ' in Latin-1 locales</td></tr>
<tr><td class="topAlign"><code>Qt.DescendingOrder</code></td><td class="topAlign">The items are sorted descending e.g&#x2e; starts with 'ZZZ' ends with 'AAA' in Latin-1 locales</td></tr>
</table></div>
<p>By default, sorting is in ascending order.</p>
</div></div><!-- @@@sortOrder -->
<br/>
</body>
</html>

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- indexfilter.cpp -->
<title>List of All Members for IndexFilter | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for IndexFilter</h1>
<p>This is the complete list of members for <a href="qml-sortfilterproxymodel-indexfilter.html">IndexFilter</a>, including inherited members.</p>
<ul>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-indexfilter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-indexfilter.html#inverted-prop">inverted</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-indexfilter.html#maximumIndex-prop">maximumIndex</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-indexfilter.html#minimumIndex-prop">minimumIndex</a></b></b> : int</li>
</ul>
</body>
</html>

View File

@ -20,23 +20,25 @@
<h1 class="title">IndexFilter QML Type</h1>
<span class="subtitle"></span>
<!-- $$$IndexFilter-brief -->
<p>Filters rows based on their source index <a href="#details">More...</a></p>
<p>Filters rows based on their source index. <a href="#details">More...</a></p>
<!-- @@@IndexFilter -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-filter.html">Filter</a></p>
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import SortFilterProxyModel .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-sortfilterproxymodel-filter.html">Filter</a></p>
</td></tr></table></div><ul>
<li><a href="qml-indexfilter-members.html">List of all members, including inherited members</a></li>
<li><a href="qml-sortfilterproxymodel-indexfilter-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-indexfilter.html#maximumIndex-prop">maximumIndex</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-indexfilter.html#minimumIndex-prop">minimumIndex</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-indexfilter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-indexfilter.html#inverted-prop">inverted</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-indexfilter.html#maximumIndex-prop">maximumIndex</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-indexfilter.html#minimumIndex-prop">minimumIndex</a></b></b> : int</li>
</ul>
<!-- $$$IndexFilter-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<p>An <a href="qml-indexfilter.html">IndexFilter</a> is a filter allowing contents to be filtered based on their source model index.</p>
<p>An IndexFilter is a filter allowing contents to be filtered based on their source model index.</p>
<p>In the following example, only the first row of the source model will be accepted:</p>
<pre class="cpp">SortFilterProxyModel {
sourceModel: contactModel
@ -46,10 +48,32 @@
}</pre>
<!-- @@@IndexFilter -->
<h2>Property Documentation</h2>
<!-- $$$enabled -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="enabled-prop"></a><span class="name">enabled</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds whether the filter is enabled. A disabled filter will accept every rows unconditionally (even if it's inverted).</p>
<p>By default, filters are enabled.</p>
</div></div><!-- @@@enabled -->
<br/>
<!-- $$$inverted -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="inverted-prop"></a><span class="name">inverted</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds whether the filter is inverted. When a filter is inverted, a row normally accepted would be rejected, and vice-versa.</p>
<p>By default, filters are not inverted.</p>
</div></div><!-- @@@inverted -->
<br/>
<!-- $$$maximumIndex -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="maximumIndex-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="maximumIndex-prop"></a><span class="name">maximumIndex</span> : <span class="type">int</span></p></td></tr>
</table></div>
@ -64,7 +88,7 @@
<!-- $$$minimumIndex -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="minimumIndex-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="minimumIndex-prop"></a><span class="name">minimumIndex</span> : <span class="type">int</span></p></td></tr>
</table></div>

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- joinrole.cpp -->
<title>List of All Members for JoinRole | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for JoinRole</h1>
<p>This is the complete list of members for <a href="qml-sortfilterproxymodel-joinrole.html">JoinRole</a>, including inherited members.</p>
<ul>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-joinrole.html#name-prop">name</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-joinrole.html#roleNames-prop">roleNames</a></b></b> : list&lt;string&gt;</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-joinrole.html#separator-prop">separator</a></b></b> : string</li>
</ul>
</body>
</html>

View File

@ -20,23 +20,24 @@
<h1 class="title">JoinRole QML Type</h1>
<span class="subtitle"></span>
<!-- $$$JoinRole-brief -->
<p>a role made from concatenating other roles <a href="#details">More...</a></p>
<p>a role made from concatenating other roles. <a href="#details">More...</a></p>
<!-- @@@JoinRole -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-singlerole.html">SingleRole</a></p>
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import SortFilterProxyModel .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-sortfilterproxymodel-singlerole.html">SingleRole</a></p>
</td></tr></table></div><ul>
<li><a href="qml-joinrole-members.html">List of all members, including inherited members</a></li>
<li><a href="qml-sortfilterproxymodel-joinrole-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-joinrole.html#roleNames-prop">roleNames</a></b></b> : list&lt;string&gt;</li>
<li class="fn"><b><b><a href="qml-joinrole.html#separator-prop">separator</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-joinrole.html#name-prop">name</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-joinrole.html#roleNames-prop">roleNames</a></b></b> : list&lt;string&gt;</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-joinrole.html#separator-prop">separator</a></b></b> : string</li>
</ul>
<!-- $$$JoinRole-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<p>A <a href="qml-joinrole.html">JoinRole</a> is a simple <a href="qml-proxyrole.html">ProxyRole</a> that concatenates other roles.</p>
<p>A JoinRole is a simple <a href="qml-sortfilterproxymodel-proxyrole.html">ProxyRole</a> that concatenates other roles.</p>
<p>In the following example, the <code>fullName</code> role is computed by the concatenation of the <code>firstName</code> role and the <code>lastName</code> role separated by a space :</p>
<pre class="cpp">SortFilterProxyModel {
sourceModel: contactModel
@ -47,10 +48,20 @@
}</pre>
<!-- @@@JoinRole -->
<h2>Property Documentation</h2>
<!-- $$$name -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="name-prop"></a><span class="name">name</span> : <span class="type">string</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the role name of the proxy role.</p>
</div></div><!-- @@@name -->
<br/>
<!-- $$$roleNames -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="roleNames-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="roleNames-prop"></a><span class="name">roleNames</span> : <span class="type">list</span>&lt;<span class="type">string</span>&gt;</p></td></tr>
</table></div>
@ -60,11 +71,11 @@
<!-- $$$separator -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="separator-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="separator-prop"></a><span class="name">separator</span> : <span class="type">string</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the separator that is used to join the roles specified in <a href="qml-joinrole.html#roleNames-prop">roleNames</a>.</p>
</div><div class="qmldoc"><p>This property holds the separator that is used to join the roles specified in <a href="qml-sortfilterproxymodel-joinrole.html#roleNames-prop">roleNames</a>.</p>
<p>By default, it's a space.</p>
</div></div><!-- @@@separator -->
<br/>

View File

@ -1,30 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qqmlsortfilterproxymodel.cpp -->
<title>List of All Members for SortFilterProxyModel | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for SortFilterProxyModel</h1>
<p>This is the complete list of members for <a href="qml-sortfilterproxymodel.html">SortFilterProxyModel</a>, including inherited members.</p>
<ul>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel.html#count-prop">count</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel.html#filters-prop">filters</a></b></b> : list&lt;Filter&gt;</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel.html#proxyRoles-prop">proxyRoles</a></b></b> : list&lt;ProxyRole&gt;</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel.html#sortRoleName-prop">sortRoleName</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel.html#sorters-prop">sorters</a></b></b> : list&lt;Sorter&gt;</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel.html#sourceModel-prop">sourceModel</a></b></b> : QAbstractItemModel*</li>
<li class="fn">variant <b><b><a href="qml-sortfilterproxymodel.html#get-method-1">get</a></b></b>(int <i>row</i>, string <i>roleName</i>)</li>
<li class="fn">object <b><b><a href="qml-sortfilterproxymodel.html#get-method">get</a></b></b>(int <i>row</i>)</li>
<li class="fn">int <b><b><a href="qml-sortfilterproxymodel.html#mapFromSource-method-1">mapFromSource</a></b></b>(int <i>sourceRow</i>)</li>
<li class="fn">QModelIndex <b><b><a href="qml-sortfilterproxymodel.html#mapFromSource-method">mapFromSource</a></b></b>(QModelIndex <i>sourceIndex</i>)</li>
<li class="fn">int <b><b><a href="qml-sortfilterproxymodel.html#mapToSource-method-1">mapToSource</a></b></b>(int <i>proxyRow</i>)</li>
<li class="fn">index <b><b><a href="qml-sortfilterproxymodel.html#mapToSource-method">mapToSource</a></b></b>(index <i>proxyIndex</i>)</li>
<li class="fn">int <b><b><a href="qml-sortfilterproxymodel.html#roleForName-method">roleForName</a></b></b>(string <i>roleName</i>)</li>
</ul>
</body>
</html>

View File

@ -10,6 +10,6 @@
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for ProxyRole</h1>
<p>This is the complete list of members for <a href="qml-proxyrole.html">ProxyRole</a>, including inherited members.</p>
<p>This is the complete list of members for <a href="qml-sortfilterproxymodel-proxyrole.html">ProxyRole</a>, including inherited members.</p>
</body>
</html>

View File

@ -19,17 +19,17 @@
<h1 class="title">ProxyRole QML Type</h1>
<span class="subtitle"></span>
<!-- $$$ProxyRole-brief -->
<p>Base type for the <a href="qml-sortfilterproxymodel.html">SortFilterProxyModel</a> proxy roles <a href="#details">More...</a></p>
<p>Base type for the <a href="qml-sortfilterproxymodel-sortfilterproxymodel.html">SortFilterProxyModel</a> proxy roles. <a href="#details">More...</a></p>
<!-- @@@ProxyRole -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherited By:</td><td class="memItemRight bottomAlign"> <p><a href="qml-regexprole.html">RegExpRole</a> and <a href="qml-singlerole.html">SingleRole</a></p>
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import SortFilterProxyModel .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherited By:</td><td class="memItemRight bottomAlign"> <p><a href="qml-sortfilterproxymodel-regexprole.html">RegExpRole</a> and <a href="qml-sortfilterproxymodel-singlerole.html">SingleRole</a></p>
</td></tr></table></div><ul>
<li><a href="qml-proxyrole-members.html">List of all members, including inherited members</a></li>
<li><a href="qml-sortfilterproxymodel-proxyrole-members.html">List of all members, including inherited members</a></li>
</ul>
<!-- $$$ProxyRole-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<p>The <a href="qml-proxyrole.html">ProxyRole</a> type cannot be used directly in a QML file. It exists to provide a set of common properties and methods, available across all the other proxy role types that inherit from it. Attempting to use the <a href="qml-proxyrole.html">ProxyRole</a> type directly will result in an error.</p>
<p>The ProxyRole type cannot be used directly in a QML file. It exists to provide a set of common properties and methods, available across all the other proxy role types that inherit from it. Attempting to use the ProxyRole type directly will result in an error.</p>
<!-- @@@ProxyRole -->
</body>
</html>

View File

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- rangefilter.cpp -->
<title>List of All Members for RangeFilter | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for RangeFilter</h1>
<p>This is the complete list of members for <a href="qml-sortfilterproxymodel-rangefilter.html">RangeFilter</a>, including inherited members.</p>
<ul>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-rangefilter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-rangefilter.html#inverted-prop">inverted</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-rangefilter.html#maximumInclusive-prop">maximumInclusive</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-rangefilter.html#maximumValue-prop">maximumValue</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-rangefilter.html#minimumInclusive-prop">minimumInclusive</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-rangefilter.html#minimumValue-prop">minimumValue</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-rangefilter.html#roleName-prop">roleName</a></b></b> : string</li>
</ul>
</body>
</html>

View File

@ -20,26 +20,28 @@
<h1 class="title">RangeFilter QML Type</h1>
<span class="subtitle"></span>
<!-- $$$RangeFilter-brief -->
<p>Filters rows between boundary values <a href="#details">More...</a></p>
<p>Filters rows between boundary values. <a href="#details">More...</a></p>
<!-- @@@RangeFilter -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-rolefilter.html">RoleFilter</a></p>
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import SortFilterProxyModel .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-sortfilterproxymodel-rolefilter.html">RoleFilter</a></p>
</td></tr></table></div><ul>
<li><a href="qml-rangefilter-members.html">List of all members, including inherited members</a></li>
<li><a href="qml-sortfilterproxymodel-rangefilter-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-rangefilter.html#maximumInclusive-prop">maximumInclusive</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-rangefilter.html#maximumValue-prop">maximumValue</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-rangefilter.html#minimumInclusive-prop">minimumInclusive</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-rangefilter.html#minimumValue-prop">minimumValue</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-rangefilter.html#roleName-prop">roleName</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-rangefilter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-rangefilter.html#inverted-prop">inverted</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-rangefilter.html#maximumInclusive-prop">maximumInclusive</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-rangefilter.html#maximumValue-prop">maximumValue</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-rangefilter.html#minimumInclusive-prop">minimumInclusive</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-rangefilter.html#minimumValue-prop">minimumValue</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-rangefilter.html#roleName-prop">roleName</a></b></b> : string</li>
</ul>
<!-- $$$RangeFilter-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<p>A <a href="qml-rangefilter.html">RangeFilter</a> is a <a href="qml-rolefilter.html">RoleFilter</a> that accepts rows if their data is between the filter's minimum and maximum value.</p>
<p>A RangeFilter is a <a href="qml-sortfilterproxymodel-rolefilter.html">RoleFilter</a> that accepts rows if their data is between the filter's minimum and maximum value.</p>
<p>In the following example, only rows with their <code>price</code> role set to a value between the tow boundary of the slider will be accepted :</p>
<pre class="cpp">RangeSlider {
id: priceRangeSlider
@ -55,58 +57,80 @@ SortFilterProxyModel {
}</pre>
<!-- @@@RangeFilter -->
<h2>Property Documentation</h2>
<!-- $$$enabled -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="enabled-prop"></a><span class="name">enabled</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds whether the filter is enabled. A disabled filter will accept every rows unconditionally (even if it's inverted).</p>
<p>By default, filters are enabled.</p>
</div></div><!-- @@@enabled -->
<br/>
<!-- $$$inverted -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="inverted-prop"></a><span class="name">inverted</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds whether the filter is inverted. When a filter is inverted, a row normally accepted would be rejected, and vice-versa.</p>
<p>By default, filters are not inverted.</p>
</div></div><!-- @@@inverted -->
<br/>
<!-- $$$maximumInclusive -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="maximumInclusive-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="maximumInclusive-prop"></a><span class="name">maximumInclusive</span> : <span class="type">int</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds whether the <a href="qml-rangefilter.html#minimumValue-prop">minimumValue</a> is inclusive.</p>
<p>By default, the <a href="qml-rangefilter.html#minimumValue-prop">minimumValue</a> is inclusive.</p>
<p><b>See also </b><a href="qml-rangefilter.html#minimumValue-prop">minimumValue</a>.</p>
</div><div class="qmldoc"><p>This property holds whether the <a href="qml-sortfilterproxymodel-rangefilter.html#minimumValue-prop">minimumValue</a> is inclusive.</p>
<p>By default, the <a href="qml-sortfilterproxymodel-rangefilter.html#minimumValue-prop">minimumValue</a> is inclusive.</p>
<p><b>See also </b><a href="qml-sortfilterproxymodel-rangefilter.html#minimumValue-prop">minimumValue</a>.</p>
</div></div><!-- @@@maximumInclusive -->
<br/>
<!-- $$$maximumValue -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="maximumValue-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="maximumValue-prop"></a><span class="name">maximumValue</span> : <span class="type">int</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the maximumValue of the filter. Rows with a value higher than <code>maximumValue</code> will be rejected.</p>
<p>By default, no value is set.</p>
<p><b>See also </b><a href="qml-rangefilter.html#maximumInclusive-prop">maximumInclusive</a>.</p>
<p><b>See also </b><a href="qml-sortfilterproxymodel-rangefilter.html#maximumInclusive-prop">maximumInclusive</a>.</p>
</div></div><!-- @@@maximumValue -->
<br/>
<!-- $$$minimumInclusive -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="minimumInclusive-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="minimumInclusive-prop"></a><span class="name">minimumInclusive</span> : <span class="type">int</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds whether the <a href="qml-rangefilter.html#minimumValue-prop">minimumValue</a> is inclusive.</p>
<p>By default, the <a href="qml-rangefilter.html#minimumValue-prop">minimumValue</a> is inclusive.</p>
<p><b>See also </b><a href="qml-rangefilter.html#minimumValue-prop">minimumValue</a>.</p>
</div><div class="qmldoc"><p>This property holds whether the <a href="qml-sortfilterproxymodel-rangefilter.html#minimumValue-prop">minimumValue</a> is inclusive.</p>
<p>By default, the <a href="qml-sortfilterproxymodel-rangefilter.html#minimumValue-prop">minimumValue</a> is inclusive.</p>
<p><b>See also </b><a href="qml-sortfilterproxymodel-rangefilter.html#minimumValue-prop">minimumValue</a>.</p>
</div></div><!-- @@@minimumInclusive -->
<br/>
<!-- $$$minimumValue -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="minimumValue-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="minimumValue-prop"></a><span class="name">minimumValue</span> : <span class="type">int</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the minimumValue of the filter. Rows with a value lower than <code>minimumValue</code> will be rejected.</p>
<p>By default, no value is set.</p>
<p><b>See also </b><a href="qml-rangefilter.html#minimumInclusive-prop">minimumInclusive</a>.</p>
<p><b>See also </b><a href="qml-sortfilterproxymodel-rangefilter.html#minimumInclusive-prop">minimumInclusive</a>.</p>
</div></div><!-- @@@minimumValue -->
<br/>
<!-- $$$roleName -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="roleName-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="roleName-prop"></a><span class="name">roleName</span> : <span class="type">string</span></p></td></tr>
</table></div>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- regexpfilter.cpp -->
<title>List of All Members for RegExpFilter | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for RegExpFilter</h1>
<p>This is the complete list of members for <a href="qml-sortfilterproxymodel-regexpfilter.html">RegExpFilter</a>, including inherited members.</p>
<ul>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-regexpfilter.html#caseSensitivity-prop">caseSensitivity</a></b></b> : Qt::CaseSensitivity</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-regexpfilter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-regexpfilter.html#inverted-prop">inverted</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-regexpfilter.html#pattern-prop">pattern</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-regexpfilter.html#roleName-prop">roleName</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-regexpfilter.html#syntax-prop">syntax</a></b></b> : enum</li>
</ul>
</body>
</html>

View File

@ -20,25 +20,27 @@
<h1 class="title">RegExpFilter QML Type</h1>
<span class="subtitle"></span>
<!-- $$$RegExpFilter-brief -->
<p>Filters rows matching a regular expression <a href="#details">More...</a></p>
<p>Filters rows matching a regular expression. <a href="#details">More...</a></p>
<!-- @@@RegExpFilter -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-rolefilter.html">RoleFilter</a></p>
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import SortFilterProxyModel .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-sortfilterproxymodel-rolefilter.html">RoleFilter</a></p>
</td></tr></table></div><ul>
<li><a href="qml-regexpfilter-members.html">List of all members, including inherited members</a></li>
<li><a href="qml-sortfilterproxymodel-regexpfilter-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-regexpfilter.html#caseSensitivity-prop">caseSensitivity</a></b></b> : Qt::CaseSensitivity</li>
<li class="fn"><b><b><a href="qml-regexpfilter.html#pattern-prop">pattern</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-regexpfilter.html#roleName-prop">roleName</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-regexpfilter.html#syntax-prop">syntax</a></b></b> : enum</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-regexpfilter.html#caseSensitivity-prop">caseSensitivity</a></b></b> : Qt::CaseSensitivity</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-regexpfilter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-regexpfilter.html#inverted-prop">inverted</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-regexpfilter.html#pattern-prop">pattern</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-regexpfilter.html#roleName-prop">roleName</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-regexpfilter.html#syntax-prop">syntax</a></b></b> : enum</li>
</ul>
<!-- $$$RegExpFilter-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<p>A <a href="qml-regexpfilter.html">RegExpFilter</a> is a <a href="qml-rolefilter.html">RoleFilter</a> that accepts rows matching a regular rexpression.</p>
<p>A RegExpFilter is a <a href="qml-sortfilterproxymodel-rolefilter.html">RoleFilter</a> that accepts rows matching a regular rexpression.</p>
<p>In the following example, only rows with their <code>lastName</code> role beggining with the content of textfield the will be accepted:</p>
<pre class="cpp">TextField {
id: nameTextField
@ -56,28 +58,50 @@ SortFilterProxyModel {
<!-- $$$caseSensitivity -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="caseSensitivity-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="caseSensitivity-prop"></a><span class="name">caseSensitivity</span> : <span class="type">Qt::CaseSensitivity</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the caseSensitivity of the filter.</p>
</div></div><!-- @@@caseSensitivity -->
<br/>
<!-- $$$enabled -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="enabled-prop"></a><span class="name">enabled</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds whether the filter is enabled. A disabled filter will accept every rows unconditionally (even if it's inverted).</p>
<p>By default, filters are enabled.</p>
</div></div><!-- @@@enabled -->
<br/>
<!-- $$$inverted -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="inverted-prop"></a><span class="name">inverted</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds whether the filter is inverted. When a filter is inverted, a row normally accepted would be rejected, and vice-versa.</p>
<p>By default, filters are not inverted.</p>
</div></div><!-- @@@inverted -->
<br/>
<!-- $$$pattern -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="pattern-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="pattern-prop"></a><span class="name">pattern</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The pattern used to filter the contents of the source model.</p>
<p><b>See also </b><a href="qml-regexpfilter.html#syntax-prop">syntax</a>.</p>
<p><b>See also </b><a href="qml-sortfilterproxymodel-regexpfilter.html#syntax-prop">syntax</a>.</p>
</div></div><!-- @@@pattern -->
<br/>
<!-- $$$roleName -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="roleName-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="roleName-prop"></a><span class="name">roleName</span> : <span class="type">string</span></p></td></tr>
</table></div>
@ -87,12 +111,12 @@ SortFilterProxyModel {
<!-- $$$syntax -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="syntax-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="syntax-prop"></a><span class="name">syntax</span> : <span class="type">enum</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The pattern used to filter the contents of the source model.</p>
<p>Only the source model's value having their <a href="qml-regexpfilter.html#roleName-prop">RoleFilter::roleName</a> data matching this <a href="qml-regexpfilter.html#pattern-prop">pattern</a> with the specified syntax will be kept.</p>
<p>Only the source model's value having their <a href="qml-sortfilterproxymodel-regexpfilter.html#roleName-prop">RoleFilter::roleName</a> data matching this <a href="qml-sortfilterproxymodel-regexpfilter.html#pattern-prop">pattern</a> with the specified syntax will be kept.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>RegExpFilter.RegExp</code></td><td class="topAlign">A rich Perl-like pattern matching syntax. This is the default.</td></tr>
<tr><td class="topAlign"><code>RegExpFilter.Wildcard</code></td><td class="topAlign">This provides a simple pattern matching syntax similar to that used by shells (command interpreters) for &quot;file globbing&quot;.</td></tr>
@ -101,7 +125,7 @@ SortFilterProxyModel {
<tr><td class="topAlign"><code>RegExpFilter.WildcardUnix</code></td><td class="topAlign">This is similar to Wildcard but with the behavior of a Unix shell. The wildcard characters can be escaped with the character &quot;&quot;.</td></tr>
<tr><td class="topAlign"><code>RegExpFilter.W3CXmlSchema11</code></td><td class="topAlign">The pattern is a regular expression as defined by the W3C XML Schema 1.1 specification.</td></tr>
</table></div>
<p><b>See also </b><a href="qml-regexpfilter.html#pattern-prop">pattern</a>.</p>
<p><b>See also </b><a href="qml-sortfilterproxymodel-regexpfilter.html#pattern-prop">pattern</a>.</p>
</div></div><!-- @@@syntax -->
<br/>
</body>

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- regexprole.cpp -->
<title>List of All Members for RegExpRole | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for RegExpRole</h1>
<p>This is the complete list of members for <a href="qml-sortfilterproxymodel-regexprole.html">RegExpRole</a>, including inherited members.</p>
<ul>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-regexprole.html#caseSensitivity-prop">caseSensitivity</a></b></b> : Qt::CaseSensitivity</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-regexprole.html#pattern-prop">pattern</a></b></b> : QString</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-regexprole.html#roleName-prop">roleName</a></b></b> : QString</li>
</ul>
</body>
</html>

View File

@ -20,24 +20,24 @@
<h1 class="title">RegExpRole QML Type</h1>
<span class="subtitle"></span>
<!-- $$$RegExpRole-brief -->
<p>A <a href="qml-proxyrole.html">ProxyRole</a> extracting data from a source role via a regular expression. <a href="#details">More...</a></p>
<p>A <a href="qml-sortfilterproxymodel-proxyrole.html">ProxyRole</a> extracting data from a source role via a regular expression. <a href="#details">More...</a></p>
<!-- @@@RegExpRole -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-proxyrole.html">ProxyRole</a></p>
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import SortFilterProxyModel .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-sortfilterproxymodel-proxyrole.html">ProxyRole</a></p>
</td></tr></table></div><ul>
<li><a href="qml-regexprole-members.html">List of all members, including inherited members</a></li>
<li><a href="qml-sortfilterproxymodel-regexprole-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-regexprole.html#caseSensitivity-prop">caseSensitivity</a></b></b> : Qt::CaseSensitivity</li>
<li class="fn"><b><b><a href="qml-regexprole.html#pattern-prop">pattern</a></b></b> : QString</li>
<li class="fn"><b><b><a href="qml-regexprole.html#roleName-prop">roleName</a></b></b> : QString</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-regexprole.html#caseSensitivity-prop">caseSensitivity</a></b></b> : Qt::CaseSensitivity</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-regexprole.html#pattern-prop">pattern</a></b></b> : QString</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-regexprole.html#roleName-prop">roleName</a></b></b> : QString</li>
</ul>
<!-- $$$RegExpRole-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<p>A <a href="qml-regexprole.html">RegExpRole</a> is a <a href="qml-proxyrole.html">ProxyRole</a> that provides a role for each named capture group of its regular expression <a href="qml-regexprole.html#pattern-prop">pattern</a>.</p>
<p>A RegExpRole is a <a href="qml-sortfilterproxymodel-proxyrole.html">ProxyRole</a> that provides a role for each named capture group of its regular expression <a href="qml-sortfilterproxymodel-regexprole.html#pattern-prop">pattern</a>.</p>
<p>In the following example, the <code>date</code> role of the source model will be extracted in 3 roles in the proxy moodel: <code>year</code>, <code>month</code> and <code>day</code>.</p>
<pre class="cpp">SortFilterProxyModel {
sourceModel: eventModel
@ -51,7 +51,7 @@
<!-- $$$caseSensitivity -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="caseSensitivity-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="caseSensitivity-prop"></a><span class="name">caseSensitivity</span> : <span class="type">Qt::CaseSensitivity</span></p></td></tr>
</table></div>
@ -61,21 +61,21 @@
<!-- $$$pattern -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="pattern-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="pattern-prop"></a><span class="name">pattern</span> : <span class="type">QString</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the pattern of the regular expression of this <a href="qml-regexprole.html">RegExpRole</a>. The <a href="qml-regexprole.html">RegExpRole</a> will expose a role for each of the named capture group of the pattern.</p>
</div><div class="qmldoc"><p>This property holds the pattern of the regular expression of this <a href="qml-sortfilterproxymodel-regexprole.html">RegExpRole</a>. The <a href="qml-sortfilterproxymodel-regexprole.html">RegExpRole</a> will expose a role for each of the named capture group of the pattern.</p>
</div></div><!-- @@@pattern -->
<br/>
<!-- $$$roleName -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="roleName-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="roleName-prop"></a><span class="name">roleName</span> : <span class="type">QString</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the role name that the <a href="qml-regexprole.html">RegExpRole</a> is using to query the source model's data to extract new roles from.</p>
</div><div class="qmldoc"><p>This property holds the role name that the <a href="qml-sortfilterproxymodel-regexprole.html">RegExpRole</a> is using to query the source model's data to extract new roles from.</p>
</div></div><!-- @@@roleName -->
<br/>
</body>

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- rolefilter.cpp -->
<title>List of All Members for RoleFilter | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for RoleFilter</h1>
<p>This is the complete list of members for <a href="qml-sortfilterproxymodel-rolefilter.html">RoleFilter</a>, including inherited members.</p>
<ul>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-rolefilter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-rolefilter.html#inverted-prop">inverted</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-rolefilter.html#roleName-prop">roleName</a></b></b> : string</li>
</ul>
</body>
</html>

View File

@ -0,0 +1,77 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- rolefilter.cpp -->
<title>RoleFilter QML Type | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.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">RoleFilter QML Type</h1>
<span class="subtitle"></span>
<!-- $$$RoleFilter-brief -->
<p>Base type for filters based on a source model role. <a href="#details">More...</a></p>
<!-- @@@RoleFilter -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import SortFilterProxyModel .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-sortfilterproxymodel-filter.html">Filter</a></p>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherited By:</td><td class="memItemRight bottomAlign"> <p><a href="qml-sortfilterproxymodel-rangefilter.html">RangeFilter</a>, <a href="qml-sortfilterproxymodel-regexpfilter.html">RegExpFilter</a>, and <a href="qml-sortfilterproxymodel-valuefilter.html">ValueFilter</a></p>
</td></tr></table></div><ul>
<li><a href="qml-sortfilterproxymodel-rolefilter-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-sortfilterproxymodel-rolefilter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-rolefilter.html#inverted-prop">inverted</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-rolefilter.html#roleName-prop">roleName</a></b></b> : string</li>
</ul>
<!-- $$$RoleFilter-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<p>The RoleFilter type cannot be used directly in a QML file. It exists to provide a set of common properties and methods, available across all the other filter types that inherit from it. Attempting to use the RoleFilter type directly will result in an error.</p>
<!-- @@@RoleFilter -->
<h2>Property Documentation</h2>
<!-- $$$enabled -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="enabled-prop"></a><span class="name">enabled</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds whether the filter is enabled. A disabled filter will accept every rows unconditionally (even if it's inverted).</p>
<p>By default, filters are enabled.</p>
</div></div><!-- @@@enabled -->
<br/>
<!-- $$$inverted -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="inverted-prop"></a><span class="name">inverted</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds whether the filter is inverted. When a filter is inverted, a row normally accepted would be rejected, and vice-versa.</p>
<p>By default, filters are not inverted.</p>
</div></div><!-- @@@inverted -->
<br/>
<!-- $$$roleName -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="roleName-prop"></a><span class="name">roleName</span> : <span class="type">string</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the role name that the filter is using to query the source model's data when filtering items.</p>
</div></div><!-- @@@roleName -->
<br/>
</body>
</html>

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- rolesorter.cpp -->
<title>List of All Members for RoleSorter | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for RoleSorter</h1>
<p>This is the complete list of members for <a href="qml-sortfilterproxymodel-rolesorter.html">RoleSorter</a>, including inherited members.</p>
<ul>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-rolesorter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-rolesorter.html#priority-prop">priority</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-rolesorter.html#roleName-prop">roleName</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-rolesorter.html#sortOrder-prop">sortOrder</a></b></b> : Qt::SortOrder</li>
</ul>
</body>
</html>

View File

@ -0,0 +1,98 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- rolesorter.cpp -->
<title>RoleSorter QML Type | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.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">RoleSorter QML Type</h1>
<span class="subtitle"></span>
<!-- $$$RoleSorter-brief -->
<p>Sorts rows based on a source model role. <a href="#details">More...</a></p>
<!-- @@@RoleSorter -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import SortFilterProxyModel .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-sortfilterproxymodel-sorter.html">Sorter</a></p>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherited By:</td><td class="memItemRight bottomAlign"> <p><a href="qml-sortfilterproxymodel-stringsorter.html">StringSorter</a></p>
</td></tr></table></div><ul>
<li><a href="qml-sortfilterproxymodel-rolesorter-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-sortfilterproxymodel-rolesorter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-rolesorter.html#priority-prop">priority</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-rolesorter.html#roleName-prop">roleName</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-rolesorter.html#sortOrder-prop">sortOrder</a></b></b> : Qt::SortOrder</li>
</ul>
<!-- $$$RoleSorter-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<p>A RoleSorter is a simple <a href="qml-sortfilterproxymodel-sorter.html">Sorter</a> that sorts rows based on a source model role.</p>
<p>In the following example, rows with be sorted by their <code>lastName</code> role :</p>
<pre class="cpp">SortFilterProxyModel {
sourceModel: contactModel
sorters: RoleSorter { roleName: <span class="string">&quot;lastName&quot;</span> }
}</pre>
<!-- @@@RoleSorter -->
<h2>Property Documentation</h2>
<!-- $$$enabled -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="enabled-prop"></a><span class="name">enabled</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds whether the sorter is enabled. A disabled sorter will not change the order of the rows.</p>
<p>By default, sorters are enabled.</p>
</div></div><!-- @@@enabled -->
<br/>
<!-- $$$priority -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="priority-prop"></a><span class="name">priority</span> : <span class="type">int</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the sort priority of this sorter. Sorters with a higher priority are applied first. In case of equal priority, Sorters are ordered by their insertion order.</p>
<p>By default, the priority is 0.</p>
</div></div><!-- @@@priority -->
<br/>
<!-- $$$roleName -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="roleName-prop"></a><span class="name">roleName</span> : <span class="type">string</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the role name that the sorter is using to query the source model's data when sorting items.</p>
</div></div><!-- @@@roleName -->
<br/>
<!-- $$$sortOrder -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="sortOrder-prop"></a><span class="name">sortOrder</span> : <span class="type">Qt::SortOrder</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the sort order of this sorter.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt.AscendingOrder</code></td><td class="topAlign">The items are sorted ascending e.g&#x2e; starts with 'AAA' ends with 'ZZZ' in Latin-1 locales</td></tr>
<tr><td class="topAlign"><code>Qt.DescendingOrder</code></td><td class="topAlign">The items are sorted descending e.g&#x2e; starts with 'ZZZ' ends with 'AAA' in Latin-1 locales</td></tr>
</table></div>
<p>By default, sorting is in ascending order.</p>
</div></div><!-- @@@sortOrder -->
<br/>
</body>
</html>

View File

@ -10,9 +10,9 @@
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for SingleRole</h1>
<p>This is the complete list of members for <a href="qml-singlerole.html">SingleRole</a>, including inherited members.</p>
<p>This is the complete list of members for <a href="qml-sortfilterproxymodel-singlerole.html">SingleRole</a>, including inherited members.</p>
<ul>
<li class="fn"><b><b><a href="qml-singlerole.html#name-prop">name</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-singlerole.html#name-prop">name</a></b></b> : string</li>
</ul>
</body>
</html>

View File

@ -20,29 +20,29 @@
<h1 class="title">SingleRole QML Type</h1>
<span class="subtitle"></span>
<!-- $$$SingleRole-brief -->
<p>Base type for the <a href="qml-sortfilterproxymodel.html">SortFilterProxyModel</a> proxy roles defining a single role <a href="#details">More...</a></p>
<p>Base type for the <a href="qml-sortfilterproxymodel-sortfilterproxymodel.html">SortFilterProxyModel</a> proxy roles defining a single role. <a href="#details">More...</a></p>
<!-- @@@SingleRole -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-proxyrole.html">ProxyRole</a></p>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherited By:</td><td class="memItemRight bottomAlign"> <p><a href="qml-expressionrole.html">ExpressionRole</a>, <a href="qml-filterrole.html">FilterRole</a>, <a href="qml-joinrole.html">JoinRole</a>, and <a href="qml-switchrole.html">SwitchRole</a></p>
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import SortFilterProxyModel .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-sortfilterproxymodel-proxyrole.html">ProxyRole</a></p>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherited By:</td><td class="memItemRight bottomAlign"> <p><a href="qml-sortfilterproxymodel-expressionrole.html">ExpressionRole</a>, <a href="qml-sortfilterproxymodel-filterrole.html">FilterRole</a>, <a href="qml-sortfilterproxymodel-joinrole.html">JoinRole</a>, and <a href="qml-sortfilterproxymodel-switchrole.html">SwitchRole</a></p>
</td></tr></table></div><ul>
<li><a href="qml-singlerole-members.html">List of all members, including inherited members</a></li>
<li><a href="qml-sortfilterproxymodel-singlerole-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-singlerole.html#name-prop">name</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-singlerole.html#name-prop">name</a></b></b> : string</li>
</ul>
<!-- $$$SingleRole-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<p><a href="qml-singlerole.html">SingleRole</a> is a convenience base class for proxy roles who define a single role. It cannot be used directly in a QML file. It exists to provide a set of common properties and methods, available across all the other proxy role types that inherit from it. Attempting to use the <a href="qml-singlerole.html">SingleRole</a> type directly will result in an error.</p>
<p>SingleRole is a convenience base class for proxy roles who define a single role. It cannot be used directly in a QML file. It exists to provide a set of common properties and methods, available across all the other proxy role types that inherit from it. Attempting to use the SingleRole type directly will result in an error.</p>
<!-- @@@SingleRole -->
<h2>Property Documentation</h2>
<!-- $$$name -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="name-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="name-prop"></a><span class="name">name</span> : <span class="type">string</span></p></td></tr>
</table></div>

View File

@ -10,10 +10,11 @@
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for Sorter</h1>
<p>This is the complete list of members for <a href="qml-sorter.html">Sorter</a>, including inherited members.</p>
<p>This is the complete list of members for <a href="qml-sortfilterproxymodel-sorter.html">Sorter</a>, including inherited members.</p>
<ul>
<li class="fn"><b><b><a href="qml-sorter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sorter.html#sortOrder-prop">sortOrder</a></b></b> : Qt::SortOrder</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-sorter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-sorter.html#priority-prop">priority</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-sorter.html#sortOrder-prop">sortOrder</a></b></b> : Qt::SortOrder</li>
</ul>
</body>
</html>

View File

@ -20,18 +20,19 @@
<h1 class="title">Sorter QML Type</h1>
<span class="subtitle"></span>
<!-- $$$Sorter-brief -->
<p>Base type for the <a href="qml-sortfilterproxymodel.html">SortFilterProxyModel</a> sorters <a href="#details">More...</a></p>
<p>Base type for the <a href="qml-sortfilterproxymodel-sortfilterproxymodel.html">SortFilterProxyModel</a> sorters. <a href="#details">More...</a></p>
<!-- @@@Sorter -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherited By:</td><td class="memItemRight bottomAlign"> <p><a href="qml-expressionsorter.html">ExpressionSorter</a>, <a href="qml-filtersorter.html">FilterSorter</a>, and <a href="qml-rolesorter.html">RoleSorter</a></p>
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import SortFilterProxyModel .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherited By:</td><td class="memItemRight bottomAlign"> <p><a href="qml-sortfilterproxymodel-expressionsorter.html">ExpressionSorter</a>, <a href="qml-sortfilterproxymodel-filtersorter.html">FilterSorter</a>, and <a href="qml-sortfilterproxymodel-rolesorter.html">RoleSorter</a></p>
</td></tr></table></div><ul>
<li><a href="qml-sorter-members.html">List of all members, including inherited members</a></li>
<li><a href="qml-sortfilterproxymodel-sorter-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-sorter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sorter.html#sortOrder-prop">sortOrder</a></b></b> : Qt::SortOrder</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-sorter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-sorter.html#priority-prop">priority</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-sorter.html#sortOrder-prop">sortOrder</a></b></b> : Qt::SortOrder</li>
</ul>
<!-- $$$Sorter-description -->
<a name="details"></a>
@ -42,7 +43,7 @@
<!-- $$$enabled -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="enabled-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="enabled-prop"></a><span class="name">enabled</span> : <span class="type">bool</span></p></td></tr>
</table></div>
@ -50,10 +51,21 @@
<p>By default, sorters are enabled.</p>
</div></div><!-- @@@enabled -->
<br/>
<!-- $$$priority -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="priority-prop"></a><span class="name">priority</span> : <span class="type">int</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the sort priority of this sorter. Sorters with a higher priority are applied first. In case of equal priority, Sorters are ordered by their insertion order.</p>
<p>By default, the priority is 0.</p>
</div></div><!-- @@@priority -->
<br/>
<!-- $$$sortOrder -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="sortOrder-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="sortOrder-prop"></a><span class="name">sortOrder</span> : <span class="type">Qt::SortOrder</span></p></td></tr>
</table></div>

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- sortercontainer.cpp -->
<title>List of All Members for SorterContainer | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for SorterContainer</h1>
<p>This is the complete list of members for <a href="qml-sortfilterproxymodel-sortercontainer.html">SorterContainer</a>, including inherited members.</p>
<ul>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-sortercontainer.html#container-attached-prop">container</a></b></b> : bool [attached]</li>
</ul>
</body>
</html>

View File

@ -0,0 +1,56 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- sortercontainer.cpp -->
<title>SorterContainer QML Type | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#attached-properties">Attached Properties</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
<li class="level2"><a href="#types-implementing-this-interface">Types implementing this interface:</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">SorterContainer QML Type</h1>
<span class="subtitle"></span>
<!-- $$$SorterContainer-brief -->
<p>Abstract interface for types containing <a href="qml-sortfilterproxymodel-sorter.html">Sorters</a>. <a href="#details">More...</a></p>
<!-- @@@SorterContainer -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import SortFilterProxyModel .</td></tr></table></div><ul>
<li><a href="qml-sortfilterproxymodel-sortercontainer-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="attached-properties"></a>
<h2 id="attached-properties">Attached Properties</h2>
<ul>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-sortercontainer.html#container-attached-prop">container</a></b></b> : bool</li>
</ul>
<!-- $$$SorterContainer-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<a name="types-implementing-this-interface"></a>
<h3 id="types-implementing-this-interface">Types implementing this interface:</h3>
<div class="table"><table class="annotated">
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-sortfilterproxymodel.html">SortFilterProxyModel</a></p></td><td class="tblDescr"><p>Filters and sorts data coming from a source QAbstractItemModel</p></td></tr>
</table></div>
<!-- @@@SorterContainer -->
<h2>Attached Property Documentation</h2>
<!-- $$$container -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="container-attached-prop"></a><span class="name">SorterContainer.container</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This attached property allows you to include in a <a href="qml-sortfilterproxymodel-sortercontainer.html">SorterContainer</a> a <a href="qml-sortfilterproxymodel-sorter.html">Sorter</a> that has been instantiated outside of the <a href="qml-sortfilterproxymodel-sortercontainer.html">SorterContainer</a>, for example in an Instantiator.</p>
</div></div><!-- @@@container -->
<br/>
</body>
</html>

View File

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qqmlsortfilterproxymodel.cpp -->
<title>List of All Members for SortFilterProxyModel | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for SortFilterProxyModel</h1>
<p>This is the complete list of members for <a href="qml-sortfilterproxymodel-sortfilterproxymodel.html">SortFilterProxyModel</a>, including inherited members.</p>
<ul>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-sortfilterproxymodel.html#count-prop">count</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-sortfilterproxymodel.html#delayed-prop">delayed</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-sortfilterproxymodel.html#filters-prop">filters</a></b></b> : list&lt;Filter&gt;</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-sortfilterproxymodel.html#proxyRoles-prop">proxyRoles</a></b></b> : list&lt;ProxyRole&gt;</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-sortfilterproxymodel.html#sortRoleName-prop">sortRoleName</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-sortfilterproxymodel.html#sorters-prop">sorters</a></b></b> : list&lt;Sorter&gt;</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-sortfilterproxymodel.html#sourceModel-prop">sourceModel</a></b></b> : QAbstractItemModel*</li>
<li class="fn">variant <b><b><a href="qml-sortfilterproxymodel-sortfilterproxymodel.html#get-method-1">get</a></b></b>(<i>row</i>, string <i>roleName</i>)</li>
<li class="fn">object <b><b><a href="qml-sortfilterproxymodel-sortfilterproxymodel.html#get-method">get</a></b></b>(<i>row</i>)</li>
<li class="fn">int <b><b><a href="qml-sortfilterproxymodel-sortfilterproxymodel.html#mapFromSource-method-1">mapFromSource</a></b></b>(<i>sourceRow</i>)</li>
<li class="fn">QModelIndex <b><b><a href="qml-sortfilterproxymodel-sortfilterproxymodel.html#mapFromSource-method">mapFromSource</a></b></b>(<i>sourceIndex</i>)</li>
<li class="fn">int <b><b><a href="qml-sortfilterproxymodel-sortfilterproxymodel.html#mapToSource-method-1">mapToSource</a></b></b>(<i>proxyRow</i>)</li>
<li class="fn">index <b><b><a href="qml-sortfilterproxymodel-sortfilterproxymodel.html#mapToSource-method">mapToSource</a></b></b>(<i>proxyIndex</i>)</li>
<li class="fn">int <b><b><a href="qml-sortfilterproxymodel-sortfilterproxymodel.html#roleForName-method">roleForName</a></b></b>(<i>roleName</i>)</li>
</ul>
</body>
</html>

View File

@ -21,97 +21,110 @@
<h1 class="title">SortFilterProxyModel QML Type</h1>
<span class="subtitle"></span>
<!-- $$$SortFilterProxyModel-brief -->
<p>Filters and sorts data coming from a source <a href="http://doc.qt.io/qt-5/qabstractitemmodel.html">QAbstractItemModel</a> <a href="#details">More...</a></p>
<p>Filters and sorts data coming from a source <a href="http://doc.qt.io/qt-5/qabstractitemmodel.html">QAbstractItemModel</a>. <a href="#details">More...</a></p>
<!-- @@@SortFilterProxyModel -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import .</td></tr></table></div><ul>
<li><a href="qml-sortfilterproxymodel-members.html">List of all members, including inherited members</a></li>
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import SortFilterProxyModel .</td></tr></table></div><ul>
<li><a href="qml-sortfilterproxymodel-sortfilterproxymodel-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-sortfilterproxymodel.html#count-prop">count</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel.html#filters-prop">filters</a></b></b> : list&lt;Filter&gt;</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel.html#proxyRoles-prop">proxyRoles</a></b></b> : list&lt;ProxyRole&gt;</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel.html#sortRoleName-prop">sortRoleName</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel.html#sorters-prop">sorters</a></b></b> : list&lt;Sorter&gt;</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel.html#sourceModel-prop">sourceModel</a></b></b> : QAbstractItemModel*</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-sortfilterproxymodel.html#count-prop">count</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-sortfilterproxymodel.html#delayed-prop">delayed</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-sortfilterproxymodel.html#filters-prop">filters</a></b></b> : list&lt;Filter&gt;</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-sortfilterproxymodel.html#proxyRoles-prop">proxyRoles</a></b></b> : list&lt;ProxyRole&gt;</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-sortfilterproxymodel.html#sortRoleName-prop">sortRoleName</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-sortfilterproxymodel.html#sorters-prop">sorters</a></b></b> : list&lt;Sorter&gt;</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-sortfilterproxymodel.html#sourceModel-prop">sourceModel</a></b></b> : QAbstractItemModel*</li>
</ul>
<a name="methods"></a>
<h2 id="methods">Methods</h2>
<ul>
<li class="fn">variant <b><b><a href="qml-sortfilterproxymodel.html#get-method-1">get</a></b></b>(int <i>row</i>, string <i>roleName</i>)</li>
<li class="fn">object <b><b><a href="qml-sortfilterproxymodel.html#get-method">get</a></b></b>(int <i>row</i>)</li>
<li class="fn">int <b><b><a href="qml-sortfilterproxymodel.html#mapFromSource-method-1">mapFromSource</a></b></b>(int <i>sourceRow</i>)</li>
<li class="fn">QModelIndex <b><b><a href="qml-sortfilterproxymodel.html#mapFromSource-method">mapFromSource</a></b></b>(QModelIndex <i>sourceIndex</i>)</li>
<li class="fn">int <b><b><a href="qml-sortfilterproxymodel.html#mapToSource-method-1">mapToSource</a></b></b>(int <i>proxyRow</i>)</li>
<li class="fn">index <b><b><a href="qml-sortfilterproxymodel.html#mapToSource-method">mapToSource</a></b></b>(index <i>proxyIndex</i>)</li>
<li class="fn">int <b><b><a href="qml-sortfilterproxymodel.html#roleForName-method">roleForName</a></b></b>(string <i>roleName</i>)</li>
<li class="fn">variant <b><b><a href="qml-sortfilterproxymodel-sortfilterproxymodel.html#get-method-1">get</a></b></b>(<i>row</i>, string <i>roleName</i>)</li>
<li class="fn">object <b><b><a href="qml-sortfilterproxymodel-sortfilterproxymodel.html#get-method">get</a></b></b>(<i>row</i>)</li>
<li class="fn">int <b><b><a href="qml-sortfilterproxymodel-sortfilterproxymodel.html#mapFromSource-method-1">mapFromSource</a></b></b>(<i>sourceRow</i>)</li>
<li class="fn">QModelIndex <b><b><a href="qml-sortfilterproxymodel-sortfilterproxymodel.html#mapFromSource-method">mapFromSource</a></b></b>(<i>sourceIndex</i>)</li>
<li class="fn">int <b><b><a href="qml-sortfilterproxymodel-sortfilterproxymodel.html#mapToSource-method-1">mapToSource</a></b></b>(<i>proxyRow</i>)</li>
<li class="fn">index <b><b><a href="qml-sortfilterproxymodel-sortfilterproxymodel.html#mapToSource-method">mapToSource</a></b></b>(<i>proxyIndex</i>)</li>
<li class="fn">int <b><b><a href="qml-sortfilterproxymodel-sortfilterproxymodel.html#roleForName-method">roleForName</a></b></b>(<i>roleName</i>)</li>
</ul>
<!-- $$$SortFilterProxyModel-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<p>The <a href="qml-sortfilterproxymodel.html">SortFilterProxyModel</a> type provides support for filtering and sorting data coming from a source model.</p>
<p>The SortFilterProxyModel type provides support for filtering and sorting data coming from a source model.</p>
<p><b>See also </b><a href="qml-sortfilterproxymodel-filtercontainer.html">FilterContainer</a> and <a href="qml-sortfilterproxymodel-sortercontainer.html">SorterContainer</a>.</p>
<!-- @@@SortFilterProxyModel -->
<h2>Property Documentation</h2>
<!-- $$$count -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="count-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="count-prop"></a><span class="name">count</span> : <span class="type">int</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The number of rows in the proxy model (not filtered out the source model)</p>
</div></div><!-- @@@count -->
<br/>
<!-- $$$delayed -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="delayed-prop"></a><span class="name">delayed</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Delay the execution of filters, sorters and <a href="index.html#proxyroles">proxyRoles</a> until the next event loop. This can be used as an optimization when multiple filters, sorters or <a href="index.html#proxyroles">proxyRoles</a> are changed in a single event loop. They will be executed once in a single batch at the next event loop instead of being executed in multiple sequential batches.</p>
<p>By default, the <a href="qml-sortfilterproxymodel-sortfilterproxymodel.html">SortFilterProxyModel</a> is not delayed, unless the <code>SFPM_DELAYED</code> environment variable is defined at compile time.</p>
</div></div><!-- @@@delayed -->
<br/>
<!-- $$$filters -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="filters-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="filters-prop"></a><span class="name">filters</span> : <span class="type">list</span>&lt;<span class="type"><a href="qml-filter.html">Filter</a></span>&gt;</p></td></tr>
<a name="filters-prop"></a><span class="name">filters</span> : <span class="type">list</span>&lt;<span class="type"><a href="qml-sortfilterproxymodel-filter.html">Filter</a></span>&gt;</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the list of filters for this proxy model. To be included in the model, a row of the source model has to be accepted by all the top level filters of this list.</p>
<p><b>See also </b><a href="qml-filter.html">Filter</a>.</p>
<p><b>See also </b><a href="qml-sortfilterproxymodel-filter.html">Filter</a> and <a href="qml-sortfilterproxymodel-filtercontainer.html">FilterContainer</a>.</p>
</div></div><!-- @@@filters -->
<br/>
<!-- $$$proxyRoles -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="proxyRoles-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="proxyRoles-prop"></a><span class="name">proxyRoles</span> : <span class="type">list</span>&lt;<span class="type"><a href="qml-proxyrole.html">ProxyRole</a></span>&gt;</p></td></tr>
<a name="proxyRoles-prop"></a><span class="name">proxyRoles</span> : <span class="type">list</span>&lt;<span class="type"><a href="qml-sortfilterproxymodel-proxyrole.html">ProxyRole</a></span>&gt;</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the list of proxy roles for this proxy model. Each proxy role adds a new custom role to the model.</p>
<p><b>See also </b><a href="qml-proxyrole.html">ProxyRole</a>.</p>
<p><b>See also </b><a href="qml-sortfilterproxymodel-proxyrole.html">ProxyRole</a>.</p>
</div></div><!-- @@@proxyRoles -->
<br/>
<!-- $$$sortRoleName -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="sortRoleName-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="sortRoleName-prop"></a><span class="name">sortRoleName</span> : <span class="type">string</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The role name of the source model's data used for the sorting.</p>
<p><b>See also </b><a href="http://doc.qt.io/qt-5/qsortfilterproxymodel.html#sortRole-prop">sortRole</a> and <a href="qml-sortfilterproxymodel.html#roleForName-method">roleForName</a>.</p>
<p><b>See also </b><a href="http://doc.qt.io/qt-5/qsortfilterproxymodel.html#sortRole-prop">sortRole</a> and <a href="qml-sortfilterproxymodel-sortfilterproxymodel.html#roleForName-method">roleForName</a>.</p>
</div></div><!-- @@@sortRoleName -->
<br/>
<!-- $$$sorters -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="sorters-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="sorters-prop"></a><span class="name">sorters</span> : <span class="type">list</span>&lt;<span class="type"><a href="qml-sorter.html">Sorter</a></span>&gt;</p></td></tr>
<a name="sorters-prop"></a><span class="name">sorters</span> : <span class="type">list</span>&lt;<span class="type"><a href="qml-sortfilterproxymodel-sorter.html">Sorter</a></span>&gt;</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the list of sorters for this proxy model. The rows of the source model are sorted by the sorters of this list, in their order of insertion.</p>
<p><b>See also </b><a href="qml-sorter.html">Sorter</a>.</p>
<p><b>See also </b><a href="qml-sortfilterproxymodel-sorter.html">Sorter</a> and <a href="qml-sortfilterproxymodel-sortercontainer.html">SorterContainer</a>.</p>
</div></div><!-- @@@sorters -->
<br/>
<!-- $$$sourceModel -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="sourceModel-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="sourceModel-prop"></a><span class="name">sourceModel</span> : <span class="type">QAbstractItemModel</span>*</p></td></tr>
</table></div>
@ -119,72 +132,72 @@
</div></div><!-- @@@sourceModel -->
<br/>
<h2>Method Documentation</h2>
<!-- $$$get -->
<!-- $$$get$$$getstring -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="get-method-1">
<tr valign="top" class="odd" id="">
<td class="tblQmlFuncNode"><p>
<a name="get-method-1"></a><span class="type">variant</span> <span class="name">get</span>(<span class="type">int</span> <i>row</i>, <span class="type">string</span> <i>roleName</i>)</p></td></tr>
<a name="get-method-1"></a><span class="type">variant</span> <span class="name">get</span>(<i>row</i>, <span class="type">string</span> <i>roleName</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Return the data for the given <i>roleNamte</i> of the item at <i>row</i> in the proxy model. This allows the role data to be read (not modified) from JavaScript. This equivalent to calling <code>data(index(row, 0), roleForName(roleName))</code>.</p>
</div><div class="qmldoc"><p>Return the data for the given <i>roleName</i> of the item at <i>row</i> in the proxy model. This allows the role data to be read (not modified) from JavaScript. This equivalent to calling <code>data(index(row, 0), roleForName(roleName))</code>.</p>
</div></div><!-- @@@get -->
<br/>
<!-- $$$get -->
<!-- $$$get[overload1]$$$get -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="get-method">
<tr valign="top" class="odd" id="">
<td class="tblQmlFuncNode"><p>
<a name="get-method"></a><span class="type">object</span> <span class="name">get</span>(<span class="type">int</span> <i>row</i>)</p></td></tr>
<a name="get-method"></a><span class="type">object</span> <span class="name">get</span>(<i>row</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Return the item at <i>row</i> in the proxy model as a map of all its roles. This allows the item data to be read (not modified) from JavaScript.</p>
</div></div><!-- @@@get -->
<br/>
<!-- $$$mapFromSource -->
<!-- $$$mapFromSource$$$mapFromSource -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="mapFromSource-method-1">
<tr valign="top" class="odd" id="">
<td class="tblQmlFuncNode"><p>
<a name="mapFromSource-method-1"></a><span class="type">int</span> <span class="name">mapFromSource</span>(<span class="type">int</span> <i>sourceRow</i>)</p></td></tr>
<a name="mapFromSource-method-1"></a><span class="type">int</span> <span class="name">mapFromSource</span>(<i>sourceRow</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Returns the row in the <a href="qml-sortfilterproxymodel.html">SortFilterProxyModel</a> given the <i>sourceRow</i> from the source model. Returns -1 if there is no corresponding row.</p>
</div><div class="qmldoc"><p>Returns the row in the <a href="qml-sortfilterproxymodel-sortfilterproxymodel.html">SortFilterProxyModel</a> given the <i>sourceRow</i> from the source model. Returns -1 if there is no corresponding row.</p>
</div></div><!-- @@@mapFromSource -->
<br/>
<!-- $$$mapFromSource -->
<!-- $$$mapFromSource[overload1]$$$mapFromSource -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="mapFromSource-method">
<tr valign="top" class="odd" id="">
<td class="tblQmlFuncNode"><p>
<a name="mapFromSource-method"></a><span class="type">QModelIndex</span> <span class="name">mapFromSource</span>(<span class="type">QModelIndex</span> <i>sourceIndex</i>)</p></td></tr>
<a name="mapFromSource-method"></a><span class="type">QModelIndex</span> <span class="name">mapFromSource</span>(<i>sourceIndex</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Returns the model index in the <a href="qml-sortfilterproxymodel.html">SortFilterProxyModel</a> given the sourceIndex from the source model.</p>
</div><div class="qmldoc"><p>Returns the model index in the <a href="qml-sortfilterproxymodel-sortfilterproxymodel.html">SortFilterProxyModel</a> given the <i>sourceIndex</i> from the source model.</p>
</div></div><!-- @@@mapFromSource -->
<br/>
<!-- $$$mapToSource -->
<!-- $$$mapToSource$$$mapToSource -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="mapToSource-method-1">
<tr valign="top" class="odd" id="">
<td class="tblQmlFuncNode"><p>
<a name="mapToSource-method-1"></a><span class="type">int</span> <span class="name">mapToSource</span>(<span class="type">int</span> <i>proxyRow</i>)</p></td></tr>
<a name="mapToSource-method-1"></a><span class="type">int</span> <span class="name">mapToSource</span>(<i>proxyRow</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Returns the source model row corresponding to the given <i>proxyRow</i> from the <a href="qml-sortfilterproxymodel.html">SortFilterProxyModel</a>. Returns -1 if there is no corresponding row.</p>
</div><div class="qmldoc"><p>Returns the source model row corresponding to the given <i>proxyRow</i> from the <a href="qml-sortfilterproxymodel-sortfilterproxymodel.html">SortFilterProxyModel</a>. Returns -1 if there is no corresponding row.</p>
</div></div><!-- @@@mapToSource -->
<br/>
<!-- $$$mapToSource -->
<!-- $$$mapToSource[overload1]$$$mapToSource -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="mapToSource-method">
<tr valign="top" class="odd" id="">
<td class="tblQmlFuncNode"><p>
<a name="mapToSource-method"></a><span class="type">index</span> <span class="name">mapToSource</span>(<span class="type">index</span> <i>proxyIndex</i>)</p></td></tr>
<a name="mapToSource-method"></a><span class="type">index</span> <span class="name">mapToSource</span>(<i>proxyIndex</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Returns the source model index corresponding to the given <i>proxyIndex</i> from the <a href="qml-sortfilterproxymodel.html">SortFilterProxyModel</a>.</p>
</div><div class="qmldoc"><p>Returns the source model index corresponding to the given <i>proxyIndex</i> from the <a href="qml-sortfilterproxymodel-sortfilterproxymodel.html">SortFilterProxyModel</a>.</p>
</div></div><!-- @@@mapToSource -->
<br/>
<!-- $$$roleForName -->
<!-- $$$roleForName[overload1]$$$roleForName -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="roleForName-method">
<tr valign="top" class="odd" id="">
<td class="tblQmlFuncNode"><p>
<a name="roleForName-method"></a><span class="type">int</span> <span class="name">roleForName</span>(<span class="type">string</span> <i>roleName</i>)</p></td></tr>
<a name="roleForName-method"></a><span class="type">int</span> <span class="name">roleForName</span>(<i>roleName</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Returns the role number for the given <i>roleName</i>. If no role is found for this <i>roleName</i>, <code>-1</code> is returned.</p>
</div></div><!-- @@@roleForName -->

View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- stringsorter.cpp -->
<title>List of All Members for StringSorter | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for StringSorter</h1>
<p>This is the complete list of members for <a href="qml-sortfilterproxymodel-stringsorter.html">StringSorter</a>, including inherited members.</p>
<ul>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-stringsorter.html#caseSensitivity-prop">caseSensitivity</a></b></b> : Qt.CaseSensitivity</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-stringsorter.html#ignorePunctation-prop">ignorePunctation</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-stringsorter.html#locale-prop">locale</a></b></b> : Locale</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-stringsorter.html#numericMode-prop">numericMode</a></b></b> : bool</li>
</ul>
<p>The following members are inherited from <a href="qml-sortfilterproxymodel-rolesorter.html">RoleSorter</a>.</p>
<ul>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-stringsorter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-stringsorter.html#priority-prop">priority</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-rolesorter.html#roleName-prop">roleName</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-stringsorter.html#sortOrder-prop">sortOrder</a></b></b> : Qt::SortOrder</li>
</ul>
</body>
</html>

View File

@ -20,25 +20,25 @@
<h1 class="title">StringSorter QML Type</h1>
<span class="subtitle"></span>
<!-- $$$StringSorter-brief -->
<p>Sorts rows based on a source model string role <a href="#details">More...</a></p>
<p>Sorts rows based on a source model string role. <a href="#details">More...</a></p>
<!-- @@@StringSorter -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-rolesorter.html">RoleSorter</a></p>
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import SortFilterProxyModel .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-sortfilterproxymodel-rolesorter.html">RoleSorter</a></p>
</td></tr></table></div><ul>
<li><a href="qml-stringsorter-members.html">List of all members, including inherited members</a></li>
<li><a href="qml-sortfilterproxymodel-stringsorter-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-stringsorter.html#caseSensitivity-prop">caseSensitivity</a></b></b> : Qt.CaseSensitivity</li>
<li class="fn"><b><b><a href="qml-stringsorter.html#ignorePunctation-prop">ignorePunctation</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-stringsorter.html#locale-prop">locale</a></b></b> : Locale</li>
<li class="fn"><b><b><a href="qml-stringsorter.html#numericMode-prop">numericMode</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-stringsorter.html#caseSensitivity-prop">caseSensitivity</a></b></b> : Qt.CaseSensitivity</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-stringsorter.html#ignorePunctation-prop">ignorePunctation</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-stringsorter.html#locale-prop">locale</a></b></b> : Locale</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-stringsorter.html#numericMode-prop">numericMode</a></b></b> : bool</li>
</ul>
<!-- $$$StringSorter-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<p><a href="qml-stringsorter.html">StringSorter</a> is a specialized <a href="qml-rolesorter.html">RoleSorter</a> that sorts rows based on a source model string role. <a href="qml-stringsorter.html">StringSorter</a> compares strings according to a localized collation algorithm.</p>
<p><a href="qml-sortfilterproxymodel-stringsorter.html">StringSorter</a> is a specialized <a href="qml-sortfilterproxymodel-rolesorter.html">RoleSorter</a> that sorts rows based on a source model string role. <a href="qml-sortfilterproxymodel-stringsorter.html">StringSorter</a> compares strings according to a localized collation algorithm.</p>
<p>In the following example, rows with be sorted by their <code>lastName</code> role :</p>
<pre class="cpp">SortFilterProxyModel {
sourceModel: contactModel
@ -49,7 +49,7 @@
<!-- $$$caseSensitivity -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="caseSensitivity-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="caseSensitivity-prop"></a><span class="name">caseSensitivity</span> : <span class="type">Qt</span>.<span class="type">CaseSensitivity</span></p></td></tr>
</table></div>
@ -59,7 +59,7 @@
<!-- $$$ignorePunctation -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="ignorePunctation-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="ignorePunctation-prop"></a><span class="name">ignorePunctation</span> : <span class="type">bool</span></p></td></tr>
</table></div>
@ -69,7 +69,7 @@
<!-- $$$locale -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="locale-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="locale-prop"></a><span class="name">locale</span> : <span class="type">Locale</span></p></td></tr>
</table></div>
@ -79,7 +79,7 @@
<!-- $$$numericMode -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="numericMode-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="numericMode-prop"></a><span class="name">numericMode</span> : <span class="type">bool</span></p></td></tr>
</table></div>

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- switchrole.cpp -->
<title>List of All Members for SwitchRole | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for SwitchRole</h1>
<p>This is the complete list of members for <a href="qml-sortfilterproxymodel-switchrole.html">SwitchRole</a>, including inherited members.</p>
<ul>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-switchrole.html#defaultRoleName-prop">defaultRoleName</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-switchrole.html#defaultValue-prop">defaultValue</a></b></b> : var</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-switchrole.html#filters-prop">filters</a></b></b> : list&lt;Filter&gt; [default]</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-switchrole.html#name-prop">name</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-switchrole.html#value-attached-prop">value</a></b></b> : var [attached]</li>
</ul>
</body>
</html>

View File

@ -21,29 +21,30 @@
<h1 class="title">SwitchRole QML Type</h1>
<span class="subtitle"></span>
<!-- $$$SwitchRole-brief -->
<p>A role using <a href="qml-filter.html">Filter</a> to conditionnaly compute its data <a href="#details">More...</a></p>
<p>A role using <a href="qml-sortfilterproxymodel-filter.html">Filter</a> to conditionnaly compute its data. <a href="#details">More...</a></p>
<!-- @@@SwitchRole -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-singlerole.html">SingleRole</a></p>
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import SortFilterProxyModel .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-sortfilterproxymodel-singlerole.html">SingleRole</a></p>
</td></tr></table></div><ul>
<li><a href="qml-switchrole-members.html">List of all members, including inherited members</a></li>
<li><a href="qml-sortfilterproxymodel-switchrole-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-switchrole.html#defaultRoleName-prop">defaultRoleName</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-switchrole.html#defaultValue-prop">defaultValue</a></b></b> : var</li>
<li class="fn"><b><b><a href="qml-switchrole.html#filters-prop">filters</a></b></b> : list&lt;Filter&gt;</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-switchrole.html#defaultRoleName-prop">defaultRoleName</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-switchrole.html#defaultValue-prop">defaultValue</a></b></b> : var</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-switchrole.html#filters-prop">filters</a></b></b> : list&lt;Filter&gt;</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-switchrole.html#name-prop">name</a></b></b> : string</li>
</ul>
<a name="attached-properties"></a>
<h2 id="attached-properties">Attached Properties</h2>
<ul>
<li class="fn"><b><b><a href="qml-switchrole.html#value-attached-prop">value</a></b></b> : var</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-switchrole.html#value-attached-prop">value</a></b></b> : var</li>
</ul>
<!-- $$$SwitchRole-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<p>A <a href="qml-switchrole.html">SwitchRole</a> is a <a href="qml-proxyrole.html">ProxyRole</a> that computes its data with the help of <a href="qml-filter.html">Filter</a>. Each top level filters specified in the <a href="qml-switchrole.html">SwitchRole</a> is evaluated on the rows of the model, if a <a href="qml-filter.html">Filter</a> evaluates to true, the data of the <a href="qml-switchrole.html">SwitchRole</a> for this row will be the one of the attached <a href="qml-switchrole.html#value-attached-prop">SwitchRole.value</a> property. If no top level filters evaluate to true, the data will default to the one of the <a href="qml-switchrole.html#defaultRoleName-prop">defaultRoleName</a> (or the <a href="qml-switchrole.html#defaultValue-prop">defaultValue</a> if no <a href="qml-switchrole.html#defaultRoleName-prop">defaultRoleName</a> is specified).</p>
<p>A SwitchRole is a <a href="qml-sortfilterproxymodel-proxyrole.html">ProxyRole</a> that computes its data with the help of <a href="qml-sortfilterproxymodel-filter.html">Filter</a>. Each top level filters specified in the <a href="qml-sortfilterproxymodel-switchrole.html">SwitchRole</a> is evaluated on the rows of the model, if a <a href="qml-sortfilterproxymodel-filter.html">Filter</a> evaluates to true, the data of the <a href="qml-sortfilterproxymodel-switchrole.html">SwitchRole</a> for this row will be the one of the attached <a href="qml-sortfilterproxymodel-switchrole.html#value-attached-prop">SwitchRole.value</a> property. If no top level filters evaluate to true, the data will default to the one of the <a href="qml-sortfilterproxymodel-switchrole.html#defaultRoleName-prop">defaultRoleName</a> (or the <a href="qml-sortfilterproxymodel-switchrole.html#defaultValue-prop">defaultValue</a> if no <a href="qml-sortfilterproxymodel-switchrole.html#defaultRoleName-prop">defaultRoleName</a> is specified).</p>
<p>In the following example, the <code>favoriteOrFirstNameSection</code> role is equal to <code>*</code> if the <code>favorite</code> role of a row is true, otherwise it's the same as the <code>firstName</code> role :</p>
<pre class="cpp">SortFilterProxyModel {
sourceModel: contactModel
@ -57,12 +58,13 @@
defaultRoleName: <span class="string">&quot;firstName&quot;</span>
}
}</pre>
<p><b>See also </b><a href="qml-sortfilterproxymodel-filtercontainer.html">FilterContainer</a>.</p>
<!-- @@@SwitchRole -->
<h2>Property Documentation</h2>
<!-- $$$defaultRoleName -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="defaultRoleName-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="defaultRoleName-prop"></a><span class="name">defaultRoleName</span> : <span class="type">string</span></p></td></tr>
</table></div>
@ -72,33 +74,43 @@
<!-- $$$defaultValue -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="defaultValue-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="defaultValue-prop"></a><span class="name">defaultValue</span> : <span class="type">var</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the default value of the role. If no filter match a row, and no <a href="qml-switchrole.html#defaultRoleName-prop">defaultRoleName</a> is set, the data of this role will be <code>defaultValue</code>.</p>
</div><div class="qmldoc"><p>This property holds the default value of the role. If no filter match a row, and no <a href="qml-sortfilterproxymodel-switchrole.html#defaultRoleName-prop">defaultRoleName</a> is set, the data of this role will be <code>defaultValue</code>.</p>
</div></div><!-- @@@defaultValue -->
<br/>
<!-- $$$filters -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="filters-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="filters-prop"></a><span class="name">filters</span> : <span class="type">list</span>&lt;<span class="type"><a href="qml-filter.html">Filter</a></span>&gt;</p></td></tr>
<a name="filters-prop"></a><span class="qmldefault">[default] </span><span class="name">filters</span> : <span class="type">list</span>&lt;<span class="type"><a href="qml-sortfilterproxymodel-filter.html">Filter</a></span>&gt;</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the list of filters for this proxy role. The data of this role will be equal to the attached <a href="qml-switchrole.html#value-attached-prop">SwitchRole.value</a> property of the first filter that matches the model row.</p>
<p><b>See also </b><a href="qml-filter.html">Filter</a>.</p>
</div><div class="qmldoc"><p>This property holds the list of filters for this proxy role. The data of this role will be equal to the attached <a href="qml-sortfilterproxymodel-switchrole.html#value-attached-prop">SwitchRole.value</a> property of the first filter that matches the model row.</p>
<p><b>See also </b><a href="qml-sortfilterproxymodel-filter.html">Filter</a> and <a href="qml-sortfilterproxymodel-filtercontainer.html">FilterContainer</a>.</p>
</div></div><!-- @@@filters -->
<br/>
<!-- $$$name -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="name-prop"></a><span class="name">name</span> : <span class="type">string</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the role name of the proxy role.</p>
</div></div><!-- @@@name -->
<br/>
<h2>Attached Property Documentation</h2>
<!-- $$$value -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="value-attached-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="value-attached-prop"></a><span class="name">SwitchRole.value</span> : <span class="type">var</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property attaches a value to a <a href="qml-filter.html">Filter</a>.</p>
</div><div class="qmldoc"><p>This property attaches a value to a <a href="qml-sortfilterproxymodel-filter.html">Filter</a>.</p>
</div></div><!-- @@@value -->
<br/>
</body>

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- valuefilter.cpp -->
<title>List of All Members for ValueFilter | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for ValueFilter</h1>
<p>This is the complete list of members for <a href="qml-sortfilterproxymodel-valuefilter.html">ValueFilter</a>, including inherited members.</p>
<ul>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-valuefilter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-valuefilter.html#inverted-prop">inverted</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-valuefilter.html#roleName-prop">roleName</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-valuefilter.html#value-prop">value</a></b></b> : variant</li>
</ul>
</body>
</html>

View File

@ -20,23 +20,25 @@
<h1 class="title">ValueFilter QML Type</h1>
<span class="subtitle"></span>
<!-- $$$ValueFilter-brief -->
<p>Filters rows matching exactly a value <a href="#details">More...</a></p>
<p>Filters rows matching exactly a value. <a href="#details">More...</a></p>
<!-- @@@ValueFilter -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-rolefilter.html">RoleFilter</a></p>
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import SortFilterProxyModel .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-sortfilterproxymodel-rolefilter.html">RoleFilter</a></p>
</td></tr></table></div><ul>
<li><a href="qml-valuefilter-members.html">List of all members, including inherited members</a></li>
<li><a href="qml-sortfilterproxymodel-valuefilter-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-valuefilter.html#roleName-prop">roleName</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-valuefilter.html#value-prop">value</a></b></b> : variant</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-valuefilter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-valuefilter.html#inverted-prop">inverted</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-valuefilter.html#roleName-prop">roleName</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-sortfilterproxymodel-valuefilter.html#value-prop">value</a></b></b> : variant</li>
</ul>
<!-- $$$ValueFilter-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<p>A <a href="qml-valuefilter.html">ValueFilter</a> is a simple <a href="qml-rolefilter.html">RoleFilter</a> that accepts rows matching exactly the filter's value</p>
<p>A ValueFilter is a simple <a href="qml-sortfilterproxymodel-rolefilter.html">RoleFilter</a> that accepts rows matching exactly the filter's value</p>
<p>In the following example, only rows with their <code>favorite</code> role set to <code>true</code> will be accepted when the checkbox is checked :</p>
<pre class="cpp">CheckBox {
id: showOnlyFavoriteCheckBox
@ -52,10 +54,32 @@ SortFilterProxyModel {
}</pre>
<!-- @@@ValueFilter -->
<h2>Property Documentation</h2>
<!-- $$$enabled -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="enabled-prop"></a><span class="name">enabled</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds whether the filter is enabled. A disabled filter will accept every rows unconditionally (even if it's inverted).</p>
<p>By default, filters are enabled.</p>
</div></div><!-- @@@enabled -->
<br/>
<!-- $$$inverted -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="inverted-prop"></a><span class="name">inverted</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds whether the filter is inverted. When a filter is inverted, a row normally accepted would be rejected, and vice-versa.</p>
<p>By default, filters are not inverted.</p>
</div></div><!-- @@@inverted -->
<br/>
<!-- $$$roleName -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="roleName-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="roleName-prop"></a><span class="name">roleName</span> : <span class="type">string</span></p></td></tr>
</table></div>
@ -65,7 +89,7 @@ SortFilterProxyModel {
<!-- $$$value -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="value-prop">
<tr valign="top" class="odd" id="">
<td class="tblQmlPropNode"><p>
<a name="value-prop"></a><span class="name">value</span> : <span class="type">variant</span></p></td></tr>
</table></div>

View File

@ -1,30 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- stringsorter.cpp -->
<title>List of All Members for StringSorter | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for StringSorter</h1>
<p>This is the complete list of members for <a href="qml-stringsorter.html">StringSorter</a>, including inherited members.</p>
<ul>
<li class="fn"><b><b><a href="qml-stringsorter.html#caseSensitivity-prop">caseSensitivity</a></b></b> : Qt.CaseSensitivity</li>
<li class="fn"><b><b><a href="qml-stringsorter.html#ignorePunctation-prop">ignorePunctation</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-stringsorter.html#locale-prop">locale</a></b></b> : Locale</li>
<li class="fn"><b><b><a href="qml-stringsorter.html#numericMode-prop">numericMode</a></b></b> : bool</li>
</ul>
<p>The following members are inherited from <a href="qml-rolesorter.html">RoleSorter</a>.</p>
<ul>
<li class="fn"><b><b><a href="qml-rolesorter.html#roleName-prop">roleName</a></b></b> : string</li>
</ul>
<p>The following members are inherited from <a href="qml-sorter.html">Sorter</a>.</p>
<ul>
<li class="fn"><b><b><a href="qml-sorter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-sorter.html#sortOrder-prop">sortOrder</a></b></b> : Qt::SortOrder</li>
</ul>
</body>
</html>

View File

@ -1,25 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- switchrole.cpp -->
<title>List of All Members for SwitchRole | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for SwitchRole</h1>
<p>This is the complete list of members for <a href="qml-switchrole.html">SwitchRole</a>, including inherited members.</p>
<ul>
<li class="fn"><b><b><a href="qml-switchrole.html#defaultRoleName-prop">defaultRoleName</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-switchrole.html#defaultValue-prop">defaultValue</a></b></b> : var</li>
<li class="fn"><b><b><a href="qml-switchrole.html#filters-prop">filters</a></b></b> : list&lt;Filter&gt;</li>
<li class="fn"><b><b><a href="qml-switchrole.html#value-attached-prop">value</a></b></b> : var [attached]</li>
</ul>
<p>The following members are inherited from <a href="qml-singlerole.html">SingleRole</a>.</p>
<ul>
<li class="fn"><b><b><a href="qml-singlerole.html#name-prop">name</a></b></b> : string</li>
</ul>
</body>
</html>

View File

@ -1,24 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- valuefilter.cpp -->
<title>List of All Members for ValueFilter | SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for ValueFilter</h1>
<p>This is the complete list of members for <a href="qml-valuefilter.html">ValueFilter</a>, including inherited members.</p>
<ul>
<li class="fn"><b><b><a href="qml-valuefilter.html#roleName-prop">roleName</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-valuefilter.html#value-prop">value</a></b></b> : variant</li>
</ul>
<p>The following members are inherited from <a href="qml-filter.html">Filter</a>.</p>
<ul>
<li class="fn"><b><b><a href="qml-filter.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-filter.html#inverted-prop">inverted</a></b></b> : bool</li>
</ul>
</body>
</html>

View File

@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- index.qdoc -->
<title>SortFilterProxyModel</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<span class="subtitle"></span>
<!-- $$$SortFilterProxyModel-description -->
<div class="descr"> <a name="details"></a>
</div>
<!-- @@@SortFilterProxyModel -->
<div class="table"><table class="annotated">
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-allof.html">AllOf</a></p></td><td class="tblDescr"><p>Filter container accepting rows accepted by all its child filters</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-anyof.html">AnyOf</a></p></td><td class="tblDescr"><p>Filter container accepting rows accepted by at least one of its child filters</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-expressionfilter.html">ExpressionFilter</a></p></td><td class="tblDescr"><p>Filters row with a custom filtering</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-expressionrole.html">ExpressionRole</a></p></td><td class="tblDescr"><p>A custom role computed from a javascript expression</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-expressionsorter.html">ExpressionSorter</a></p></td><td class="tblDescr"><p>Sorts row with a custom javascript expression</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-filter.html">Filter</a></p></td><td class="tblDescr"><p>Base type for the SortFilterProxyModel filters</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-filtercontainer.html">FilterContainer</a></p></td><td class="tblDescr"><p>Abstract interface for types containing Filters</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-filterrole.html">FilterRole</a></p></td><td class="tblDescr"><p>A role resolving to true for rows matching all its filters</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-filtersorter.html">FilterSorter</a></p></td><td class="tblDescr"><p>Sorts rows based on if they match filters</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-indexfilter.html">IndexFilter</a></p></td><td class="tblDescr"><p>Filters rows based on their source index</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-joinrole.html">JoinRole</a></p></td><td class="tblDescr"><p>Role made from concatenating other roles</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-proxyrole.html">ProxyRole</a></p></td><td class="tblDescr"><p>Base type for the SortFilterProxyModel proxy roles</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-rangefilter.html">RangeFilter</a></p></td><td class="tblDescr"><p>Filters rows between boundary values</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-regexpfilter.html">RegExpFilter</a></p></td><td class="tblDescr"><p>Filters rows matching a regular expression</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-regexprole.html">RegExpRole</a></p></td><td class="tblDescr"><p>A ProxyRole extracting data from a source role via a regular expression</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-rolefilter.html">RoleFilter</a></p></td><td class="tblDescr"><p>Base type for filters based on a source model role</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-rolesorter.html">RoleSorter</a></p></td><td class="tblDescr"><p>Sorts rows based on a source model role</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-singlerole.html">SingleRole</a></p></td><td class="tblDescr"><p>Base type for the SortFilterProxyModel proxy roles defining a single role</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-sortfilterproxymodel.html">SortFilterProxyModel</a></p></td><td class="tblDescr"><p>Filters and sorts data coming from a source QAbstractItemModel</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-sorter.html">Sorter</a></p></td><td class="tblDescr"><p>Base type for the SortFilterProxyModel sorters</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-sortercontainer.html">SorterContainer</a></p></td><td class="tblDescr"><p>Abstract interface for types containing Sorters</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-stringsorter.html">StringSorter</a></p></td><td class="tblDescr"><p>Sorts rows based on a source model string role</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-switchrole.html">SwitchRole</a></p></td><td class="tblDescr"><p>A role using Filter to conditionnaly compute its data</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-sortfilterproxymodel-valuefilter.html">ValueFilter</a></p></td><td class="tblDescr"><p>Filters rows matching exactly a value</p></td></tr>
</table></div>
</body>
</html>

View File

@ -1,128 +1,156 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QDOCINDEX>
<INDEX url="" title="lol" version="" project="SortFilterProxyModel">
<namespace threadsafety="unspecified" name="" status="active" access="public" module="sortfilterproxymodel">
<qmlclass threadsafety="unspecified" name="AllOf" qml-module-name="AllOf" qml-base-type="::Filter" href="qml-allof.html" status="active" access="public" title="AllOf" fulltitle="AllOf" subtitle="" brief="Filter container accepting rows accepted by all its child filters"/>
<qmlclass threadsafety="unspecified" name="AnyOf" qml-module-name="AnyOf" qml-base-type="::Filter" href="qml-anyof.html" status="active" access="public" title="AnyOf" fulltitle="AnyOf" subtitle="" brief="Filter container accepting rows accepted by at least one of its child filters"/>
<qmlclass threadsafety="unspecified" name="ExpressionFilter" qml-module-name="ExpressionFilter" qml-base-type="::Filter" href="qml-expressionfilter.html" status="active" access="public" title="ExpressionFilter" fulltitle="ExpressionFilter" subtitle="" brief="Filters row with a custom filtering">
<qmlproperty threadsafety="unspecified" name="expression" fullname="ExpressionFilter::expression" href="qml-expressionfilter.html#expression-prop" status="active" access="public" type="expression" attached="false" writable="true"/>
<INDEX url="" title="SortFilterProxyModel Reference Documentation" version="" project="SortFilterProxyModel">
<namespace name="" status="active" access="public" module="sortfilterproxymodel">
<qmlclass name="AnyOf" qml-module-name="SortFilterProxyModel" qml-base-type="SortFilterProxyModel::Filter" fullname="SortFilterProxyModel.AnyOf" href="qml-sortfilterproxymodel-anyof.html" status="active" access="public" documented="true" title="AnyOf" fulltitle="AnyOf" subtitle="" groups="Filters,FilterContainer" brief="Filter container accepting rows accepted by at least one of its child filters"/>
<qmlclass name="SwitchRole" qml-module-name="SortFilterProxyModel" qml-base-type="SortFilterProxyModel::SingleRole" fullname="SortFilterProxyModel.SwitchRole" href="qml-sortfilterproxymodel-switchrole.html" status="active" access="public" documented="true" title="SwitchRole" fulltitle="SwitchRole" subtitle="" groups="ProxyRoles,FilterContainer" brief="A role using Filter to conditionnaly compute its data">
<qmlproperty name="value" fullname="SortFilterProxyModel.SwitchRole.value" href="qml-sortfilterproxymodel-switchrole.html#value-attached-prop" status="active" access="public" documented="true" type="var" attached="true" writable="true"/>
<qmlproperty name="defaultRoleName" fullname="SortFilterProxyModel.SwitchRole.defaultRoleName" href="qml-sortfilterproxymodel-switchrole.html#defaultRoleName-prop" status="active" access="public" documented="true" type="string" attached="false" writable="true"/>
<qmlproperty name="defaultValue" fullname="SortFilterProxyModel.SwitchRole.defaultValue" href="qml-sortfilterproxymodel-switchrole.html#defaultValue-prop" status="active" access="public" documented="true" type="var" attached="false" writable="true"/>
<qmlproperty name="filters" fullname="SortFilterProxyModel.SwitchRole.filters" href="qml-sortfilterproxymodel-switchrole.html#filters-prop" status="active" access="public" documented="true" type="list&lt;Filter&gt;" attached="false" writable="true"/>
</qmlclass>
<qmlclass threadsafety="unspecified" name="Filter" qml-module-name="Filter" href="qml-filter.html" status="active" access="public" title="Filter" fulltitle="Filter" subtitle="" brief="Base type for the SortFilterProxyModel filters">
<qmlproperty threadsafety="unspecified" name="enabled" fullname="Filter::enabled" href="qml-filter.html#enabled-prop" status="active" access="public" type="bool" attached="false" writable="true"/>
<qmlproperty threadsafety="unspecified" name="inverted" fullname="Filter::inverted" href="qml-filter.html#inverted-prop" status="active" access="public" type="bool" attached="false" writable="true"/>
<qmlclass name="AllOf" qml-module-name="SortFilterProxyModel" qml-base-type="SortFilterProxyModel::Filter" fullname="SortFilterProxyModel.AllOf" href="qml-sortfilterproxymodel-allof.html" status="active" access="public" documented="true" title="AllOf" fulltitle="AllOf" subtitle="" groups="Filters,FilterContainer" brief="Filter container accepting rows accepted by all its child filters"/>
<qmlclass name="ExpressionFilter" qml-module-name="SortFilterProxyModel" qml-base-type="SortFilterProxyModel::Filter" fullname="SortFilterProxyModel.ExpressionFilter" href="qml-sortfilterproxymodel-expressionfilter.html" status="active" access="public" documented="true" title="ExpressionFilter" fulltitle="ExpressionFilter" subtitle="" groups="Filters" brief="Filters row with a custom filtering">
<qmlproperty name="expression" fullname="SortFilterProxyModel.ExpressionFilter.expression" href="qml-sortfilterproxymodel-expressionfilter.html#expression-prop" status="active" access="public" documented="true" type="expression" attached="false" writable="true"/>
</qmlclass>
<qmlclass threadsafety="unspecified" name="IndexFilter" qml-module-name="IndexFilter" qml-base-type="::Filter" href="qml-indexfilter.html" status="active" access="public" title="IndexFilter" fulltitle="IndexFilter" subtitle="" brief="Filters rows based on their source index">
<qmlproperty threadsafety="unspecified" name="maximumIndex" fullname="IndexFilter::maximumIndex" href="qml-indexfilter.html#maximumIndex-prop" status="active" access="public" type="int" attached="false" writable="true"/>
<qmlproperty threadsafety="unspecified" name="minimumIndex" fullname="IndexFilter::minimumIndex" href="qml-indexfilter.html#minimumIndex-prop" status="active" access="public" type="int" attached="false" writable="true"/>
<qmlclass name="IndexFilter" qml-module-name="SortFilterProxyModel" qml-base-type="SortFilterProxyModel::Filter" fullname="SortFilterProxyModel.IndexFilter" href="qml-sortfilterproxymodel-indexfilter.html" status="active" access="public" documented="true" title="IndexFilter" fulltitle="IndexFilter" subtitle="" groups="Filters" brief="Filters rows based on their source index">
<qmlproperty name="minimumIndex" fullname="SortFilterProxyModel.IndexFilter.minimumIndex" href="qml-sortfilterproxymodel-indexfilter.html#minimumIndex-prop" status="active" access="public" documented="true" type="int" attached="false" writable="true"/>
<qmlproperty name="maximumIndex" fullname="SortFilterProxyModel.IndexFilter.maximumIndex" href="qml-sortfilterproxymodel-indexfilter.html#maximumIndex-prop" status="active" access="public" documented="true" type="int" attached="false" writable="true"/>
</qmlclass>
<qmlclass threadsafety="unspecified" name="RangeFilter" qml-module-name="RangeFilter" qml-base-type="::RoleFilter" href="qml-rangefilter.html" status="active" access="public" title="RangeFilter" fulltitle="RangeFilter" subtitle="" brief="Filters rows between boundary values">
<qmlproperty threadsafety="unspecified" name="maximumInclusive" fullname="RangeFilter::maximumInclusive" href="qml-rangefilter.html#maximumInclusive-prop" status="active" access="public" type="int" attached="false" writable="true"/>
<qmlproperty threadsafety="unspecified" name="maximumValue" fullname="RangeFilter::maximumValue" href="qml-rangefilter.html#maximumValue-prop" status="active" access="public" type="int" attached="false" writable="true"/>
<qmlproperty threadsafety="unspecified" name="minimumInclusive" fullname="RangeFilter::minimumInclusive" href="qml-rangefilter.html#minimumInclusive-prop" status="active" access="public" type="int" attached="false" writable="true"/>
<qmlproperty threadsafety="unspecified" name="minimumValue" fullname="RangeFilter::minimumValue" href="qml-rangefilter.html#minimumValue-prop" status="active" access="public" type="int" attached="false" writable="true"/>
<qmlclass name="Filter" qml-module-name="SortFilterProxyModel" fullname="SortFilterProxyModel.Filter" href="qml-sortfilterproxymodel-filter.html" status="active" access="public" abstract="true" documented="true" title="Filter" fulltitle="Filter" subtitle="" groups="Filters" brief="Base type for the SortFilterProxyModel filters">
<qmlproperty name="inverted" fullname="SortFilterProxyModel.Filter.inverted" status="active" access="public" documented="true" type="bool" attached="false" writable="true"/>
<qmlproperty name="enabled" fullname="SortFilterProxyModel.Filter.enabled" status="active" access="public" documented="true" type="bool" attached="false" writable="true"/>
</qmlclass>
<qmlclass threadsafety="unspecified" name="RegExpFilter" qml-module-name="RegExpFilter" qml-base-type="::RoleFilter" href="qml-regexpfilter.html" status="active" access="public" title="RegExpFilter" fulltitle="RegExpFilter" subtitle="" brief="Filters rows matching a regular expression">
<qmlproperty threadsafety="unspecified" name="caseSensitivity" fullname="RegExpFilter::caseSensitivity" href="qml-regexpfilter.html#caseSensitivity-prop" status="active" access="public" type="Qt::CaseSensitivity" attached="false" writable="true"/>
<qmlproperty threadsafety="unspecified" name="pattern" fullname="RegExpFilter::pattern" href="qml-regexpfilter.html#pattern-prop" status="active" access="public" type="bool" attached="false" writable="true"/>
<qmlproperty threadsafety="unspecified" name="syntax" fullname="RegExpFilter::syntax" href="qml-regexpfilter.html#syntax-prop" status="active" access="public" type="enum" attached="false" writable="true"/>
<qmlclass name="FilterContainer" qml-module-name="SortFilterProxyModel" fullname="SortFilterProxyModel.FilterContainer" href="qml-sortfilterproxymodel-filtercontainer.html" status="active" access="public" abstract="true" documented="true" title="FilterContainer" fulltitle="FilterContainer" subtitle="" groups="FilterAttached" brief="Abstract interface for types containing Filters">
<contents name="types-implementing-this-interface" title="Types implementing this interface:" level="2"/>
<qmlproperty name="container" fullname="SortFilterProxyModel.FilterContainer.container" status="active" access="public" documented="true" type="bool" attached="true" writable="true"/>
</qmlclass>
<qmlclass threadsafety="unspecified" name="RoleFilter" qml-module-name="RoleFilter" qml-base-type="::Filter" href="qml-rolefilter.html" status="active" access="public" abstract="true" title="RoleFilter" fulltitle="RoleFilter" subtitle="" brief="Base type for filters based on a source model role">
<qmlproperty threadsafety="unspecified" name="roleName" fullname="RoleFilter::roleName" status="active" access="public" type="string" attached="false" writable="true"/>
<qmlclass name="RangeFilter" qml-module-name="SortFilterProxyModel" qml-base-type="SortFilterProxyModel::RoleFilter" fullname="SortFilterProxyModel.RangeFilter" href="qml-sortfilterproxymodel-rangefilter.html" status="active" access="public" documented="true" title="RangeFilter" fulltitle="RangeFilter" subtitle="" groups="Filters" brief="Filters rows between boundary values">
<qmlproperty name="minimumValue" fullname="SortFilterProxyModel.RangeFilter.minimumValue" href="qml-sortfilterproxymodel-rangefilter.html#minimumValue-prop" status="active" access="public" documented="true" type="int" attached="false" writable="true"/>
<qmlproperty name="minimumInclusive" fullname="SortFilterProxyModel.RangeFilter.minimumInclusive" href="qml-sortfilterproxymodel-rangefilter.html#minimumInclusive-prop" status="active" access="public" documented="true" type="int" attached="false" writable="true"/>
<qmlproperty name="maximumValue" fullname="SortFilterProxyModel.RangeFilter.maximumValue" href="qml-sortfilterproxymodel-rangefilter.html#maximumValue-prop" status="active" access="public" documented="true" type="int" attached="false" writable="true"/>
<qmlproperty name="maximumInclusive" fullname="SortFilterProxyModel.RangeFilter.maximumInclusive" href="qml-sortfilterproxymodel-rangefilter.html#maximumInclusive-prop" status="active" access="public" documented="true" type="int" attached="false" writable="true"/>
</qmlclass>
<qmlclass threadsafety="unspecified" name="ValueFilter" qml-module-name="ValueFilter" qml-base-type="::RoleFilter" href="qml-valuefilter.html" status="active" access="public" title="ValueFilter" fulltitle="ValueFilter" subtitle="" brief="Filters rows matching exactly a value">
<qmlproperty threadsafety="unspecified" name="value" fullname="ValueFilter::value" href="qml-valuefilter.html#value-prop" status="active" access="public" type="variant" attached="false" writable="true"/>
<qmlclass name="SortFilterProxyModel" qml-module-name="SortFilterProxyModel" fullname="SortFilterProxyModel.SortFilterProxyModel" href="qml-sortfilterproxymodel-sortfilterproxymodel.html" status="active" access="public" documented="true" title="SortFilterProxyModel" fulltitle="SortFilterProxyModel" subtitle="" groups="SortFilterProxyModel,FilterContainer,SorterContainer" brief="Filters and sorts data coming from a source QAbstractItemModel">
<function name="get" fullname="SortFilterProxyModel.SortFilterProxyModel.get" href="qml-sortfilterproxymodel-sortfilterproxymodel.html#get-method" status="active" access="public" documented="true" meta="qmlmethod"/>
<function name="get" fullname="SortFilterProxyModel.SortFilterProxyModel.get" href="qml-sortfilterproxymodel-sortfilterproxymodel.html#get-method" status="active" access="public" documented="true" meta="qmlmethod"/>
<function name="mapFromSource" fullname="SortFilterProxyModel.SortFilterProxyModel.mapFromSource" href="qml-sortfilterproxymodel-sortfilterproxymodel.html#mapFromSource-method" status="active" access="public" documented="true" meta="qmlmethod"/>
<function name="mapFromSource" fullname="SortFilterProxyModel.SortFilterProxyModel.mapFromSource" href="qml-sortfilterproxymodel-sortfilterproxymodel.html#mapFromSource-method" status="active" access="public" documented="true" meta="qmlmethod"/>
<function name="mapToSource" fullname="SortFilterProxyModel.SortFilterProxyModel.mapToSource" href="qml-sortfilterproxymodel-sortfilterproxymodel.html#mapToSource-method" status="active" access="public" documented="true" meta="qmlmethod"/>
<function name="mapToSource" fullname="SortFilterProxyModel.SortFilterProxyModel.mapToSource" href="qml-sortfilterproxymodel-sortfilterproxymodel.html#mapToSource-method" status="active" access="public" documented="true" meta="qmlmethod"/>
<function name="roleForName" fullname="SortFilterProxyModel.SortFilterProxyModel.roleForName" href="qml-sortfilterproxymodel-sortfilterproxymodel.html#roleForName-method" status="active" access="public" documented="true" meta="qmlmethod"/>
<qmlproperty name="count" fullname="SortFilterProxyModel.SortFilterProxyModel.count" href="qml-sortfilterproxymodel-sortfilterproxymodel.html#count-prop" status="active" access="public" documented="true" type="int" attached="false" writable="true"/>
<qmlproperty name="proxyRoles" fullname="SortFilterProxyModel.SortFilterProxyModel.proxyRoles" href="qml-sortfilterproxymodel-sortfilterproxymodel.html#proxyRoles-prop" status="active" access="public" documented="true" type="list&lt;ProxyRole&gt;" attached="false" writable="true"/>
<qmlproperty name="sourceModel" fullname="SortFilterProxyModel.SortFilterProxyModel.sourceModel" href="qml-sortfilterproxymodel-sortfilterproxymodel.html#sourceModel-prop" status="active" access="public" documented="true" type="QAbstractItemModel*" attached="false" writable="true"/>
<qmlproperty name="sorters" fullname="SortFilterProxyModel.SortFilterProxyModel.sorters" href="qml-sortfilterproxymodel-sortfilterproxymodel.html#sorters-prop" status="active" access="public" documented="true" type="list&lt;Sorter&gt;" attached="false" writable="true"/>
<qmlproperty name="filters" fullname="SortFilterProxyModel.SortFilterProxyModel.filters" href="qml-sortfilterproxymodel-sortfilterproxymodel.html#filters-prop" status="active" access="public" documented="true" type="list&lt;Filter&gt;" attached="false" writable="true"/>
<qmlproperty name="sortRoleName" fullname="SortFilterProxyModel.SortFilterProxyModel.sortRoleName" href="qml-sortfilterproxymodel-sortfilterproxymodel.html#sortRoleName-prop" status="active" access="public" documented="true" type="string" attached="false" writable="true"/>
<qmlproperty name="delayed" fullname="SortFilterProxyModel.SortFilterProxyModel.delayed" href="qml-sortfilterproxymodel-sortfilterproxymodel.html#delayed-prop" status="active" access="public" documented="true" type="bool" attached="false" writable="true"/>
</qmlclass>
<qmlclass threadsafety="unspecified" name="ExpressionRole" qml-module-name="ExpressionRole" qml-base-type="::SingleRole" href="qml-expressionrole.html" status="active" access="public" title="ExpressionRole" fulltitle="ExpressionRole" subtitle="" brief="A custom role computed from a javascrip expression">
<qmlproperty threadsafety="unspecified" name="expression" fullname="ExpressionRole::expression" href="qml-expressionrole.html#expression-prop" status="active" access="public" type="expression" attached="false" writable="true"/>
<qmlclass name="RegExpFilter" qml-module-name="SortFilterProxyModel" qml-base-type="SortFilterProxyModel::RoleFilter" fullname="SortFilterProxyModel.RegExpFilter" href="qml-sortfilterproxymodel-regexpfilter.html" status="active" access="public" documented="true" title="RegExpFilter" fulltitle="RegExpFilter" subtitle="" groups="Filters" brief="Filters rows matching a regular expression">
<qmlproperty name="syntax" fullname="SortFilterProxyModel.RegExpFilter.syntax" href="qml-sortfilterproxymodel-regexpfilter.html#syntax-prop" status="active" access="public" documented="true" type="enum" attached="false" writable="true"/>
<qmlproperty name="pattern" fullname="SortFilterProxyModel.RegExpFilter.pattern" href="qml-sortfilterproxymodel-regexpfilter.html#pattern-prop" status="active" access="public" documented="true" type="bool" attached="false" writable="true"/>
<qmlproperty name="caseSensitivity" fullname="SortFilterProxyModel.RegExpFilter.caseSensitivity" href="qml-sortfilterproxymodel-regexpfilter.html#caseSensitivity-prop" status="active" access="public" documented="true" type="Qt::CaseSensitivity" attached="false" writable="true"/>
</qmlclass>
<qmlclass threadsafety="unspecified" name="FilterRole" qml-module-name="FilterRole" qml-base-type="::SingleRole" href="qml-filterrole.html" status="active" access="public" title="FilterRole" fulltitle="FilterRole" subtitle="" brief="A role resolving to true for rows matching all its filters">
<qmlproperty threadsafety="unspecified" name="filters" fullname="FilterRole::filters" href="qml-filterrole.html#filters-prop" status="active" access="public" type="string" attached="false" writable="true"/>
<qmlclass name="ExpressionSorter" qml-module-name="SortFilterProxyModel" qml-base-type="SortFilterProxyModel::Sorter" fullname="SortFilterProxyModel.ExpressionSorter" href="qml-sortfilterproxymodel-expressionsorter.html" status="active" access="public" documented="true" title="ExpressionSorter" fulltitle="ExpressionSorter" subtitle="" groups="Sorters" brief="Sorts row with a custom javascript expression">
<qmlproperty name="expression" fullname="SortFilterProxyModel.ExpressionSorter.expression" href="qml-sortfilterproxymodel-expressionsorter.html#expression-prop" status="active" access="public" documented="true" type="expression" attached="false" writable="true"/>
</qmlclass>
<qmlclass threadsafety="unspecified" name="JoinRole" qml-module-name="JoinRole" qml-base-type="::SingleRole" href="qml-joinrole.html" status="active" access="public" title="JoinRole" fulltitle="JoinRole" subtitle="" brief="Role made from concatenating other roles">
<qmlproperty threadsafety="unspecified" name="roleNames" fullname="JoinRole::roleNames" href="qml-joinrole.html#roleNames-prop" status="active" access="public" type="list&lt;string&gt;" attached="false" writable="true"/>
<qmlproperty threadsafety="unspecified" name="separator" fullname="JoinRole::separator" href="qml-joinrole.html#separator-prop" status="active" access="public" type="string" attached="false" writable="true"/>
<qmlclass name="FilterSorter" qml-module-name="SortFilterProxyModel" qml-base-type="SortFilterProxyModel::Sorter" fullname="SortFilterProxyModel.FilterSorter" href="qml-sortfilterproxymodel-filtersorter.html" status="active" access="public" documented="true" title="FilterSorter" fulltitle="FilterSorter" subtitle="" groups="Sorters,FilterContainer" brief="Sorts rows based on if they match filters">
<qmlproperty name="filters" fullname="SortFilterProxyModel.FilterSorter.filters" href="qml-sortfilterproxymodel-filtersorter.html#filters-prop" status="active" access="public" documented="true" type="list&lt;Filter&gt;" attached="false" writable="true"/>
</qmlclass>
<qmlclass threadsafety="unspecified" name="ProxyRole" qml-module-name="ProxyRole" href="qml-proxyrole.html" status="active" access="public" title="ProxyRole" fulltitle="ProxyRole" subtitle="" brief="Base type for the SortFilterProxyModel proxy roles"/>
<qmlclass threadsafety="unspecified" name="RegExpRole" qml-module-name="RegExpRole" qml-base-type="::ProxyRole" href="qml-regexprole.html" status="active" access="public" title="RegExpRole" fulltitle="RegExpRole" subtitle="" brief="A ProxyRole extracting data from a source role via a regular expression">
<qmlproperty threadsafety="unspecified" name="caseSensitivity" fullname="RegExpRole::caseSensitivity" href="qml-regexprole.html#caseSensitivity-prop" status="active" access="public" type="Qt::CaseSensitivity" attached="false" writable="true"/>
<qmlproperty threadsafety="unspecified" name="pattern" fullname="RegExpRole::pattern" href="qml-regexprole.html#pattern-prop" status="active" access="public" type="QString" attached="false" writable="true"/>
<qmlproperty threadsafety="unspecified" name="roleName" fullname="RegExpRole::roleName" href="qml-regexprole.html#roleName-prop" status="active" access="public" type="QString" attached="false" writable="true"/>
<qmlclass name="RoleSorter" qml-module-name="SortFilterProxyModel" qml-base-type="SortFilterProxyModel::Sorter" fullname="SortFilterProxyModel.RoleSorter" href="qml-sortfilterproxymodel-rolesorter.html" status="active" access="public" documented="true" title="RoleSorter" fulltitle="RoleSorter" subtitle="" groups="Sorters" brief="Sorts rows based on a source model role">
<qmlproperty name="roleName" fullname="SortFilterProxyModel.RoleSorter.roleName" href="qml-sortfilterproxymodel-rolesorter.html#roleName-prop" status="active" access="public" documented="true" type="string" attached="false" writable="true"/>
</qmlclass>
<qmlclass threadsafety="unspecified" name="SingleRole" qml-module-name="SingleRole" qml-base-type="::ProxyRole" href="qml-singlerole.html" status="active" access="public" title="SingleRole" fulltitle="SingleRole" subtitle="" brief="Base type for the SortFilterProxyModel proxy roles defining a single role">
<qmlproperty threadsafety="unspecified" name="name" fullname="SingleRole::name" href="qml-singlerole.html#name-prop" status="active" access="public" type="string" attached="false" writable="true"/>
<qmlclass name="Sorter" qml-module-name="SortFilterProxyModel" fullname="SortFilterProxyModel.Sorter" href="qml-sortfilterproxymodel-sorter.html" status="active" access="public" abstract="true" documented="true" title="Sorter" fulltitle="Sorter" subtitle="" groups="Sorters" brief="Base type for the SortFilterProxyModel sorters">
<qmlproperty name="enabled" fullname="SortFilterProxyModel.Sorter.enabled" status="active" access="public" documented="true" type="bool" attached="false" writable="true"/>
<qmlproperty name="sortOrder" fullname="SortFilterProxyModel.Sorter.sortOrder" status="active" access="public" documented="true" type="Qt::SortOrder" attached="false" writable="true"/>
<qmlproperty name="priority" fullname="SortFilterProxyModel.Sorter.priority" status="active" access="public" documented="true" type="int" attached="false" writable="true"/>
</qmlclass>
<qmlclass threadsafety="unspecified" name="SwitchRole" qml-module-name="SwitchRole" qml-base-type="::SingleRole" href="qml-switchrole.html" status="active" access="public" title="SwitchRole" fulltitle="SwitchRole" subtitle="" brief="A role using Filter to conditionnaly compute its data">
<qmlproperty threadsafety="unspecified" name="defaultRoleName" fullname="SwitchRole::defaultRoleName" href="qml-switchrole.html#defaultRoleName-prop" status="active" access="public" type="string" attached="false" writable="true"/>
<qmlproperty threadsafety="unspecified" name="defaultValue" fullname="SwitchRole::defaultValue" href="qml-switchrole.html#defaultValue-prop" status="active" access="public" type="var" attached="false" writable="true"/>
<qmlproperty threadsafety="unspecified" name="filters" fullname="SwitchRole::filters" href="qml-switchrole.html#filters-prop" status="active" access="public" type="list&lt;Filter&gt;" attached="false" writable="true"/>
<qmlproperty threadsafety="unspecified" name="value" fullname="SwitchRole::value" href="qml-switchrole.html#value-attached-prop" status="active" access="public" type="var" attached="true" writable="true"/>
<qmlclass name="SorterContainer" qml-module-name="SortFilterProxyModel" fullname="SortFilterProxyModel.SorterContainer" href="qml-sortfilterproxymodel-sortercontainer.html" status="active" access="public" abstract="true" documented="true" title="SorterContainer" fulltitle="SorterContainer" subtitle="" groups="SorterAttached" brief="Abstract interface for types containing Sorters">
<contents name="types-implementing-this-interface" title="Types implementing this interface:" level="2"/>
<qmlproperty name="container" fullname="SortFilterProxyModel.SorterContainer.container" status="active" access="public" documented="true" type="bool" attached="true" writable="true"/>
</qmlclass>
<page name="index.html" href="index.html" status="active" subtype="page" title="SortFilterProxyModel QML Module" fulltitle="SortFilterProxyModel QML Module" subtitle="" module="SortFilterProxyModel"/>
<qmlclass threadsafety="unspecified" name="SortFilterProxyModel" qml-module-name="SortFilterProxyModel" href="qml-sortfilterproxymodel.html" status="active" access="public" title="SortFilterProxyModel" fulltitle="SortFilterProxyModel" subtitle="" brief="Filters and sorts data coming from a source QAbstractItemModel">
<qmlproperty threadsafety="unspecified" name="count" fullname="SortFilterProxyModel::count" href="qml-sortfilterproxymodel.html#count-prop" status="active" access="public" type="int" attached="false" writable="true"/>
<qmlproperty threadsafety="unspecified" name="filters" fullname="SortFilterProxyModel::filters" href="qml-sortfilterproxymodel.html#filters-prop" status="active" access="public" type="list&lt;Filter&gt;" attached="false" writable="true"/>
<qmlproperty threadsafety="unspecified" name="proxyRoles" fullname="SortFilterProxyModel::proxyRoles" href="qml-sortfilterproxymodel.html#proxyRoles-prop" status="active" access="public" type="list&lt;ProxyRole&gt;" attached="false" writable="true"/>
<qmlproperty threadsafety="unspecified" name="sortRoleName" fullname="SortFilterProxyModel::sortRoleName" href="qml-sortfilterproxymodel.html#sortRoleName-prop" status="active" access="public" type="string" attached="false" writable="true"/>
<qmlproperty threadsafety="unspecified" name="sorters" fullname="SortFilterProxyModel::sorters" href="qml-sortfilterproxymodel.html#sorters-prop" status="active" access="public" type="list&lt;Sorter&gt;" attached="false" writable="true"/>
<qmlproperty threadsafety="unspecified" name="sourceModel" fullname="SortFilterProxyModel::sourceModel" href="qml-sortfilterproxymodel.html#sourceModel-prop" status="active" access="public" type="QAbstractItemModel*" attached="false" writable="true"/>
<qmlmethod threadsafety="unspecified" name="get" fullname="SortFilterProxyModel::get" href="qml-sortfilterproxymodel.html#get-method" status="active" access="public"/>
<qmlmethod threadsafety="unspecified" name="get" fullname="SortFilterProxyModel::get" href="qml-sortfilterproxymodel.html#get-method" status="active" access="public"/>
<qmlmethod threadsafety="unspecified" name="mapFromSource" fullname="SortFilterProxyModel::mapFromSource" href="qml-sortfilterproxymodel.html#mapFromSource-method" status="active" access="public"/>
<qmlmethod threadsafety="unspecified" name="mapFromSource" fullname="SortFilterProxyModel::mapFromSource" href="qml-sortfilterproxymodel.html#mapFromSource-method" status="active" access="public"/>
<qmlmethod threadsafety="unspecified" name="mapToSource" fullname="SortFilterProxyModel::mapToSource" href="qml-sortfilterproxymodel.html#mapToSource-method" status="active" access="public"/>
<qmlmethod threadsafety="unspecified" name="mapToSource" fullname="SortFilterProxyModel::mapToSource" href="qml-sortfilterproxymodel.html#mapToSource-method" status="active" access="public"/>
<qmlmethod threadsafety="unspecified" name="roleForName" fullname="SortFilterProxyModel::roleForName" href="qml-sortfilterproxymodel.html#roleForName-method" status="active" access="public"/>
<qmlclass name="tst_builtins" qml-module-name="tst_builtins" href="qml-tst-builtins.html" status="internal" access="private" location="tst_builtins.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_builtins.qml" lineno="6" title="tst_builtins" fulltitle="tst_builtins" subtitle=""/>
<qmlclass name="tst_expressionrole" qml-module-name="tst_expressionrole" href="qml-tst-expressionrole.html" status="internal" access="private" location="tst_expressionrole.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_expressionrole.qml" lineno="7" title="tst_expressionrole" fulltitle="tst_expressionrole" subtitle="">
<qmlproperty name="c" fullname="tst_expressionrole::c" href="qml-tst-expressionrole.html#c-prop" status="internal" access="private" location="tst_expressionrole.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_expressionrole.qml" lineno="8" type="int" attached="false" writable="true"/>
</qmlclass>
<qmlclass threadsafety="unspecified" name="ExpressionSorter" qml-module-name="ExpressionSorter" qml-base-type="::Sorter" href="qml-expressionsorter.html" status="active" access="public" title="ExpressionSorter" fulltitle="ExpressionSorter" subtitle="" brief="Sorts row with a custom sorting">
<qmlproperty threadsafety="unspecified" name="expression" fullname="ExpressionSorter::expression" href="qml-expressionsorter.html#expression-prop" status="active" access="public" type="expression" attached="false" writable="true"/>
<qmlclass name="tst_delayed" qml-module-name="tst_delayed" href="qml-tst-delayed.html" status="internal" access="private" location="tst_delayed.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_delayed.qml" lineno="7" title="tst_delayed" fulltitle="tst_delayed" subtitle=""/>
<qmlclass name="StringSorter" qml-module-name="SortFilterProxyModel" qml-base-type="SortFilterProxyModel::RoleSorter" fullname="SortFilterProxyModel.StringSorter" href="qml-sortfilterproxymodel-stringsorter.html" status="active" access="public" documented="true" title="StringSorter" fulltitle="StringSorter" subtitle="" groups="Sorters" brief="Sorts rows based on a source model string role">
<qmlproperty name="caseSensitivity" fullname="SortFilterProxyModel.StringSorter.caseSensitivity" href="qml-sortfilterproxymodel-stringsorter.html#caseSensitivity-prop" status="active" access="public" documented="true" type="Qt.CaseSensitivity" attached="false" writable="true"/>
<qmlproperty name="ignorePunctation" fullname="SortFilterProxyModel.StringSorter.ignorePunctation" href="qml-sortfilterproxymodel-stringsorter.html#ignorePunctation-prop" status="active" access="public" documented="true" type="bool" attached="false" writable="true"/>
<qmlproperty name="locale" fullname="SortFilterProxyModel.StringSorter.locale" href="qml-sortfilterproxymodel-stringsorter.html#locale-prop" status="active" access="public" documented="true" type="Locale" attached="false" writable="true"/>
<qmlproperty name="numericMode" fullname="SortFilterProxyModel.StringSorter.numericMode" href="qml-sortfilterproxymodel-stringsorter.html#numericMode-prop" status="active" access="public" documented="true" type="bool" attached="false" writable="true"/>
</qmlclass>
<qmlclass threadsafety="unspecified" name="FilterSorter" qml-module-name="FilterSorter" qml-base-type="::Sorter" href="qml-filtersorter.html" status="active" access="public" title="FilterSorter" fulltitle="FilterSorter" subtitle="" brief="Sorts rows based on if they match filters">
<qmlproperty threadsafety="unspecified" name="filters" fullname="FilterSorter::filters" href="qml-filtersorter.html#filters-prop" status="active" access="public" type="string" attached="false" writable="true"/>
<qmlclass name="tst_filtercontainerattached" qml-module-name="tst_filtercontainerattached" href="qml-tst-filtercontainerattached.html" status="internal" access="private" location="tst_filtercontainerattached.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_filtercontainerattached.qml" lineno="7" title="tst_filtercontainerattached" fulltitle="tst_filtercontainerattached" subtitle=""/>
<qmlclass name="tst_filtercontainers" qml-module-name="tst_filtercontainers" href="qml-tst-filtercontainers.html" status="internal" access="private" location="tst_filtercontainers.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_filtercontainers.qml" lineno="6" title="tst_filtercontainers" fulltitle="tst_filtercontainers" subtitle="">
<qmlproperty name="filters" fullname="tst_filtercontainers::filters" href="qml-tst-filtercontainers.html#filters-prop" status="internal" access="private" location="tst_filtercontainers.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_filtercontainers.qml" lineno="7" type="Filter" attached="false" writable="true"/>
</qmlclass>
<qmlclass threadsafety="unspecified" name="RoleSorter" qml-module-name="RoleSorter" qml-base-type="::Sorter" href="qml-rolesorter.html" status="active" access="public" title="RoleSorter" fulltitle="RoleSorter" subtitle="" brief="Sorts rows based on a source model role">
<qmlproperty threadsafety="unspecified" name="roleName" fullname="RoleSorter::roleName" href="qml-rolesorter.html#roleName-prop" status="active" access="public" type="string" attached="false" writable="true"/>
<qmlclass name="tst_filterrole" qml-module-name="tst_filterrole" href="qml-tst-filterrole.html" status="internal" access="private" location="tst_filterrole.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_filterrole.qml" lineno="7" title="tst_filterrole" fulltitle="tst_filterrole" subtitle=""/>
<qmlclass name="tst_filtersorter" qml-module-name="tst_filtersorter" href="qml-tst-filtersorter.html" status="internal" access="private" location="tst_filtersorter.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_filtersorter.qml" lineno="7" title="tst_filtersorter" fulltitle="tst_filtersorter" subtitle=""/>
<qmlclass name="tst_helpers" qml-module-name="tst_helpers" href="qml-tst-helpers.html" status="internal" access="private" location="tst_helpers.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_helpers.qml" lineno="7" title="tst_helpers" fulltitle="tst_helpers" subtitle=""/>
<qmlclass name="tst_indexfilter" qml-module-name="tst_indexfilter" href="qml-tst-indexfilter.html" status="internal" access="private" location="tst_indexfilter.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_indexfilter.qml" lineno="6" title="tst_indexfilter" fulltitle="tst_indexfilter" subtitle="">
<qmlproperty name="filters" fullname="tst_indexfilter::filters" href="qml-tst-indexfilter.html#filters-prop" status="internal" access="private" location="tst_indexfilter.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_indexfilter.qml" lineno="7" type="IndexFilter" attached="false" writable="true"/>
</qmlclass>
<qmlclass threadsafety="unspecified" name="Sorter" qml-module-name="Sorter" href="qml-sorter.html" status="active" access="public" title="Sorter" fulltitle="Sorter" subtitle="" brief="Base type for the SortFilterProxyModel sorters">
<qmlproperty threadsafety="unspecified" name="enabled" fullname="Sorter::enabled" href="qml-sorter.html#enabled-prop" status="active" access="public" type="bool" attached="false" writable="true"/>
<qmlproperty threadsafety="unspecified" name="sortOrder" fullname="Sorter::sortOrder" href="qml-sorter.html#sortOrder-prop" status="active" access="public" type="Qt::SortOrder" attached="false" writable="true"/>
<qmlclass name="tst_joinrole" qml-module-name="tst_joinrole" href="qml-tst-joinrole.html" status="internal" access="private" location="tst_joinrole.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_joinrole.qml" lineno="7" title="tst_joinrole" fulltitle="tst_joinrole" subtitle=""/>
<qmlclass name="tst_proxyroles" qml-module-name="tst_proxyroles" href="qml-tst-proxyroles.html" status="internal" access="private" location="tst_proxyroles.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_proxyroles.qml" lineno="8" title="tst_proxyroles" fulltitle="tst_proxyroles" subtitle=""/>
<qmlclass name="tst_rangefilter" qml-module-name="tst_rangefilter" href="qml-tst-rangefilter.html" status="internal" access="private" location="tst_rangefilter.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_rangefilter.qml" lineno="6" title="tst_rangefilter" fulltitle="tst_rangefilter" subtitle="">
<qmlproperty name="filters" fullname="tst_rangefilter::filters" href="qml-tst-rangefilter.html#filters-prop" status="internal" access="private" location="tst_rangefilter.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_rangefilter.qml" lineno="7" type="RangeFilter" attached="false" writable="true"/>
</qmlclass>
<qmlclass threadsafety="unspecified" name="StringSorter" qml-module-name="StringSorter" qml-base-type="::RoleSorter" href="qml-stringsorter.html" status="active" access="public" title="StringSorter" fulltitle="StringSorter" subtitle="" brief="Sorts rows based on a source model string role">
<qmlproperty threadsafety="unspecified" name="caseSensitivity" fullname="StringSorter::caseSensitivity" href="qml-stringsorter.html#caseSensitivity-prop" status="active" access="public" type="Qt.CaseSensitivity" attached="false" writable="true"/>
<qmlproperty threadsafety="unspecified" name="ignorePunctation" fullname="StringSorter::ignorePunctation" href="qml-stringsorter.html#ignorePunctation-prop" status="active" access="public" type="bool" attached="false" writable="true"/>
<qmlproperty threadsafety="unspecified" name="locale" fullname="StringSorter::locale" href="qml-stringsorter.html#locale-prop" status="active" access="public" type="Locale" attached="false" writable="true"/>
<qmlproperty threadsafety="unspecified" name="numericMode" fullname="StringSorter::numericMode" href="qml-stringsorter.html#numericMode-prop" status="active" access="public" type="bool" attached="false" writable="true"/>
<qmlclass name="tst_regexprole" qml-module-name="tst_regexprole" href="qml-tst-regexprole.html" status="internal" access="private" location="tst_regexprole.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_regexprole.qml" lineno="7" title="tst_regexprole" fulltitle="tst_regexprole" subtitle=""/>
<qmlclass name="tst_sorters" qml-module-name="tst_sorters" href="qml-tst-sorters.html" status="internal" access="private" location="tst_sorters.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_sorters.qml" lineno="7" title="tst_sorters" fulltitle="tst_sorters" subtitle="">
<qmlproperty name="tieSorters" fullname="tst_sorters::tieSorters" href="qml-tst-sorters.html#tieSorters-prop" status="internal" access="private" location="tst_sorters.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_sorters.qml" lineno="72" type="RoleSorter" attached="false" writable="true"/>
<qmlproperty name="sorters" fullname="tst_sorters::sorters" href="qml-tst-sorters.html#sorters-prop" status="internal" access="private" location="tst_sorters.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_sorters.qml" lineno="20" type="QtObject" attached="false" writable="true"/>
<qmlproperty name="sortersWithPriority" fullname="tst_sorters::sortersWithPriority" href="qml-tst-sorters.html#sortersWithPriority-prop" status="internal" access="private" location="tst_sorters.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_sorters.qml" lineno="77" type="RoleSorter" attached="false" writable="true"/>
</qmlclass>
<qmlclass threadsafety="unspecified" name="tst_builtins" qml-module-name="tst_builtins" href="qml-tst-builtins.html" status="internal" access="private" location="tst_builtins.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_builtins.qml" lineno="6" title="tst_builtins" fulltitle="tst_builtins" subtitle=""/>
<qmlclass threadsafety="unspecified" name="tst_expressionrole" qml-module-name="tst_expressionrole" href="qml-tst-expressionrole.html" status="internal" access="private" location="tst_expressionrole.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_expressionrole.qml" lineno="7" title="tst_expressionrole" fulltitle="tst_expressionrole" subtitle="">
<qmlproperty threadsafety="unspecified" name="c" fullname="tst_expressionrole::c" href="qml-tst-expressionrole.html#c-prop" status="active" access="public" location="tst_expressionrole.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_expressionrole.qml" lineno="8" type="int" attached="false" writable="true"/>
<qmlclass name="tst_stringsorter" qml-module-name="tst_stringsorter" href="qml-tst-stringsorter.html" status="internal" access="private" location="tst_stringsorter.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_stringsorter.qml" lineno="6" title="tst_stringsorter" fulltitle="tst_stringsorter" subtitle="">
<qmlproperty name="sorters" fullname="tst_stringsorter::sorters" href="qml-tst-stringsorter.html#sorters-prop" status="internal" access="private" location="tst_stringsorter.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_stringsorter.qml" lineno="7" type="StringSorter" attached="false" writable="true"/>
</qmlclass>
<qmlclass threadsafety="unspecified" name="tst_filtercontainers" qml-module-name="tst_filtercontainers" href="qml-tst-filtercontainers.html" status="internal" access="private" location="tst_filtercontainers.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_filtercontainers.qml" lineno="6" title="tst_filtercontainers" fulltitle="tst_filtercontainers" subtitle="">
<qmlproperty threadsafety="unspecified" name="filters" fullname="tst_filtercontainers::filters" href="qml-tst-filtercontainers.html#filters-prop" status="active" access="public" location="tst_filtercontainers.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_filtercontainers.qml" lineno="7" type="Filter" attached="false" writable="true"/>
<qmlclass name="tst_sourceroles" qml-module-name="tst_sourceroles" href="qml-tst-sourceroles.html" status="internal" access="private" location="tst_sourceroles.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_sourceroles.qml" lineno="6" title="tst_sourceroles" fulltitle="tst_sourceroles" subtitle=""/>
<qmlclass name="tst_switchrole" qml-module-name="tst_switchrole" href="qml-tst-switchrole.html" status="internal" access="private" location="tst_switchrole.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_switchrole.qml" lineno="7" title="tst_switchrole" fulltitle="tst_switchrole" subtitle=""/>
<page name="index.html" href="index.html" status="active" location="index.qdoc" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/index.qdoc" lineno="1" documented="true" subtype="page" title="SortFilterProxyModel QML Module" fulltitle="SortFilterProxyModel QML Module" subtitle="" module="SortFilterProxyModel">
<contents name="filters" title="Filters" level="1"/>
<contents name="related-attached-types" title="Related attached types" level="2"/>
<contents name="sorters" title="Sorters" level="1"/>
<contents name="related-attached-types" title="Related attached types" level="2"/>
<contents name="proxyroles" title="ProxyRoles" level="1"/>
</page>
<qmlclass name="RoleFilter" qml-module-name="SortFilterProxyModel" qml-base-type="SortFilterProxyModel::Filter" fullname="SortFilterProxyModel.RoleFilter" href="qml-sortfilterproxymodel-rolefilter.html" status="active" access="public" abstract="true" documented="true" title="RoleFilter" fulltitle="RoleFilter" subtitle="" groups="Filters" brief="Base type for filters based on a source model role">
<qmlproperty name="roleName" fullname="SortFilterProxyModel.RoleFilter.roleName" status="active" access="public" documented="true" type="string" attached="false" writable="true"/>
</qmlclass>
<qmlclass threadsafety="unspecified" name="tst_filterrole" qml-module-name="tst_filterrole" href="qml-tst-filterrole.html" status="internal" access="private" location="tst_filterrole.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_filterrole.qml" lineno="7" title="tst_filterrole" fulltitle="tst_filterrole" subtitle=""/>
<qmlclass threadsafety="unspecified" name="tst_filtersorter" qml-module-name="tst_filtersorter" href="qml-tst-filtersorter.html" status="internal" access="private" location="tst_filtersorter.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_filtersorter.qml" lineno="7" title="tst_filtersorter" fulltitle="tst_filtersorter" subtitle=""/>
<qmlclass threadsafety="unspecified" name="tst_helpers" qml-module-name="tst_helpers" href="qml-tst-helpers.html" status="internal" access="private" location="tst_helpers.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_helpers.qml" lineno="7" title="tst_helpers" fulltitle="tst_helpers" subtitle=""/>
<qmlclass threadsafety="unspecified" name="tst_indexfilter" qml-module-name="tst_indexfilter" href="qml-tst-indexfilter.html" status="internal" access="private" location="tst_indexfilter.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_indexfilter.qml" lineno="6" title="tst_indexfilter" fulltitle="tst_indexfilter" subtitle="">
<qmlproperty threadsafety="unspecified" name="filters" fullname="tst_indexfilter::filters" href="qml-tst-indexfilter.html#filters-prop" status="active" access="public" location="tst_indexfilter.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_indexfilter.qml" lineno="7" type="IndexFilter" attached="false" writable="true"/>
<qmlclass name="ValueFilter" qml-module-name="SortFilterProxyModel" qml-base-type="SortFilterProxyModel::RoleFilter" fullname="SortFilterProxyModel.ValueFilter" href="qml-sortfilterproxymodel-valuefilter.html" status="active" access="public" documented="true" title="ValueFilter" fulltitle="ValueFilter" subtitle="" groups="Filters" brief="Filters rows matching exactly a value">
<qmlproperty name="value" fullname="SortFilterProxyModel.ValueFilter.value" href="qml-sortfilterproxymodel-valuefilter.html#value-prop" status="active" access="public" documented="true" type="variant" attached="false" writable="true"/>
</qmlclass>
<qmlclass threadsafety="unspecified" name="tst_joinrole" qml-module-name="tst_joinrole" href="qml-tst-joinrole.html" status="internal" access="private" location="tst_joinrole.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_joinrole.qml" lineno="7" title="tst_joinrole" fulltitle="tst_joinrole" subtitle=""/>
<qmlclass threadsafety="unspecified" name="tst_proxyroles" qml-module-name="tst_proxyroles" href="qml-tst-proxyroles.html" status="internal" access="private" location="tst_proxyroles.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_proxyroles.qml" lineno="8" title="tst_proxyroles" fulltitle="tst_proxyroles" subtitle=""/>
<qmlclass threadsafety="unspecified" name="tst_rangefilter" qml-module-name="tst_rangefilter" href="qml-tst-rangefilter.html" status="internal" access="private" location="tst_rangefilter.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_rangefilter.qml" lineno="6" title="tst_rangefilter" fulltitle="tst_rangefilter" subtitle="">
<qmlproperty threadsafety="unspecified" name="filters" fullname="tst_rangefilter::filters" href="qml-tst-rangefilter.html#filters-prop" status="active" access="public" location="tst_rangefilter.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_rangefilter.qml" lineno="7" type="RangeFilter" attached="false" writable="true"/>
<qmlclass name="FilterRole" qml-module-name="SortFilterProxyModel" qml-base-type="SortFilterProxyModel::SingleRole" fullname="SortFilterProxyModel.FilterRole" href="qml-sortfilterproxymodel-filterrole.html" status="active" access="public" documented="true" title="FilterRole" fulltitle="FilterRole" subtitle="" groups="ProxyRoles,FilterContainer" brief="A role resolving to true for rows matching all its filters">
<qmlproperty name="filters" fullname="SortFilterProxyModel.FilterRole.filters" href="qml-sortfilterproxymodel-filterrole.html#filters-prop" status="active" access="public" documented="true" type="list&lt;Filter&gt;" attached="false" writable="true"/>
</qmlclass>
<qmlclass threadsafety="unspecified" name="tst_regexprole" qml-module-name="tst_regexprole" href="qml-tst-regexprole.html" status="internal" access="private" location="tst_regexprole.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_regexprole.qml" lineno="7" title="tst_regexprole" fulltitle="tst_regexprole" subtitle=""/>
<qmlclass threadsafety="unspecified" name="tst_rolesorter" qml-module-name="tst_rolesorter" href="qml-tst-rolesorter.html" status="internal" access="private" location="tst_rolesorter.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_rolesorter.qml" lineno="6" title="tst_rolesorter" fulltitle="tst_rolesorter" subtitle="">
<qmlproperty threadsafety="unspecified" name="sorters" fullname="tst_rolesorter::sorters" href="qml-tst-rolesorter.html#sorters-prop" status="active" access="public" location="tst_rolesorter.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_rolesorter.qml" lineno="7" type="RoleSorter" attached="false" writable="true"/>
<qmlclass name="ExpressionRole" qml-module-name="SortFilterProxyModel" qml-base-type="SortFilterProxyModel::SingleRole" fullname="SortFilterProxyModel.ExpressionRole" href="qml-sortfilterproxymodel-expressionrole.html" status="active" access="public" documented="true" title="ExpressionRole" fulltitle="ExpressionRole" subtitle="" groups="ProxyRoles" brief="A custom role computed from a javascript expression">
<qmlproperty name="expression" fullname="SortFilterProxyModel.ExpressionRole.expression" href="qml-sortfilterproxymodel-expressionrole.html#expression-prop" status="active" access="public" documented="true" type="expression" attached="false" writable="true"/>
</qmlclass>
<qmlclass threadsafety="unspecified" name="tst_sorters" qml-module-name="tst_sorters" href="qml-tst-sorters.html" status="internal" access="private" location="tst_sorters.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_sorters.qml" lineno="7" title="tst_sorters" fulltitle="tst_sorters" subtitle="">
<qmlproperty threadsafety="unspecified" name="sorters" fullname="tst_sorters::sorters" href="qml-tst-sorters.html#sorters-prop" status="active" access="public" location="tst_sorters.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_sorters.qml" lineno="20" type="QtObject" attached="false" writable="true"/>
<qmlproperty threadsafety="unspecified" name="tieSorters" fullname="tst_sorters::tieSorters" href="qml-tst-sorters.html#tieSorters-prop" status="active" access="public" location="tst_sorters.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_sorters.qml" lineno="72" type="RoleSorter" attached="false" writable="true"/>
<qmlclass name="ProxyRole" qml-module-name="SortFilterProxyModel" fullname="SortFilterProxyModel.ProxyRole" href="qml-sortfilterproxymodel-proxyrole.html" status="active" access="public" documented="true" title="ProxyRole" fulltitle="ProxyRole" subtitle="" groups="ProxyRoles" brief="Base type for the SortFilterProxyModel proxy roles"/>
<qmlclass name="JoinRole" qml-module-name="SortFilterProxyModel" qml-base-type="SortFilterProxyModel::SingleRole" fullname="SortFilterProxyModel.JoinRole" href="qml-sortfilterproxymodel-joinrole.html" status="active" access="public" documented="true" title="JoinRole" fulltitle="JoinRole" subtitle="" groups="ProxyRoles" brief="Role made from concatenating other roles">
<qmlproperty name="roleNames" fullname="SortFilterProxyModel.JoinRole.roleNames" href="qml-sortfilterproxymodel-joinrole.html#roleNames-prop" status="active" access="public" documented="true" type="list&lt;string&gt;" attached="false" writable="true"/>
<qmlproperty name="separator" fullname="SortFilterProxyModel.JoinRole.separator" href="qml-sortfilterproxymodel-joinrole.html#separator-prop" status="active" access="public" documented="true" type="string" attached="false" writable="true"/>
</qmlclass>
<qmlclass threadsafety="unspecified" name="tst_sourceroles" qml-module-name="tst_sourceroles" href="qml-tst-sourceroles.html" status="internal" access="private" location="tst_sourceroles.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_sourceroles.qml" lineno="6" title="tst_sourceroles" fulltitle="tst_sourceroles" subtitle=""/>
<qmlclass threadsafety="unspecified" name="tst_stringsorter" qml-module-name="tst_stringsorter" href="qml-tst-stringsorter.html" status="internal" access="private" location="tst_stringsorter.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_stringsorter.qml" lineno="6" title="tst_stringsorter" fulltitle="tst_stringsorter" subtitle="">
<qmlproperty threadsafety="unspecified" name="sorters" fullname="tst_stringsorter::sorters" href="qml-tst-stringsorter.html#sorters-prop" status="active" access="public" location="tst_stringsorter.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_stringsorter.qml" lineno="7" type="StringSorter" attached="false" writable="true"/>
<qmlclass name="tst_sortercontainerattached" qml-module-name="tst_sortercontainerattached" href="qml-tst-sortercontainerattached.html" status="internal" access="private" location="tst_sortercontainerattached.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_sortercontainerattached.qml" lineno="7" title="tst_sortercontainerattached" fulltitle="tst_sortercontainerattached" subtitle=""/>
<qmlclass name="SingleRole" qml-module-name="SortFilterProxyModel" qml-base-type="SortFilterProxyModel::ProxyRole" fullname="SortFilterProxyModel.SingleRole" href="qml-sortfilterproxymodel-singlerole.html" status="active" access="public" abstract="true" documented="true" title="SingleRole" fulltitle="SingleRole" subtitle="" groups="ProxyRoles" brief="Base type for the SortFilterProxyModel proxy roles defining a single role">
<qmlproperty name="name" fullname="SortFilterProxyModel.SingleRole.name" status="active" access="public" documented="true" type="string" attached="false" writable="true"/>
</qmlclass>
<qmlclass threadsafety="unspecified" name="tst_switchrole" qml-module-name="tst_switchrole" href="qml-tst-switchrole.html" status="internal" access="private" location="tst_switchrole.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_switchrole.qml" lineno="7" title="tst_switchrole" fulltitle="tst_switchrole" subtitle=""/>
<qmlmodule name="SortFilterProxyModel" qml-module-name="SortFilterProxyModel" qml-module-version="." href="sortfilterproxymodel-qmlmodule.html" status="internal" seen="false" title="" members="AllOf,AnyOf,ExpressionFilter,Filter,IndexFilter,RangeFilter,RegExpFilter,RoleFilter,ValueFilter,ExpressionRole,FilterRole,JoinRole,ProxyRole,RegExpRole,SingleRole,SwitchRole,SortFilterProxyModel,ExpressionSorter,FilterSorter,RoleSorter,Sorter,StringSorter"/>
<qmlclass name="RegExpRole" qml-module-name="SortFilterProxyModel" qml-base-type="SortFilterProxyModel::ProxyRole" fullname="SortFilterProxyModel.RegExpRole" href="qml-sortfilterproxymodel-regexprole.html" status="active" access="public" documented="true" title="RegExpRole" fulltitle="RegExpRole" subtitle="" groups="ProxyRoles" brief="A ProxyRole extracting data from a source role via a regular expression">
<qmlproperty name="roleName" fullname="SortFilterProxyModel.RegExpRole.roleName" href="qml-sortfilterproxymodel-regexprole.html#roleName-prop" status="active" access="public" documented="true" type="QString" attached="false" writable="true"/>
<qmlproperty name="pattern" fullname="SortFilterProxyModel.RegExpRole.pattern" href="qml-sortfilterproxymodel-regexprole.html#pattern-prop" status="active" access="public" documented="true" type="QString" attached="false" writable="true"/>
<qmlproperty name="caseSensitivity" fullname="SortFilterProxyModel.RegExpRole.caseSensitivity" href="qml-sortfilterproxymodel-regexprole.html#caseSensitivity-prop" status="active" access="public" documented="true" type="Qt::CaseSensitivity" attached="false" writable="true"/>
</qmlclass>
<qmlclass name="tst_rolesorter" qml-module-name="tst_rolesorter" href="qml-tst-rolesorter.html" status="internal" access="private" location="tst_rolesorter.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_rolesorter.qml" lineno="6" title="tst_rolesorter" fulltitle="tst_rolesorter" subtitle="">
<qmlproperty name="sorters" fullname="tst_rolesorter::sorters" href="qml-tst-rolesorter.html#sorters-prop" status="internal" access="private" location="tst_rolesorter.qml" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/tests/tst_rolesorter.qml" lineno="7" type="RoleSorter" attached="false" writable="true"/>
</qmlclass>
<group name="FilterAttached" href="filterattached.html" status="internal" seen="false" title="" members="FilterContainer"/>
<group name="FilterContainer" href="filtercontainer.html" status="internal" seen="false" title="" members="AllOf,AnyOf,FilterRole,SwitchRole,SortFilterProxyModel,FilterSorter"/>
<group name="Filters" href="filters.html" status="internal" seen="false" title="" members="AllOf,AnyOf,ExpressionFilter,Filter,IndexFilter,RangeFilter,RegExpFilter,RoleFilter,ValueFilter"/>
<group name="ProxyRoles" href="proxyroles.html" status="internal" seen="false" title="" members="ExpressionRole,FilterRole,JoinRole,ProxyRole,RegExpRole,SingleRole,SwitchRole"/>
<group name="SortFilterProxyModel" href="sortfilterproxymodel.html" status="internal" seen="false" title="" members="SortFilterProxyModel"/>
<group name="SorterAttached" href="sorterattached.html" status="internal" seen="false" title="" members="SorterContainer"/>
<group name="SorterContainer" href="sortercontainer.html" status="internal" seen="false" title="" members="SortFilterProxyModel"/>
<group name="Sorters" href="sorters.html" status="internal" seen="false" title="" members="ExpressionSorter,FilterSorter,RoleSorter,Sorter,StringSorter"/>
<qmlmodule name="SortFilterProxyModel" qml-module-name="SortFilterProxyModel" qml-module-version="." href="sortfilterproxymodel-qmlmodule.html" status="active" location="index.qdoc" filepath="D:/coding/MeetupSFPMMap/vendor/SortFilterProxyModel/index.qdoc" lineno="25" documented="true" seen="true" title="" module="SortFilterProxyModel" members="AllOf,AnyOf,ExpressionFilter,Filter,FilterContainer,IndexFilter,RangeFilter,RegExpFilter,RoleFilter,ValueFilter,ExpressionRole,FilterRole,JoinRole,ProxyRole,RegExpRole,SingleRole,SwitchRole,SortFilterProxyModel,ExpressionSorter,FilterSorter,RoleSorter,Sorter,SorterContainer,StringSorter"/>
</namespace>
</INDEX>

View File

@ -384,6 +384,9 @@ h3.fn, span.fn {
margin: 0px;
margin-top: 45px;
}
.fngroup h3.fngroupitem {
margin-bottom: 5px;
}
h3.fn code {
float: right;
}
@ -780,3 +783,23 @@ div.multi-column div {
margin-right: 4em;
width: 24em;
}
.mainContent .video {
width:40%;
max-width:640px;
margin: 15px 0 0 15px;
position:relative;
display:table
}
.mainContent .video > .vspan {
padding-top:60%;
display:block
}
.mainContent .video iframe {
width:100%;
height:100%;
position:absolute;
top:0;
left:0
}

View File

@ -6,11 +6,14 @@ namespace qqsfpm {
\qmltype AllOf
\inherits Filter
\inqmlmodule SortFilterProxyModel
\brief Filter container accepting rows accepted by all its child filters
\ingroup Filters
\ingroup FilterContainer
\brief Filter container accepting rows accepted by all its child filters.
The AllOf type is a \l Filter container that accepts rows if all of its contained (and enabled) filters accept them, or if it has no filter.
Using it as a top level filter has the same effect as putting all its child filters as top level filters. It can however be usefull to use an AllOf filter when nested in an AnyOf filter.
\sa FilterContainer
*/
bool AllOfFilter::filterRow(const QModelIndex& sourceIndex, const QQmlSortFilterProxyModel& proxyModel) const
{

View File

@ -6,7 +6,9 @@ namespace qqsfpm {
\qmltype AnyOf
\inherits Filter
\inqmlmodule SortFilterProxyModel
\brief Filter container accepting rows accepted by at least one of its child filters
\ingroup Filters
\ingroup FilterContainer
\brief Filter container accepting rows accepted by at least one of its child filters.
The AnyOf type is a \l Filter container that accepts rows if any of its contained (and enabled) filters accept them.
@ -32,6 +34,7 @@ namespace qqsfpm {
}
}
\endcode
\sa FilterContainer
*/
bool AnyOfFilter::filterRow(const QModelIndex& sourceIndex, const QQmlSortFilterProxyModel& proxyModel) const
{

View File

@ -8,7 +8,8 @@ namespace qqsfpm {
\qmltype ExpressionFilter
\inherits Filter
\inqmlmodule SortFilterProxyModel
\brief Filters row with a custom filtering
\ingroup Filters
\brief Filters row with a custom filtering.
An ExpressionFilter is a \l Filter allowing to implement custom filtering based on a javascript expression.
*/

View File

@ -5,8 +5,10 @@ namespace qqsfpm {
/*!
\qmltype Filter
\qmlabstract
\inqmlmodule SortFilterProxyModel
\brief Base type for the \l SortFilterProxyModel filters
\ingroup Filters
\brief Base type for the \l SortFilterProxyModel filters.
The Filter type cannot be used directly in a QML file.
It exists to provide a set of common properties and methods,

View File

@ -4,10 +4,16 @@
namespace qqsfpm {
FilterContainer::~FilterContainer()
{
/*!
\qmltype FilterContainer
\qmlabstract
\inqmlmodule SortFilterProxyModel
\ingroup FilterAttached
\brief Abstract interface for types containing \l {Filter}{Filters}.
}
\section2 Types implementing this interface:
\annotatedlist FilterContainer
*/
QList<Filter*> FilterContainer::filters() const
{

View File

@ -13,7 +13,7 @@ class QQmlSortFilterProxyModel;
class FilterContainer {
public:
virtual ~FilterContainer();
virtual ~FilterContainer() = default;
QList<Filter*> filters() const;
void appendFilter(Filter* filter);

View File

@ -7,7 +7,8 @@ namespace qqsfpm {
\qmltype IndexFilter
\inherits Filter
\inqmlmodule SortFilterProxyModel
\brief Filters rows based on their source index
\ingroup Filters
\brief Filters rows based on their source index.
An IndexFilter is a filter allowing contents to be filtered based on their source model index.
@ -29,9 +30,13 @@ namespace qqsfpm {
Rows with a source index lower than \c minimumIndex will be rejected.
If \c minimumIndex is negative, it is counted from the end of the source model, meaning that :
\code minimumIndex: -1\endcode
\code
minimumIndex: -1
\endcode
is equivalent to :
\code minimumIndex: sourceModel.count - 1\endcode
\code
minimumIndex: sourceModel.count - 1
\endcode
By default, no value is set.
*/
const QVariant& IndexFilter::minimumIndex() const
@ -56,9 +61,13 @@ void IndexFilter::setMinimumIndex(const QVariant& minimumIndex)
Rows with a source index higher than \c maximumIndex will be rejected.
If \c maximumIndex is negative, it is counted from the end of the source model, meaning that:
\code maximumIndex: -1\endcode
\code
maximumIndex: -1
\endcode
is equivalent to :
\code maximumIndex: sourceModel.count - 1\endcode
\code
maximumIndex: sourceModel.count - 1
\endcode
By default, no value is set.
*/
const QVariant& IndexFilter::maximumIndex() const

View File

@ -6,7 +6,8 @@ namespace qqsfpm {
\qmltype RangeFilter
\inherits RoleFilter
\inqmlmodule SortFilterProxyModel
\brief Filters rows between boundary values
\ingroup Filters
\brief Filters rows between boundary values.
A RangeFilter is a \l RoleFilter that accepts rows if their data is between the filter's minimum and maximum value.

View File

@ -7,7 +7,8 @@ namespace qqsfpm {
\qmltype RegExpFilter
\inherits RoleFilter
\inqmlmodule SortFilterProxyModel
\brief Filters rows matching a regular expression
\ingroup Filters
\brief Filters rows matching a regular expression.
A RegExpFilter is a \l RoleFilter that accepts rows matching a regular rexpression.

View File

@ -8,7 +8,8 @@ namespace qqsfpm {
\qmlabstract
\inherits Filter
\inqmlmodule SortFilterProxyModel
\brief Base type for filters based on a source model role
\ingroup Filters
\brief Base type for filters based on a source model role.
The RoleFilter type cannot be used directly in a QML file.
It exists to provide a set of common properties and methods,

View File

@ -6,7 +6,8 @@ namespace qqsfpm {
\qmltype ValueFilter
\inherits RoleFilter
\inqmlmodule SortFilterProxyModel
\brief Filters rows matching exactly a value
\ingroup Filters
\brief Filters rows matching exactly a value.
A ValueFilter is a simple \l RoleFilter that accepts rows matching exactly the filter's value

27
index.qdoc Normal file
View File

@ -0,0 +1,27 @@
/*!
\page index.html overview
\title SortFilterProxyModel QML Module
SortFilterProxyModel is an implementation of QSortFilterProxyModel conveniently exposed for QML.
\annotatedlist SortFilterProxyModel
\section1 Filters
\annotatedlist Filters
\section2 Related attached types
\annotatedlist FilterAttached
\section1 Sorters
\annotatedlist Sorters
\section2 Related attached types
\annotatedlist SorterAttached
\section1 ProxyRoles
\annotatedlist ProxyRoles
*/
/*!
\qmlmodule SortFilterProxyModel
*/

805
offline.css Normal file
View File

@ -0,0 +1,805 @@
body {
font: normal 400 14px/1.2 Arial;
margin-top: 85px;
font-family: Arial, Helvetica;
text-align: left;
margin-left: 5px;
margin-right: 5px;
background-color: #fff;
}
p {
line-height: 20px
}
img {
margin-left: 0px;
max-width: 800px;
height: auto;
}
.content .border img {
box-shadow:3px 3px 8px 3px rgba(200,200,200,0.5)
}
.content .border .player {
box-shadow:3px 3px 8px 3px rgba(200,200,200,0.5)
}
.content .indexboxcont li {
font: normal bold 13px/1 Verdana
}
.content .normallist li {
font: normal 13px/1 Verdana
}
.descr {
margin-top: 35px;
margin-bottom: 45px;
margin-left: 5px;
text-align: left;
vertical-align: top;
}
.name {
max-width: 75%;
font-weight: 100;
}
tt {
text-align: left
}
/*
-----------
links
-----------
*/
a:link {
color: #007330;
text-decoration: none;
text-align: left;
}
a.qa-mark:target:before {
content: "***";
color: #ff0000;
}
a:hover {
color: #44a51c;
text-align: left;
}
a:visited {
color: #007330;
text-align: left;
}
a:visited:hover {
color: #44a51c;
text-align: left;
}
/*
-----------
offline viewing: HTML links display an icon
-----------
*/
a[href*="http://"], a[href*="ftp://"], a[href*="https://"] {
text-decoration: none;
background-image: url(../images/ico_out.png);
background-repeat: no-repeat;
background-position: left;
padding-left: 20px;
text-align: left;
}
.flags {
text-decoration: none;
text-height: 24px;
}
.flags:target {
background-color: #FFFFD6;
}
/*
-------------------------------
NOTE styles
-------------------------------
*/
.notetitle, .tiptitle, .fastpathtitle {
font-weight: bold
}
.attentiontitle, .cautiontitle, .dangertitle, .importanttitle, .remembertitle, .restrictiontitle {
font-weight: bold
}
.note, .tip, .fastpath {
background: #F2F2F2 url(../images/ico_note.png);
background-repeat: no-repeat;
background-position: top left;
padding: 5px;
padding-left: 40px;
padding-bottom: 10px;
border: #999 1px dotted;
color: #666666;
margin: 5px;
}
.attention, .caution, .danger, .important, .remember, .restriction {
background: #F2F2F2 url(../images/ico_note_attention.png);
background-repeat: no-repeat;
background-position: top left;
padding: 5px;
padding-left: 40px;
padding-bottom: 10px;
border: #999 1px dotted;
color: #666666;
margin: 5px;
}
/*
-------------------------------
Top navigation
-------------------------------
*/
.qtref {
display: block;
position: relative;
height: 15px;
z-index: 1;
font-size: 11px;
padding-right: 10px;
float: right;
}
.naviNextPrevious {
clear: both;
display: block;
position: relative;
text-align: right;
top: -47px;
float: right;
height: 20px;
z-index: 1;
padding-right: 10px;
padding-top: 2px;
vertical-align: top;
margin: 0px;
}
.naviNextPrevious > a:first-child {
background-image: url(../images/btn_prev.png);
background-repeat: no-repeat;
background-position: left;
padding-left: 20px;
height: 20px;
padding-left: 20px;
}
.naviNextPrevious > a:last-child {
background-image: url(../images/btn_next.png);
background-repeat: no-repeat;
background-position: right;
padding-right: 20px;
height: 20px;
margin-left: 30px;
}
.naviSeparator { display: none }
/*
-----------
footer and license
-----------
*/
.footer {
text-align: left;
padding-top: 45px;
padding-left: 5px;
margin-top: 45px;
margin-bottom: 45px;
font-size: 10px;
border-top: 1px solid #999;
}
.footer p {
line-height: 14px;
font-size: 11px;
padding: 0;
margin: 0;
}
.footer a[href*="http://"], a[href*="ftp://"], a[href*="https://"] {
font-weight: bold;
}
.footerNavi {
width: auto;
text-align: right;
margin-top: 50px;
z-index: 1;
}
.navigationbar {
display: block;
position: relative;
top: -20px;
border-top: 1px solid #cecece;
border-bottom: 1px solid #cecece;
background-color: #F2F2F2;
z-index: 1;
height: 20px;
padding-left: 7px;
margin: 0px;
padding-top: 2px;
margin-left: -5px;
margin-right: -5px;
}
.navigationbar .first {
background: url(../images/home.png);
background-position: left;
background-repeat: no-repeat;
padding-left: 20px;
}
.navigationbar ul {
margin: 0px;
padding: 0px;
}
.navigationbar ul li {
list-style-type: none;
padding-top: 2px;
padding-left: 4px;
margin: 0;
height: 20px;
}
.navigationbar li {
float: left
}
.navigationbar li a, .navigationbar td a {
display: block;
text-decoration: none;
background: url(../images/arrow_bc.png);
background-repeat: no-repeat;
background-position: right;
padding-right: 17px;
}
table.buildversion {
float: right;
margin-top: -18px !important;
}
.navigationbar table {
border-radius: 0;
border: 0 none;
background-color: #F2F2F2;
margin: 0;
}
.navigationbar table td {
padding: 0;
border: 0 none;
}
#buildversion {
font-style: italic;
font-size: small;
float: right;
margin-right: 5px;
}
/*
/* table of content
no display
*/
/*
-----------
headers
-----------
*/
@media screen {
.title {
color: #313131;
font-size: 24px;
font-weight: normal;
left: 0;
padding-bottom: 20px;
padding-left: 10px;
padding-top: 20px;
position: absolute;
right: 0;
top: 0;
background-color: #E6E6E6;
border-bottom: 1px #CCC solid;
border-top: 2px #CCC solid;
font-weight: bold;
margin-left: 0px;
margin-right: 0px;
}
.subtitle, .small-subtitle {
display: block;
clear: left;
}
}
h1 {
margin: 0
}
h2, p.h2 {
font: 500 16px/1.2 Arial;
font-weight: 100;
background-color: #F2F3F4;
padding: 4px;
margin-bottom: 30px;
margin-top: 30px;
border-top: #E0E0DE 1px solid;
border-bottom: #E0E0DE 1px solid;
max-width: 99%;
}
h2:target {
background-color: #F2F3D4;
}
h3 {
font: 500 14px/1.2 Arial;
font-weight: 100;
text-decoration: underline;
margin-bottom: 30px;
margin-top: 30px;
}
h3.fn, span.fn {
border-width: 1px;
border-style: solid;
border-color: #E6E6E6;
-moz-border-radius: 7px 7px 7px 7px;
-webkit-border-radius: 7px 7px 7px 7px;
border-radius: 7px 7px 7px 7px;
background-color: #F6F6F6;
word-spacing: 3px;
padding: 5px 5px;
text-decoration: none;
font-weight: bold;
max-width: 75%;
font-size: 14px;
margin: 0px;
margin-top: 45px;
}
.fngroup h3.fngroupitem {
margin-bottom: 5px;
}
h3.fn code {
float: right;
}
h3.fn:target {
background-color: #F6F6D6;
}
.name {
color: #1A1A1A
}
.type {
color: #808080
}
@media print {
.title {
color: #0066CB;
font-family: Arial, Helvetica;
font-size: 32px;
font-weight: normal;
left: 0;
position: absolute;
right: 0;
top: 0;
}
}
/*
-----------------
table styles
-----------------
*/
.table img {
border: none;
margin-left: 0px;
-moz-box-shadow: 0px 0px 0px #fff;
-webkit-box-shadow: 0px 0px 0px #fff;
box-shadow: 0px 0px 0px #fff;
}
/* table with border alternative colours*/
table, pre, .LegaleseLeft {
-moz-border-radius: 7px 7px 7px 7px;
-webkit-border-radius: 7px 7px 7px 7px;
border-radius: 7px 7px 7px 7px;
background-color: #F6F6F6;
border: 1px solid #E6E6E6;
border-collapse: separate;
margin-bottom: 25px;
margin-left: 15px;
font-size: 12px;
line-height: 1.2;
}
table tr.even {
background-color: white;
color: #66666E;
}
table tr.odd {
background-color: #F6F6F6;
color: #66666E;
}
table tr:target {
background-color: #F6F6D6;
}
table thead {
text-align: left;
padding-left: 20px;
background-color: #e1e0e0;
border-left: none;
border-right: none;
}
table thead th {
padding-top: 5px;
padding-left: 10px;
padding-bottom: 5px;
border-bottom: 2px solid #D1D1D1;
padding-right: 10px;
}
table th {
text-align: left;
padding-left: 20px;
}
table td {
padding: 3px 15px 3px 20px;
border-bottom: #CCC dotted 1px;
}
table p {
margin: 0px
}
.LegaleseLeft {
font-family: monospace;
white-space: pre-wrap;
}
/* table bodless & white*/
.borderless {
border-radius: 0px 0px 0px 0px;
background-color: #fff;
border: 1px solid #fff;
}
.borderless tr {
background-color: #FFF;
color: #66666E;
}
.borderless td {
border: none;
border-bottom: #fff dotted 1px;
}
/*
-----------
List
-----------
*/
ul {
margin-top: 10px;
}
li {
margin-bottom: 10px;
padding-left: 8px;
list-style: outside;
text-align: left;
}
ul > li {
list-style-type: square;
}
ol {
margin: 10px;
padding: 0;
}
ol.A > li {
list-style-type: upper-alpha;
}
ol.a > li{
list-style-type: lower-alpha;
}
ol > li {
margin-left: 30px;
padding-left: 8px;
list-style: decimal;
}
.centerAlign {
text-align: left
}
.cpp, .LegaleseLeft {
display: block;
margin: 10px;
overflow: auto;
padding: 20px 20px 20px 20px;
}
.js {
display: block;
margin: 10px;
overflow: auto;
padding: 20px 20px 20px 20px;
}
.memItemLeft {
padding-right: 3px
}
.memItemRight {
padding: 3px 15px 3px 0
}
.qml {
display: block;
margin: 10px;
overflow: auto;
padding: 20px 20px 20px 20px;
}
.qmldefault {
padding-left: 5px;
float: right;
color: red;
}
.qmlreadonly {
padding-left: 5px;
float: right;
color: #254117;
}
.rightAlign {
padding: 3px 5px 3px 10px;
text-align: right;
}
.qmldoc {
margin-left: 15px
}
.flowList {
padding: 25px
}
.flowList dd {
display: inline-block;
margin-left: 10px;
width: 255px;
line-height: 1.15em;
overflow-x: hidden;
text-overflow: ellipsis
}
.alphaChar {
font-size: 2em;
position: relative
}
/*
-----------
Content table
-----------
*/
@media print {
.toc {
float: right;
clear: right;
padding-bottom: 10px;
padding-top: 50px;
width: 100%;
background-image: url(../images/bgrContent.png);
background-position: top;
background-repeat: no-repeat;
}
}
@media screen {
.toc {
float: right;
clear: right;
vertical-align: top;
-moz-border-radius: 7px 7px 7px 7px;
-webkit-border-radius: 7px 7px 7px 7px;
border-radius: 7px 7px 7px 7px;
background: #FFF url('../images/bgrContent.png');
background-position: top;
background-repeat: repeat-x;
border: 1px solid #E6E6E6;
padding-left: 5px;
padding-bottom: 10px;
height: auto;
width: 200px;
text-align: left;
margin-left: 20px;
}
}
.toc h3 {
text-decoration: none
}
.toc h3 {
font: 500 14px/1.2 Arial;
font-weight: 100;
padding: 0px;
margin: 0px;
padding-top: 5px;
padding-left: 5px;
}
.toc ul {
padding-left: 10px;
padding-right: 5px;
}
.toc ul li {
margin-left: 15px;
list-style-image: url(../images/bullet_dn.png);
marker-offset: 0px;
margin-bottom: 8px;
padding-left: 0px;
}
.toc .level1 {
border: none
}
.toc .level2 {
border: none;
margin-left: 25px;
}
.level3 {
border: none;
margin-left: 30px;
}
.clearfix {
clear: both
}
/*
-----------
Landing page
-----------
*/
.col-group {
white-space: nowrap;
vertical-align: top;
}
.landing h2 {
background-color: transparent;
border: none;
margin-bottom: 0px;
font-size: 18px;
}
.landing a, .landing li {
font-size: 13px;
font-weight: bold !important;
}
.col-1 {
display: inline-block;
white-space: normal;
width: 70%;
height: 100%;
float: left;
}
.col-2 {
display: inline-block;
white-space: normal;
width: 20%;
margin-left: 5%;
position: relative;
top: -20px;
}
.col-1 h1 {
margin: 20px 0 0 0;
}
.col-1 h2 {
font-size: 18px;
font-weight: bold !important;
}
.landingicons {
display: inline-block;
width: 100%;
}
.icons1of3 {
display: inline-block;
width: 33.3333%;
float: left;
}
.icons1of3 h2, .doc-column h2 {
font-size: 15px;
margin: 0px;
padding: 0px;
}
div.multi-column {
position: relative;
}
div.multi-column div {
display: -moz-inline-box;
display: inline-block;
vertical-align: top;
margin-top: 1em;
margin-right: 4em;
width: 24em;
}
.mainContent .video {
width:40%;
max-width:640px;
margin: 15px 0 0 15px;
position:relative;
display:table
}
.mainContent .video > .vspan {
padding-top:60%;
display:block
}
.mainContent .video iframe {
width:100%;
height:100%;
position:absolute;
top:0;
left:0
}

View File

@ -8,7 +8,8 @@ namespace qqsfpm {
\qmltype ExpressionRole
\inherits SingleRole
\inqmlmodule SortFilterProxyModel
\brief A custom role computed from a javascrip expression
\ingroup ProxyRoles
\brief A custom role computed from a javascript expression.
An ExpressionRole is a \l ProxyRole allowing to implement a custom role based on a javascript expression.

View File

@ -7,7 +7,9 @@ namespace qqsfpm {
\qmltype FilterRole
\inherits SingleRole
\inqmlmodule SortFilterProxyModel
\brief A role resolving to \c true for rows matching all its filters
\ingroup ProxyRoles
\ingroup FilterContainer
\brief A role resolving to \c true for rows matching all its filters.
A FilterRole is a \l ProxyRole that returns \c true for rows matching all its filters.
@ -21,15 +23,17 @@ namespace qqsfpm {
}
}
\endcode
\sa FilterContainer
*/
/*!
\qmlproperty string FilterRole::filters
\qmlproperty list<Filter> FilterRole::filters
\default
This property holds the list of filters for this filter role.
The data of this role will be equal to the \c true if all its filters match the model row, \c false otherwise.
\sa Filter
\sa Filter, FilterContainer
*/
void FilterRole::onFilterAppended(Filter* filter)

View File

@ -7,7 +7,8 @@ namespace qqsfpm {
\qmltype JoinRole
\inherits SingleRole
\inqmlmodule SortFilterProxyModel
\brief a role made from concatenating other roles
\ingroup ProxyRoles
\brief a role made from concatenating other roles.
A JoinRole is a simple \l ProxyRole that concatenates other roles.

View File

@ -13,7 +13,8 @@ namespace qqsfpm {
/*!
\qmltype ProxyRole
\inqmlmodule SortFilterProxyModel
\brief Base type for the \l SortFilterProxyModel proxy roles
\ingroup ProxyRoles
\brief Base type for the \l SortFilterProxyModel proxy roles.
The ProxyRole type cannot be used directly in a QML file.
It exists to provide a set of common properties and methods,

View File

@ -2,11 +2,6 @@
namespace qqsfpm {
ProxyRoleContainer::~ProxyRoleContainer()
{
}
QList<ProxyRole*> ProxyRoleContainer::proxyRoles() const
{
return m_proxyRoles;

View File

@ -11,7 +11,7 @@ class QQmlSortFilterProxyModel;
class ProxyRoleContainer {
public:
virtual ~ProxyRoleContainer();
virtual ~ProxyRoleContainer() = default;
QList<ProxyRole*> proxyRoles() const;
void appendProxyRole(ProxyRole* proxyRole);

View File

@ -8,6 +8,7 @@ namespace qqsfpm {
\qmltype RegExpRole
\inherits ProxyRole
\inqmlmodule SortFilterProxyModel
\ingroup ProxyRoles
\brief A ProxyRole extracting data from a source role via a regular expression.
A RegExpRole is a \l ProxyRole that provides a role for each named capture group of its regular expression \l pattern.

View File

@ -5,9 +5,11 @@ namespace qqsfpm {
/*!
\qmltype SingleRole
\qmlabstract
\inherits ProxyRole
\inqmlmodule SortFilterProxyModel
\brief Base type for the \l SortFilterProxyModel proxy roles defining a single role
\ingroup ProxyRoles
\brief Base type for the \l SortFilterProxyModel proxy roles defining a single role.
SingleRole is a convenience base class for proxy roles who define a single role.
It cannot be used directly in a QML file.

View File

@ -9,7 +9,9 @@ namespace qqsfpm {
\qmltype SwitchRole
\inherits SingleRole
\inqmlmodule SortFilterProxyModel
\brief A role using \l Filter to conditionnaly compute its data
\ingroup ProxyRoles
\ingroup FilterContainer
\brief A role using \l Filter to conditionnaly compute its data.
A SwitchRole is a \l ProxyRole that computes its data with the help of \l Filter.
Each top level filters specified in the \l SwitchRole is evaluated on the rows of the model, if a \l Filter evaluates to true, the data of the \l SwitchRole for this row will be the one of the attached \l {value} {SwitchRole.value} property.
@ -30,7 +32,7 @@ namespace qqsfpm {
}
}
\endcode
\sa FilterContainer
*/
SwitchRoleAttached::SwitchRoleAttached(QObject* parent) : QObject (parent)
{
@ -101,11 +103,12 @@ void SwitchRole::setDefaultValue(const QVariant& defaultValue)
/*!
\qmlproperty list<Filter> SwitchRole::filters
\default
This property holds the list of filters for this proxy role.
The data of this role will be equal to the attached \l {value} {SwitchRole.value} property of the first filter that matches the model row.
\sa Filter
\sa Filter, FilterContainer
*/
void SwitchRole::proxyModelCompleted(const QQmlSortFilterProxyModel& proxyModel)

View File

@ -7,24 +7,17 @@
namespace qqsfpm {
/*!
\page index.html overview
\title SortFilterProxyModel QML Module
SortFilterProxyModel is an implementation of QSortFilterProxyModel conveniently exposed for QML.
\generatelist qmltypesbymodule SortFilterProxyModel
*/
/*!
\qmltype SortFilterProxyModel
\inqmlmodule SortFilterProxyModel
\brief Filters and sorts data coming from a source \l {http://doc.qt.io/qt-5/qabstractitemmodel.html} {QAbstractItemModel}
\ingroup SortFilterProxyModel
\ingroup FilterContainer
\ingroup SorterContainer
\brief Filters and sorts data coming from a source \l {http://doc.qt.io/qt-5/qabstractitemmodel.html} {QAbstractItemModel}.
The SortFilterProxyModel type provides support for filtering and sorting data coming from a source model.
\sa FilterContainer, SorterContainer
*/
QQmlSortFilterProxyModel::QQmlSortFilterProxyModel(QObject *parent) :
QSortFilterProxyModel(parent),
#ifdef SFPM_DELAYED
@ -54,7 +47,6 @@ QQmlSortFilterProxyModel::QQmlSortFilterProxyModel(QObject *parent) :
The number of rows in the proxy model (not filtered out the source model)
*/
int QQmlSortFilterProxyModel::count() const
{
return rowCount();
@ -67,9 +59,8 @@ int QQmlSortFilterProxyModel::count() const
This can be used as an optimization when multiple filters, sorters or proxyRoles are changed in a single event loop.
They will be executed once in a single batch at the next event loop instead of being executed in multiple sequential batches.
By default, the SortFilterProxyModel is not delayed, unless the SFPM_DELAYED environment variable is defined at compile time.
By default, the SortFilterProxyModel is not delayed, unless the \c SFPM_DELAYED environment variable is defined at compile time.
*/
bool QQmlSortFilterProxyModel::delayed() const
{
return m_delayed;
@ -154,7 +145,6 @@ void QQmlSortFilterProxyModel::setFilterValue(const QVariant& filterValue)
\sa {http://doc.qt.io/qt-5/qsortfilterproxymodel.html#sortRole-prop} {sortRole}, roleForName
*/
const QString& QQmlSortFilterProxyModel::sortRoleName() const
{
return m_sortRoleName;
@ -190,7 +180,7 @@ void QQmlSortFilterProxyModel::setAscendingSortOrder(bool ascendingSortOrder)
This property holds the list of filters for this proxy model. To be included in the model, a row of the source model has to be accepted by all the top level filters of this list.
\sa Filter
\sa Filter, FilterContainer
*/
/*!
@ -198,7 +188,7 @@ void QQmlSortFilterProxyModel::setAscendingSortOrder(bool ascendingSortOrder)
This property holds the list of sorters for this proxy model. The rows of the source model are sorted by the sorters of this list, in their order of insertion.
\sa Sorter
\sa Sorter, SorterContainer
*/
/*!
@ -284,7 +274,7 @@ QVariantMap QQmlSortFilterProxyModel::get(int row) const
/*!
\qmlmethod variant SortFilterProxyModel::get(int row, string roleName)
Return the data for the given \a roleNamte of the item at \a row in the proxy model. This allows the role data to be read (not modified) from JavaScript.
Return the data for the given \a roleName of the item at \a row in the proxy model. This allows the role data to be read (not modified) from JavaScript.
This equivalent to calling \c {data(index(row, 0), roleForName(roleName))}.
*/
QVariant QQmlSortFilterProxyModel::get(int row, const QString& roleName) const
@ -318,7 +308,7 @@ int QQmlSortFilterProxyModel::mapToSource(int proxyRow) const
/*!
\qmlmethod QModelIndex SortFilterProxyModel::mapFromSource(QModelIndex sourceIndex)
Returns the model index in the SortFilterProxyModel given the sourceIndex from the source model.
Returns the model index in the SortFilterProxyModel given the \a sourceIndex from the source model.
*/
QModelIndex QQmlSortFilterProxyModel::mapFromSource(const QModelIndex& sourceIndex) const
{

View File

@ -8,7 +8,8 @@ namespace qqsfpm {
\qmltype ExpressionSorter
\inherits Sorter
\inqmlmodule SortFilterProxyModel
\brief Sorts row with a custom sorting
\ingroup Sorters
\brief Sorts row with a custom javascript expression.
An ExpressionSorter is a \l Sorter allowing to implement custom sorting based on a javascript expression.
*/

View File

@ -7,7 +7,9 @@ namespace qqsfpm {
\qmltype FilterSorter
\inherits Sorter
\inqmlmodule SortFilterProxyModel
\brief Sorts rows based on if they match filters
\ingroup Sorters
\ingroup FilterContainer
\brief Sorts rows based on if they match filters.
A FilterSorter is a \l Sorter that orders row matching its filters before the rows not matching the filters.
@ -20,15 +22,17 @@ namespace qqsfpm {
}
}
\endcode
\sa FilterContainer
*/
/*!
\qmlproperty string FilterSorter::filters
\qmlproperty list<Filter> FilterSorter::filters
\default
This property holds the list of filters for this filter sorter.
If a row match all this FilterSorter's filters, it will be ordered before rows not matching all the filters.
\sa Filter
\sa Filter, FilterContainer
*/
int FilterSorter::compare(const QModelIndex& sourceLeft, const QModelIndex& sourceRight, const QQmlSortFilterProxyModel &proxyModel) const

View File

@ -7,7 +7,8 @@ namespace qqsfpm {
\qmltype RoleSorter
\inherits Sorter
\inqmlmodule SortFilterProxyModel
\brief Sorts rows based on a source model role
\ingroup Sorters
\brief Sorts rows based on a source model role.
A RoleSorter is a simple \l Sorter that sorts rows based on a source model role.

View File

@ -5,8 +5,10 @@ namespace qqsfpm {
/*!
\qmltype Sorter
\qmlabstract
\inqmlmodule SortFilterProxyModel
\brief Base type for the \l SortFilterProxyModel sorters
\ingroup Sorters
\brief Base type for the \l SortFilterProxyModel sorters.
The Sorter type cannot be used directly in a QML file.
It exists to provide a set of common properties and methods,

View File

@ -4,10 +4,16 @@
namespace qqsfpm {
SorterContainer::~SorterContainer()
{
/*!
\qmltype SorterContainer
\qmlabstract
\inqmlmodule SortFilterProxyModel
\ingroup SorterAttached
\brief Abstract interface for types containing \l {Sorter}{Sorters}.
}
\section2 Types implementing this interface:
\annotatedlist SorterContainer
*/
QList<Sorter*> SorterContainer::sorters() const
{

Some files were not shown because too many files have changed in this diff Show More