2019-12-05 15:24:12 +01:00
<!DOCTYPE html>
< html lang = "en" >
< head >
2020-03-31 15:35:51 +02:00
< meta charset = "utf-8" >
2019-12-05 15:24:12 +01:00
<!-- installedlistfilter.cpp -->
2020-01-30 15:47:04 +01:00
< title > InstalledListFilter Class | ScreenPlay< / title >
2019-12-05 15:24:12 +01:00
< link rel = "stylesheet" type = "text/css" href = "../css/style.css" / > < link rel = "stylesheet" type = "text/css" href = "../css/bootstrap.min.css" / >
< / head >
< body >
2020-11-22 12:24:43 +01:00
< div class = "container-fullwidth nav sticky-top" > < div class = "container navWrapper" > < a href = "../index.html" > < span class = "logo" > ScreenPlay Generated Docs < / span > < / a > < span class = "navHome" > < a href = "../index.html" > Home< / a > < / span > < / div > < / div > < div id = mainWrapper class = "wrapper container " >
2019-12-05 15:24:12 +01:00
< li > InstalledListFilter< / li >
< div class = "sidebar" >
< div class = "toc" >
< h3 > < a name = "toc" > Contents< / a > < / h3 >
< ul >
2019-12-08 11:38:48 +01:00
< li class = "level1" > < a href = "#public-functions" > Public Functions< / a > < / li >
< li class = "level1" > < a href = "#public-slots" > Public Slots< / a > < / li >
2019-12-05 15:24:12 +01:00
< li class = "level1" > < a href = "#details" > Detailed Description< / a > < / li >
< / ul >
< / div >
< div class = "sidebar-content" id = "sidebar-content" > < / div > < / div >
< h1 class = "title" > InstalledListFilter Class< / h1 >
2021-05-13 13:05:05 +02:00
< span class = "small-subtitle" > class < a href = "screenplay-module.html" > ScreenPlay< / a > ::InstalledListFilter< / span >
2019-12-05 15:24:12 +01:00
<!-- $$$InstalledListFilter - brief -->
2019-12-08 11:38:48 +01:00
< p > Proxy between Installed List Model and QML view to filter items. < a href = "#details" > More...< / a > < / p >
2019-12-05 15:24:12 +01:00
<!-- @@@InstalledListFilter -->
< div class = "table" > < table class = "alignedsummary" >
< tr > < td class = "memItemLeft rightAlign topAlign" > Header:< / td > < td class = "memItemRight bottomAlign" > < span class = "preprocessor" > #include < InstalledListFilter> < / span >
< / td > < / tr > < / table > < / div > < ul >
2019-12-08 11:38:48 +01:00
< li > < a href = "screenplay-installedlistfilter-members.html" > List of all members, including inherited members< / a > < / li >
2019-12-05 15:24:12 +01:00
< / ul >
2019-12-08 11:38:48 +01:00
< a name = "public-functions" > < / a >
< h2 id = "public-functions" > Public Functions< / h2 >
< div class = "table" > < table class = "alignedsummary" >
2020-08-11 16:20:07 +02:00
< tr > < td class = "memItemLeft rightAlign topAlign" > < / td > < td class = "memItemRight bottomAlign" > < b > < a href = "screenplay-installedlistfilter.html#InstalledListFilter" > InstalledListFilter< / a > < / b > (const std::shared_ptr< InstalledListModel> & < i > ilm< / i > )< / td > < / tr >
2019-12-08 11:38:48 +01:00
< / table > < / div >
< a name = "public-slots" > < / a >
< h2 id = "public-slots" > Public Slots< / h2 >
< div class = "table" > < table class = "alignedsummary" >
< tr > < td class = "memItemLeft rightAlign topAlign" > void < / td > < td class = "memItemRight bottomAlign" > < b > < a href = "screenplay-installedlistfilter.html#resetFilter" > resetFilter< / a > < / b > ()< / td > < / tr >
2021-05-13 13:05:05 +02:00
< tr > < td class = "memItemLeft rightAlign topAlign" > void < / td > < td class = "memItemRight bottomAlign" > < b > < a href = "screenplay-installedlistfilter.html#setSortOrder" > setSortOrder< / a > < / b > (const Qt::SortOrder < i > sortOrder< / i > )< / td > < / tr >
2020-08-11 16:20:07 +02:00
< tr > < td class = "memItemLeft rightAlign topAlign" > void < / td > < td class = "memItemRight bottomAlign" > < b > < a href = "screenplay-installedlistfilter.html#sortByName" > sortByName< / a > < / b > (const QString & < i > name< / i > )< / td > < / tr >
2019-12-08 11:38:48 +01:00
< / table > < / div >
2019-12-05 15:24:12 +01:00
< a name = "details" > < / a >
<!-- $$$InstalledListFilter - description -->
< div class = "descr" >
< h2 id = "details" > Detailed Description< / h2 >
2019-12-08 11:38:48 +01:00
< p > This class could be merged with the < a href = "screenplay-installedlistmodel.html" > InstalledListModel< / a > in the future.< / p >
2019-12-05 15:24:12 +01:00
< / div >
<!-- @@@InstalledListFilter -->
2019-12-08 11:38:48 +01:00
< div class = "func" >
< h2 > Member Function Documentation< / h2 >
2020-08-11 16:20:07 +02:00
<!-- $$$InstalledListFilter[overload1]$$$InstalledListFilterconststd::shared_ptr<InstalledListModel>& -->
< h3 class = "fn" id = "InstalledListFilter" > < a name = "InstalledListFilter" > < / a > InstalledListFilter::< span class = "name" > InstalledListFilter< / span > (const < span class = "type" > std::shared_ptr< / span > < < span class = "type" > < a href = "screenplay-installedlistmodel.html" > InstalledListModel< / a > < / span > > & < i > ilm< / i > )< / h3 >
2019-12-08 11:38:48 +01:00
< p > Sets the default role type to " All" to display all available content. Needs a given < i > ilm< / i > (< a href = "screenplay-installedlistmodel.html" > InstalledListModel< / a > ).< / p >
<!-- @@@InstalledListFilter -->
<!-- $$$resetFilter[overload1]$$$resetFilter -->
< h3 class = "fn" id = "resetFilter" > < a name = "resetFilter" > < / a > < code > [slot] < / code > < span class = "type" > void< / span > InstalledListFilter::< span class = "name" > resetFilter< / span > ()< / h3 >
< p > Resets the filter and sorts by title.< / p >
<!-- @@@resetFilter -->
2021-05-13 13:05:05 +02:00
<!-- $$$setSortOrder[overload1]$$$setSortOrderconstQt::SortOrder -->
< h3 class = "fn" id = "setSortOrder" > < a name = "setSortOrder" > < / a > < code > [slot] < / code > < span class = "type" > void< / span > InstalledListFilter::< span class = "name" > setSortOrder< / span > (const < span class = "type" > Qt::SortOrder< / span > < i > sortOrder< / i > )< / h3 >
< p > sets the sort order by date.< / p >
<!-- @@@setSortOrder -->
2020-08-11 16:20:07 +02:00
<!-- $$$sortByName[overload1]$$$sortByNameconstQString& -->
< h3 class = "fn" id = "sortByName" > < a name = "sortByName" > < / a > < code > [slot] < / code > < span class = "type" > void< / span > InstalledListFilter::< span class = "name" > sortByName< / span > (const < span class = "type" > QString< / span > & < i > name< / i > )< / h3 >
2019-12-08 11:38:48 +01:00
< p > Invoked when the user uses the quicksearch at the top right of the installed page. Uses the < i > name< / i > to sort by name. This name is saved in the project.json title.< / p >
<!-- @@@sortByName -->
< / div >
2020-11-22 12:24:43 +01:00
< div id = license class = "footer center" > < p > This documentation is licensed under a < a rel = "license" href = "http://creativecommons.org/licenses/by/4.0/" > Creative Commons Attribution 4.0 International License< / a > .< / p > < / div > < script src = "../js/bootstrap.bundle.min.js" > < / script > < script src = "../js/mermaid.min.js" > < / script > < script > var config = { startOnLoad : true , flowchart : { useMaxWidth : true , htmlLabels : true } } ; mermaid . initialize ( config ) ; < / script > < / body >
2019-12-05 15:24:12 +01:00
< / html >