You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1114 lines
132 KiB
1114 lines
132 KiB
<!-- HTML header for doxygen 1.8.13-->
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.14"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>QtMvvm: QtMvvm::SettingsViewModel Class Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0" style="display: inline;">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">QtMvvm
|
|
 <span id="projectnumber">1.1.0</span>
|
|
</div>
|
|
<div id="projectbrief">A mvvm oriented library for Qt, to create Projects for Widgets and Quick in parallel</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<a style="float: right;" target="_blank" href="https://github.com/Skycoder42/QtMvvm">
|
|
<img style="padding: 10px;" src="GitHub_Logo.png"/>
|
|
</a>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.14 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="namespace_qt_mvvm.html">QtMvvm</a></li><li class="navelem"><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html">SettingsViewModel</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-slots">Public Slots</a> |
|
|
<a href="#signals">Signals</a> |
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pub-static-methods">Static Public Member Functions</a> |
|
|
<a href="#pub-static-attribs">Static Public Attributes</a> |
|
|
<a href="#pro-methods">Protected Member Functions</a> |
|
|
<a href="#properties">Properties</a> |
|
|
<a href="class_qt_mvvm_1_1_settings_view_model-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">QtMvvm::SettingsViewModel Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>A <a class="el" href="class_qt_mvvm_1_1_view_model.html" title="The base class for all viewmodels. ">ViewModel</a> for a generic settings dialog based of an XML settings file.
|
|
<a href="class_qt_mvvm_1_1_settings_view_model.html#details">More...</a></p>
|
|
|
|
<p><code>#include <<a class="el" href="settingsviewmodel_8h_source.html">settingsviewmodel.h</a>></code></p>
|
|
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
|
|
<img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for QtMvvm::SettingsViewModel:</div>
|
|
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
|
|
</div>
|
|
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
|
|
<div class="center">
|
|
<img src="class_qt_mvvm_1_1_settings_view_model.png" usemap="#QtMvvm::SettingsViewModel_map" alt=""/>
|
|
<map id="QtMvvm::SettingsViewModel_map" name="QtMvvm::SettingsViewModel_map">
|
|
<area href="class_qt_mvvm_1_1_view_model.html" title="The base class for all viewmodels. " alt="QtMvvm::ViewModel" shape="rect" coords="0,56,227,80"/>
|
|
<area target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtautoupdater/qtautoupdater.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/class_q_object.html" alt="QObject" shape="rect" coords="0,0,227,24"/>
|
|
<area href="class_qt_mvvm_1_1_data_sync_settings_view_model.html" title="An extension of the normal settings viewmodel with the DataSyncSettingsAccessor as accessor..." alt="QtMvvm::DataSyncSettingsViewModel" shape="rect" coords="0,168,227,192"/>
|
|
</map>
|
|
</div></div>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-slots"></a>
|
|
Public Slots</h2></td></tr>
|
|
<tr class="memitem:a3da983a9fab974d1428f757dde675945"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a3da983a9fab974d1428f757dde675945">callAction</a> (const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qstring.html">QString</a> &key, const QVariantMap &parameters)</td></tr>
|
|
<tr class="memdesc:a3da983a9fab974d1428f757dde675945"><td class="mdescLeft"> </td><td class="mdescRight">Is called when an action type edit is pressed. <a href="#a3da983a9fab974d1428f757dde675945">More...</a><br /></td></tr>
|
|
<tr class="separator:a3da983a9fab974d1428f757dde675945"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a60149430e68d125f61841756e3cde33e"><td class="memItemLeft" align="right" valign="top"><a id="a60149430e68d125f61841756e3cde33e"></a>
|
|
QTMVVM_REVISION_1 void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a60149430e68d125f61841756e3cde33e">setAccessor</a> (<a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html">QtMvvm::ISettingsAccessor</a> *<a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#ab49fec01ec5201ceb56713525117b359">accessor</a>)</td></tr>
|
|
<tr class="memdesc:a60149430e68d125f61841756e3cde33e"><td class="mdescLeft"> </td><td class="mdescRight">WRITE accessor for <a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#ab49fec01ec5201ceb56713525117b359" title="Holds the settings accessor used by the viewmodel to access the settings. ">SettingsViewModel::accessor</a>. <br /></td></tr>
|
|
<tr class="separator:a60149430e68d125f61841756e3cde33e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3e92e19da41a238b723424fbc4bfffea"><td class="memItemLeft" align="right" valign="top"><a id="a3e92e19da41a238b723424fbc4bfffea"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a3e92e19da41a238b723424fbc4bfffea">setSettingsSetupLoader</a> (<a class="el" href="class_qt_mvvm_1_1_i_settings_setup_loader.html">QtMvvm::ISettingsSetupLoader</a> *<a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#ab337aa43614ef436a173deeaa3c6c4b6">settingsSetupLoader</a>)</td></tr>
|
|
<tr class="memdesc:a3e92e19da41a238b723424fbc4bfffea"><td class="mdescLeft"> </td><td class="mdescRight">WRITE accessor for <a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#ab337aa43614ef436a173deeaa3c6c4b6" title="The settings setup loader to use to create the settings dialog. Is an injected property. ">SettingsViewModel::settingsSetupLoader</a>. <br /></td></tr>
|
|
<tr class="separator:a3e92e19da41a238b723424fbc4bfffea"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header pub_slots_class_qt_mvvm_1_1_view_model"><td colspan="2" onclick="javascript:toggleInherit('pub_slots_class_qt_mvvm_1_1_view_model')"><img src="closed.png" alt="-"/> Public Slots inherited from <a class="el" href="class_qt_mvvm_1_1_view_model.html">QtMvvm::ViewModel</a></td></tr>
|
|
<tr class="memitem:a0da1ac73d99d0ddd7d22937e6c2e476d inherit pub_slots_class_qt_mvvm_1_1_view_model"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_view_model.html#a0da1ac73d99d0ddd7d22937e6c2e476d">onResult</a> (quint32 requestCode, const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qvariant.html">QVariant</a> &result)</td></tr>
|
|
<tr class="memdesc:a0da1ac73d99d0ddd7d22937e6c2e476d inherit pub_slots_class_qt_mvvm_1_1_view_model"><td class="mdescLeft"> </td><td class="mdescRight">Called by the presenter when a result of a showed viewmodel is ready. <a href="class_qt_mvvm_1_1_view_model.html#a0da1ac73d99d0ddd7d22937e6c2e476d">More...</a><br /></td></tr>
|
|
<tr class="separator:a0da1ac73d99d0ddd7d22937e6c2e476d inherit pub_slots_class_qt_mvvm_1_1_view_model"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="signals"></a>
|
|
Signals</h2></td></tr>
|
|
<tr class="memitem:ad7f1915bf91612d519cc9fb997ddba3a"><td class="memItemLeft" align="right" valign="top"><a id="ad7f1915bf91612d519cc9fb997ddba3a"></a>
|
|
QTMVVM_REVISION_1 void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#ad7f1915bf91612d519cc9fb997ddba3a">accessorChanged</a> (<a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html">QtMvvm::ISettingsAccessor</a> *<a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#ab49fec01ec5201ceb56713525117b359">accessor</a>)</td></tr>
|
|
<tr class="memdesc:ad7f1915bf91612d519cc9fb997ddba3a"><td class="mdescLeft"> </td><td class="mdescRight">NOTIFY accessor for <a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#ab49fec01ec5201ceb56713525117b359" title="Holds the settings accessor used by the viewmodel to access the settings. ">SettingsViewModel::accessor</a>. <br /></td></tr>
|
|
<tr class="separator:ad7f1915bf91612d519cc9fb997ddba3a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a059b1c21ec43c9de21be74a0ff64993a"><td class="memItemLeft" align="right" valign="top"><a id="a059b1c21ec43c9de21be74a0ff64993a"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a059b1c21ec43c9de21be74a0ff64993a">settingsSetupLoaderChanged</a> (<a class="el" href="class_qt_mvvm_1_1_i_settings_setup_loader.html">QtMvvm::ISettingsSetupLoader</a> *<a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#ab337aa43614ef436a173deeaa3c6c4b6">settingsSetupLoader</a>, QPrivateSignal)</td></tr>
|
|
<tr class="memdesc:a059b1c21ec43c9de21be74a0ff64993a"><td class="mdescLeft"> </td><td class="mdescRight">NOTIFY accessor for <a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#ab337aa43614ef436a173deeaa3c6c4b6" title="The settings setup loader to use to create the settings dialog. Is an injected property. ">SettingsViewModel::settingsSetupLoader</a>. <br /></td></tr>
|
|
<tr class="separator:a059b1c21ec43c9de21be74a0ff64993a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0d0326f7501dfcbcedc0611e3cec33a0"><td class="memItemLeft" align="right" valign="top"><a id="a0d0326f7501dfcbcedc0611e3cec33a0"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a0d0326f7501dfcbcedc0611e3cec33a0">beginLoadSetup</a> ()</td></tr>
|
|
<tr class="memdesc:a0d0326f7501dfcbcedc0611e3cec33a0"><td class="mdescLeft"> </td><td class="mdescRight">Is emitted when the initialization has been completed and the viewmodel is ready for loading settings. <br /></td></tr>
|
|
<tr class="separator:a0d0326f7501dfcbcedc0611e3cec33a0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a649b6e589a731d8d1ebc978818a73a4f"><td class="memItemLeft" align="right" valign="top"><a id="a649b6e589a731d8d1ebc978818a73a4f"></a>
|
|
QTMVVM_REVISION_1 void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a649b6e589a731d8d1ebc978818a73a4f">valueChanged</a> (const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qstring.html">QString</a> &key)</td></tr>
|
|
<tr class="memdesc:a649b6e589a731d8d1ebc978818a73a4f"><td class="mdescLeft"> </td><td class="mdescRight">Signal to be emitted whenver a value in the settings is changed or removed to update the GUI. <br /></td></tr>
|
|
<tr class="separator:a649b6e589a731d8d1ebc978818a73a4f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a74cfe5450367a6bf7047043ce6ee0e7b"><td class="memItemLeft" align="right" valign="top">QTMVVM_REVISION_1 void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a74cfe5450367a6bf7047043ce6ee0e7b">resetAccepted</a> (QPrivateSignal)</td></tr>
|
|
<tr class="memdesc:a74cfe5450367a6bf7047043ce6ee0e7b"><td class="mdescLeft"> </td><td class="mdescRight">Is emitted when the user accepted the reset triggered by <a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a0aed2ae7dba7996edf4cbb30b9fbd917" title="Resets all values that are defined by the entries in the given setup. ">resetAll()</a> <a href="#a74cfe5450367a6bf7047043ce6ee0e7b">More...</a><br /></td></tr>
|
|
<tr class="separator:a74cfe5450367a6bf7047043ce6ee0e7b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header signals_class_qt_mvvm_1_1_view_model"><td colspan="2" onclick="javascript:toggleInherit('signals_class_qt_mvvm_1_1_view_model')"><img src="closed.png" alt="-"/> Signals inherited from <a class="el" href="class_qt_mvvm_1_1_view_model.html">QtMvvm::ViewModel</a></td></tr>
|
|
<tr class="memitem:ac411a428c622bf6cf9b0b594de23d81f inherit signals_class_qt_mvvm_1_1_view_model"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_view_model.html#ac411a428c622bf6cf9b0b594de23d81f">resultReady</a> (const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qvariant.html">QVariant</a> &result)</td></tr>
|
|
<tr class="memdesc:ac411a428c622bf6cf9b0b594de23d81f inherit signals_class_qt_mvvm_1_1_view_model"><td class="mdescLeft"> </td><td class="mdescRight">Should be emitted when the viewmodels result is ready. <a href="class_qt_mvvm_1_1_view_model.html#ac411a428c622bf6cf9b0b594de23d81f">More...</a><br /></td></tr>
|
|
<tr class="separator:ac411a428c622bf6cf9b0b594de23d81f inherit signals_class_qt_mvvm_1_1_view_model"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aac43c9f8e10500afb8d72d6c39590d3b inherit signals_class_qt_mvvm_1_1_view_model"><td class="memItemLeft" align="right" valign="top">QTMVVM_REVISION_1 void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_view_model.html#aac43c9f8e10500afb8d72d6c39590d3b">instanceInvoked</a> (const QVariantHash &params, QPrivateSignal)</td></tr>
|
|
<tr class="memdesc:aac43c9f8e10500afb8d72d6c39590d3b inherit signals_class_qt_mvvm_1_1_view_model"><td class="mdescLeft"> </td><td class="mdescRight">Is emitted on single instance viewmodels when they get shown again. <a href="class_qt_mvvm_1_1_view_model.html#aac43c9f8e10500afb8d72d6c39590d3b">More...</a><br /></td></tr>
|
|
<tr class="separator:aac43c9f8e10500afb8d72d6c39590d3b inherit signals_class_qt_mvvm_1_1_view_model"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:a96bb7313dc12d129f588db7a80563884"><td class="memItemLeft" align="right" valign="top"><a id="a96bb7313dc12d129f588db7a80563884"></a>
|
|
Q_INVOKABLE </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a96bb7313dc12d129f588db7a80563884">SettingsViewModel</a> (<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtautoupdater/qtautoupdater.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/class_q_object.html">QObject</a> *<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#parent">parent</a>=nullptr)</td></tr>
|
|
<tr class="memdesc:a96bb7313dc12d129f588db7a80563884"><td class="mdescLeft"> </td><td class="mdescRight">Invokable constructor. <br /></td></tr>
|
|
<tr class="separator:a96bb7313dc12d129f588db7a80563884"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a50fb87e02d420f9979df99b8d106745c"><td class="memItemLeft" align="right" valign="top"><a id="a50fb87e02d420f9979df99b8d106745c"></a>
|
|
<a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html">QtMvvm::ISettingsAccessor</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a50fb87e02d420f9979df99b8d106745c">accessor</a> () const</td></tr>
|
|
<tr class="memdesc:a50fb87e02d420f9979df99b8d106745c"><td class="mdescLeft"> </td><td class="mdescRight">READ accessor for <a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#ab49fec01ec5201ceb56713525117b359" title="Holds the settings accessor used by the viewmodel to access the settings. ">SettingsViewModel::accessor</a>. <br /></td></tr>
|
|
<tr class="separator:a50fb87e02d420f9979df99b8d106745c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1ada929c7d70e1ba7b4b67b6d247a0ca"><td class="memItemLeft" align="right" valign="top"><a id="a1ada929c7d70e1ba7b4b67b6d247a0ca"></a>
|
|
virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a1ada929c7d70e1ba7b4b67b6d247a0ca">canRestoreDefaults</a> () const</td></tr>
|
|
<tr class="memdesc:a1ada929c7d70e1ba7b4b67b6d247a0ca"><td class="mdescLeft"> </td><td class="mdescRight">READ accessor for <a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a9f9d7222a72be5f801b24b0e49ae7b0b" title="Specifies if restoring the defaults is generally allowed. ">SettingsViewModel::canRestoreDefaults</a>. <br /></td></tr>
|
|
<tr class="separator:a1ada929c7d70e1ba7b4b67b6d247a0ca"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae4be8f7e190d132625b523f5e9643127"><td class="memItemLeft" align="right" valign="top"><a id="ae4be8f7e190d132625b523f5e9643127"></a>
|
|
virtual <a class="el" href="class_qt_mvvm_1_1_message_config.html">QtMvvm::MessageConfig</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#ae4be8f7e190d132625b523f5e9643127">restoreConfig</a> () const</td></tr>
|
|
<tr class="memdesc:ae4be8f7e190d132625b523f5e9643127"><td class="mdescLeft"> </td><td class="mdescRight">READ accessor for <a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a3ea6cee515ea7df23a78df8d7fe28f4e" title="The message configuration to be used to for a dialog to ask for settings restore. ...">SettingsViewModel::restoreConfig</a>. <br /></td></tr>
|
|
<tr class="separator:ae4be8f7e190d132625b523f5e9643127"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a987765d8734b6e8d0a591c326b890aeb"><td class="memItemLeft" align="right" valign="top"><a id="a987765d8734b6e8d0a591c326b890aeb"></a>
|
|
<a class="el" href="class_qt_mvvm_1_1_i_settings_setup_loader.html">ISettingsSetupLoader</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a987765d8734b6e8d0a591c326b890aeb">settingsSetupLoader</a> () const</td></tr>
|
|
<tr class="memdesc:a987765d8734b6e8d0a591c326b890aeb"><td class="mdescLeft"> </td><td class="mdescRight">READ accessor for <a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#ab337aa43614ef436a173deeaa3c6c4b6" title="The settings setup loader to use to create the settings dialog. Is an injected property. ">SettingsViewModel::settingsSetupLoader</a>. <br /></td></tr>
|
|
<tr class="separator:a987765d8734b6e8d0a591c326b890aeb"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8a51e071d8e5b5e34d6669ccfdf19160"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_qt_mvvm_1_1_settings_elements.html#struct_qt_mvvm_1_1_settings_elements_1_1_setup">SettingsElements::Setup</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a8a51e071d8e5b5e34d6669ccfdf19160">loadSetup</a> (const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qstring.html">QString</a> &frontend) const</td></tr>
|
|
<tr class="memdesc:a8a51e071d8e5b5e34d6669ccfdf19160"><td class="mdescLeft"> </td><td class="mdescRight">Loads the settings setup of the prepared file for the given frontend. <a href="#a8a51e071d8e5b5e34d6669ccfdf19160">More...</a><br /></td></tr>
|
|
<tr class="separator:a8a51e071d8e5b5e34d6669ccfdf19160"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a05401cec1c6defbd755a5183bf8d127b"><td class="memItemLeft" align="right" valign="top"><a id="a05401cec1c6defbd755a5183bf8d127b"></a>
|
|
<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qsettings.html">QSettings</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a05401cec1c6defbd755a5183bf8d127b">settings</a> () const</td></tr>
|
|
<tr class="memdesc:a05401cec1c6defbd755a5183bf8d127b"><td class="mdescLeft"> </td><td class="mdescRight">Returns the settings this viewmodel operates on (or null if not using <a class="el" href="class_qt_mvvm_1_1_q_settings_accessor.html" title="A settings accessor implementation that wrapps QSettings. ">QtMvvm::QSettingsAccessor</a>) <br /></td></tr>
|
|
<tr class="separator:a05401cec1c6defbd755a5183bf8d127b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4dfa0f03d31b104f2824bddb8c94ef49"><td class="memItemLeft" align="right" valign="top">virtual Q_INVOKABLE <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qvariant.html">QVariant</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a4dfa0f03d31b104f2824bddb8c94ef49">loadValue</a> (const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qstring.html">QString</a> &key, const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qvariant.html">QVariant</a> &defaultValue={}) const</td></tr>
|
|
<tr class="memdesc:a4dfa0f03d31b104f2824bddb8c94ef49"><td class="mdescLeft"> </td><td class="mdescRight">Loads the value for the given key from the settings. <a href="#a4dfa0f03d31b104f2824bddb8c94ef49">More...</a><br /></td></tr>
|
|
<tr class="separator:a4dfa0f03d31b104f2824bddb8c94ef49"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a30afa72fbc9fdf3ac4cd4fbf575618c2"><td class="memItemLeft" align="right" valign="top">virtual Q_INVOKABLE void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a30afa72fbc9fdf3ac4cd4fbf575618c2">saveValue</a> (const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qstring.html">QString</a> &key, const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qvariant.html">QVariant</a> &value)</td></tr>
|
|
<tr class="memdesc:a30afa72fbc9fdf3ac4cd4fbf575618c2"><td class="mdescLeft"> </td><td class="mdescRight">Saves the value with the given key. <a href="#a30afa72fbc9fdf3ac4cd4fbf575618c2">More...</a><br /></td></tr>
|
|
<tr class="separator:a30afa72fbc9fdf3ac4cd4fbf575618c2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae6c8e4b7aac233113db630c1403567d8"><td class="memItemLeft" align="right" valign="top">virtual Q_INVOKABLE void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#ae6c8e4b7aac233113db630c1403567d8">resetValue</a> (const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qstring.html">QString</a> &key)</td></tr>
|
|
<tr class="memdesc:ae6c8e4b7aac233113db630c1403567d8"><td class="mdescLeft"> </td><td class="mdescRight">Resets the value or group identified by the key. <a href="#ae6c8e4b7aac233113db630c1403567d8">More...</a><br /></td></tr>
|
|
<tr class="separator:ae6c8e4b7aac233113db630c1403567d8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0aed2ae7dba7996edf4cbb30b9fbd917"><td class="memItemLeft" align="right" valign="top">QTMVVM_REVISION_1 Q_INVOKABLE void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a0aed2ae7dba7996edf4cbb30b9fbd917">resetAll</a> (const <a class="el" href="namespace_qt_mvvm_1_1_settings_elements.html#struct_qt_mvvm_1_1_settings_elements_1_1_setup">SettingsElements::Setup</a> &setup)</td></tr>
|
|
<tr class="memdesc:a0aed2ae7dba7996edf4cbb30b9fbd917"><td class="mdescLeft"> </td><td class="mdescRight">Resets all values that are defined by the entries in the given setup. <a href="#a0aed2ae7dba7996edf4cbb30b9fbd917">More...</a><br /></td></tr>
|
|
<tr class="separator:a0aed2ae7dba7996edf4cbb30b9fbd917"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header pub_methods_class_qt_mvvm_1_1_view_model"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_qt_mvvm_1_1_view_model')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="class_qt_mvvm_1_1_view_model.html">QtMvvm::ViewModel</a></td></tr>
|
|
<tr class="memitem:ab9af98395bd1f6d8ee3fbba360002768 inherit pub_methods_class_qt_mvvm_1_1_view_model"><td class="memItemLeft" align="right" valign="top"><a id="ab9af98395bd1f6d8ee3fbba360002768"></a>
|
|
 </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_view_model.html#ab9af98395bd1f6d8ee3fbba360002768">ViewModel</a> (<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtautoupdater/qtautoupdater.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/class_q_object.html">QObject</a> *<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#parent">parent</a>=nullptr)</td></tr>
|
|
<tr class="memdesc:ab9af98395bd1f6d8ee3fbba360002768 inherit pub_methods_class_qt_mvvm_1_1_view_model"><td class="mdescLeft"> </td><td class="mdescRight">Default constructor with parent. <br /></td></tr>
|
|
<tr class="separator:ab9af98395bd1f6d8ee3fbba360002768 inherit pub_methods_class_qt_mvvm_1_1_view_model"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header pub_methods_class_q_object"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_q_object')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="target="_blank" https://doc.qt.io/qt-5/class_q_object.html">QObject</a></td></tr>
|
|
<tr class="memitem:metaObject inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="metaObject"></a>
|
|
virtual const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qmetaobject.html">QMetaObject</a> * </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#metaObject">metaObject</a> () const const</td></tr>
|
|
<tr class="separator:metaObject inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:qt_metacast inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="qt_metacast"></a>
|
|
virtual void * </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#qt_metacast">qt_metacast</a> (const char *)</td></tr>
|
|
<tr class="separator:qt_metacast inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:qt_metacall inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="qt_metacall"></a>
|
|
virtual int </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#qt_metacall">qt_metacall</a> (QMetaObject::Call, int, void **)</td></tr>
|
|
<tr class="separator:qt_metacall inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:QObject inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="QObject"></a>
|
|
 </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#QObject">QObject</a> (<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtautoupdater/qtautoupdater.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/class_q_object.html">QObject</a> *<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#parent">parent</a>)</td></tr>
|
|
<tr class="separator:QObject inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:event inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="event"></a>
|
|
virtual bool </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#event">event</a> (<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qevent.html">QEvent</a> *e)</td></tr>
|
|
<tr class="separator:event inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:eventFilter inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="eventFilter"></a>
|
|
virtual bool </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#eventFilter">eventFilter</a> (<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtautoupdater/qtautoupdater.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/class_q_object.html">QObject</a> *watched, <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qevent.html">QEvent</a> *<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#event">event</a>)</td></tr>
|
|
<tr class="separator:eventFilter inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:objectName-prop inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="objectName-prop"></a>
|
|
<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#objectName-prop">objectName</a> () const const</td></tr>
|
|
<tr class="separator:objectName-prop inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:objectName-prop inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="objectName-prop"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#objectName-prop">setObjectName</a> (const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qstring.html">QString</a> &name)</td></tr>
|
|
<tr class="separator:objectName-prop inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:isWidgetType inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="isWidgetType"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#isWidgetType">isWidgetType</a> () const const</td></tr>
|
|
<tr class="separator:isWidgetType inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:isWindowType inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="isWindowType"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#isWindowType">isWindowType</a> () const const</td></tr>
|
|
<tr class="separator:isWindowType inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:signalsBlocked inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="signalsBlocked"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#signalsBlocked">signalsBlocked</a> () const const</td></tr>
|
|
<tr class="separator:signalsBlocked inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:blockSignals inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="blockSignals"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#blockSignals">blockSignals</a> (bool block)</td></tr>
|
|
<tr class="separator:blockSignals inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:thread inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="thread"></a>
|
|
<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qthread.html">QThread</a> * </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#thread">thread</a> () const const</td></tr>
|
|
<tr class="separator:thread inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:moveToThread inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="moveToThread"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#moveToThread">moveToThread</a> (<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qthread.html">QThread</a> *targetThread)</td></tr>
|
|
<tr class="separator:moveToThread inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:startTimer inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="startTimer"></a>
|
|
int </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#startTimer">startTimer</a> (int interval, Qt::TimerType timerType)</td></tr>
|
|
<tr class="separator:startTimer inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:startTimer-1 inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="startTimer-1"></a>
|
|
int </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#startTimer-1">startTimer</a> (std::chrono::milliseconds time, Qt::TimerType timerType)</td></tr>
|
|
<tr class="separator:startTimer-1 inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:killTimer inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="killTimer"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#killTimer">killTimer</a> (int id)</td></tr>
|
|
<tr class="separator:killTimer inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:findChild inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="findChild"></a>
|
|
T </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#findChild">findChild</a> (const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qstring.html">QString</a> &name, <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qt.html#FindChildOption-enum">Qt::FindChildOptions</a> options) const const</td></tr>
|
|
<tr class="separator:findChild inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:findChildren inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="findChildren"></a>
|
|
<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qlist.html">QList</a>< T > </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#findChildren">findChildren</a> (const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qstring.html">QString</a> &name, <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qt.html#FindChildOption-enum">Qt::FindChildOptions</a> options) const const</td></tr>
|
|
<tr class="separator:findChildren inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:findChildren-1 inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="findChildren-1"></a>
|
|
<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qlist.html">QList</a>< T > </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#findChildren-1">findChildren</a> (const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qregexp.html">QRegExp</a> &regExp, <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qt.html#FindChildOption-enum">Qt::FindChildOptions</a> options) const const</td></tr>
|
|
<tr class="separator:findChildren-1 inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:findChildren-2 inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="findChildren-2"></a>
|
|
<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qlist.html">QList</a>< T > </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#findChildren-2">findChildren</a> (const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qregularexpression.html">QRegularExpression</a> &re, <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qt.html#FindChildOption-enum">Qt::FindChildOptions</a> options) const const</td></tr>
|
|
<tr class="separator:findChildren-2 inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:children inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="children"></a>
|
|
const QObjectList & </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#children">children</a> () const const</td></tr>
|
|
<tr class="separator:children inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:setParent inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="setParent"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#setParent">setParent</a> (<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtautoupdater/qtautoupdater.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/class_q_object.html">QObject</a> *<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#parent">parent</a>)</td></tr>
|
|
<tr class="separator:setParent inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:installEventFilter inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="installEventFilter"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#installEventFilter">installEventFilter</a> (<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtautoupdater/qtautoupdater.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/class_q_object.html">QObject</a> *filterObj)</td></tr>
|
|
<tr class="separator:installEventFilter inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:removeEventFilter inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="removeEventFilter"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#removeEventFilter">removeEventFilter</a> (<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtautoupdater/qtautoupdater.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/class_q_object.html">QObject</a> *obj)</td></tr>
|
|
<tr class="separator:removeEventFilter inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:connect-2 inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="connect-2"></a>
|
|
<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qmetaobject-connection.html">QMetaObject::Connection</a> </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#connect-2">connect</a> (const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtautoupdater/qtautoupdater.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/class_q_object.html">QObject</a> *<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#sender">sender</a>, const char *signal, const char *method, Qt::ConnectionType type) const const</td></tr>
|
|
<tr class="separator:connect-2 inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:disconnect-2 inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="disconnect-2"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#disconnect-2">disconnect</a> (const char *signal, const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtautoupdater/qtautoupdater.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/class_q_object.html">QObject</a> *receiver, const char *method) const const</td></tr>
|
|
<tr class="separator:disconnect-2 inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:disconnect-3 inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="disconnect-3"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#disconnect-3">disconnect</a> (const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtautoupdater/qtautoupdater.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/class_q_object.html">QObject</a> *receiver, const char *method) const const</td></tr>
|
|
<tr class="separator:disconnect-3 inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:dumpObjectTree-1 inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="dumpObjectTree-1"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject-obsolete.html#dumpObjectTree-1">dumpObjectTree</a> ()</td></tr>
|
|
<tr class="separator:dumpObjectTree-1 inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:dumpObjectInfo-1 inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="dumpObjectInfo-1"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject-obsolete.html#dumpObjectInfo-1">dumpObjectInfo</a> ()</td></tr>
|
|
<tr class="separator:dumpObjectInfo-1 inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:dumpObjectTree inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="dumpObjectTree"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#dumpObjectTree">dumpObjectTree</a> () const const</td></tr>
|
|
<tr class="separator:dumpObjectTree inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:dumpObjectInfo inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="dumpObjectInfo"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#dumpObjectInfo">dumpObjectInfo</a> () const const</td></tr>
|
|
<tr class="separator:dumpObjectInfo inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:setProperty inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="setProperty"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#setProperty">setProperty</a> (const char *name, const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qvariant.html">QVariant</a> &value)</td></tr>
|
|
<tr class="separator:setProperty inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:property inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="property"></a>
|
|
<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qvariant.html">QVariant</a> </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#property">property</a> (const char *name) const const</td></tr>
|
|
<tr class="separator:property inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:dynamicPropertyNames inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="dynamicPropertyNames"></a>
|
|
<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qlist.html">QList</a>< <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qbytearray.html">QByteArray</a> > </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#dynamicPropertyNames">dynamicPropertyNames</a> () const const</td></tr>
|
|
<tr class="separator:dynamicPropertyNames inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:destroyed inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="destroyed"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#destroyed">destroyed</a> (<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtautoupdater/qtautoupdater.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/class_q_object.html">QObject</a> *obj)</td></tr>
|
|
<tr class="separator:destroyed inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:objectNameChanged inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="objectNameChanged"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#objectNameChanged">objectNameChanged</a> (const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qstring.html">QString</a> &<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#objectName-prop">objectName</a>)</td></tr>
|
|
<tr class="separator:objectNameChanged inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:parent inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="parent"></a>
|
|
<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtautoupdater/qtautoupdater.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/class_q_object.html">QObject</a> * </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#parent">parent</a> () const const</td></tr>
|
|
<tr class="separator:parent inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:inherits inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="inherits"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#inherits">inherits</a> (const char *className) const const</td></tr>
|
|
<tr class="separator:inherits inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:deleteLater inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="deleteLater"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#deleteLater">deleteLater</a> ()</td></tr>
|
|
<tr class="separator:deleteLater inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
|
|
Static Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:a746b88bdb63f89311ad7b8ca63f1f5ff"><td class="memItemLeft" align="right" valign="top">static QVariantHash </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a746b88bdb63f89311ad7b8ca63f1f5ff">showParams</a> (<a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html">ISettingsAccessor</a> *<a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#ab49fec01ec5201ceb56713525117b359">accessor</a>, const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qstring.html">QString</a> &setupFile={})</td></tr>
|
|
<tr class="memdesc:a746b88bdb63f89311ad7b8ca63f1f5ff"><td class="mdescLeft"> </td><td class="mdescRight">Generates show parameter to show a settings viewmodel via <a class="el" href="class_qt_mvvm_1_1_view_model.html#aa69782ceb2b1657f004fdfc22ea4efaa" title="Show another viewmodel as a child of this one. ">ViewModel::show</a>. <a href="#a746b88bdb63f89311ad7b8ca63f1f5ff">More...</a><br /></td></tr>
|
|
<tr class="separator:a746b88bdb63f89311ad7b8ca63f1f5ff"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4c4aed6073b1821ba440a0cad64e27e4"><td class="memItemLeft" align="right" valign="top">static QVariantHash </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a4c4aed6073b1821ba440a0cad64e27e4">showParams</a> (<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qsettings.html">QSettings</a> *<a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a05401cec1c6defbd755a5183bf8d127b">settings</a>, const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qstring.html">QString</a> &setupFile={})</td></tr>
|
|
<tr class="memdesc:a4c4aed6073b1821ba440a0cad64e27e4"><td class="mdescLeft"> </td><td class="mdescRight">Generates show parameter to show a settings viewmodel via <a class="el" href="class_qt_mvvm_1_1_view_model.html#aa69782ceb2b1657f004fdfc22ea4efaa" title="Show another viewmodel as a child of this one. ">ViewModel::show</a>. <a href="#a4c4aed6073b1821ba440a0cad64e27e4">More...</a><br /></td></tr>
|
|
<tr class="separator:a4c4aed6073b1821ba440a0cad64e27e4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header pub_static_methods_class_q_object"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_class_q_object')"><img src="closed.png" alt="-"/> Static Public Member Functions inherited from <a class="el" href="target="_blank" https://doc.qt.io/qt-5/class_q_object.html">QObject</a></td></tr>
|
|
<tr class="memitem:tr inherit pub_static_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="tr"></a>
|
|
<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#tr">tr</a> (const char *sourceText, const char *disambiguation, int n)</td></tr>
|
|
<tr class="separator:tr inherit pub_static_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:trUtf8 inherit pub_static_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="trUtf8"></a>
|
|
<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject-obsolete.html#trUtf8">trUtf8</a> (const char *sourceText, const char *disambiguation, int n)</td></tr>
|
|
<tr class="separator:trUtf8 inherit pub_static_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:connect inherit pub_static_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="connect"></a>
|
|
<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qmetaobject-connection.html">QMetaObject::Connection</a> </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#connect">connect</a> (const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtautoupdater/qtautoupdater.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/class_q_object.html">QObject</a> *<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#sender">sender</a>, const char *signal, const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtautoupdater/qtautoupdater.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/class_q_object.html">QObject</a> *receiver, const char *method, Qt::ConnectionType type)</td></tr>
|
|
<tr class="separator:connect inherit pub_static_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:connect-1 inherit pub_static_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="connect-1"></a>
|
|
<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qmetaobject-connection.html">QMetaObject::Connection</a> </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#connect-1">connect</a> (const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtautoupdater/qtautoupdater.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/class_q_object.html">QObject</a> *<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#sender">sender</a>, const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qmetamethod.html">QMetaMethod</a> &signal, const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtautoupdater/qtautoupdater.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/class_q_object.html">QObject</a> *receiver, const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qmetamethod.html">QMetaMethod</a> &method, Qt::ConnectionType type)</td></tr>
|
|
<tr class="separator:connect-1 inherit pub_static_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:connect-3 inherit pub_static_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="connect-3"></a>
|
|
<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qmetaobject-connection.html">QMetaObject::Connection</a> </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#connect-3">connect</a> (const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtautoupdater/qtautoupdater.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/class_q_object.html">QObject</a> *<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#sender">sender</a>, PointerToMemberFunction signal, const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtautoupdater/qtautoupdater.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/class_q_object.html">QObject</a> *receiver, PointerToMemberFunction method, Qt::ConnectionType type)</td></tr>
|
|
<tr class="separator:connect-3 inherit pub_static_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:connect-4 inherit pub_static_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="connect-4"></a>
|
|
<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qmetaobject-connection.html">QMetaObject::Connection</a> </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#connect-4">connect</a> (const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtautoupdater/qtautoupdater.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/class_q_object.html">QObject</a> *<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#sender">sender</a>, PointerToMemberFunction signal, Functor functor)</td></tr>
|
|
<tr class="separator:connect-4 inherit pub_static_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:connect-5 inherit pub_static_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="connect-5"></a>
|
|
<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qmetaobject-connection.html">QMetaObject::Connection</a> </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#connect-5">connect</a> (const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtautoupdater/qtautoupdater.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/class_q_object.html">QObject</a> *<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#sender">sender</a>, PointerToMemberFunction signal, const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtautoupdater/qtautoupdater.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/class_q_object.html">QObject</a> *context, Functor functor, Qt::ConnectionType type)</td></tr>
|
|
<tr class="separator:connect-5 inherit pub_static_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:disconnect inherit pub_static_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="disconnect"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#disconnect">disconnect</a> (const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtautoupdater/qtautoupdater.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/class_q_object.html">QObject</a> *<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#sender">sender</a>, const char *signal, const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtautoupdater/qtautoupdater.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/class_q_object.html">QObject</a> *receiver, const char *method)</td></tr>
|
|
<tr class="separator:disconnect inherit pub_static_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:disconnect-1 inherit pub_static_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="disconnect-1"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#disconnect-1">disconnect</a> (const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtautoupdater/qtautoupdater.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/class_q_object.html">QObject</a> *<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#sender">sender</a>, const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qmetamethod.html">QMetaMethod</a> &signal, const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtautoupdater/qtautoupdater.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/class_q_object.html">QObject</a> *receiver, const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qmetamethod.html">QMetaMethod</a> &method)</td></tr>
|
|
<tr class="separator:disconnect-1 inherit pub_static_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:disconnect-4 inherit pub_static_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="disconnect-4"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#disconnect-4">disconnect</a> (const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qmetaobject-connection.html">QMetaObject::Connection</a> &connection)</td></tr>
|
|
<tr class="separator:disconnect-4 inherit pub_static_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:disconnect-5 inherit pub_static_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="disconnect-5"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#disconnect-5">disconnect</a> (const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtautoupdater/qtautoupdater.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/class_q_object.html">QObject</a> *<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#sender">sender</a>, PointerToMemberFunction signal, const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtautoupdater/qtautoupdater.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/class_q_object.html">QObject</a> *receiver, PointerToMemberFunction method)</td></tr>
|
|
<tr class="separator:disconnect-5 inherit pub_static_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
|
|
Static Public Attributes</h2></td></tr>
|
|
<tr class="memitem:a4290295bdabe6916252cd4002bb0a692"><td class="memItemLeft" align="right" valign="top">static const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a4290295bdabe6916252cd4002bb0a692">paramAccessor</a></td></tr>
|
|
<tr class="memdesc:a4290295bdabe6916252cd4002bb0a692"><td class="mdescLeft"> </td><td class="mdescRight">The parameter for an <a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html" title="An interface to provide a generic way to access settings of any origin. ">ISettingsAccessor</a> object for the <a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a320e7141b1ca4a5fd42becd577d4683b" title="Called by the presenter to initialize the viewmodel. ">onInit()</a> method. <a href="#a4290295bdabe6916252cd4002bb0a692">More...</a><br /></td></tr>
|
|
<tr class="separator:a4290295bdabe6916252cd4002bb0a692"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1b031c342e3e482078512fcbd3d6244a"><td class="memItemLeft" align="right" valign="top">static const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a1b031c342e3e482078512fcbd3d6244a">paramSettings</a></td></tr>
|
|
<tr class="memdesc:a1b031c342e3e482078512fcbd3d6244a"><td class="mdescLeft"> </td><td class="mdescRight">The parameter for a <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qsettings.html">QSettings</a> object for the <a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a320e7141b1ca4a5fd42becd577d4683b" title="Called by the presenter to initialize the viewmodel. ">onInit()</a> method. <a href="#a1b031c342e3e482078512fcbd3d6244a">More...</a><br /></td></tr>
|
|
<tr class="separator:a1b031c342e3e482078512fcbd3d6244a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af66c2d1974be76419e209ed223e6f606"><td class="memItemLeft" align="right" valign="top">static const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#af66c2d1974be76419e209ed223e6f606">paramSetupFile</a></td></tr>
|
|
<tr class="memdesc:af66c2d1974be76419e209ed223e6f606"><td class="mdescLeft"> </td><td class="mdescRight">The parameter for a settings setup file for the <a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a320e7141b1ca4a5fd42becd577d4683b" title="Called by the presenter to initialize the viewmodel. ">onInit()</a> method. <a href="#af66c2d1974be76419e209ed223e6f606">More...</a><br /></td></tr>
|
|
<tr class="separator:af66c2d1974be76419e209ed223e6f606"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
|
|
Protected Member Functions</h2></td></tr>
|
|
<tr class="memitem:a320e7141b1ca4a5fd42becd577d4683b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a320e7141b1ca4a5fd42becd577d4683b">onInit</a> (const QVariantHash &params) override</td></tr>
|
|
<tr class="memdesc:a320e7141b1ca4a5fd42becd577d4683b"><td class="mdescLeft"> </td><td class="mdescRight">Called by the presenter to initialize the viewmodel. <a href="#a320e7141b1ca4a5fd42becd577d4683b">More...</a><br /></td></tr>
|
|
<tr class="separator:a320e7141b1ca4a5fd42becd577d4683b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header pro_methods_class_qt_mvvm_1_1_view_model"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_qt_mvvm_1_1_view_model')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="class_qt_mvvm_1_1_view_model.html">QtMvvm::ViewModel</a></td></tr>
|
|
<tr class="memitem:aa69782ceb2b1657f004fdfc22ea4efaa inherit pro_methods_class_qt_mvvm_1_1_view_model"><td class="memTemplParams" colspan="2">template<typename TViewModel > </td></tr>
|
|
<tr class="memitem:aa69782ceb2b1657f004fdfc22ea4efaa inherit pro_methods_class_qt_mvvm_1_1_view_model"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_view_model.html#aa69782ceb2b1657f004fdfc22ea4efaa">show</a> (const QVariantHash &params={}) const</td></tr>
|
|
<tr class="memdesc:aa69782ceb2b1657f004fdfc22ea4efaa inherit pro_methods_class_qt_mvvm_1_1_view_model"><td class="mdescLeft"> </td><td class="mdescRight">Show another viewmodel as a child of this one. <a href="class_qt_mvvm_1_1_view_model.html#aa69782ceb2b1657f004fdfc22ea4efaa">More...</a><br /></td></tr>
|
|
<tr class="separator:aa69782ceb2b1657f004fdfc22ea4efaa inherit pro_methods_class_qt_mvvm_1_1_view_model"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a238c2cb9fed0e4131a7ca73033728d11 inherit pro_methods_class_qt_mvvm_1_1_view_model"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_view_model.html#a238c2cb9fed0e4131a7ca73033728d11">show</a> (const char *viewModelName, const QVariantHash &params={}) const</td></tr>
|
|
<tr class="memdesc:a238c2cb9fed0e4131a7ca73033728d11 inherit pro_methods_class_qt_mvvm_1_1_view_model"><td class="mdescLeft"> </td><td class="mdescRight">Show another viewmodel as a child of this one. <a href="class_qt_mvvm_1_1_view_model.html#a238c2cb9fed0e4131a7ca73033728d11">More...</a><br /></td></tr>
|
|
<tr class="separator:a238c2cb9fed0e4131a7ca73033728d11 inherit pro_methods_class_qt_mvvm_1_1_view_model"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a14ff0d5358f52b5a3383f1f8d3e81202 inherit pro_methods_class_qt_mvvm_1_1_view_model"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_view_model.html#a14ff0d5358f52b5a3383f1f8d3e81202">show</a> (const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qmetaobject.html">QMetaObject</a> *viewMetaObject, const QVariantHash &params={}) const</td></tr>
|
|
<tr class="memdesc:a14ff0d5358f52b5a3383f1f8d3e81202 inherit pro_methods_class_qt_mvvm_1_1_view_model"><td class="mdescLeft"> </td><td class="mdescRight">Show another viewmodel as a child of this one. <a href="class_qt_mvvm_1_1_view_model.html#a14ff0d5358f52b5a3383f1f8d3e81202">More...</a><br /></td></tr>
|
|
<tr class="separator:a14ff0d5358f52b5a3383f1f8d3e81202 inherit pro_methods_class_qt_mvvm_1_1_view_model"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7a5b532fd4dfb25a01dcf8a10311ac1a inherit pro_methods_class_qt_mvvm_1_1_view_model"><td class="memTemplParams" colspan="2">template<typename TViewModel > </td></tr>
|
|
<tr class="memitem:a7a5b532fd4dfb25a01dcf8a10311ac1a inherit pro_methods_class_qt_mvvm_1_1_view_model"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_view_model.html#a7a5b532fd4dfb25a01dcf8a10311ac1a">showForResult</a> (quint32 requestCode, const QVariantHash &params={}) const</td></tr>
|
|
<tr class="memdesc:a7a5b532fd4dfb25a01dcf8a10311ac1a inherit pro_methods_class_qt_mvvm_1_1_view_model"><td class="mdescLeft"> </td><td class="mdescRight">Show another viewmodel as a child of this one and expect its result. <a href="class_qt_mvvm_1_1_view_model.html#a7a5b532fd4dfb25a01dcf8a10311ac1a">More...</a><br /></td></tr>
|
|
<tr class="separator:a7a5b532fd4dfb25a01dcf8a10311ac1a inherit pro_methods_class_qt_mvvm_1_1_view_model"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0bc3140cbd2c2dc6b40b5ca00c297a2c inherit pro_methods_class_qt_mvvm_1_1_view_model"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_view_model.html#a0bc3140cbd2c2dc6b40b5ca00c297a2c">showForResult</a> (quint32 requestCode, const char *viewModelName, const QVariantHash &params={}) const</td></tr>
|
|
<tr class="memdesc:a0bc3140cbd2c2dc6b40b5ca00c297a2c inherit pro_methods_class_qt_mvvm_1_1_view_model"><td class="mdescLeft"> </td><td class="mdescRight">Show another viewmodel as a child of this one and expect its result. <a href="class_qt_mvvm_1_1_view_model.html#a0bc3140cbd2c2dc6b40b5ca00c297a2c">More...</a><br /></td></tr>
|
|
<tr class="separator:a0bc3140cbd2c2dc6b40b5ca00c297a2c inherit pro_methods_class_qt_mvvm_1_1_view_model"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a08d21a1940935bc703bcfb50dc6656e4 inherit pro_methods_class_qt_mvvm_1_1_view_model"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_view_model.html#a08d21a1940935bc703bcfb50dc6656e4">showForResult</a> (quint32 requestCode, const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qmetaobject.html">QMetaObject</a> *viewMetaObject, const QVariantHash &params={}) const</td></tr>
|
|
<tr class="memdesc:a08d21a1940935bc703bcfb50dc6656e4 inherit pro_methods_class_qt_mvvm_1_1_view_model"><td class="mdescLeft"> </td><td class="mdescRight">Show another viewmodel as a child of this one and expect its result. <a href="class_qt_mvvm_1_1_view_model.html#a08d21a1940935bc703bcfb50dc6656e4">More...</a><br /></td></tr>
|
|
<tr class="separator:a08d21a1940935bc703bcfb50dc6656e4 inherit pro_methods_class_qt_mvvm_1_1_view_model"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header pro_methods_class_q_object"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_q_object')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="target="_blank" https://doc.qt.io/qt-5/class_q_object.html">QObject</a></td></tr>
|
|
<tr class="memitem:sender inherit pro_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="sender"></a>
|
|
<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtautoupdater/qtautoupdater.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/class_q_object.html">QObject</a> * </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#sender">sender</a> () const const</td></tr>
|
|
<tr class="separator:sender inherit pro_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:senderSignalIndex inherit pro_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="senderSignalIndex"></a>
|
|
int </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#senderSignalIndex">senderSignalIndex</a> () const const</td></tr>
|
|
<tr class="separator:senderSignalIndex inherit pro_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:receivers inherit pro_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="receivers"></a>
|
|
int </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#receivers">receivers</a> (const char *signal) const const</td></tr>
|
|
<tr class="separator:receivers inherit pro_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:isSignalConnected inherit pro_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="isSignalConnected"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#isSignalConnected">isSignalConnected</a> (const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qmetamethod.html">QMetaMethod</a> &signal) const const</td></tr>
|
|
<tr class="separator:isSignalConnected inherit pro_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:timerEvent inherit pro_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="timerEvent"></a>
|
|
virtual void </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#timerEvent">timerEvent</a> (<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qtimerevent.html">QTimerEvent</a> *<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#event">event</a>)</td></tr>
|
|
<tr class="separator:timerEvent inherit pro_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:childEvent inherit pro_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="childEvent"></a>
|
|
virtual void </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#childEvent">childEvent</a> (<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qchildevent.html">QChildEvent</a> *<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#event">event</a>)</td></tr>
|
|
<tr class="separator:childEvent inherit pro_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:customEvent inherit pro_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="customEvent"></a>
|
|
virtual void </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#customEvent">customEvent</a> (<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qevent.html">QEvent</a> *<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#event">event</a>)</td></tr>
|
|
<tr class="separator:customEvent inherit pro_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:connectNotify inherit pro_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="connectNotify"></a>
|
|
virtual void </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#connectNotify">connectNotify</a> (const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qmetamethod.html">QMetaMethod</a> &signal)</td></tr>
|
|
<tr class="separator:connectNotify inherit pro_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:disconnectNotify inherit pro_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="disconnectNotify"></a>
|
|
virtual void </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#disconnectNotify">disconnectNotify</a> (const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qmetamethod.html">QMetaMethod</a> &signal)</td></tr>
|
|
<tr class="separator:disconnectNotify inherit pro_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
|
|
Properties</h2></td></tr>
|
|
<tr class="memitem:ab49fec01ec5201ceb56713525117b359"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html">QtMvvm::ISettingsAccessor</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#ab49fec01ec5201ceb56713525117b359">accessor</a></td></tr>
|
|
<tr class="memdesc:ab49fec01ec5201ceb56713525117b359"><td class="mdescLeft"> </td><td class="mdescRight">Holds the settings accessor used by the viewmodel to access the settings. <a href="#ab49fec01ec5201ceb56713525117b359">More...</a><br /></td></tr>
|
|
<tr class="separator:ab49fec01ec5201ceb56713525117b359"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9f9d7222a72be5f801b24b0e49ae7b0b"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a9f9d7222a72be5f801b24b0e49ae7b0b">canRestoreDefaults</a></td></tr>
|
|
<tr class="memdesc:a9f9d7222a72be5f801b24b0e49ae7b0b"><td class="mdescLeft"> </td><td class="mdescRight">Specifies if restoring the defaults is generally allowed. <a href="#a9f9d7222a72be5f801b24b0e49ae7b0b">More...</a><br /></td></tr>
|
|
<tr class="separator:a9f9d7222a72be5f801b24b0e49ae7b0b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3ea6cee515ea7df23a78df8d7fe28f4e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qt_mvvm_1_1_message_config.html">QtMvvm::MessageConfig</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a3ea6cee515ea7df23a78df8d7fe28f4e">restoreConfig</a></td></tr>
|
|
<tr class="memdesc:a3ea6cee515ea7df23a78df8d7fe28f4e"><td class="mdescLeft"> </td><td class="mdescRight">The message configuration to be used to for a dialog to ask for settings restore. <a href="#a3ea6cee515ea7df23a78df8d7fe28f4e">More...</a><br /></td></tr>
|
|
<tr class="separator:a3ea6cee515ea7df23a78df8d7fe28f4e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab337aa43614ef436a173deeaa3c6c4b6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qt_mvvm_1_1_i_settings_setup_loader.html">QtMvvm::ISettingsSetupLoader</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#ab337aa43614ef436a173deeaa3c6c4b6">settingsSetupLoader</a></td></tr>
|
|
<tr class="memdesc:ab337aa43614ef436a173deeaa3c6c4b6"><td class="mdescLeft"> </td><td class="mdescRight">The settings setup loader to use to create the settings dialog. Is an injected property. <a href="#ab337aa43614ef436a173deeaa3c6c4b6">More...</a><br /></td></tr>
|
|
<tr class="separator:ab337aa43614ef436a173deeaa3c6c4b6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header properties_class_q_object"><td colspan="2" onclick="javascript:toggleInherit('properties_class_q_object')"><img src="closed.png" alt="-"/> Properties inherited from <a class="el" href="target="_blank" https://doc.qt.io/qt-5/class_q_object.html">QObject</a></td></tr>
|
|
<tr class="memitem:objectName-prop inherit properties_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="objectName-prop"></a>
|
|
 </td><td class="memItemRight" valign="bottom"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qobject.html#objectName-prop">objectName</a></td></tr>
|
|
<tr class="separator:objectName-prop inherit properties_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>A <a class="el" href="class_qt_mvvm_1_1_view_model.html" title="The base class for all viewmodels. ">ViewModel</a> for a generic settings dialog based of an XML settings file. </p>
|
|
<p>It's a ready made viewmodel to show a settings dialog. See <a class="el" href="settings_xml.html">The XML settings format</a>. To show the dialog, call show from another <a class="el" href="class_qt_mvvm_1_1_view_model.html" title="The base class for all viewmodels. ">ViewModel</a> or the <a class="el" href="class_qt_mvvm_1_1_core_app.html" title="A logicaly application object to drive the mvvm application from the core part. ">CoreApp</a>:</p>
|
|
<div class="fragment"><div class="line">show<QtMvvm::SettingsViewModel>();</div></div><!-- fragment --><dl class="section see"><dt>See also</dt><dd><a class="el" href="images_page.html">Images page</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="settingsviewmodel_8h_source.html#l00018">18</a> of file <a class="el" href="settingsviewmodel_8h_source.html">settingsviewmodel.h</a>.</p>
|
|
</div><h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="a3da983a9fab974d1428f757dde675945"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3da983a9fab974d1428f757dde675945">◆ </a></span>callAction</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::SettingsViewModel::callAction </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qstring.html">QString</a> & </td>
|
|
<td class="paramname"><em>key</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const QVariantMap & </td>
|
|
<td class="paramname"><em>parameters</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">slot</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Is called when an action type edit is pressed. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">key</td><td>The key of the entry that triggered the action </td></tr>
|
|
<tr><td class="paramname">parameters</td><td>A map with additional parameters for the action call</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>This method is called by the GUI when an entry with the <a class="el" href="settings_xml.html#settings_xml_types_action">action</a> type is pressed by the user. The key is what would normally be used as the settings key. The parameters are deduced from the settings XML. See the type documentation for more details.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="settings_xml.html#settings_xml_types_action">action</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a8a51e071d8e5b5e34d6669ccfdf19160"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8a51e071d8e5b5e34d6669ccfdf19160">◆ </a></span>loadSetup()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::SettingsViewModel::loadSetup </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qstring.html">QString</a> & </td>
|
|
<td class="paramname"><em>frontend</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Loads the settings setup of the prepared file for the given frontend. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">frontend</td><td>The name of the current frontend </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The loaded settings setup</dd></dl>
|
|
<p>If loading fails an empty setup is returned. Logging is performed internally, so you can just proceed without error checking and show an empty settings dialog. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a4dfa0f03d31b104f2824bddb8c94ef49"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4dfa0f03d31b104f2824bddb8c94ef49">◆ </a></span>loadValue()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::SettingsViewModel::loadValue </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qstring.html">QString</a> & </td>
|
|
<td class="paramname"><em>key</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qvariant.html">QVariant</a> & </td>
|
|
<td class="paramname"><em>defaultValue</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Loads the value for the given key from the settings. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">key</td><td>The full key of the settings entry to be loaded </td></tr>
|
|
<tr><td class="paramname">defaultValue</td><td>a default value to return in case the value is not found in the settings </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The value found under the given key</dd></dl>
|
|
<p>You can override this method if you want to support loading and saving settings from something different than a <a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html" title="An interface to provide a generic way to access settings of any origin. ">ISettingsAccessor</a></p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a30afa72fbc9fdf3ac4cd4fbf575618c2" title="Saves the value with the given key. ">SettingsViewModel::saveValue</a>, <a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#ae6c8e4b7aac233113db630c1403567d8" title="Resets the value or group identified by the key. ">SettingsViewModel::resetValue</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a320e7141b1ca4a5fd42becd577d4683b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a320e7141b1ca4a5fd42becd577d4683b">◆ </a></span>onInit()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void QtMvvm::SettingsViewModel::onInit </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const QVariantHash & </td>
|
|
<td class="paramname"><em>params</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Called by the presenter to initialize the viewmodel. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">params</td><td>The parameters to initialize the viewmodel with</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>This method is called by the presenter right after creating the view and reparenting the viewmodel to the view. The parameters are the ones that have been passed to the show method called to show this viewmodel instance. Reimplement this method if you need to perform initializations after beeing assigned to a viewmodel or if you want to support a parametrized viewmodel.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_view_model.html#aa69782ceb2b1657f004fdfc22ea4efaa" title="Show another viewmodel as a child of this one. ">ViewModel::show</a>, <a class="el" href="class_qt_mvvm_1_1_view_model.html#a7a5b532fd4dfb25a01dcf8a10311ac1a" title="Show another viewmodel as a child of this one and expect its result. ">ViewModel::showForResult</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a217da24a389f941bac316016928d30df" title="Show a new ViewModel by its type. ">CoreApp::show</a> </dd></dl>
|
|
|
|
<p>Reimplemented from <a class="el" href="class_qt_mvvm_1_1_view_model.html#aed696c49a28b9615d3433c6a27006c70">QtMvvm::ViewModel</a>.</p>
|
|
|
|
<p>Reimplemented in <a class="el" href="class_qt_mvvm_1_1_data_sync_settings_view_model.html#a35be63e99cd03b98c92699692ea4d829">QtMvvm::DataSyncSettingsViewModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a74cfe5450367a6bf7047043ce6ee0e7b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a74cfe5450367a6bf7047043ce6ee0e7b">◆ </a></span>resetAccepted</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::SettingsViewModel::resetAccepted </td>
|
|
<td>(</td>
|
|
<td class="paramtype">QPrivateSignal </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">signal</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Is emitted when the user accepted the reset triggered by <a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a0aed2ae7dba7996edf4cbb30b9fbd917" title="Resets all values that are defined by the entries in the given setup. ">resetAll()</a> </p>
|
|
<p>This signal is emitted as the result of a <a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a0aed2ae7dba7996edf4cbb30b9fbd917" title="Resets all values that are defined by the entries in the given setup. ">resetAll()</a> that was accepted by the user. As a reaction, the settings gui implementation should close itself.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a0aed2ae7dba7996edf4cbb30b9fbd917" title="Resets all values that are defined by the entries in the given setup. ">SettingsViewModel::resetAll</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a0aed2ae7dba7996edf4cbb30b9fbd917"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0aed2ae7dba7996edf4cbb30b9fbd917">◆ </a></span>resetAll()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::SettingsViewModel::resetAll </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="namespace_qt_mvvm_1_1_settings_elements.html#struct_qt_mvvm_1_1_settings_elements_1_1_setup">SettingsElements::Setup</a> & </td>
|
|
<td class="paramname"><em>setup</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Resets all values that are defined by the entries in the given setup. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">setup</td><td>The setup to search for keys to be resetted</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>You can call this method from your gui to perform a complete reset of all the settings that are visible in the gui. Internally, the method will use <a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a3ea6cee515ea7df23a78df8d7fe28f4e" title="The message configuration to be used to for a dialog to ask for settings restore. ...">SettingsViewModel::restoreConfig</a> to create a dialog that asks the user for confirmation, and if he accepts, remove the value of all <a class="el" href="namespace_qt_mvvm_1_1_settings_elements.html#struct_qt_mvvm_1_1_settings_elements_1_1_entry" title="An entry in the settings to display and edit a value. ">SettingsElements::Entry</a> elements that can be found in the setup by calling <a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#ae6c8e4b7aac233113db630c1403567d8" title="Resets the value or group identified by the key. ">resetValue()</a>.</p>
|
|
<p>If the user accepted the dialog and data was successfully reset, the <a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a74cfe5450367a6bf7047043ce6ee0e7b" title="Is emitted when the user accepted the reset triggered by resetAll() ">resetAccepted()</a> signal is emitted so the gui can close itself.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a3ea6cee515ea7df23a78df8d7fe28f4e" title="The message configuration to be used to for a dialog to ask for settings restore. ...">SettingsViewModel::restoreConfig</a>, <a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a74cfe5450367a6bf7047043ce6ee0e7b" title="Is emitted when the user accepted the reset triggered by resetAll() ">SettingsViewModel::resetAccepted</a>, <a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#ae6c8e4b7aac233113db630c1403567d8" title="Resets the value or group identified by the key. ">SettingsViewModel::resetValue</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae6c8e4b7aac233113db630c1403567d8"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae6c8e4b7aac233113db630c1403567d8">◆ </a></span>resetValue()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::SettingsViewModel::resetValue </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qstring.html">QString</a> & </td>
|
|
<td class="paramname"><em>key</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Resets the value or group identified by the key. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">key</td><td>The full key of the settings entry to be resetted</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>You can override this method if you want to support loading and saving settings from something different than a <a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html" title="An interface to provide a generic way to access settings of any origin. ">ISettingsAccessor</a>. if you do so, you must emit the <a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a649b6e589a731d8d1ebc978818a73a4f" title="Signal to be emitted whenver a value in the settings is changed or removed to update the GUI...">valueChanged()</a> signal from this method to indicate that the data was changed.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a4dfa0f03d31b104f2824bddb8c94ef49" title="Loads the value for the given key from the settings. ">SettingsViewModel::loadValue</a>, <a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a30afa72fbc9fdf3ac4cd4fbf575618c2" title="Saves the value with the given key. ">SettingsViewModel::saveValue</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a30afa72fbc9fdf3ac4cd4fbf575618c2"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a30afa72fbc9fdf3ac4cd4fbf575618c2">◆ </a></span>saveValue()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::SettingsViewModel::saveValue </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qstring.html">QString</a> & </td>
|
|
<td class="paramname"><em>key</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qvariant.html">QVariant</a> & </td>
|
|
<td class="paramname"><em>value</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Saves the value with the given key. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">key</td><td>The full key of the settings entry to be saved </td></tr>
|
|
<tr><td class="paramname">value</td><td>The value to be stored under the key</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>You can override this method if you want to support loading and saving settings from something different than a <a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html" title="An interface to provide a generic way to access settings of any origin. ">ISettingsAccessor</a>. if you do so, you must emit the <a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a649b6e589a731d8d1ebc978818a73a4f" title="Signal to be emitted whenver a value in the settings is changed or removed to update the GUI...">valueChanged()</a> signal from this method to indicate that the data was changed.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a4dfa0f03d31b104f2824bddb8c94ef49" title="Loads the value for the given key from the settings. ">SettingsViewModel::loadValue</a>, <a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#ae6c8e4b7aac233113db630c1403567d8" title="Resets the value or group identified by the key. ">SettingsViewModel::resetValue</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a746b88bdb63f89311ad7b8ca63f1f5ff"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a746b88bdb63f89311ad7b8ca63f1f5ff">◆ </a></span>showParams() <span class="overload">[1/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::SettingsViewModel::showParams </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html">ISettingsAccessor</a> * </td>
|
|
<td class="paramname"><em>accessor</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qstring.html">QString</a> & </td>
|
|
<td class="paramname"><em>setupFile</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Generates show parameter to show a settings viewmodel via <a class="el" href="class_qt_mvvm_1_1_view_model.html#aa69782ceb2b1657f004fdfc22ea4efaa" title="Show another viewmodel as a child of this one. ">ViewModel::show</a>. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">accessor</td><td>The <a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html" title="An interface to provide a generic way to access settings of any origin. ">ISettingsAccessor</a> to operate on. Can be null to use the default accessor (<a class="el" href="class_qt_mvvm_1_1_q_settings_accessor.html" title="A settings accessor implementation that wrapps QSettings. ">QSettingsAccessor</a>) </td></tr>
|
|
<tr><td class="paramname">setupFile</td><td>The path to a file to be used to create the settings. Can be empty to use the default path </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>A paramater hash to be passed to <a class="el" href="class_qt_mvvm_1_1_view_model.html#aa69782ceb2b1657f004fdfc22ea4efaa" title="Show another viewmodel as a child of this one. ">ViewModel::show</a></dd></dl>
|
|
<p>It's a shortcut to generate parameters for the show methods to show a settings viewmodel. Use them as:</p>
|
|
<div class="fragment"><div class="line">show<QtMvvm::SettingsViewModel>(<a class="code" href="class_qt_mvvm_1_1_settings_view_model.html#a746b88bdb63f89311ad7b8ca63f1f5ff">QtMvvm::SettingsViewModel::showParams</a>(...));</div></div><!-- fragment --><dl class="section note"><dt>Note</dt><dd>Unless you need to explicitly set the settings or setup file a normal show without any parameters will just do fine.</dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_view_model.html#aa69782ceb2b1657f004fdfc22ea4efaa" title="Show another viewmodel as a child of this one. ">ViewModel::show</a>, <a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a4290295bdabe6916252cd4002bb0a692" title="The parameter for an ISettingsAccessor object for the onInit() method. ">SettingsViewModel::paramAccessor</a>, <a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#af66c2d1974be76419e209ed223e6f606" title="The parameter for a settings setup file for the onInit() method. ">SettingsViewModel::paramSetupFile</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a4c4aed6073b1821ba440a0cad64e27e4"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4c4aed6073b1821ba440a0cad64e27e4">◆ </a></span>showParams() <span class="overload">[2/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::SettingsViewModel::showParams </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qsettings.html">QSettings</a> * </td>
|
|
<td class="paramname"><em>settings</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qstring.html">QString</a> & </td>
|
|
<td class="paramname"><em>setupFile</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Generates show parameter to show a settings viewmodel via <a class="el" href="class_qt_mvvm_1_1_view_model.html#aa69782ceb2b1657f004fdfc22ea4efaa" title="Show another viewmodel as a child of this one. ">ViewModel::show</a>. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">settings</td><td>The <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qsettings.html">QSettings</a> to operate on. Can be null to use the default settings </td></tr>
|
|
<tr><td class="paramname">setupFile</td><td>The path to a file to be used to create the settings. Can be empty to use the default path </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>A paramater hash to be passed to <a class="el" href="class_qt_mvvm_1_1_view_model.html#aa69782ceb2b1657f004fdfc22ea4efaa" title="Show another viewmodel as a child of this one. ">ViewModel::show</a></dd></dl>
|
|
<p>This internally creates a <a class="el" href="class_qt_mvvm_1_1_q_settings_accessor.html" title="A settings accessor implementation that wrapps QSettings. ">QSettingsAccessor</a> that operates on the given settings and sets it as the <a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#ab49fec01ec5201ceb56713525117b359" title="Holds the settings accessor used by the viewmodel to access the settings. ">SettingsViewModel::accessor</a>.</p>
|
|
<p>It's a shortcut to generate parameters for the show methods to show a settings viewmodel. Use them as:</p>
|
|
<div class="fragment"><div class="line">show<QtMvvm::SettingsViewModel>(<a class="code" href="class_qt_mvvm_1_1_settings_view_model.html#a746b88bdb63f89311ad7b8ca63f1f5ff">QtMvvm::SettingsViewModel::showParams</a>(...));</div></div><!-- fragment --><dl class="section note"><dt>Note</dt><dd>Unless you need to explicitly set the settings or setup file a normal show without any parameters will just do fine.</dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_view_model.html#aa69782ceb2b1657f004fdfc22ea4efaa" title="Show another viewmodel as a child of this one. ">ViewModel::show</a>, <a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a1b031c342e3e482078512fcbd3d6244a" title="The parameter for a QSettings object for the onInit() method. ">SettingsViewModel::paramSettings</a>, <a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#af66c2d1974be76419e209ed223e6f606" title="The parameter for a settings setup file for the onInit() method. ">SettingsViewModel::paramSetupFile</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Data Documentation</h2>
|
|
<a id="a4290295bdabe6916252cd4002bb0a692"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4290295bdabe6916252cd4002bb0a692">◆ </a></span>paramAccessor</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::SettingsViewModel::paramAccessor</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The parameter for an <a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html" title="An interface to provide a generic way to access settings of any origin. ">ISettingsAccessor</a> object for the <a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a320e7141b1ca4a5fd42becd577d4683b" title="Called by the presenter to initialize the viewmodel. ">onInit()</a> method. </p>
|
|
<p><b>Value:</b> <code>"accessor"</code></p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a746b88bdb63f89311ad7b8ca63f1f5ff" title="Generates show parameter to show a settings viewmodel via ViewModel::show. ">SettingsViewModel::showParams</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="settingsviewmodel_8h_source.html#l00036">36</a> of file <a class="el" href="settingsviewmodel_8h_source.html">settingsviewmodel.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a1b031c342e3e482078512fcbd3d6244a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a1b031c342e3e482078512fcbd3d6244a">◆ </a></span>paramSettings</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::SettingsViewModel::paramSettings</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The parameter for a <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qsettings.html">QSettings</a> object for the <a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a320e7141b1ca4a5fd42becd577d4683b" title="Called by the presenter to initialize the viewmodel. ">onInit()</a> method. </p>
|
|
<p><b>Value:</b> <code>"settings"</code></p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a746b88bdb63f89311ad7b8ca63f1f5ff" title="Generates show parameter to show a settings viewmodel via ViewModel::show. ">SettingsViewModel::showParams</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="settingsviewmodel_8h_source.html#l00038">38</a> of file <a class="el" href="settingsviewmodel_8h_source.html">settingsviewmodel.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af66c2d1974be76419e209ed223e6f606"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af66c2d1974be76419e209ed223e6f606">◆ </a></span>paramSetupFile</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::SettingsViewModel::paramSetupFile</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The parameter for a settings setup file for the <a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a320e7141b1ca4a5fd42becd577d4683b" title="Called by the presenter to initialize the viewmodel. ">onInit()</a> method. </p>
|
|
<p><b>Value:</b> <code>"setupFile"</code></p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a746b88bdb63f89311ad7b8ca63f1f5ff" title="Generates show parameter to show a settings viewmodel via ViewModel::show. ">SettingsViewModel::showParams</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="settingsviewmodel_8h_source.html#l00040">40</a> of file <a class="el" href="settingsviewmodel_8h_source.html">settingsviewmodel.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Property Documentation</h2>
|
|
<a id="ab49fec01ec5201ceb56713525117b359"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab49fec01ec5201ceb56713525117b359">◆ </a></span>accessor</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::SettingsViewModel::accessor</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">write</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Holds the settings accessor used by the viewmodel to access the settings. </p>
|
|
<p><b>Default:</b> <code>nullptr</code> (Initialized by <a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a320e7141b1ca4a5fd42becd577d4683b" title="Called by the presenter to initialize the viewmodel. ">onInit()</a>) <br />
|
|
</p>
|
|
<p>This acccessor is used by all the methods that access settings. This makes it possible to simply change the backend that the viewmodel should operate on without reimplementing it, and also makes it possible for change signals to be used to dynamically update the gui if the settings values change.</p>
|
|
<table class="doxtable">
|
|
<tr>
|
|
<th colspan="2">Accessors </th></tr>
|
|
<tr>
|
|
<td><b>READ</b></td><td><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#ab49fec01ec5201ceb56713525117b359" title="Holds the settings accessor used by the viewmodel to access the settings. ">accessor()</a> </td></tr>
|
|
<tr>
|
|
<td><b>WRITE</b></td><td><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a60149430e68d125f61841756e3cde33e" title="WRITE accessor for SettingsViewModel::accessor. ">setAccessor()</a> </td></tr>
|
|
<tr>
|
|
<td><b>NOTIFY</b></td><td><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#ad7f1915bf91612d519cc9fb997ddba3a" title="NOTIFY accessor for SettingsViewModel::accessor. ">accessorChanged()</a> </td></tr>
|
|
</table>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html" title="An interface to provide a generic way to access settings of any origin. ">ISettingsAccessor</a>, <a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a746b88bdb63f89311ad7b8ca63f1f5ff" title="Generates show parameter to show a settings viewmodel via ViewModel::show. ">SettingsViewModel::showParams</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="settingsviewmodel_8h_source.html#l00023">23</a> of file <a class="el" href="settingsviewmodel_8h_source.html">settingsviewmodel.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9f9d7222a72be5f801b24b0e49ae7b0b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9f9d7222a72be5f801b24b0e49ae7b0b">◆ </a></span>canRestoreDefaults</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::SettingsViewModel::canRestoreDefaults</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Specifies if restoring the defaults is generally allowed. </p>
|
|
<p><b>Default:</b> <code>true</code> <br />
|
|
</p>
|
|
<p>Restoring defaults is only allowed if both this property and the attribute of the settings XML are true.</p>
|
|
<table class="doxtable">
|
|
<tr>
|
|
<th colspan="2">Accessors </th></tr>
|
|
<tr>
|
|
<td><b>READ</b></td><td><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a9f9d7222a72be5f801b24b0e49ae7b0b" title="Specifies if restoring the defaults is generally allowed. ">canRestoreDefaults()</a> </td></tr>
|
|
<tr>
|
|
<td colspan="2"><b>CONSTANT</b> </td></tr>
|
|
</table>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="settings_xml.html#settings_xml_elements_config_attribs">Attributes</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="settingsviewmodel_8h_source.html#l00026">26</a> of file <a class="el" href="settingsviewmodel_8h_source.html">settingsviewmodel.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a3ea6cee515ea7df23a78df8d7fe28f4e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3ea6cee515ea7df23a78df8d7fe28f4e">◆ </a></span>restoreConfig</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::SettingsViewModel::restoreConfig</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The message configuration to be used to for a dialog to ask for settings restore. </p>
|
|
<p><b>Default:</b> <em>A basic question messagebox</em> <br />
|
|
</p>
|
|
<p>If you want to modify the text or options, you can replace the messagebox with another dialog.</p>
|
|
<table class="doxtable">
|
|
<tr>
|
|
<th colspan="2">Accessors </th></tr>
|
|
<tr>
|
|
<td><b>READ</b></td><td><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a3ea6cee515ea7df23a78df8d7fe28f4e" title="The message configuration to be used to for a dialog to ask for settings restore. ...">restoreConfig()</a> </td></tr>
|
|
<tr>
|
|
<td colspan="2"><b>CONSTANT</b> </td></tr>
|
|
</table>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="settingsviewmodel_8h_source.html#l00028">28</a> of file <a class="el" href="settingsviewmodel_8h_source.html">settingsviewmodel.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab337aa43614ef436a173deeaa3c6c4b6"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab337aa43614ef436a173deeaa3c6c4b6">◆ </a></span>settingsSetupLoader</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::SettingsViewModel::settingsSetupLoader</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">write</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The settings setup loader to use to create the settings dialog. Is an injected property. </p>
|
|
<p><b>Default:</b> <em>Injected</em> <br />
|
|
</p>
|
|
<p>Do not set this property yourself. It is automatically injected when showing the viewmodel. You can use the <a class="el" href="class_qt_mvvm_1_1_service_registry.html#ab683dc8ccbb0e0198f0d5664b1f1f9ca" title="Register a service for its interface via the type. ">ServiceRegistry::registerInterface</a> if you need to use a loader different from the default one.</p>
|
|
<table class="doxtable">
|
|
<tr>
|
|
<th colspan="2">Accessors </th></tr>
|
|
<tr>
|
|
<td><b>READ</b></td><td><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#ab337aa43614ef436a173deeaa3c6c4b6" title="The settings setup loader to use to create the settings dialog. Is an injected property. ">settingsSetupLoader()</a> </td></tr>
|
|
<tr>
|
|
<td><b>WRITE</b></td><td><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a3e92e19da41a238b723424fbc4bfffea" title="WRITE accessor for SettingsViewModel::settingsSetupLoader. ">setSettingsSetupLoader()</a> </td></tr>
|
|
<tr>
|
|
<td><b>NOTIFY</b></td><td><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html#a059b1c21ec43c9de21be74a0ff64993a" title="NOTIFY accessor for SettingsViewModel::settingsSetupLoader. ">settingsSetupLoaderChanged()</a> </td></tr>
|
|
</table>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="injection_8h.html#a0a6e278ad53a06df6f32b1b636ec6151" title="Mark a property for injection. ">QTMVVM_INJECT</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="settingsviewmodel_8h_source.html#l00031">31</a> of file <a class="el" href="settingsviewmodel_8h_source.html">settingsviewmodel.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
|
<li><a class="el" href="settingsviewmodel_8h_source.html">settingsviewmodel.h</a></li>
|
|
<li>settingsviewmodel.dox</li>
|
|
</ul>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated on Wed Aug 8 2018 19:15:45 for QtMvvm by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.14
|
|
</small></address>
|
|
</body>
|
|
</html>
|
|
|