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.
3187 lines
303 KiB
3187 lines
303 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 Namespace 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><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#namespaces">Namespaces</a> |
|
|
<a href="#nested-classes">Classes</a> |
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">QtMvvm Namespace Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>The primary namespace of the <a class="el" href="namespace_qt_mvvm.html" title="The primary namespace of the QtMvvm library. ">QtMvvm</a> library.
|
|
<a href="#details">More...</a></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
|
|
Namespaces</h2></td></tr>
|
|
<tr class="memitem:namespace_qt_mvvm_1_1_settings_elements"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm_1_1_settings_elements.html">SettingsElements</a></td></tr>
|
|
<tr class="memdesc:namespace_qt_mvvm_1_1_settings_elements"><td class="mdescLeft"> </td><td class="mdescRight">A sub namespace for the different elements in a settings setup. <br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
|
Classes</h2></td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_account_model.html">AccountModel</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A list model implementation for <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtdatasync/qtdatasync.tags:https://skycoder42.github.io/QtDataSync/" href="https://skycoder42.github.io/QtDataSync/class_qt_data_sync_1_1_device_info.html">QtDataSync::DeviceInfo</a> via a <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtdatasync/qtdatasync.tags:https://skycoder42.github.io/QtDataSync/" href="https://skycoder42.github.io/QtDataSync/class_qt_data_sync_1_1_account_manager.html">QtDataSync::AccountManager</a>. <a href="class_qt_mvvm_1_1_account_model.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_android_settings_accessor.html">AndroidSettingsAccessor</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A wrapper around the android SharedPreferences API. <a href="class_qt_mvvm_1_1_android_settings_accessor.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_binding.html">Binding</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A handle to a multidirectional binding between properties. <a href="class_qt_mvvm_1_1_binding.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_core_app.html">CoreApp</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A logicaly application object to drive the mvvm application from the core part. <a href="class_qt_mvvm_1_1_core_app.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_data_sync_settings_accessor.html">DataSyncSettingsAccessor</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A settings accessor implementation that allows to store and sync settings via datasync. <a href="class_qt_mvvm_1_1_data_sync_settings_accessor.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html">DataSyncSettingsEntry</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A class used with the <a class="el" href="class_qt_mvvm_1_1_data_sync_settings_accessor.html" title="A settings accessor implementation that allows to store and sync settings via datasync. ">DataSyncSettingsAccessor</a> to store and sync generic settings. <a href="struct_qt_mvvm_1_1_data_sync_settings_entry.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_data_sync_settings_view_model.html">DataSyncSettingsViewModel</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">An extension of the normal settings viewmodel with the <a class="el" href="class_qt_mvvm_1_1_data_sync_settings_accessor.html" title="A settings accessor implementation that allows to store and sync settings via datasync. ">DataSyncSettingsAccessor</a> as accessor. <a href="class_qt_mvvm_1_1_data_sync_settings_view_model.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_data_sync_view_model.html">DataSyncViewModel</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A viewmodel to show a overview of the datasync status and account. <a href="class_qt_mvvm_1_1_data_sync_view_model.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_data_sync_window.html">DataSyncWindow</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The widgets view implementation for the <a class="el" href="class_qt_mvvm_1_1_data_sync_view_model.html" title="A viewmodel to show a overview of the datasync status and account. ">DataSyncViewModel</a>. <a href="class_qt_mvvm_1_1_data_sync_window.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_exchange_devices_model.html">ExchangeDevicesModel</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A list model implementation to show all devices available by the <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtdatasync/qtdatasync.tags:https://skycoder42.github.io/QtDataSync/" href="https://skycoder42.github.io/QtDataSync/class_qt_data_sync_1_1_user_exchange_manager.html">QtDataSync::UserExchangeManager</a>. <a href="class_qt_mvvm_1_1_exchange_devices_model.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_formatter.html">Formatter</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A class to format the preview text in the delegates. <a href="class_qt_mvvm_1_1_formatter.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_input_view_factory.html">InputViewFactory</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A factory class to generate input edit views by their type names. <a href="class_qt_mvvm_1_1_input_view_factory.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_input_widget_factory.html">InputWidgetFactory</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A factory class to generate input edit widgets by their type names. <a href="class_qt_mvvm_1_1_input_widget_factory.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_i_presenter.html">IPresenter</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The interface for a GUI view presenter. <a href="class_qt_mvvm_1_1_i_presenter.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_i_presenting_view.html">IPresentingView</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A simple interface to make it possible for any view to present subviews. <a href="class_qt_mvvm_1_1_i_presenting_view.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html">ISettingsAccessor</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">An interface to provide a generic way to access settings of any origin. <a href="class_qt_mvvm_1_1_i_settings_accessor.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_i_settings_setup_loader.html">ISettingsSetupLoader</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">An interface for a generic settings setup loader. <a href="class_qt_mvvm_1_1_i_settings_setup_loader.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_message_config.html">MessageConfig</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A configuration for a simple dialog to be shown from the core code. <a href="class_qt_mvvm_1_1_message_config.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_message_result.html">MessageResult</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A result watcher to get the result once a dialog has finished. <a href="class_qt_mvvm_1_1_message_result.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_network_exchange_view_model.html">NetworkExchangeViewModel</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A viewmodel to show a dialog to exchange account data via the <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtdatasync/qtdatasync.tags:https://skycoder42.github.io/QtDataSync/" href="https://skycoder42.github.io/QtDataSync/class_qt_data_sync_1_1_user_exchange_manager.html">QtDataSync::UserExchangeManager</a>. <a href="class_qt_mvvm_1_1_network_exchange_view_model.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_network_exchange_window.html">NetworkExchangeWindow</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The widgets view implementation for the <a class="el" href="class_qt_mvvm_1_1_network_exchange_view_model.html" title="A viewmodel to show a dialog to exchange account data via the QtDataSync::UserExchangeManager. ">NetworkExchangeViewModel</a>. <a href="class_qt_mvvm_1_1_network_exchange_window.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_presenter_exception.html">PresenterException</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">An exception to be thrown from the presenter if presenting fails. <a href="class_qt_mvvm_1_1_presenter_exception.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_progress_control.html">ProgressControl</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A Helper class to control a generic progress dialog. <a href="class_qt_mvvm_1_1_progress_control.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_q_settings_accessor.html">QSettingsAccessor</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A settings accessor implementation that wrapps <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 href="class_qt_mvvm_1_1_q_settings_accessor.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_quick_presenter.html">QuickPresenter</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The <a class="el" href="class_qt_mvvm_1_1_i_presenter.html" title="The interface for a GUI view presenter. ">IPresenter</a> implementation for the quick module. <a href="class_qt_mvvm_1_1_quick_presenter.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_service_construction_exception.html">ServiceConstructionException</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Is thrown in case the construction of a service has failed. <a href="class_qt_mvvm_1_1_service_construction_exception.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_service_dependency_exception.html">ServiceDependencyException</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Is thrown if a service could not be created because of a missing dependency to be injected. <a href="class_qt_mvvm_1_1_service_dependency_exception.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_service_exists_exception.html">ServiceExistsException</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Is thrown if a service is beeing registered that is already registered. <a href="class_qt_mvvm_1_1_service_exists_exception.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_service_registry.html">ServiceRegistry</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A singleton to prepare services for dependency injection and to access them. <a href="class_qt_mvvm_1_1_service_registry.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_settings_dialog.html">SettingsDialog</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The widgets view implementation for the <a class="el" href="class_qt_mvvm_1_1_settings_view_model.html" title="A ViewModel for a generic settings dialog based of an XML settings file. ">SettingsViewModel</a>. <a href="class_qt_mvvm_1_1_settings_dialog.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_settings_entry.html">SettingsEntry</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A generic wrapper around <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> used by the <a class="el" href="settings_generator.html">qsettingsgenerator</a>. <a href="class_qt_mvvm_1_1_settings_entry.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_settings_list_node.html">SettingsListNode</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A helper class used by the <a class="el" href="settings_generator.html">qsettingsgenerator</a> to represent list nodes. <a href="class_qt_mvvm_1_1_settings_list_node.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_settings_loader_exception.html">SettingsLoaderException</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">An exception throw in case loading a settings setup went wrong. <a href="class_qt_mvvm_1_1_settings_loader_exception.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html">SettingsViewModel</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">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><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_simple_formatter.html">SimpleFormatter</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A very basic formatter that uses <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#arg-11">QString::arg</a> with the value on the format string. <a href="class_qt_mvvm_1_1_simple_formatter.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_view_model.html">ViewModel</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The base class for all viewmodels. <a href="class_qt_mvvm_1_1_view_model.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_widgets_presenter.html">WidgetsPresenter</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The <a class="el" href="class_qt_mvvm_1_1_i_presenter.html" title="The interface for a GUI view presenter. ">IPresenter</a> implementation for the widgets module. <a href="class_qt_mvvm_1_1_widgets_presenter.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
|
Functions</h2></td></tr>
|
|
<tr class="memitem:affee350f1bec121b95759bb02a4df50f"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT <a class="el" href="class_qt_mvvm_1_1_binding.html">Binding</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#affee350f1bec121b95759bb02a4df50f">bind</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> *viewModel, const char *viewModelProperty, <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> *view, const char *viewProperty, Binding::BindingDirection type=<a class="el" href="class_qt_mvvm_1_1_binding.html#a6a03a1d2ac1775e202aa7ae65fb76315a8248e753de211820e05f5b5e35ad9db8">Binding::TwoWay</a>, const char *viewModelChangeSignal=nullptr, const char *viewChangeSignal=nullptr)</td></tr>
|
|
<tr class="memdesc:affee350f1bec121b95759bb02a4df50f"><td class="mdescLeft"> </td><td class="mdescRight">Create a multidirectional binding between properties. <a href="#affee350f1bec121b95759bb02a4df50f">More...</a><br /></td></tr>
|
|
<tr class="separator:affee350f1bec121b95759bb02a4df50f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a63d18cf0e0dd0b36af20970bbc48f90d"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT <a class="el" href="class_qt_mvvm_1_1_binding.html">Binding</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#a63d18cf0e0dd0b36af20970bbc48f90d">bind</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> *viewModel, 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/qmetaproperty.html">QMetaProperty</a> &viewModelProperty, <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> *view, 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/qmetaproperty.html">QMetaProperty</a> &viewProperty, Binding::BindingDirection type=<a class="el" href="class_qt_mvvm_1_1_binding.html#a6a03a1d2ac1775e202aa7ae65fb76315a8248e753de211820e05f5b5e35ad9db8">Binding::TwoWay</a>, const char *viewModelChangeSignal=nullptr, const char *viewChangeSignal=nullptr)</td></tr>
|
|
<tr class="memdesc:a63d18cf0e0dd0b36af20970bbc48f90d"><td class="mdescLeft"> </td><td class="mdescRight">Create a multidirectional binding between properties. <a href="#a63d18cf0e0dd0b36af20970bbc48f90d">More...</a><br /></td></tr>
|
|
<tr class="separator:a63d18cf0e0dd0b36af20970bbc48f90d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab223bbd71f682625d2a63b8d7b10e4e2"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT <a class="el" href="class_qt_mvvm_1_1_binding.html">Binding</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#ab223bbd71f682625d2a63b8d7b10e4e2">bind</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> *viewModel, 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/qmetaproperty.html">QMetaProperty</a> &viewModelProperty, <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> *view, 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/qmetaproperty.html">QMetaProperty</a> &viewProperty, Binding::BindingDirection type=<a class="el" href="class_qt_mvvm_1_1_binding.html#a6a03a1d2ac1775e202aa7ae65fb76315a8248e753de211820e05f5b5e35ad9db8">Binding::TwoWay</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> &viewModelChangeSignal={}, 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> &viewChangeSignal={})</td></tr>
|
|
<tr class="memdesc:ab223bbd71f682625d2a63b8d7b10e4e2"><td class="mdescLeft"> </td><td class="mdescRight">Create a multidirectional binding between properties. <a href="#ab223bbd71f682625d2a63b8d7b10e4e2">More...</a><br /></td></tr>
|
|
<tr class="separator:ab223bbd71f682625d2a63b8d7b10e4e2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ada3398eab54e79982c27bb4b7d8e4b9f"><td class="memTemplParams" colspan="2"><a id="ada3398eab54e79982c27bb4b7d8e4b9f"></a>
|
|
template<typename TInterface > </td></tr>
|
|
<tr class="memitem:ada3398eab54e79982c27bb4b7d8e4b9f"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#ada3398eab54e79982c27bb4b7d8e4b9f">registerInterfaceConverter</a> ()</td></tr>
|
|
<tr class="memdesc:ada3398eab54e79982c27bb4b7d8e4b9f"><td class="mdescLeft"> </td><td class="mdescRight">Registers <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> converters from <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> to an interface type registered with Q_DECLARE_INTERFACE. <br /></td></tr>
|
|
<tr class="separator:ada3398eab54e79982c27bb4b7d8e4b9f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a01159343a4c5f5bf274f40e078c372e3"><td class="memItemLeft" align="right" valign="top">Q_MVVMDATASYNCQUICK_EXPORT void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#a01159343a4c5f5bf274f40e078c372e3">registerDataSyncQuick</a> ()</td></tr>
|
|
<tr class="memdesc:a01159343a4c5f5bf274f40e078c372e3"><td class="mdescLeft"> </td><td class="mdescRight">A method to initialize the datasync quick mvvm module. <a href="#a01159343a4c5f5bf274f40e078c372e3">More...</a><br /></td></tr>
|
|
<tr class="separator:a01159343a4c5f5bf274f40e078c372e3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a855b86a5eb06fae0469d91adc57b1b6d"><td class="memItemLeft" align="right" valign="top">Q_MVVMDATASYNCWIDGETS_EXPORT void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#a855b86a5eb06fae0469d91adc57b1b6d">registerDataSyncWidgets</a> ()</td></tr>
|
|
<tr class="memdesc:a855b86a5eb06fae0469d91adc57b1b6d"><td class="mdescLeft"> </td><td class="mdescRight">A method to initialize the datasync widgets mvvm module. <a href="#a855b86a5eb06fae0469d91adc57b1b6d">More...</a><br /></td></tr>
|
|
<tr class="separator:a855b86a5eb06fae0469d91adc57b1b6d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">Methods to show simple messageboxes (MessageConfig::TypeMessageBox)</div></td></tr>
|
|
<tr class="memitem:aa455b495d75883cc529f5a4c47d567d5"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT <a class="el" href="class_qt_mvvm_1_1_message_result.html">MessageResult</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#aa455b495d75883cc529f5a4c47d567d5">information</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> &title, 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> &text, 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> &okText={})</td></tr>
|
|
<tr class="memdesc:aa455b495d75883cc529f5a4c47d567d5"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show a simple information messagebox. <a href="#aa455b495d75883cc529f5a4c47d567d5">More...</a><br /></td></tr>
|
|
<tr class="separator:aa455b495d75883cc529f5a4c47d567d5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac8155e14de07ca5f8be60aeb0fc44097"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#ac8155e14de07ca5f8be60aeb0fc44097">information</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> &title, 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> &text, <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> *scope, const std::function< void()> &onResult, 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> &okText={})</td></tr>
|
|
<tr class="memdesc:ac8155e14de07ca5f8be60aeb0fc44097"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show a simple information messagebox. <a href="#ac8155e14de07ca5f8be60aeb0fc44097">More...</a><br /></td></tr>
|
|
<tr class="separator:ac8155e14de07ca5f8be60aeb0fc44097"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aadb5063d16059c5f096b822a5bbcd05b"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#aadb5063d16059c5f096b822a5bbcd05b">information</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> &title, 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> &text, const std::function< void()> &onResult, 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> &okText={})</td></tr>
|
|
<tr class="memdesc:aadb5063d16059c5f096b822a5bbcd05b"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show a simple information messagebox. <a href="#aadb5063d16059c5f096b822a5bbcd05b">More...</a><br /></td></tr>
|
|
<tr class="separator:aadb5063d16059c5f096b822a5bbcd05b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a356a9eaee03415624a0a11a501be1d49"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT <a class="el" href="class_qt_mvvm_1_1_message_result.html">MessageResult</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#a356a9eaee03415624a0a11a501be1d49">question</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> &title, 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> &text, 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> &yesText={}, 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> &noText={})</td></tr>
|
|
<tr class="memdesc:a356a9eaee03415624a0a11a501be1d49"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show a simple question messagebox. <a href="#a356a9eaee03415624a0a11a501be1d49">More...</a><br /></td></tr>
|
|
<tr class="separator:a356a9eaee03415624a0a11a501be1d49"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a67b7bf14aa4c0024af4105b8f9913357"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#a67b7bf14aa4c0024af4105b8f9913357">question</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> &title, 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> &text, <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> *scope, const std::function< void(bool)> &onResult, 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> &yesText={}, 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> &noText={})</td></tr>
|
|
<tr class="memdesc:a67b7bf14aa4c0024af4105b8f9913357"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show a simple question messagebox. <a href="#a67b7bf14aa4c0024af4105b8f9913357">More...</a><br /></td></tr>
|
|
<tr class="separator:a67b7bf14aa4c0024af4105b8f9913357"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5dce13c748f46cd04e24b7dad71d45d2"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#a5dce13c748f46cd04e24b7dad71d45d2">question</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> &title, 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> &text, const std::function< void(bool)> &onResult, 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> &yesText={}, 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> &noText={})</td></tr>
|
|
<tr class="memdesc:a5dce13c748f46cd04e24b7dad71d45d2"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show a simple question messagebox. <a href="#a5dce13c748f46cd04e24b7dad71d45d2">More...</a><br /></td></tr>
|
|
<tr class="separator:a5dce13c748f46cd04e24b7dad71d45d2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:afc3d66e8ff6416cd6faff0deda2248ae"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT <a class="el" href="class_qt_mvvm_1_1_message_result.html">MessageResult</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#afc3d66e8ff6416cd6faff0deda2248ae">warning</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> &title, 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> &text, 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> &okText={})</td></tr>
|
|
<tr class="memdesc:afc3d66e8ff6416cd6faff0deda2248ae"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show a simple warning messagebox. <a href="#afc3d66e8ff6416cd6faff0deda2248ae">More...</a><br /></td></tr>
|
|
<tr class="separator:afc3d66e8ff6416cd6faff0deda2248ae"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1809f1b3a0f3de7edde3f0a2963a4e33"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#a1809f1b3a0f3de7edde3f0a2963a4e33">warning</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> &title, 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> &text, <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> *scope, const std::function< void()> &onResult, 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> &okText={})</td></tr>
|
|
<tr class="memdesc:a1809f1b3a0f3de7edde3f0a2963a4e33"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show a simple warning messagebox. <a href="#a1809f1b3a0f3de7edde3f0a2963a4e33">More...</a><br /></td></tr>
|
|
<tr class="separator:a1809f1b3a0f3de7edde3f0a2963a4e33"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a135ab8ce6050a9a809d4c2d692f6d73a"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#a135ab8ce6050a9a809d4c2d692f6d73a">warning</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> &title, 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> &text, const std::function< void()> &onResult, 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> &okText={})</td></tr>
|
|
<tr class="memdesc:a135ab8ce6050a9a809d4c2d692f6d73a"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show a simple warning messagebox. <a href="#a135ab8ce6050a9a809d4c2d692f6d73a">More...</a><br /></td></tr>
|
|
<tr class="separator:a135ab8ce6050a9a809d4c2d692f6d73a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:adafd61fd34161741fa78cf3141f59e68"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT <a class="el" href="class_qt_mvvm_1_1_message_result.html">MessageResult</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#adafd61fd34161741fa78cf3141f59e68">critical</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> &title, 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> &text, 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> &okText={})</td></tr>
|
|
<tr class="memdesc:adafd61fd34161741fa78cf3141f59e68"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show a simple critical error messagebox. <a href="#adafd61fd34161741fa78cf3141f59e68">More...</a><br /></td></tr>
|
|
<tr class="separator:adafd61fd34161741fa78cf3141f59e68"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:abe0b5a2bea31b4a7684919a549de1a2f"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#abe0b5a2bea31b4a7684919a549de1a2f">critical</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> &title, 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> &text, <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> *scope, const std::function< void()> &onResult, 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> &okText={})</td></tr>
|
|
<tr class="memdesc:abe0b5a2bea31b4a7684919a549de1a2f"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show a simple critical error messagebox. <a href="#abe0b5a2bea31b4a7684919a549de1a2f">More...</a><br /></td></tr>
|
|
<tr class="separator:abe0b5a2bea31b4a7684919a549de1a2f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a84a581af765389fdaa6e0cd699bbabcd"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#a84a581af765389fdaa6e0cd699bbabcd">critical</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> &title, 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> &text, const std::function< void()> &onResult, 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> &okText={})</td></tr>
|
|
<tr class="memdesc:a84a581af765389fdaa6e0cd699bbabcd"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show a simple critical error messagebox. <a href="#a84a581af765389fdaa6e0cd699bbabcd">More...</a><br /></td></tr>
|
|
<tr class="separator:a84a581af765389fdaa6e0cd699bbabcd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6a668c8af9c38f98a7cb79a1bdc48273"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT <a class="el" href="class_qt_mvvm_1_1_message_result.html">MessageResult</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#a6a668c8af9c38f98a7cb79a1bdc48273">about</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> &description, 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/qurl.html">QUrl</a> &websiteUrl=<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/qurl.html">QUrl</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> &licenseName=<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>(), 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/qurl.html">QUrl</a> &licenseUrl=<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/qurl.html">QUrl</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> &companyName=<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>(), bool addQtVersion=true, 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/qstringlist.html">QStringList</a> &extraTopInfos=<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/qstringlist.html">QStringList</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> &extraBottomInfos=<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></tr>
|
|
<tr class="memdesc:a6a668c8af9c38f98a7cb79a1bdc48273"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show a rich but simple about dialog. <a href="#a6a668c8af9c38f98a7cb79a1bdc48273">More...</a><br /></td></tr>
|
|
<tr class="separator:a6a668c8af9c38f98a7cb79a1bdc48273"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">Methods to show simple input dialogs (MessageConfig::TypeInputDialog)</div></td></tr>
|
|
<tr class="memitem:a16ece10b0a810b7f8ea4a8e2c2dadebd"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT <a class="el" href="class_qt_mvvm_1_1_message_result.html">MessageResult</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#a16ece10b0a810b7f8ea4a8e2c2dadebd">getInput</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> &title, 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> &text, const char *inputType, 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 QVariantMap &viewProperties={}, 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> &okText={}, 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> &cancelText={})</td></tr>
|
|
<tr class="memdesc:a16ece10b0a810b7f8ea4a8e2c2dadebd"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show an input dialog based of a type name. <a href="#a16ece10b0a810b7f8ea4a8e2c2dadebd">More...</a><br /></td></tr>
|
|
<tr class="separator:a16ece10b0a810b7f8ea4a8e2c2dadebd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a662794b68ee03f39846b10d815bb2a2d"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#a662794b68ee03f39846b10d815bb2a2d">getInput</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> &title, 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> &text, const char *inputType, <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> *scope, const std::function< void(<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>)> &onResult, 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 QVariantMap &viewProperties={}, 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> &okText={}, 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> &cancelText={})</td></tr>
|
|
<tr class="memdesc:a662794b68ee03f39846b10d815bb2a2d"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show an input dialog based of a type name. <a href="#a662794b68ee03f39846b10d815bb2a2d">More...</a><br /></td></tr>
|
|
<tr class="separator:a662794b68ee03f39846b10d815bb2a2d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a605a0297c214690febe812ae79ac2766"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#a605a0297c214690febe812ae79ac2766">getInput</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> &title, 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> &text, const char *inputType, const std::function< void(<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>)> &onResult, 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 QVariantMap &viewProperties={}, 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> &okText={}, 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> &cancelText={})</td></tr>
|
|
<tr class="memdesc:a605a0297c214690febe812ae79ac2766"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show an input dialog based of a type name. <a href="#a605a0297c214690febe812ae79ac2766">More...</a><br /></td></tr>
|
|
<tr class="separator:a605a0297c214690febe812ae79ac2766"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a91e7b6553955df637905a0b25c407d53"><td class="memTemplParams" colspan="2">template<typename TEdit > </td></tr>
|
|
<tr class="memitem:a91e7b6553955df637905a0b25c407d53"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="class_qt_mvvm_1_1_message_result.html">MessageResult</a> * </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#a91e7b6553955df637905a0b25c407d53">getInput</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> &title, 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> &text, const TEdit &defaultValue={}, const QVariantMap &viewProperties={}, 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> &okText={}, 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> &cancelText={})</td></tr>
|
|
<tr class="memdesc:a91e7b6553955df637905a0b25c407d53"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show an input dialog based of a type as generic parameter. <a href="#a91e7b6553955df637905a0b25c407d53">More...</a><br /></td></tr>
|
|
<tr class="separator:a91e7b6553955df637905a0b25c407d53"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae1ab1ac92c789c0e86cffc51dff5feb9"><td class="memTemplParams" colspan="2">template<typename TEdit > </td></tr>
|
|
<tr class="memitem:ae1ab1ac92c789c0e86cffc51dff5feb9"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#ae1ab1ac92c789c0e86cffc51dff5feb9">getInput</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> &title, 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> &text, <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> *scope, const std::function< void(TEdit, bool)> &onResult, const TEdit &defaultValue={}, const QVariantMap &viewProperties={}, 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> &okText={}, 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> &cancelText={})</td></tr>
|
|
<tr class="memdesc:ae1ab1ac92c789c0e86cffc51dff5feb9"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show an input dialog based of a type as generic parameter. <a href="#ae1ab1ac92c789c0e86cffc51dff5feb9">More...</a><br /></td></tr>
|
|
<tr class="separator:ae1ab1ac92c789c0e86cffc51dff5feb9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4a4b847812a5bfd8fb2b0d2e126302e0"><td class="memTemplParams" colspan="2">template<typename TEdit > </td></tr>
|
|
<tr class="memitem:a4a4b847812a5bfd8fb2b0d2e126302e0"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#a4a4b847812a5bfd8fb2b0d2e126302e0">getInput</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> &title, 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> &text, const std::function< void(TEdit, bool)> &onResult, const TEdit &defaultValue={}, const QVariantMap &viewProperties={}, 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> &okText={}, 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> &cancelText={})</td></tr>
|
|
<tr class="memdesc:a4a4b847812a5bfd8fb2b0d2e126302e0"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show an input dialog based of a type as generic parameter. <a href="#a4a4b847812a5bfd8fb2b0d2e126302e0">More...</a><br /></td></tr>
|
|
<tr class="separator:a4a4b847812a5bfd8fb2b0d2e126302e0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">Methods to show simple file dialogs (MessageConfig::TypeFileDialog)</div></td></tr>
|
|
<tr class="memitem:a8f6889d8a2501931cb930b37ef1f0f98"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT <a class="el" href="class_qt_mvvm_1_1_message_result.html">MessageResult</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#a8f6889d8a2501931cb930b37ef1f0f98">getExistingDirectory</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> &title={}, 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/qurl.html">QUrl</a> &dir={})</td></tr>
|
|
<tr class="memdesc:a8f6889d8a2501931cb930b37ef1f0f98"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show a file dialog to select an existing directory. <a href="#a8f6889d8a2501931cb930b37ef1f0f98">More...</a><br /></td></tr>
|
|
<tr class="separator:a8f6889d8a2501931cb930b37ef1f0f98"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad83f10422524cc7efb68dfe135c869c9"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#ad83f10422524cc7efb68dfe135c869c9">getExistingDirectory</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> *scope, const std::function< void(<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/qurl.html">QUrl</a>)> &onResult, 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> &title={}, 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/qurl.html">QUrl</a> &dir={})</td></tr>
|
|
<tr class="memdesc:ad83f10422524cc7efb68dfe135c869c9"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show a file dialog to select an existing directory. <a href="#ad83f10422524cc7efb68dfe135c869c9">More...</a><br /></td></tr>
|
|
<tr class="separator:ad83f10422524cc7efb68dfe135c869c9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a690412edda12117ebf96f915886baa8a"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#a690412edda12117ebf96f915886baa8a">getExistingDirectory</a> (const std::function< void(<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/qurl.html">QUrl</a>)> &onResult, 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> &title={}, 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/qurl.html">QUrl</a> &dir={})</td></tr>
|
|
<tr class="memdesc:a690412edda12117ebf96f915886baa8a"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show a file dialog to select an existing directory. <a href="#a690412edda12117ebf96f915886baa8a">More...</a><br /></td></tr>
|
|
<tr class="separator:a690412edda12117ebf96f915886baa8a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1567e3d6c664b42dfafee8cfbf5ee789"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT <a class="el" href="class_qt_mvvm_1_1_message_result.html">MessageResult</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#a1567e3d6c664b42dfafee8cfbf5ee789">getOpenFile</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> &title={}, 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/qstringlist.html">QStringList</a> &supportedMimeTypes={}, 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/qurl.html">QUrl</a> &dir={})</td></tr>
|
|
<tr class="memdesc:a1567e3d6c664b42dfafee8cfbf5ee789"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show a file dialog to select an existing file. <a href="#a1567e3d6c664b42dfafee8cfbf5ee789">More...</a><br /></td></tr>
|
|
<tr class="separator:a1567e3d6c664b42dfafee8cfbf5ee789"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a71982237503aafaffed8ee206bfb905e"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#a71982237503aafaffed8ee206bfb905e">getOpenFile</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> *scope, const std::function< void(<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/qurl.html">QUrl</a>)> &onResult, 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> &title={}, 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/qstringlist.html">QStringList</a> &supportedMimeTypes={}, 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/qurl.html">QUrl</a> &dir={})</td></tr>
|
|
<tr class="memdesc:a71982237503aafaffed8ee206bfb905e"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show a file dialog to select an existing file. <a href="#a71982237503aafaffed8ee206bfb905e">More...</a><br /></td></tr>
|
|
<tr class="separator:a71982237503aafaffed8ee206bfb905e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a616173566b53b8ab1b8b761795b9a1da"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#a616173566b53b8ab1b8b761795b9a1da">getOpenFile</a> (const std::function< void(<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/qurl.html">QUrl</a>)> &onResult, 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> &title={}, 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/qstringlist.html">QStringList</a> &supportedMimeTypes={}, 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/qurl.html">QUrl</a> &dir={})</td></tr>
|
|
<tr class="memdesc:a616173566b53b8ab1b8b761795b9a1da"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show a file dialog to select an existing file. <a href="#a616173566b53b8ab1b8b761795b9a1da">More...</a><br /></td></tr>
|
|
<tr class="separator:a616173566b53b8ab1b8b761795b9a1da"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a48aa33f9cc2ccf23a6ab12dc777380d4"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT <a class="el" href="class_qt_mvvm_1_1_message_result.html">MessageResult</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#a48aa33f9cc2ccf23a6ab12dc777380d4">getOpenFiles</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> &title={}, 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/qstringlist.html">QStringList</a> &supportedMimeTypes={}, 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/qurl.html">QUrl</a> &dir={})</td></tr>
|
|
<tr class="memdesc:a48aa33f9cc2ccf23a6ab12dc777380d4"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show a file dialog to select multiple existing files. <a href="#a48aa33f9cc2ccf23a6ab12dc777380d4">More...</a><br /></td></tr>
|
|
<tr class="separator:a48aa33f9cc2ccf23a6ab12dc777380d4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a040c980afded86e1a1bcc034d6396e22"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#a040c980afded86e1a1bcc034d6396e22">getOpenFiles</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> *scope, const std::function< void(<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/qurl.html">QUrl</a> >)> &onResult, 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> &title={}, 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/qstringlist.html">QStringList</a> &supportedMimeTypes={}, 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/qurl.html">QUrl</a> &dir={})</td></tr>
|
|
<tr class="memdesc:a040c980afded86e1a1bcc034d6396e22"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show a file dialog to select multiple existing files. <a href="#a040c980afded86e1a1bcc034d6396e22">More...</a><br /></td></tr>
|
|
<tr class="separator:a040c980afded86e1a1bcc034d6396e22"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a655db3ae60f9f66112542348f1382c91"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#a655db3ae60f9f66112542348f1382c91">getOpenFiles</a> (const std::function< void(<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/qurl.html">QUrl</a> >)> &onResult, 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> &title={}, 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/qstringlist.html">QStringList</a> &supportedMimeTypes={}, 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/qurl.html">QUrl</a> &dir={})</td></tr>
|
|
<tr class="memdesc:a655db3ae60f9f66112542348f1382c91"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show a file dialog to select multiple existing files. <a href="#a655db3ae60f9f66112542348f1382c91">More...</a><br /></td></tr>
|
|
<tr class="separator:a655db3ae60f9f66112542348f1382c91"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af4a7cfc37c449b39e324cc29049de30d"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT <a class="el" href="class_qt_mvvm_1_1_message_result.html">MessageResult</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#af4a7cfc37c449b39e324cc29049de30d">getSaveFile</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> &title={}, 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/qstringlist.html">QStringList</a> &supportedMimeTypes={}, 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/qurl.html">QUrl</a> &dir={})</td></tr>
|
|
<tr class="memdesc:af4a7cfc37c449b39e324cc29049de30d"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show a file dialog to select a new file for saving. <a href="#af4a7cfc37c449b39e324cc29049de30d">More...</a><br /></td></tr>
|
|
<tr class="separator:af4a7cfc37c449b39e324cc29049de30d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6ae01f5bd284d7b2bcbb535480e1ad44"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#a6ae01f5bd284d7b2bcbb535480e1ad44">getSaveFile</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> *scope, const std::function< void(<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/qurl.html">QUrl</a>)> &onResult, 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> &title={}, 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/qstringlist.html">QStringList</a> &supportedMimeTypes={}, 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/qurl.html">QUrl</a> &dir={})</td></tr>
|
|
<tr class="memdesc:a6ae01f5bd284d7b2bcbb535480e1ad44"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show a file dialog to select a new file for saving. <a href="#a6ae01f5bd284d7b2bcbb535480e1ad44">More...</a><br /></td></tr>
|
|
<tr class="separator:a6ae01f5bd284d7b2bcbb535480e1ad44"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a63494057897be0941ce1b718b8f3c4a9"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#a63494057897be0941ce1b718b8f3c4a9">getSaveFile</a> (const std::function< void(<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/qurl.html">QUrl</a>)> &onResult, 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> &title={}, 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/qstringlist.html">QStringList</a> &supportedMimeTypes={}, 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/qurl.html">QUrl</a> &dir={})</td></tr>
|
|
<tr class="memdesc:a63494057897be0941ce1b718b8f3c4a9"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show a file dialog to select a new file for saving. <a href="#a63494057897be0941ce1b718b8f3c4a9">More...</a><br /></td></tr>
|
|
<tr class="separator:a63494057897be0941ce1b718b8f3c4a9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">Methods to show simple color dialogs (MessageConfig::TypeColorDialog)</div></td></tr>
|
|
<tr class="memitem:a43005879ba883058bcdfeb62f45bcdda"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT <a class="el" href="class_qt_mvvm_1_1_message_result.html">MessageResult</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#a43005879ba883058bcdfeb62f45bcdda">getColor</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> &title={}, const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtgui/qtgui.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qcolor.html">QColor</a> &color={}, bool argb=false)</td></tr>
|
|
<tr class="memdesc:a43005879ba883058bcdfeb62f45bcdda"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show a color dialog to select a color. <a href="#a43005879ba883058bcdfeb62f45bcdda">More...</a><br /></td></tr>
|
|
<tr class="separator:a43005879ba883058bcdfeb62f45bcdda"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4e71d967990411bddd67efacb10119da"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#a4e71d967990411bddd67efacb10119da">getColor</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> *scope, const std::function< void(<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtgui/qtgui.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qcolor.html">QColor</a>)> &onResult, 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> &title={}, const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtgui/qtgui.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qcolor.html">QColor</a> &color={}, bool argb=false)</td></tr>
|
|
<tr class="memdesc:a4e71d967990411bddd67efacb10119da"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show a color dialog to select a color. <a href="#a4e71d967990411bddd67efacb10119da">More...</a><br /></td></tr>
|
|
<tr class="separator:a4e71d967990411bddd67efacb10119da"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a97363c6841b94e54c7c10d7058de010f"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#a97363c6841b94e54c7c10d7058de010f">getColor</a> (const std::function< void(<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtgui/qtgui.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qcolor.html">QColor</a>)> &onResult, 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> &title={}, const <a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtgui/qtgui.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qcolor.html">QColor</a> &color={}, bool argb=false)</td></tr>
|
|
<tr class="memdesc:a97363c6841b94e54c7c10d7058de010f"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show a color dialog to select a color. <a href="#a97363c6841b94e54c7c10d7058de010f">More...</a><br /></td></tr>
|
|
<tr class="separator:a97363c6841b94e54c7c10d7058de010f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">Methods to show simple progress dialogs (MessageConfig::TypeProgressDialog)</div></td></tr>
|
|
<tr class="memitem:a2ea74c753e84d664012feb79d37a059b"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT <a class="el" href="class_qt_mvvm_1_1_message_result.html">MessageResult</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#a2ea74c753e84d664012feb79d37a059b">showProgress</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> &title, 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> &label, <a class="el" href="class_qt_mvvm_1_1_progress_control.html">ProgressControl</a> *control, bool allowCancel=true, bool isBusy=false, 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> &cancelText={})</td></tr>
|
|
<tr class="memdesc:a2ea74c753e84d664012feb79d37a059b"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show a general progress dialog. <a href="#a2ea74c753e84d664012feb79d37a059b">More...</a><br /></td></tr>
|
|
<tr class="separator:a2ea74c753e84d664012feb79d37a059b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a44667254026b2ba5da3bf6f2237ec263"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT <a class="el" href="class_qt_mvvm_1_1_progress_control.html">ProgressControl</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#a44667254026b2ba5da3bf6f2237ec263">showProgress</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> *scope, 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> &title={}, 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> &label={}, int maximum=100, int minimum=0, bool allowCancel=true, int value=0, 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> &cancelText={})</td></tr>
|
|
<tr class="memdesc:a44667254026b2ba5da3bf6f2237ec263"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show a standard progress dialog. <a href="#a44667254026b2ba5da3bf6f2237ec263">More...</a><br /></td></tr>
|
|
<tr class="separator:a44667254026b2ba5da3bf6f2237ec263"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acdc74a1ec3c51a205640faadaab014b4"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT <a class="el" href="class_qt_mvvm_1_1_progress_control.html">ProgressControl</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#acdc74a1ec3c51a205640faadaab014b4">showProgress</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> &title={}, 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> &label={}, int maximum=100, int minimum=0, bool allowCancel=true, int value=0, 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> &cancelText={})</td></tr>
|
|
<tr class="memdesc:acdc74a1ec3c51a205640faadaab014b4"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show a standard progress dialog. <a href="#acdc74a1ec3c51a205640faadaab014b4">More...</a><br /></td></tr>
|
|
<tr class="separator:acdc74a1ec3c51a205640faadaab014b4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad5a924ba1d214f8f1f19fbe270a2248b"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT <a class="el" href="class_qt_mvvm_1_1_progress_control.html">ProgressControl</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#ad5a924ba1d214f8f1f19fbe270a2248b">showIndeterminateProgress</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> *scope, 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> &title={}, 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> &label={}, bool allowCancel=true, 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> &cancelText={})</td></tr>
|
|
<tr class="memdesc:ad5a924ba1d214f8f1f19fbe270a2248b"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show an indetermiante progress dialog. <a href="#ad5a924ba1d214f8f1f19fbe270a2248b">More...</a><br /></td></tr>
|
|
<tr class="separator:ad5a924ba1d214f8f1f19fbe270a2248b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a378387f14d434a177ee9895f86b1b0d9"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT <a class="el" href="class_qt_mvvm_1_1_progress_control.html">ProgressControl</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#a378387f14d434a177ee9895f86b1b0d9">showIndeterminateProgress</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> &title={}, 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> &label={}, bool allowCancel=true, 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> &cancelText={})</td></tr>
|
|
<tr class="memdesc:a378387f14d434a177ee9895f86b1b0d9"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show an indetermiante progress dialog. <a href="#a378387f14d434a177ee9895f86b1b0d9">More...</a><br /></td></tr>
|
|
<tr class="separator:a378387f14d434a177ee9895f86b1b0d9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acfc8b840bbb75e688dced479510d9b98"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT <a class="el" href="class_qt_mvvm_1_1_progress_control.html">ProgressControl</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#acfc8b840bbb75e688dced479510d9b98">showBusy</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> *scope, 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> &title={}, 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> &label={}, bool allowCancel=true, 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> &cancelText={})</td></tr>
|
|
<tr class="memdesc:acfc8b840bbb75e688dced479510d9b98"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show a busy indicator dialog. <a href="#acfc8b840bbb75e688dced479510d9b98">More...</a><br /></td></tr>
|
|
<tr class="separator:acfc8b840bbb75e688dced479510d9b98"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6a4f7a85680e6565241aefc94b53037f"><td class="memItemLeft" align="right" valign="top">Q_MVVMCORE_EXPORT <a class="el" href="class_qt_mvvm_1_1_progress_control.html">ProgressControl</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_qt_mvvm.html#a6a4f7a85680e6565241aefc94b53037f">showBusy</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> &title={}, 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> &label={}, bool allowCancel=true, 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> &cancelText={})</td></tr>
|
|
<tr class="memdesc:a6a4f7a85680e6565241aefc94b53037f"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to show a busy indicator dialog. <a href="#a6a4f7a85680e6565241aefc94b53037f">More...</a><br /></td></tr>
|
|
<tr class="separator:a6a4f7a85680e6565241aefc94b53037f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>The primary namespace of the <a class="el" href="namespace_qt_mvvm.html" title="The primary namespace of the QtMvvm library. ">QtMvvm</a> library. </p>
|
|
<p>The following list shows which classes belong to which <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">Qt</a> module, in alphabetical order:</p>
|
|
<ul>
|
|
<li>QtMvvmCore:<ul>
|
|
<li><a class="el" href="class_qt_mvvm_1_1_binding.html" title="A handle to a multidirectional binding between properties. ">Binding</a></li>
|
|
<li><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></li>
|
|
<li><a class="el" href="class_qt_mvvm_1_1_i_presenter.html" title="The interface for a GUI view presenter. ">IPresenter</a></li>
|
|
<li><a class="el" href="class_qt_mvvm_1_1_i_settings_setup_loader.html" title="An interface for a generic settings setup loader. ">ISettingsSetupLoader</a></li>
|
|
<li><a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a></li>
|
|
<li><a class="el" href="class_qt_mvvm_1_1_message_result.html" title="A result watcher to get the result once a dialog has finished. ">MessageResult</a></li>
|
|
<li><a class="el" href="class_qt_mvvm_1_1_presenter_exception.html" title="An exception to be thrown from the presenter if presenting fails. ">PresenterException</a></li>
|
|
<li><a class="el" href="class_qt_mvvm_1_1_service_construction_exception.html" title="Is thrown in case the construction of a service has failed. ">ServiceConstructionException</a></li>
|
|
<li><a class="el" href="class_qt_mvvm_1_1_service_dependency_exception.html" title="Is thrown if a service could not be created because of a missing dependency to be injected...">ServiceDependencyException</a></li>
|
|
<li><a class="el" href="class_qt_mvvm_1_1_service_exists_exception.html" title="Is thrown if a service is beeing registered that is already registered. ">ServiceExistsException</a></li>
|
|
<li><a class="el" href="class_qt_mvvm_1_1_service_registry.html" title="A singleton to prepare services for dependency injection and to access them. ">ServiceRegistry</a></li>
|
|
<li><a class="el" href="class_qt_mvvm_1_1_settings_loader_exception.html" title="An exception throw in case loading a settings setup went wrong. ">SettingsLoaderException</a></li>
|
|
<li><a class="el" href="class_qt_mvvm_1_1_settings_view_model.html" title="A ViewModel for a generic settings dialog based of an XML settings file. ">SettingsViewModel</a></li>
|
|
<li><a class="el" href="class_qt_mvvm_1_1_view_model.html" title="The base class for all viewmodels. ">ViewModel</a></li>
|
|
<li>All Methods not explicitly listed</li>
|
|
<li>QML import: <a class="el" href="namespacede_1_1skycoder42_1_1_qt_mvvm_1_1_core.html">de.skycoder42.QtMvvm.Core</a></li>
|
|
</ul>
|
|
</li>
|
|
<li>QtMvvmWidgets:<ul>
|
|
<li><a class="el" href="class_qt_mvvm_1_1_input_widget_factory.html" title="A factory class to generate input edit widgets by their type names. ">InputWidgetFactory</a></li>
|
|
<li><a class="el" href="class_qt_mvvm_1_1_i_presenting_view.html" title="A simple interface to make it possible for any view to present subviews. ">IPresentingView</a></li>
|
|
<li><a class="el" href="class_qt_mvvm_1_1_settings_dialog.html" title="The widgets view implementation for the SettingsViewModel. ">SettingsDialog</a></li>
|
|
<li><a class="el" href="class_qt_mvvm_1_1_widgets_presenter.html" title="The IPresenter implementation for the widgets module. ">WidgetsPresenter</a></li>
|
|
</ul>
|
|
</li>
|
|
<li>QtMvvmQuick:<ul>
|
|
<li><a class="el" href="class_qt_mvvm_1_1_input_view_factory.html" title="A factory class to generate input edit views by their type names. ">InputViewFactory</a></li>
|
|
<li><a class="el" href="class_qt_mvvm_1_1_quick_presenter.html" title="The IPresenter implementation for the quick module. ">QuickPresenter</a></li>
|
|
<li>QML import: <a class="el" href="namespacede_1_1skycoder42_1_1_qt_mvvm_1_1_quick.html">de.skycoder42.QtMvvm.Quick</a></li>
|
|
</ul>
|
|
</li>
|
|
<li>QtMvvmDataSyncCore:<ul>
|
|
<li><a class="el" href="class_qt_mvvm_1_1_account_model.html" title="A list model implementation for QtDataSync::DeviceInfo via a QtDataSync::AccountManager. ">AccountModel</a></li>
|
|
<li><a class="el" href="class_qt_mvvm_1_1_data_sync_view_model.html" title="A viewmodel to show a overview of the datasync status and account. ">DataSyncViewModel</a></li>
|
|
<li><a class="el" href="class_qt_mvvm_1_1_exchange_devices_model.html" title="A list model implementation to show all devices available by the QtDataSync::UserExchangeManager. ">ExchangeDevicesModel</a></li>
|
|
<li><a class="el" href="class_qt_mvvm_1_1_network_exchange_view_model.html" title="A viewmodel to show a dialog to exchange account data via the QtDataSync::UserExchangeManager. ">NetworkExchangeViewModel</a></li>
|
|
<li>QML import: <a class="el" href="namespacede_1_1skycoder42_1_1_qt_mvvm_1_1_data_sync_1_1_core.html">de.skycoder42.QtMvvm.DataSync.Core</a></li>
|
|
</ul>
|
|
</li>
|
|
<li>QtMvvmDataSyncWidgets:<ul>
|
|
<li><a class="el" href="class_qt_mvvm_1_1_data_sync_window.html" title="The widgets view implementation for the DataSyncViewModel. ">DataSyncWindow</a></li>
|
|
<li><a class="el" href="class_qt_mvvm_1_1_network_exchange_window.html" title="The widgets view implementation for the NetworkExchangeViewModel. ">NetworkExchangeWindow</a></li>
|
|
<li><a class="el" href="namespace_qt_mvvm.html#a855b86a5eb06fae0469d91adc57b1b6d" title="A method to initialize the datasync widgets mvvm module. ">registerDataSyncWidgets()</a></li>
|
|
</ul>
|
|
</li>
|
|
<li>QtMvvmDataSyncQuick:<ul>
|
|
<li><a class="el" href="namespace_qt_mvvm.html#a01159343a4c5f5bf274f40e078c372e3" title="A method to initialize the datasync quick mvvm module. ">registerDataSyncQuick()</a></li>
|
|
<li>QML import: <a class="el" href="namespacede_1_1skycoder42_1_1_qt_mvvm_1_1_data_sync_1_1_quick.html">de.skycoder42.QtMvvm.DataSync.Quick</a> </li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div><h2 class="groupheader">Function Documentation</h2>
|
|
<a id="a6a668c8af9c38f98a7cb79a1bdc48273"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6a668c8af9c38f98a7cb79a1bdc48273">◆ </a></span>about()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::about </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>description</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/qurl.html">QUrl</a> & </td>
|
|
<td class="paramname"><em>websiteUrl</em> = <code><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/qurl.html">QUrl</a>()</code>, </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>licenseName</em> = <code><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>()</code>, </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/qurl.html">QUrl</a> & </td>
|
|
<td class="paramname"><em>licenseUrl</em> = <code><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/qurl.html">QUrl</a>()</code>, </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>companyName</em> = <code><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>()</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>addQtVersion</em> = <code>true</code>, </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/qstringlist.html">QStringList</a> & </td>
|
|
<td class="paramname"><em>extraTopInfos</em> = <code><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/qstringlist.html">QStringList</a>()</code>, </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>extraBottomInfos</em> = <code><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>()</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show a rich but simple about dialog. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">description</td><td>A short descriptive text what your application is all about </td></tr>
|
|
<tr><td class="paramname">websiteUrl</td><td>The URL to your website </td></tr>
|
|
<tr><td class="paramname">licenseName</td><td>The name of the License you are using </td></tr>
|
|
<tr><td class="paramname">licenseUrl</td><td>A URL to an online (or offline) variant of the license to read for the user </td></tr>
|
|
<tr><td class="paramname">companyName</td><td>The name of your company or your name as creator of the application </td></tr>
|
|
<tr><td class="paramname">addQtVersion</td><td>Specify whether 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/qt.html">Qt</a> Version should be visible as part of the about dialog </td></tr>
|
|
<tr><td class="paramname">extraTopInfos</td><td>Additional short texts to be shown below the version </td></tr>
|
|
<tr><td class="paramname">extraBottomInfos</td><td>An additional text to be shown at the bottom of the dialog</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Creates an advanced about dialog out of all of this information in an organized manner. The <code>extraTopInfos</code> are ment as short extra information about configurations etc, for example a specific plattform plugin used, as selected style or further important links. The <code>extraBottomInfos</code> can be a long and rich text with anything else you want to put in the about dialog that is not applicabale for the previous part (for example a list of contributers).</p>
|
|
<dl class="section note"><dt>Note</dt><dd>All the texts can be richtext (HTML). But be aware that they are already beeing wrapped in <code><p></p></code> blocks. Furthermore, QML only supports a small subset of HTML in the default text mode that is used.</dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="namespace_qt_mvvm.html#aa455b495d75883cc529f5a4c47d567d5" title="A shortcut to show a simple information messagebox. ">QtMvvm::information</a>, <a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="affee350f1bec121b95759bb02a4df50f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#affee350f1bec121b95759bb02a4df50f">◆ </a></span>bind() <span class="overload">[1/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::bind </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><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="paramname"><em>viewModel</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>viewModelProperty</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><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="paramname"><em>view</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>viewProperty</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Binding::BindingDirection </td>
|
|
<td class="paramname"><em>type</em> = <code><a class="el" href="class_qt_mvvm_1_1_binding.html#a6a03a1d2ac1775e202aa7ae65fb76315a8248e753de211820e05f5b5e35ad9db8">Binding::TwoWay</a></code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>viewModelChangeSignal</em> = <code>nullptr</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>viewChangeSignal</em> = <code>nullptr</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Create a multidirectional binding between properties. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">viewModel</td><td>The object in the role of a viewmodel </td></tr>
|
|
<tr><td class="paramname">viewModelProperty</td><td>The property of the viewmodel to use in the binding </td></tr>
|
|
<tr><td class="paramname">view</td><td>The object in the role of a view </td></tr>
|
|
<tr><td class="paramname">viewProperty</td><td>The property of the view to use in the binding </td></tr>
|
|
<tr><td class="paramname">type</td><td>The type/direction of binding to create </td></tr>
|
|
<tr><td class="paramname">viewModelChangeSignal</td><td>An alternative signal to be used instead of the viewModelProperty notify signal to detect property changes </td></tr>
|
|
<tr><td class="paramname">viewChangeSignal</td><td>An alternative signal to be used instead of the viewProperty notify signal to detect property changes </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>A handle to the newly created binding, or an invalid handle on errors</dd></dl>
|
|
<p>The methods creates a binding similar to the QML bindings, but it is possible to create two-way bindings with this method as well. A binding means that whenever a property changes, the property it is bound to is updated to the changed value as well.</p>
|
|
<div class="fragment"><div class="line"><span class="comment">//sample usage</span></div><div class="line"><a class="code" href="namespace_qt_mvvm.html#affee350f1bec121b95759bb02a4df50f">QtMvvm::bind</a>(this->viewModel, <span class="stringliteral">"name"</span>, <span class="comment">// A viewmodel that has a property named "name"</span></div><div class="line"> ui->nameLabel, <span class="stringliteral">"text"</span>); <span class="comment">// A view (for example a QLabel) that has a property named "text"</span></div><div class="line"><span class="comment">//any changes to "name" will update "text" and the other way around</span></div></div><!-- fragment --><p>To control the directions, i.e. which properties should trigger an update on changes and which only get updated, use the <code>type</code> parameter.</p>
|
|
<dl class="section attention"><dt>Attention</dt><dd>Unlike the QML variant, this binding <b>does not handle binding loops</b>. THis means if you use a two way binding, make shure change signals are only emitted when the value does actually change. Otherwise your application is caught up in a binding loop and will eventually crash. Using two seperate one way bindings will not prevent this.</dd></dl>
|
|
<p>If the properties you want to use don't have a change signal or you don't want to use that signal, you can use the <code>viewModelChangeSignal</code> and <code>viewChangeSignal</code> to overwrite the signal to be used. Please note that you must specify the full signal signature. For example, the signatur of the signal <code>void foo(const QString &bar);</code> has the signature <code>foo(QString)</code>. See <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> for more details. If you leave the parameter out or set it to <code>nullptr</code> (or <code>{}</code>, an invalid meta method) the notify signals of the properties are used.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_binding.html" title="A handle to a multidirectional binding between properties. ">Binding</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a63d18cf0e0dd0b36af20970bbc48f90d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a63d18cf0e0dd0b36af20970bbc48f90d">◆ </a></span>bind() <span class="overload">[2/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Q_MVVMCORE_EXPORT <a class="el" href="class_qt_mvvm_1_1_binding.html">Binding</a> QtMvvm::bind </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><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="paramname"><em>viewModel</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/qmetaproperty.html">QMetaProperty</a> & </td>
|
|
<td class="paramname"><em>viewModelProperty</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><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="paramname"><em>view</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/qmetaproperty.html">QMetaProperty</a> & </td>
|
|
<td class="paramname"><em>viewProperty</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Binding::BindingDirection </td>
|
|
<td class="paramname"><em>type</em> = <code><a class="el" href="class_qt_mvvm_1_1_binding.html#a6a03a1d2ac1775e202aa7ae65fb76315a8248e753de211820e05f5b5e35ad9db8">Binding::TwoWay</a></code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>viewModelChangeSignal</em> = <code>nullptr</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>viewChangeSignal</em> = <code>nullptr</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Create a multidirectional binding between properties. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">viewModel</td><td>The object in the role of a viewmodel </td></tr>
|
|
<tr><td class="paramname">viewModelProperty</td><td>The property of the viewmodel to use in the binding </td></tr>
|
|
<tr><td class="paramname">view</td><td>The object in the role of a view </td></tr>
|
|
<tr><td class="paramname">viewProperty</td><td>The property of the view to use in the binding </td></tr>
|
|
<tr><td class="paramname">type</td><td>The type/direction of binding to create </td></tr>
|
|
<tr><td class="paramname">viewModelChangeSignal</td><td>An alternative signal to be used instead of the viewModelProperty notify signal to detect property changes </td></tr>
|
|
<tr><td class="paramname">viewChangeSignal</td><td>An alternative signal to be used instead of the viewProperty notify signal to detect property changes </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>A handle to the newly created binding, or an invalid handle on errors</dd></dl>
|
|
<p>The methods creates a binding similar to the QML bindings, but it is possible to create two-way bindings with this method as well. A binding means that whenever a property changes, the property it is bound to is updated to the changed value as well.</p>
|
|
<div class="fragment"><div class="line"><span class="comment">//sample usage</span></div><div class="line"><a class="code" href="namespace_qt_mvvm.html#affee350f1bec121b95759bb02a4df50f">QtMvvm::bind</a>(this->viewModel, <span class="stringliteral">"name"</span>, <span class="comment">// A viewmodel that has a property named "name"</span></div><div class="line"> ui->nameLabel, <span class="stringliteral">"text"</span>); <span class="comment">// A view (for example a QLabel) that has a property named "text"</span></div><div class="line"><span class="comment">//any changes to "name" will update "text" and the other way around</span></div></div><!-- fragment --><p>To control the directions, i.e. which properties should trigger an update on changes and which only get updated, use the <code>type</code> parameter.</p>
|
|
<dl class="section attention"><dt>Attention</dt><dd>Unlike the QML variant, this binding <b>does not handle binding loops</b>. THis means if you use a two way binding, make shure change signals are only emitted when the value does actually change. Otherwise your application is caught up in a binding loop and will eventually crash. Using two seperate one way bindings will not prevent this.</dd></dl>
|
|
<p>If the properties you want to use don't have a change signal or you don't want to use that signal, you can use the <code>viewModelChangeSignal</code> and <code>viewChangeSignal</code> to overwrite the signal to be used. Please note that you must specify the full signal signature. For example, the signatur of the signal <code>void foo(const QString &bar);</code> has the signature <code>foo(QString)</code>. See <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> for more details. If you leave the parameter out or set it to <code>nullptr</code> (or <code>{}</code>, an invalid meta method) the notify signals of the properties are used.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_binding.html" title="A handle to a multidirectional binding between properties. ">Binding</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab223bbd71f682625d2a63b8d7b10e4e2"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab223bbd71f682625d2a63b8d7b10e4e2">◆ </a></span>bind() <span class="overload">[3/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Q_MVVMCORE_EXPORT <a class="el" href="class_qt_mvvm_1_1_binding.html">Binding</a> QtMvvm::bind </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><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="paramname"><em>viewModel</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/qmetaproperty.html">QMetaProperty</a> & </td>
|
|
<td class="paramname"><em>viewModelProperty</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><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="paramname"><em>view</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/qmetaproperty.html">QMetaProperty</a> & </td>
|
|
<td class="paramname"><em>viewProperty</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Binding::BindingDirection </td>
|
|
<td class="paramname"><em>type</em> = <code><a class="el" href="class_qt_mvvm_1_1_binding.html#a6a03a1d2ac1775e202aa7ae65fb76315a8248e753de211820e05f5b5e35ad9db8">Binding::TwoWay</a></code>, </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/qmetamethod.html">QMetaMethod</a> & </td>
|
|
<td class="paramname"><em>viewModelChangeSignal</em> = <code>{}</code>, </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/qmetamethod.html">QMetaMethod</a> & </td>
|
|
<td class="paramname"><em>viewChangeSignal</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Create a multidirectional binding between properties. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">viewModel</td><td>The object in the role of a viewmodel </td></tr>
|
|
<tr><td class="paramname">viewModelProperty</td><td>The property of the viewmodel to use in the binding </td></tr>
|
|
<tr><td class="paramname">view</td><td>The object in the role of a view </td></tr>
|
|
<tr><td class="paramname">viewProperty</td><td>The property of the view to use in the binding </td></tr>
|
|
<tr><td class="paramname">type</td><td>The type/direction of binding to create </td></tr>
|
|
<tr><td class="paramname">viewModelChangeSignal</td><td>An alternative signal to be used instead of the viewModelProperty notify signal to detect property changes </td></tr>
|
|
<tr><td class="paramname">viewChangeSignal</td><td>An alternative signal to be used instead of the viewProperty notify signal to detect property changes </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>A handle to the newly created binding, or an invalid handle on errors</dd></dl>
|
|
<p>The methods creates a binding similar to the QML bindings, but it is possible to create two-way bindings with this method as well. A binding means that whenever a property changes, the property it is bound to is updated to the changed value as well.</p>
|
|
<div class="fragment"><div class="line"><span class="comment">//sample usage</span></div><div class="line"><a class="code" href="namespace_qt_mvvm.html#affee350f1bec121b95759bb02a4df50f">QtMvvm::bind</a>(this->viewModel, <span class="stringliteral">"name"</span>, <span class="comment">// A viewmodel that has a property named "name"</span></div><div class="line"> ui->nameLabel, <span class="stringliteral">"text"</span>); <span class="comment">// A view (for example a QLabel) that has a property named "text"</span></div><div class="line"><span class="comment">//any changes to "name" will update "text" and the other way around</span></div></div><!-- fragment --><p>To control the directions, i.e. which properties should trigger an update on changes and which only get updated, use the <code>type</code> parameter.</p>
|
|
<dl class="section attention"><dt>Attention</dt><dd>Unlike the QML variant, this binding <b>does not handle binding loops</b>. THis means if you use a two way binding, make shure change signals are only emitted when the value does actually change. Otherwise your application is caught up in a binding loop and will eventually crash. Using two seperate one way bindings will not prevent this.</dd></dl>
|
|
<p>If the properties you want to use don't have a change signal or you don't want to use that signal, you can use the <code>viewModelChangeSignal</code> and <code>viewChangeSignal</code> to overwrite the signal to be used. Please note that you must specify the full signal signature. For example, the signatur of the signal <code>void foo(const QString &bar);</code> has the signature <code>foo(QString)</code>. See <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> for more details. If you leave the parameter out or set it to <code>nullptr</code> (or <code>{}</code>, an invalid meta method) the notify signals of the properties are used.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_binding.html" title="A handle to a multidirectional binding between properties. ">Binding</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="adafd61fd34161741fa78cf3141f59e68"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#adafd61fd34161741fa78cf3141f59e68">◆ </a></span>critical() <span class="overload">[1/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::critical </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>title</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>text</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>okText</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show a simple critical error messagebox. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">title</td><td>The messagebox title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">text</td><td>The primary message text (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a9ffe14b430a48307a4853921e6a2844e" title="The primary text/message to be displayed. ">MessageConfig::text</a>) </td></tr>
|
|
<tr><td class="paramname">okText</td><td>An optional text overwrite for the OK button (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a5dc1f0f2f3b933a34319febfb0dbce7f" title="A map of name overwrites for the texts shown on buttons. ">MessageConfig::buttonTexts</a>)</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Shows a simple critical error dialog with a title, a text and the OK button present.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="namespace_qt_mvvm.html#a356a9eaee03415624a0a11a501be1d49" title="A shortcut to show a simple question messagebox. ">QtMvvm::question</a>, <a class="el" href="namespace_qt_mvvm.html#afc3d66e8ff6416cd6faff0deda2248ae" title="A shortcut to show a simple warning messagebox. ">QtMvvm::warning</a>, <a class="el" href="namespace_qt_mvvm.html#aa455b495d75883cc529f5a4c47d567d5" title="A shortcut to show a simple information messagebox. ">QtMvvm::information</a>, <a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="abe0b5a2bea31b4a7684919a549de1a2f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#abe0b5a2bea31b4a7684919a549de1a2f">◆ </a></span>critical() <span class="overload">[2/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::critical </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>title</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>text</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><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="paramname"><em>scope</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const std::function< void()> & </td>
|
|
<td class="paramname"><em>onResult</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>okText</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show a simple critical error messagebox. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">scope</td><td>A scope to limit to. <code>onResult</code> is only called as long as scope has not been deleted </td></tr>
|
|
<tr><td class="paramname">onResult</td><td>A handler to be called when the message box has been closed </td></tr>
|
|
<tr><td class="paramname">title</td><td>The messagebox title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">text</td><td>The primary message text (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a9ffe14b430a48307a4853921e6a2844e" title="The primary text/message to be displayed. ">MessageConfig::text</a>) </td></tr>
|
|
<tr><td class="paramname">okText</td><td>An optional text overwrite for the OK button (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a5dc1f0f2f3b933a34319febfb0dbce7f" title="A map of name overwrites for the texts shown on buttons. ">MessageConfig::buttonTexts</a>)</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Shows a simple critical error dialog with a title, a text and the OK button present.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="namespace_qt_mvvm.html#a356a9eaee03415624a0a11a501be1d49" title="A shortcut to show a simple question messagebox. ">QtMvvm::question</a>, <a class="el" href="namespace_qt_mvvm.html#afc3d66e8ff6416cd6faff0deda2248ae" title="A shortcut to show a simple warning messagebox. ">QtMvvm::warning</a>, <a class="el" href="namespace_qt_mvvm.html#aa455b495d75883cc529f5a4c47d567d5" title="A shortcut to show a simple information messagebox. ">QtMvvm::information</a>, <a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a84a581af765389fdaa6e0cd699bbabcd"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a84a581af765389fdaa6e0cd699bbabcd">◆ </a></span>critical() <span class="overload">[3/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::critical </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>title</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>text</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const std::function< void()> & </td>
|
|
<td class="paramname"><em>onResult</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>okText</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show a simple critical error messagebox. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">onResult</td><td>A handler to be called when the message box has been closed </td></tr>
|
|
<tr><td class="paramname">title</td><td>The messagebox title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">text</td><td>The primary message text (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a9ffe14b430a48307a4853921e6a2844e" title="The primary text/message to be displayed. ">MessageConfig::text</a>) </td></tr>
|
|
<tr><td class="paramname">okText</td><td>An optional text overwrite for the OK button (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a5dc1f0f2f3b933a34319febfb0dbce7f" title="A map of name overwrites for the texts shown on buttons. ">MessageConfig::buttonTexts</a>)</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Shows a simple critical error dialog with a title, a text and the OK button present.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="namespace_qt_mvvm.html#a356a9eaee03415624a0a11a501be1d49" title="A shortcut to show a simple question messagebox. ">QtMvvm::question</a>, <a class="el" href="namespace_qt_mvvm.html#afc3d66e8ff6416cd6faff0deda2248ae" title="A shortcut to show a simple warning messagebox. ">QtMvvm::warning</a>, <a class="el" href="namespace_qt_mvvm.html#aa455b495d75883cc529f5a4c47d567d5" title="A shortcut to show a simple information messagebox. ">QtMvvm::information</a>, <a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a43005879ba883058bcdfeb62f45bcdda"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a43005879ba883058bcdfeb62f45bcdda">◆ </a></span>getColor() <span class="overload">[1/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::getColor </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>title</em> = <code>{}</code>, </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/qtgui/qtgui.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qcolor.html">QColor</a> & </td>
|
|
<td class="paramname"><em>color</em> = <code>{}</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>argb</em> = <code>false</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show a color dialog to select a color. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">title</td><td>The color dialog title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">color</td><td>The color to initially show in the dialog (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a4959365595dfca69fa3ba0de8e818b0f" title="A default value for dialogs that take some kind of input. ">MessageConfig::defaultValue</a>) </td></tr>
|
|
<tr><td class="paramname">argb</td><td>Specify whether the dialog should allow editing of the alpha channel (<a class="el" href="class_qt_mvvm_1_1_message_config.html#aa9f8a83b2ce22d09daf24aad158d7974" title="A subtype for the dialog to specify what exactly it should show. ">MessageConfig::subType</a>)</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Shows a color dialog to let the user select a color. Depending on the argb parameter the alpha channel may or may not be editable.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a4e71d967990411bddd67efacb10119da"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4e71d967990411bddd67efacb10119da">◆ </a></span>getColor() <span class="overload">[2/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::getColor </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><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="paramname"><em>scope</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const std::function< void(<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtgui/qtgui.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qcolor.html">QColor</a>)> & </td>
|
|
<td class="paramname"><em>onResult</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>title</em> = <code>{}</code>, </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/qtgui/qtgui.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qcolor.html">QColor</a> & </td>
|
|
<td class="paramname"><em>color</em> = <code>{}</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>argb</em> = <code>false</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show a color dialog to select a color. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">scope</td><td>A scope to limit to. <code>onResult</code> is only called as long as scope has not been deleted </td></tr>
|
|
<tr><td class="paramname">onResult</td><td>A handler to be called when the color dialog has been closed. Reports the selected color or an invalid color in case the input has been canceled. </td></tr>
|
|
<tr><td class="paramname">title</td><td>The color dialog title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">color</td><td>The color to initially show in the dialog (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a4959365595dfca69fa3ba0de8e818b0f" title="A default value for dialogs that take some kind of input. ">MessageConfig::defaultValue</a>) </td></tr>
|
|
<tr><td class="paramname">argb</td><td>Specify whether the dialog should allow editing of the alpha channel (<a class="el" href="class_qt_mvvm_1_1_message_config.html#aa9f8a83b2ce22d09daf24aad158d7974" title="A subtype for the dialog to specify what exactly it should show. ">MessageConfig::subType</a>)</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Shows a color dialog to let the user select a color. Depending on the argb parameter the alpha channel may or may not be editable.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a97363c6841b94e54c7c10d7058de010f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a97363c6841b94e54c7c10d7058de010f">◆ </a></span>getColor() <span class="overload">[3/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::getColor </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const std::function< void(<a class="elRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtgui/qtgui.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qcolor.html">QColor</a>)> & </td>
|
|
<td class="paramname"><em>onResult</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>title</em> = <code>{}</code>, </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/qtgui/qtgui.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qcolor.html">QColor</a> & </td>
|
|
<td class="paramname"><em>color</em> = <code>{}</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>argb</em> = <code>false</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show a color dialog to select a color. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">onResult</td><td>A handler to be called when the color dialog has been closed. Reports the selected color or an invalid color in case the input has been canceled. </td></tr>
|
|
<tr><td class="paramname">title</td><td>The color dialog title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">color</td><td>The color to initially show in the dialog (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a4959365595dfca69fa3ba0de8e818b0f" title="A default value for dialogs that take some kind of input. ">MessageConfig::defaultValue</a>) </td></tr>
|
|
<tr><td class="paramname">argb</td><td>Specify whether the dialog should allow editing of the alpha channel (<a class="el" href="class_qt_mvvm_1_1_message_config.html#aa9f8a83b2ce22d09daf24aad158d7974" title="A subtype for the dialog to specify what exactly it should show. ">MessageConfig::subType</a>)</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Shows a color dialog to let the user select a color. Depending on the argb parameter the alpha channel may or may not be editable.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a8f6889d8a2501931cb930b37ef1f0f98"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8f6889d8a2501931cb930b37ef1f0f98">◆ </a></span>getExistingDirectory() <span class="overload">[1/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::getExistingDirectory </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>title</em> = <code>{}</code>, </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/qurl.html">QUrl</a> & </td>
|
|
<td class="paramname"><em>dir</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show a file dialog to select an existing directory. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">title</td><td>The file dialog title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">dir</td><td>The directory URL to start the file dialog from (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a4959365595dfca69fa3ba0de8e818b0f" title="A default value for dialogs that take some kind of input. ">MessageConfig::defaultValue</a>)</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Shows a folder dialog to let the user select an existing directory.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ad83f10422524cc7efb68dfe135c869c9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ad83f10422524cc7efb68dfe135c869c9">◆ </a></span>getExistingDirectory() <span class="overload">[2/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::getExistingDirectory </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><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="paramname"><em>scope</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const std::function< void(<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/qurl.html">QUrl</a>)> & </td>
|
|
<td class="paramname"><em>onResult</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>title</em> = <code>{}</code>, </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/qurl.html">QUrl</a> & </td>
|
|
<td class="paramname"><em>dir</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show a file dialog to select an existing directory. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">scope</td><td>A scope to limit to. <code>onResult</code> is only called as long as scope has not been deleted </td></tr>
|
|
<tr><td class="paramname">onResult</td><td>A handler to be called when the folder dialog has been closed. Reports the selected directory URL or an invalid URL in case the input has been canceled. </td></tr>
|
|
<tr><td class="paramname">title</td><td>The file dialog title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">dir</td><td>The directory URL to start the file dialog from (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a4959365595dfca69fa3ba0de8e818b0f" title="A default value for dialogs that take some kind of input. ">MessageConfig::defaultValue</a>)</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Shows a folder dialog to let the user select an existing directory.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a690412edda12117ebf96f915886baa8a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a690412edda12117ebf96f915886baa8a">◆ </a></span>getExistingDirectory() <span class="overload">[3/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::getExistingDirectory </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const std::function< void(<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/qurl.html">QUrl</a>)> & </td>
|
|
<td class="paramname"><em>onResult</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>title</em> = <code>{}</code>, </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/qurl.html">QUrl</a> & </td>
|
|
<td class="paramname"><em>dir</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show a file dialog to select an existing directory. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">onResult</td><td>A handler to be called when the folder dialog has been closed. Reports the selected directory URL or an invalid URL in case the input has been canceled. </td></tr>
|
|
<tr><td class="paramname">title</td><td>The file dialog title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">dir</td><td>The directory URL to start the file dialog from (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a4959365595dfca69fa3ba0de8e818b0f" title="A default value for dialogs that take some kind of input. ">MessageConfig::defaultValue</a>)</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Shows a folder dialog to let the user select an existing directory.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a16ece10b0a810b7f8ea4a8e2c2dadebd"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a16ece10b0a810b7f8ea4a8e2c2dadebd">◆ </a></span>getInput() <span class="overload">[1/6]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::getInput </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>title</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>text</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>inputType</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 class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const QVariantMap & </td>
|
|
<td class="paramname"><em>viewProperties</em> = <code>{}</code>, </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>okText</em> = <code>{}</code>, </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>cancelText</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show an input dialog based of a type name. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">title</td><td>The input dialog title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">text</td><td>A label to describe what to input (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a9ffe14b430a48307a4853921e6a2844e" title="The primary text/message to be displayed. ">MessageConfig::text</a>) </td></tr>
|
|
<tr><td class="paramname">inputType</td><td>The data type of the edit to be used (<a class="el" href="class_qt_mvvm_1_1_message_config.html#aa9f8a83b2ce22d09daf24aad158d7974" title="A subtype for the dialog to specify what exactly it should show. ">MessageConfig::subType</a>) </td></tr>
|
|
<tr><td class="paramname">defaultValue</td><td>A default value to initialize the edit with (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a4959365595dfca69fa3ba0de8e818b0f" title="A default value for dialogs that take some kind of input. ">MessageConfig::defaultValue</a>) </td></tr>
|
|
<tr><td class="paramname">viewProperties</td><td>Additional properties to be passed to the edit (<a class="el" href="class_qt_mvvm_1_1_message_config.html#aaf7fd91186e9f6d87a273365a3bff9d9" title="Additional properties to be set on the created views. ">MessageConfig::viewProperties</a>) </td></tr>
|
|
<tr><td class="paramname">okText</td><td>An optional text overwrite for the OK button (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a5dc1f0f2f3b933a34319febfb0dbce7f" title="A map of name overwrites for the texts shown on buttons. ">MessageConfig::buttonTexts</a>) </td></tr>
|
|
<tr><td class="paramname">cancelText</td><td>An optional text overwrite for the CANCEL button (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a5dc1f0f2f3b933a34319febfb0dbce7f" title="A map of name overwrites for the texts shown on buttons. ">MessageConfig::buttonTexts</a>)</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Shows an input dialog. The kind of edit to use is determined by using the <code>inputType</code>. The view properties will be applied to both, the dialog and the edit.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a662794b68ee03f39846b10d815bb2a2d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a662794b68ee03f39846b10d815bb2a2d">◆ </a></span>getInput() <span class="overload">[2/6]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::getInput </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>title</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>text</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>inputType</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><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="paramname"><em>scope</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const std::function< void(<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>onResult</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 class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const QVariantMap & </td>
|
|
<td class="paramname"><em>viewProperties</em> = <code>{}</code>, </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>okText</em> = <code>{}</code>, </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>cancelText</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show an input dialog based of a type name. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">scope</td><td>A scope to limit to. <code>onResult</code> is only called as long as scope has not been deleted </td></tr>
|
|
<tr><td class="paramname">onResult</td><td>A handler to be called when the input dialog has been closed. Reports the result or an invalid variant in case the input has been canceled. </td></tr>
|
|
<tr><td class="paramname">title</td><td>The input dialog title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">text</td><td>A label to describe what to input (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a9ffe14b430a48307a4853921e6a2844e" title="The primary text/message to be displayed. ">MessageConfig::text</a>) </td></tr>
|
|
<tr><td class="paramname">inputType</td><td>The data type of the edit to be used (<a class="el" href="class_qt_mvvm_1_1_message_config.html#aa9f8a83b2ce22d09daf24aad158d7974" title="A subtype for the dialog to specify what exactly it should show. ">MessageConfig::subType</a>) </td></tr>
|
|
<tr><td class="paramname">defaultValue</td><td>A default value to initialize the edit with (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a4959365595dfca69fa3ba0de8e818b0f" title="A default value for dialogs that take some kind of input. ">MessageConfig::defaultValue</a>) </td></tr>
|
|
<tr><td class="paramname">viewProperties</td><td>Additional properties to be passed to the edit (<a class="el" href="class_qt_mvvm_1_1_message_config.html#aaf7fd91186e9f6d87a273365a3bff9d9" title="Additional properties to be set on the created views. ">MessageConfig::viewProperties</a>) </td></tr>
|
|
<tr><td class="paramname">okText</td><td>An optional text overwrite for the OK button (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a5dc1f0f2f3b933a34319febfb0dbce7f" title="A map of name overwrites for the texts shown on buttons. ">MessageConfig::buttonTexts</a>) </td></tr>
|
|
<tr><td class="paramname">cancelText</td><td>An optional text overwrite for the CANCEL button (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a5dc1f0f2f3b933a34319febfb0dbce7f" title="A map of name overwrites for the texts shown on buttons. ">MessageConfig::buttonTexts</a>)</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Shows an input dialog. The kind of edit to use is determined by using the <code>inputType</code>. The view properties will be applied to both, the dialog and the edit.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a605a0297c214690febe812ae79ac2766"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a605a0297c214690febe812ae79ac2766">◆ </a></span>getInput() <span class="overload">[3/6]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::getInput </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>title</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>text</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>inputType</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const std::function< void(<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>onResult</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 class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const QVariantMap & </td>
|
|
<td class="paramname"><em>viewProperties</em> = <code>{}</code>, </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>okText</em> = <code>{}</code>, </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>cancelText</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show an input dialog based of a type name. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">onResult</td><td>A handler to be called when the input dialog has been closed. Reports the result or an invalid variant in case the input has been canceled. </td></tr>
|
|
<tr><td class="paramname">title</td><td>The input dialog title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">text</td><td>A label to describe what to input (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a9ffe14b430a48307a4853921e6a2844e" title="The primary text/message to be displayed. ">MessageConfig::text</a>) </td></tr>
|
|
<tr><td class="paramname">inputType</td><td>The data type of the edit to be used (<a class="el" href="class_qt_mvvm_1_1_message_config.html#aa9f8a83b2ce22d09daf24aad158d7974" title="A subtype for the dialog to specify what exactly it should show. ">MessageConfig::subType</a>) </td></tr>
|
|
<tr><td class="paramname">defaultValue</td><td>A default value to initialize the edit with (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a4959365595dfca69fa3ba0de8e818b0f" title="A default value for dialogs that take some kind of input. ">MessageConfig::defaultValue</a>) </td></tr>
|
|
<tr><td class="paramname">viewProperties</td><td>Additional properties to be passed to the edit (<a class="el" href="class_qt_mvvm_1_1_message_config.html#aaf7fd91186e9f6d87a273365a3bff9d9" title="Additional properties to be set on the created views. ">MessageConfig::viewProperties</a>) </td></tr>
|
|
<tr><td class="paramname">okText</td><td>An optional text overwrite for the OK button (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a5dc1f0f2f3b933a34319febfb0dbce7f" title="A map of name overwrites for the texts shown on buttons. ">MessageConfig::buttonTexts</a>) </td></tr>
|
|
<tr><td class="paramname">cancelText</td><td>An optional text overwrite for the CANCEL button (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a5dc1f0f2f3b933a34319febfb0dbce7f" title="A map of name overwrites for the texts shown on buttons. ">MessageConfig::buttonTexts</a>)</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Shows an input dialog. The kind of edit to use is determined by using the <code>inputType</code>. The view properties will be applied to both, the dialog and the edit.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a91e7b6553955df637905a0b25c407d53"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a91e7b6553955df637905a0b25c407d53">◆ </a></span>getInput() <span class="overload">[4/6]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename TEdit > </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::getInput </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>title</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>text</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const TEdit & </td>
|
|
<td class="paramname"><em>defaultValue</em> = <code>{}</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const QVariantMap & </td>
|
|
<td class="paramname"><em>viewProperties</em> = <code>{}</code>, </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>okText</em> = <code>{}</code>, </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>cancelText</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">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show an input dialog based of a type as generic parameter. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">title</td><td>The input dialog title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">text</td><td>A label to describe what to input (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a9ffe14b430a48307a4853921e6a2844e" title="The primary text/message to be displayed. ">MessageConfig::text</a>) </td></tr>
|
|
<tr><td class="paramname">defaultValue</td><td>A default value to initialize the edit with (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a4959365595dfca69fa3ba0de8e818b0f" title="A default value for dialogs that take some kind of input. ">MessageConfig::defaultValue</a>) </td></tr>
|
|
<tr><td class="paramname">viewProperties</td><td>Additional properties to be passed to the edit (<a class="el" href="class_qt_mvvm_1_1_message_config.html#aaf7fd91186e9f6d87a273365a3bff9d9" title="Additional properties to be set on the created views. ">MessageConfig::viewProperties</a>) </td></tr>
|
|
<tr><td class="paramname">okText</td><td>An optional text overwrite for the OK button (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a5dc1f0f2f3b933a34319febfb0dbce7f" title="A map of name overwrites for the texts shown on buttons. ">MessageConfig::buttonTexts</a>) </td></tr>
|
|
<tr><td class="paramname">cancelText</td><td>An optional text overwrite for the CANCEL button (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a5dc1f0f2f3b933a34319febfb0dbce7f" title="A map of name overwrites for the texts shown on buttons. ">MessageConfig::buttonTexts</a>) </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">TEdit</td><td>The input to type to create an edit for and to get a value of</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Shows an input dialog. The kind of edit to use is determined by using the <code>TEdit</code> type name. The view properties will be applied to both, the dialog and the edit.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="message_8h_source.html#l00474">474</a> of file <a class="el" href="message_8h_source.html">message.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae1ab1ac92c789c0e86cffc51dff5feb9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae1ab1ac92c789c0e86cffc51dff5feb9">◆ </a></span>getInput() <span class="overload">[5/6]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename TEdit > </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::getInput </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>title</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>text</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><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="paramname"><em>scope</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const std::function< void(TEdit, bool)> & </td>
|
|
<td class="paramname"><em>onResult</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const TEdit & </td>
|
|
<td class="paramname"><em>defaultValue</em> = <code>{}</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const QVariantMap & </td>
|
|
<td class="paramname"><em>viewProperties</em> = <code>{}</code>, </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>okText</em> = <code>{}</code>, </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>cancelText</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">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show an input dialog based of a type as generic parameter. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">scope</td><td>A scope to limit to. <code>onResult</code> is only called as long as scope has not been deleted </td></tr>
|
|
<tr><td class="paramname">onResult</td><td>A handler to be called when the input dialog has been closed. Reports the result and <code>true</code> as second parameter, or a default constructed value and <code>false</code> in case the input has been canceled </td></tr>
|
|
<tr><td class="paramname">title</td><td>The input dialog title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">text</td><td>A label to describe what to input (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a9ffe14b430a48307a4853921e6a2844e" title="The primary text/message to be displayed. ">MessageConfig::text</a>) </td></tr>
|
|
<tr><td class="paramname">defaultValue</td><td>A default value to initialize the edit with (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a4959365595dfca69fa3ba0de8e818b0f" title="A default value for dialogs that take some kind of input. ">MessageConfig::defaultValue</a>) </td></tr>
|
|
<tr><td class="paramname">viewProperties</td><td>Additional properties to be passed to the edit (<a class="el" href="class_qt_mvvm_1_1_message_config.html#aaf7fd91186e9f6d87a273365a3bff9d9" title="Additional properties to be set on the created views. ">MessageConfig::viewProperties</a>) </td></tr>
|
|
<tr><td class="paramname">okText</td><td>An optional text overwrite for the OK button (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a5dc1f0f2f3b933a34319febfb0dbce7f" title="A map of name overwrites for the texts shown on buttons. ">MessageConfig::buttonTexts</a>) </td></tr>
|
|
<tr><td class="paramname">cancelText</td><td>An optional text overwrite for the CANCEL button (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a5dc1f0f2f3b933a34319febfb0dbce7f" title="A map of name overwrites for the texts shown on buttons. ">MessageConfig::buttonTexts</a>) </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">TEdit</td><td>The input to type to create an edit for and to get a value of</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Shows an input dialog. The kind of edit to use is determined by using the <code>TEdit</code> type name. The view properties will be applied to both, the dialog and the edit.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="message_8h_source.html#l00484">484</a> of file <a class="el" href="message_8h_source.html">message.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a4a4b847812a5bfd8fb2b0d2e126302e0"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4a4b847812a5bfd8fb2b0d2e126302e0">◆ </a></span>getInput() <span class="overload">[6/6]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename TEdit > </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::getInput </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>title</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>text</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const std::function< void(TEdit, bool)> & </td>
|
|
<td class="paramname"><em>onResult</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const TEdit & </td>
|
|
<td class="paramname"><em>defaultValue</em> = <code>{}</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const QVariantMap & </td>
|
|
<td class="paramname"><em>viewProperties</em> = <code>{}</code>, </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>okText</em> = <code>{}</code>, </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>cancelText</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">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show an input dialog based of a type as generic parameter. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">onResult</td><td>A handler to be called when the input dialog has been closed. Reports the result and <code>true</code> as second parameter, or a default constructed value and <code>false</code> in case the input has been canceled </td></tr>
|
|
<tr><td class="paramname">title</td><td>The input dialog title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">text</td><td>A label to describe what to input (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a9ffe14b430a48307a4853921e6a2844e" title="The primary text/message to be displayed. ">MessageConfig::text</a>) </td></tr>
|
|
<tr><td class="paramname">defaultValue</td><td>A default value to initialize the edit with (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a4959365595dfca69fa3ba0de8e818b0f" title="A default value for dialogs that take some kind of input. ">MessageConfig::defaultValue</a>) </td></tr>
|
|
<tr><td class="paramname">viewProperties</td><td>Additional properties to be passed to the edit (<a class="el" href="class_qt_mvvm_1_1_message_config.html#aaf7fd91186e9f6d87a273365a3bff9d9" title="Additional properties to be set on the created views. ">MessageConfig::viewProperties</a>) </td></tr>
|
|
<tr><td class="paramname">okText</td><td>An optional text overwrite for the OK button (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a5dc1f0f2f3b933a34319febfb0dbce7f" title="A map of name overwrites for the texts shown on buttons. ">MessageConfig::buttonTexts</a>) </td></tr>
|
|
<tr><td class="paramname">cancelText</td><td>An optional text overwrite for the CANCEL button (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a5dc1f0f2f3b933a34319febfb0dbce7f" title="A map of name overwrites for the texts shown on buttons. ">MessageConfig::buttonTexts</a>) </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">TEdit</td><td>The input to type to create an edit for and to get a value of</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Shows an input dialog. The kind of edit to use is determined by using the <code>TEdit</code> type name. The view properties will be applied to both, the dialog and the edit.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="message_8h_source.html#l00498">498</a> of file <a class="el" href="message_8h_source.html">message.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a1567e3d6c664b42dfafee8cfbf5ee789"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a1567e3d6c664b42dfafee8cfbf5ee789">◆ </a></span>getOpenFile() <span class="overload">[1/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::getOpenFile </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>title</em> = <code>{}</code>, </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/qstringlist.html">QStringList</a> & </td>
|
|
<td class="paramname"><em>supportedMimeTypes</em> = <code>{}</code>, </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/qurl.html">QUrl</a> & </td>
|
|
<td class="paramname"><em>dir</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show a file dialog to select an existing file. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">title</td><td>The file dialog title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">supportedMimeTypes</td><td>A list of all allowed mimetypes (<a class="el" href="class_qt_mvvm_1_1_message_config.html#aaf7fd91186e9f6d87a273365a3bff9d9" title="Additional properties to be set on the created views. ">MessageConfig::viewProperties</a>, extra property named <code>mimeTypes</code>) </td></tr>
|
|
<tr><td class="paramname">dir</td><td>The directory URL to start the file dialog from (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a4959365595dfca69fa3ba0de8e818b0f" title="A default value for dialogs that take some kind of input. ">MessageConfig::defaultValue</a>)</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Shows a file dialog to let the user select an existing file. The selectable files are limited to the mime types allowed.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a71982237503aafaffed8ee206bfb905e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a71982237503aafaffed8ee206bfb905e">◆ </a></span>getOpenFile() <span class="overload">[2/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::getOpenFile </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><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="paramname"><em>scope</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const std::function< void(<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/qurl.html">QUrl</a>)> & </td>
|
|
<td class="paramname"><em>onResult</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>title</em> = <code>{}</code>, </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/qstringlist.html">QStringList</a> & </td>
|
|
<td class="paramname"><em>supportedMimeTypes</em> = <code>{}</code>, </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/qurl.html">QUrl</a> & </td>
|
|
<td class="paramname"><em>dir</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show a file dialog to select an existing file. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">scope</td><td>A scope to limit to. <code>onResult</code> is only called as long as scope has not been deleted </td></tr>
|
|
<tr><td class="paramname">onResult</td><td>A handler to be called when the file dialog has been closed. Reports the selected file URL or an invalid URL in case the input has been canceled. </td></tr>
|
|
<tr><td class="paramname">title</td><td>The file dialog title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">supportedMimeTypes</td><td>A list of all allowed mimetypes (<a class="el" href="class_qt_mvvm_1_1_message_config.html#aaf7fd91186e9f6d87a273365a3bff9d9" title="Additional properties to be set on the created views. ">MessageConfig::viewProperties</a>, extra property named <code>mimeTypes</code>) </td></tr>
|
|
<tr><td class="paramname">dir</td><td>The directory URL to start the file dialog from (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a4959365595dfca69fa3ba0de8e818b0f" title="A default value for dialogs that take some kind of input. ">MessageConfig::defaultValue</a>)</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Shows a file dialog to let the user select an existing file. The selectable files are limited to the mime types allowed.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a616173566b53b8ab1b8b761795b9a1da"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a616173566b53b8ab1b8b761795b9a1da">◆ </a></span>getOpenFile() <span class="overload">[3/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::getOpenFile </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const std::function< void(<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/qurl.html">QUrl</a>)> & </td>
|
|
<td class="paramname"><em>onResult</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>title</em> = <code>{}</code>, </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/qstringlist.html">QStringList</a> & </td>
|
|
<td class="paramname"><em>supportedMimeTypes</em> = <code>{}</code>, </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/qurl.html">QUrl</a> & </td>
|
|
<td class="paramname"><em>dir</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show a file dialog to select an existing file. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">onResult</td><td>A handler to be called when the file dialog has been closed. Reports the selected file URL or an invalid URL in case the input has been canceled. </td></tr>
|
|
<tr><td class="paramname">title</td><td>The file dialog title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">supportedMimeTypes</td><td>A list of all allowed mimetypes (<a class="el" href="class_qt_mvvm_1_1_message_config.html#aaf7fd91186e9f6d87a273365a3bff9d9" title="Additional properties to be set on the created views. ">MessageConfig::viewProperties</a>, extra property named <code>mimeTypes</code>) </td></tr>
|
|
<tr><td class="paramname">dir</td><td>The directory URL to start the file dialog from (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a4959365595dfca69fa3ba0de8e818b0f" title="A default value for dialogs that take some kind of input. ">MessageConfig::defaultValue</a>)</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Shows a file dialog to let the user select an existing file. The selectable files are limited to the mime types allowed.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a48aa33f9cc2ccf23a6ab12dc777380d4"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a48aa33f9cc2ccf23a6ab12dc777380d4">◆ </a></span>getOpenFiles() <span class="overload">[1/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::getOpenFiles </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>title</em> = <code>{}</code>, </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/qstringlist.html">QStringList</a> & </td>
|
|
<td class="paramname"><em>supportedMimeTypes</em> = <code>{}</code>, </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/qurl.html">QUrl</a> & </td>
|
|
<td class="paramname"><em>dir</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show a file dialog to select multiple existing files. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">title</td><td>The file dialog title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">supportedMimeTypes</td><td>A list of all allowed mimetypes (<a class="el" href="class_qt_mvvm_1_1_message_config.html#aaf7fd91186e9f6d87a273365a3bff9d9" title="Additional properties to be set on the created views. ">MessageConfig::viewProperties</a>, extra property named <code>mimeTypes</code>) </td></tr>
|
|
<tr><td class="paramname">dir</td><td>The directory URL to start the file dialog from (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a4959365595dfca69fa3ba0de8e818b0f" title="A default value for dialogs that take some kind of input. ">MessageConfig::defaultValue</a>)</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Shows a file dialog to let the user select multiple existing files. The selectable files are limited to the mime types allowed.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a040c980afded86e1a1bcc034d6396e22"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a040c980afded86e1a1bcc034d6396e22">◆ </a></span>getOpenFiles() <span class="overload">[2/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::getOpenFiles </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><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="paramname"><em>scope</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const std::function< void(<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/qurl.html">QUrl</a> >)> & </td>
|
|
<td class="paramname"><em>onResult</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>title</em> = <code>{}</code>, </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/qstringlist.html">QStringList</a> & </td>
|
|
<td class="paramname"><em>supportedMimeTypes</em> = <code>{}</code>, </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/qurl.html">QUrl</a> & </td>
|
|
<td class="paramname"><em>dir</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show a file dialog to select multiple existing files. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">scope</td><td>A scope to limit to. <code>onResult</code> is only called as long as scope has not been deleted </td></tr>
|
|
<tr><td class="paramname">onResult</td><td>A handler to be called when the file dialog has been closed. Reports the selected file URLs in a list or an empty list in case the input has been canceled. </td></tr>
|
|
<tr><td class="paramname">title</td><td>The file dialog title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">supportedMimeTypes</td><td>A list of all allowed mimetypes (<a class="el" href="class_qt_mvvm_1_1_message_config.html#aaf7fd91186e9f6d87a273365a3bff9d9" title="Additional properties to be set on the created views. ">MessageConfig::viewProperties</a>, extra property named <code>mimeTypes</code>) </td></tr>
|
|
<tr><td class="paramname">dir</td><td>The directory URL to start the file dialog from (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a4959365595dfca69fa3ba0de8e818b0f" title="A default value for dialogs that take some kind of input. ">MessageConfig::defaultValue</a>)</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Shows a file dialog to let the user select multiple existing files. The selectable files are limited to the mime types allowed.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a655db3ae60f9f66112542348f1382c91"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a655db3ae60f9f66112542348f1382c91">◆ </a></span>getOpenFiles() <span class="overload">[3/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::getOpenFiles </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const std::function< void(<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/qurl.html">QUrl</a> >)> & </td>
|
|
<td class="paramname"><em>onResult</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>title</em> = <code>{}</code>, </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/qstringlist.html">QStringList</a> & </td>
|
|
<td class="paramname"><em>supportedMimeTypes</em> = <code>{}</code>, </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/qurl.html">QUrl</a> & </td>
|
|
<td class="paramname"><em>dir</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show a file dialog to select multiple existing files. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">onResult</td><td>A handler to be called when the file dialog has been closed. Reports the selected file URLs in a list or an empty list in case the input has been canceled. </td></tr>
|
|
<tr><td class="paramname">title</td><td>The file dialog title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">supportedMimeTypes</td><td>A list of all allowed mimetypes (<a class="el" href="class_qt_mvvm_1_1_message_config.html#aaf7fd91186e9f6d87a273365a3bff9d9" title="Additional properties to be set on the created views. ">MessageConfig::viewProperties</a>, extra property named <code>mimeTypes</code>) </td></tr>
|
|
<tr><td class="paramname">dir</td><td>The directory URL to start the file dialog from (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a4959365595dfca69fa3ba0de8e818b0f" title="A default value for dialogs that take some kind of input. ">MessageConfig::defaultValue</a>)</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Shows a file dialog to let the user select multiple existing files. The selectable files are limited to the mime types allowed.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af4a7cfc37c449b39e324cc29049de30d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af4a7cfc37c449b39e324cc29049de30d">◆ </a></span>getSaveFile() <span class="overload">[1/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::getSaveFile </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>title</em> = <code>{}</code>, </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/qstringlist.html">QStringList</a> & </td>
|
|
<td class="paramname"><em>supportedMimeTypes</em> = <code>{}</code>, </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/qurl.html">QUrl</a> & </td>
|
|
<td class="paramname"><em>dir</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show a file dialog to select a new file for saving. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">title</td><td>The file dialog title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">supportedMimeTypes</td><td>A list of all allowed mimetypes (<a class="el" href="class_qt_mvvm_1_1_message_config.html#aaf7fd91186e9f6d87a273365a3bff9d9" title="Additional properties to be set on the created views. ">MessageConfig::viewProperties</a>, extra property named <code>mimeTypes</code>) </td></tr>
|
|
<tr><td class="paramname">dir</td><td>The directory URL to start the file dialog from (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a4959365595dfca69fa3ba0de8e818b0f" title="A default value for dialogs that take some kind of input. ">MessageConfig::defaultValue</a>)</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Shows a file dialog to let the user select an (non existing) file name for saving. The selectable files are limited to the mime types allowed.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a6ae01f5bd284d7b2bcbb535480e1ad44"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6ae01f5bd284d7b2bcbb535480e1ad44">◆ </a></span>getSaveFile() <span class="overload">[2/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::getSaveFile </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><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="paramname"><em>scope</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const std::function< void(<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/qurl.html">QUrl</a>)> & </td>
|
|
<td class="paramname"><em>onResult</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>title</em> = <code>{}</code>, </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/qstringlist.html">QStringList</a> & </td>
|
|
<td class="paramname"><em>supportedMimeTypes</em> = <code>{}</code>, </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/qurl.html">QUrl</a> & </td>
|
|
<td class="paramname"><em>dir</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show a file dialog to select a new file for saving. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">scope</td><td>A scope to limit to. <code>onResult</code> is only called as long as scope has not been deleted </td></tr>
|
|
<tr><td class="paramname">onResult</td><td>A handler to be called when the file dialog has been closed. Reports the selected file URL or an invalid URL in case the input has been canceled. </td></tr>
|
|
<tr><td class="paramname">title</td><td>The file dialog title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">supportedMimeTypes</td><td>A list of all allowed mimetypes (<a class="el" href="class_qt_mvvm_1_1_message_config.html#aaf7fd91186e9f6d87a273365a3bff9d9" title="Additional properties to be set on the created views. ">MessageConfig::viewProperties</a>, extra property named <code>mimeTypes</code>) </td></tr>
|
|
<tr><td class="paramname">dir</td><td>The directory URL to start the file dialog from (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a4959365595dfca69fa3ba0de8e818b0f" title="A default value for dialogs that take some kind of input. ">MessageConfig::defaultValue</a>)</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Shows a file dialog to let the user select an (non existing) file name for saving. The selectable files are limited to the mime types allowed.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a63494057897be0941ce1b718b8f3c4a9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a63494057897be0941ce1b718b8f3c4a9">◆ </a></span>getSaveFile() <span class="overload">[3/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::getSaveFile </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const std::function< void(<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/qurl.html">QUrl</a>)> & </td>
|
|
<td class="paramname"><em>onResult</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>title</em> = <code>{}</code>, </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/qstringlist.html">QStringList</a> & </td>
|
|
<td class="paramname"><em>supportedMimeTypes</em> = <code>{}</code>, </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/qurl.html">QUrl</a> & </td>
|
|
<td class="paramname"><em>dir</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show a file dialog to select a new file for saving. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">onResult</td><td>A handler to be called when the file dialog has been closed. Reports the selected file URL or an invalid URL in case the input has been canceled. </td></tr>
|
|
<tr><td class="paramname">title</td><td>The file dialog title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">supportedMimeTypes</td><td>A list of all allowed mimetypes (<a class="el" href="class_qt_mvvm_1_1_message_config.html#aaf7fd91186e9f6d87a273365a3bff9d9" title="Additional properties to be set on the created views. ">MessageConfig::viewProperties</a>, extra property named <code>mimeTypes</code>) </td></tr>
|
|
<tr><td class="paramname">dir</td><td>The directory URL to start the file dialog from (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a4959365595dfca69fa3ba0de8e818b0f" title="A default value for dialogs that take some kind of input. ">MessageConfig::defaultValue</a>)</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Shows a file dialog to let the user select an (non existing) file name for saving. The selectable files are limited to the mime types allowed.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aa455b495d75883cc529f5a4c47d567d5"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aa455b495d75883cc529f5a4c47d567d5">◆ </a></span>information() <span class="overload">[1/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::information </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>title</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>text</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>okText</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show a simple information messagebox. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">title</td><td>The messagebox title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">text</td><td>The primary message text (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a9ffe14b430a48307a4853921e6a2844e" title="The primary text/message to be displayed. ">MessageConfig::text</a>) </td></tr>
|
|
<tr><td class="paramname">okText</td><td>An optional text overwrite for the OK button (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a5dc1f0f2f3b933a34319febfb0dbce7f" title="A map of name overwrites for the texts shown on buttons. ">MessageConfig::buttonTexts</a>)</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Shows a simple informative dialog with a title, a text and the OK button present.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="namespace_qt_mvvm.html#a356a9eaee03415624a0a11a501be1d49" title="A shortcut to show a simple question messagebox. ">QtMvvm::question</a>, <a class="el" href="namespace_qt_mvvm.html#afc3d66e8ff6416cd6faff0deda2248ae" title="A shortcut to show a simple warning messagebox. ">QtMvvm::warning</a>, <a class="el" href="namespace_qt_mvvm.html#adafd61fd34161741fa78cf3141f59e68" title="A shortcut to show a simple critical error messagebox. ">QtMvvm::critical</a>, <a class="el" href="namespace_qt_mvvm.html#a6a668c8af9c38f98a7cb79a1bdc48273" title="A shortcut to show a rich but simple about dialog. ">QtMvvm::about</a>, <a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ac8155e14de07ca5f8be60aeb0fc44097"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac8155e14de07ca5f8be60aeb0fc44097">◆ </a></span>information() <span class="overload">[2/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::information </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>title</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>text</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><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="paramname"><em>scope</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const std::function< void()> & </td>
|
|
<td class="paramname"><em>onResult</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>okText</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show a simple information messagebox. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">scope</td><td>A scope to limit to. <code>onResult</code> is only called as long as scope has not been deleted </td></tr>
|
|
<tr><td class="paramname">onResult</td><td>A handler to be called when the message box has been closed </td></tr>
|
|
<tr><td class="paramname">title</td><td>The messagebox title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">text</td><td>The primary message text (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a9ffe14b430a48307a4853921e6a2844e" title="The primary text/message to be displayed. ">MessageConfig::text</a>) </td></tr>
|
|
<tr><td class="paramname">okText</td><td>An optional text overwrite for the OK button (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a5dc1f0f2f3b933a34319febfb0dbce7f" title="A map of name overwrites for the texts shown on buttons. ">MessageConfig::buttonTexts</a>)</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Shows a simple informative dialog with a title, a text and the OK button present.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="namespace_qt_mvvm.html#a356a9eaee03415624a0a11a501be1d49" title="A shortcut to show a simple question messagebox. ">QtMvvm::question</a>, <a class="el" href="namespace_qt_mvvm.html#afc3d66e8ff6416cd6faff0deda2248ae" title="A shortcut to show a simple warning messagebox. ">QtMvvm::warning</a>, <a class="el" href="namespace_qt_mvvm.html#adafd61fd34161741fa78cf3141f59e68" title="A shortcut to show a simple critical error messagebox. ">QtMvvm::critical</a>, <a class="el" href="namespace_qt_mvvm.html#a6a668c8af9c38f98a7cb79a1bdc48273" title="A shortcut to show a rich but simple about dialog. ">QtMvvm::about</a>, <a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aadb5063d16059c5f096b822a5bbcd05b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aadb5063d16059c5f096b822a5bbcd05b">◆ </a></span>information() <span class="overload">[3/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::information </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>title</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>text</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const std::function< void()> & </td>
|
|
<td class="paramname"><em>onResult</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>okText</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show a simple information messagebox. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">onResult</td><td>A handler to be called when the message box has been closed </td></tr>
|
|
<tr><td class="paramname">title</td><td>The messagebox title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">text</td><td>The primary message text (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a9ffe14b430a48307a4853921e6a2844e" title="The primary text/message to be displayed. ">MessageConfig::text</a>) </td></tr>
|
|
<tr><td class="paramname">okText</td><td>An optional text overwrite for the OK button (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a5dc1f0f2f3b933a34319febfb0dbce7f" title="A map of name overwrites for the texts shown on buttons. ">MessageConfig::buttonTexts</a>)</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Shows a simple informative dialog with a title, a text and the OK button present.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="namespace_qt_mvvm.html#a356a9eaee03415624a0a11a501be1d49" title="A shortcut to show a simple question messagebox. ">QtMvvm::question</a>, <a class="el" href="namespace_qt_mvvm.html#afc3d66e8ff6416cd6faff0deda2248ae" title="A shortcut to show a simple warning messagebox. ">QtMvvm::warning</a>, <a class="el" href="namespace_qt_mvvm.html#adafd61fd34161741fa78cf3141f59e68" title="A shortcut to show a simple critical error messagebox. ">QtMvvm::critical</a>, <a class="el" href="namespace_qt_mvvm.html#a6a668c8af9c38f98a7cb79a1bdc48273" title="A shortcut to show a rich but simple about dialog. ">QtMvvm::about</a>, <a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a356a9eaee03415624a0a11a501be1d49"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a356a9eaee03415624a0a11a501be1d49">◆ </a></span>question() <span class="overload">[1/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::question </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>title</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>text</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>yesText</em> = <code>{}</code>, </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>noText</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show a simple question messagebox. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">title</td><td>The messagebox title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">text</td><td>The primary message text (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a9ffe14b430a48307a4853921e6a2844e" title="The primary text/message to be displayed. ">MessageConfig::text</a>) </td></tr>
|
|
<tr><td class="paramname">yesText</td><td>An optional text overwrite for the YES button (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a5dc1f0f2f3b933a34319febfb0dbce7f" title="A map of name overwrites for the texts shown on buttons. ">MessageConfig::buttonTexts</a>) </td></tr>
|
|
<tr><td class="paramname">noText</td><td>An optional text overwrite for the NO button (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a5dc1f0f2f3b933a34319febfb0dbce7f" title="A map of name overwrites for the texts shown on buttons. ">MessageConfig::buttonTexts</a>)</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Shows a simple question dialog with a title, a text and two buttons (typically YES and NO) to ask the user a simple boolean question.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="namespace_qt_mvvm.html#aa455b495d75883cc529f5a4c47d567d5" title="A shortcut to show a simple information messagebox. ">QtMvvm::information</a>, <a class="el" href="namespace_qt_mvvm.html#afc3d66e8ff6416cd6faff0deda2248ae" title="A shortcut to show a simple warning messagebox. ">QtMvvm::warning</a>, <a class="el" href="namespace_qt_mvvm.html#adafd61fd34161741fa78cf3141f59e68" title="A shortcut to show a simple critical error messagebox. ">QtMvvm::critical</a>, <a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a67b7bf14aa4c0024af4105b8f9913357"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a67b7bf14aa4c0024af4105b8f9913357">◆ </a></span>question() <span class="overload">[2/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::question </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>title</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>text</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><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="paramname"><em>scope</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const std::function< void(bool)> & </td>
|
|
<td class="paramname"><em>onResult</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>yesText</em> = <code>{}</code>, </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>noText</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show a simple question messagebox. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">scope</td><td>A scope to limit to. <code>onResult</code> is only called as long as scope has not been deleted </td></tr>
|
|
<tr><td class="paramname">onResult</td><td>A handler to be called when the message box has been closed. The parameter is <code>true</code> if the user pressed YES, <code>false</code> if he pressed NO or cancled the dialog </td></tr>
|
|
<tr><td class="paramname">title</td><td>The messagebox title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">text</td><td>The primary message text (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a9ffe14b430a48307a4853921e6a2844e" title="The primary text/message to be displayed. ">MessageConfig::text</a>) </td></tr>
|
|
<tr><td class="paramname">yesText</td><td>An optional text overwrite for the YES button (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a5dc1f0f2f3b933a34319febfb0dbce7f" title="A map of name overwrites for the texts shown on buttons. ">MessageConfig::buttonTexts</a>) </td></tr>
|
|
<tr><td class="paramname">noText</td><td>An optional text overwrite for the NO button (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a5dc1f0f2f3b933a34319febfb0dbce7f" title="A map of name overwrites for the texts shown on buttons. ">MessageConfig::buttonTexts</a>)</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Shows a simple question dialog with a title, a text and two buttons (typically YES and NO) to ask the user a simple boolean question.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="namespace_qt_mvvm.html#aa455b495d75883cc529f5a4c47d567d5" title="A shortcut to show a simple information messagebox. ">QtMvvm::information</a>, <a class="el" href="namespace_qt_mvvm.html#afc3d66e8ff6416cd6faff0deda2248ae" title="A shortcut to show a simple warning messagebox. ">QtMvvm::warning</a>, <a class="el" href="namespace_qt_mvvm.html#adafd61fd34161741fa78cf3141f59e68" title="A shortcut to show a simple critical error messagebox. ">QtMvvm::critical</a>, <a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a5dce13c748f46cd04e24b7dad71d45d2"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a5dce13c748f46cd04e24b7dad71d45d2">◆ </a></span>question() <span class="overload">[3/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::question </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>title</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>text</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const std::function< void(bool)> & </td>
|
|
<td class="paramname"><em>onResult</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>yesText</em> = <code>{}</code>, </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>noText</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show a simple question messagebox. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">onResult</td><td>A handler to be called when the message box has been closed. The parameter is <code>true</code> if the user pressed YES, <code>false</code> if he pressed NO or cancled the dialog </td></tr>
|
|
<tr><td class="paramname">title</td><td>The messagebox title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">text</td><td>The primary message text (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a9ffe14b430a48307a4853921e6a2844e" title="The primary text/message to be displayed. ">MessageConfig::text</a>) </td></tr>
|
|
<tr><td class="paramname">yesText</td><td>An optional text overwrite for the YES button (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a5dc1f0f2f3b933a34319febfb0dbce7f" title="A map of name overwrites for the texts shown on buttons. ">MessageConfig::buttonTexts</a>) </td></tr>
|
|
<tr><td class="paramname">noText</td><td>An optional text overwrite for the NO button (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a5dc1f0f2f3b933a34319febfb0dbce7f" title="A map of name overwrites for the texts shown on buttons. ">MessageConfig::buttonTexts</a>)</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Shows a simple question dialog with a title, a text and two buttons (typically YES and NO) to ask the user a simple boolean question.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="namespace_qt_mvvm.html#aa455b495d75883cc529f5a4c47d567d5" title="A shortcut to show a simple information messagebox. ">QtMvvm::information</a>, <a class="el" href="namespace_qt_mvvm.html#afc3d66e8ff6416cd6faff0deda2248ae" title="A shortcut to show a simple warning messagebox. ">QtMvvm::warning</a>, <a class="el" href="namespace_qt_mvvm.html#adafd61fd34161741fa78cf3141f59e68" title="A shortcut to show a simple critical error messagebox. ">QtMvvm::critical</a>, <a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a01159343a4c5f5bf274f40e078c372e3"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a01159343a4c5f5bf274f40e078c372e3">◆ </a></span>registerDataSyncQuick()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::registerDataSyncQuick </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A method to initialize the datasync quick mvvm module. </p>
|
|
<p>You must add this method to your main.cpp in order to register all the datasync views with the <a class="el" href="class_qt_mvvm_1_1_quick_presenter.html" title="The IPresenter implementation for the quick module. ">QuickPresenter</a> when using the quick ui:</p>
|
|
<div class="fragment"><div class="line"><span class="keywordtype">int</span> main(<span class="keywordtype">int</span> argc, <span class="keywordtype">char</span> *argv[])</div><div class="line">{</div><div class="line"> <a class="codeRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtwidgets/qtwidgets.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qapplication.html">QApplication</a> a(argc, argv);</div><div class="line"></div><div class="line"> <a class="code" href="namespace_qt_mvvm.html#a01159343a4c5f5bf274f40e078c372e3">QtMvvm::registerDataSyncQuick</a>();</div><div class="line"> <span class="comment">// register other stuff etc...</span></div><div class="line"></div><div class="line"> <span class="keywordflow">return</span> a.exec();</div><div class="line">}</div></div><!-- fragment --><dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_quick_presenter.html" title="The IPresenter implementation for the quick module. ">QuickPresenter</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a855b86a5eb06fae0469d91adc57b1b6d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a855b86a5eb06fae0469d91adc57b1b6d">◆ </a></span>registerDataSyncWidgets()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::registerDataSyncWidgets </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A method to initialize the datasync widgets mvvm module. </p>
|
|
<p>You must add this method to your main.cpp in order to register all the datasync views with the <a class="el" href="class_qt_mvvm_1_1_widgets_presenter.html" title="The IPresenter implementation for the widgets module. ">WidgetsPresenter</a> when using the widgets ui:</p>
|
|
<div class="fragment"><div class="line"><span class="keywordtype">int</span> main(<span class="keywordtype">int</span> argc, <span class="keywordtype">char</span> *argv[])</div><div class="line">{</div><div class="line"> <a class="codeRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtwidgets/qtwidgets.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qapplication.html">QApplication</a> a(argc, argv);</div><div class="line"></div><div class="line"> <a class="code" href="namespace_qt_mvvm.html#a855b86a5eb06fae0469d91adc57b1b6d">QtMvvm::registerDataSyncWidgets</a>();</div><div class="line"> <span class="comment">// register other stuff etc...</span></div><div class="line"></div><div class="line"> <span class="keywordflow">return</span> a.exec();</div><div class="line">}</div></div><!-- fragment --><dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_widgets_presenter.html#a0b665bb6c87884d5789f616814c80cf6" title="Register a view to be found by the presenter. ">WidgetsPresenter::registerView</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="acfc8b840bbb75e688dced479510d9b98"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#acfc8b840bbb75e688dced479510d9b98">◆ </a></span>showBusy() <span class="overload">[1/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::showBusy </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><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="paramname"><em>scope</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>title</em> = <code>{}</code>, </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>label</em> = <code>{}</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>allowCancel</em> = <code>true</code>, </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>cancelText</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show a busy indicator dialog. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">scope</td><td>A scope to limit to. <code>onResult</code> is only called as long as scope has not been deleted </td></tr>
|
|
<tr><td class="paramname">title</td><td>The progress dialog title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">label</td><td>The progress dialog label (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a9ffe14b430a48307a4853921e6a2844e" title="The primary text/message to be displayed. ">MessageConfig::text</a>) </td></tr>
|
|
<tr><td class="paramname">allowCancel</td><td>Specify, whether the user can cancel the dialog (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a22e51c0d3f709fe7c8d45eb137d1ba1e" title="The available buttons a user may press. ">MessageConfig::buttons</a>, set to <code><a class="el" href="class_qt_mvvm_1_1_message_config.html#ad6b7b271e558619f15c5eb9a3cf78fb8a68344bb092d7551d3e2321588991a735" title="Equivalent to QMessageBox::Cancel. ">MessageConfig::Cancel</a></code> if enabled, <code><a class="el" href="class_qt_mvvm_1_1_message_config.html#ad6b7b271e558619f15c5eb9a3cf78fb8a83a48e3acfda22ae83280136ed2f6751" title="Equivalent to QMessageBox::NoButton. ">MessageConfig::NoButton</a></code> otherwise) </td></tr>
|
|
<tr><td class="paramname">cancelText</td><td>The text for the cancel button, if enabled (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a5dc1f0f2f3b933a34319febfb0dbce7f" title="A map of name overwrites for the texts shown on buttons. ">MessageConfig::buttonTexts</a>) </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>A newly created progress control to be used to control the progress dialog (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a4959365595dfca69fa3ba0de8e818b0f" title="A default value for dialogs that take some kind of input. ">MessageConfig::defaultValue</a>)</dd></dl>
|
|
<p>Shows an busy indicator dialog to let the user know a long running operation is going on. Unlike other dialogs, this one can be "controlled" from within the core code to update the label etc. via the returned control. The control is initialized with the parameters passed to this method.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_progress_control.html" title="A Helper class to control a generic progress dialog. ">ProgressControl</a>, <a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a6a4f7a85680e6565241aefc94b53037f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6a4f7a85680e6565241aefc94b53037f">◆ </a></span>showBusy() <span class="overload">[2/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::showBusy </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>title</em> = <code>{}</code>, </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>label</em> = <code>{}</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>allowCancel</em> = <code>true</code>, </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>cancelText</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show a busy indicator dialog. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">title</td><td>The progress dialog title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">label</td><td>The progress dialog label (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a9ffe14b430a48307a4853921e6a2844e" title="The primary text/message to be displayed. ">MessageConfig::text</a>) </td></tr>
|
|
<tr><td class="paramname">allowCancel</td><td>Specify, whether the user can cancel the dialog (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a22e51c0d3f709fe7c8d45eb137d1ba1e" title="The available buttons a user may press. ">MessageConfig::buttons</a>, set to <code><a class="el" href="class_qt_mvvm_1_1_message_config.html#ad6b7b271e558619f15c5eb9a3cf78fb8a68344bb092d7551d3e2321588991a735" title="Equivalent to QMessageBox::Cancel. ">MessageConfig::Cancel</a></code> if enabled, <code><a class="el" href="class_qt_mvvm_1_1_message_config.html#ad6b7b271e558619f15c5eb9a3cf78fb8a83a48e3acfda22ae83280136ed2f6751" title="Equivalent to QMessageBox::NoButton. ">MessageConfig::NoButton</a></code> otherwise) </td></tr>
|
|
<tr><td class="paramname">cancelText</td><td>The text for the cancel button, if enabled (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a5dc1f0f2f3b933a34319febfb0dbce7f" title="A map of name overwrites for the texts shown on buttons. ">MessageConfig::buttonTexts</a>) </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>A newly created progress control to be used to control the progress dialog (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a4959365595dfca69fa3ba0de8e818b0f" title="A default value for dialogs that take some kind of input. ">MessageConfig::defaultValue</a>)</dd></dl>
|
|
<p>Shows an busy indicator dialog to let the user know a long running operation is going on. Unlike other dialogs, this one can be "controlled" from within the core code to update the label etc. via the returned control. The control is initialized with the parameters passed to this method.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_progress_control.html" title="A Helper class to control a generic progress dialog. ">ProgressControl</a>, <a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ad5a924ba1d214f8f1f19fbe270a2248b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ad5a924ba1d214f8f1f19fbe270a2248b">◆ </a></span>showIndeterminateProgress() <span class="overload">[1/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::showIndeterminateProgress </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><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="paramname"><em>scope</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>title</em> = <code>{}</code>, </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>label</em> = <code>{}</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>allowCancel</em> = <code>true</code>, </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>cancelText</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show an indetermiante progress dialog. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">scope</td><td>A scope to limit to. <code>onResult</code> is only called as long as scope has not been deleted </td></tr>
|
|
<tr><td class="paramname">title</td><td>The progress dialog title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">label</td><td>The progress dialog label (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a9ffe14b430a48307a4853921e6a2844e" title="The primary text/message to be displayed. ">MessageConfig::text</a>) </td></tr>
|
|
<tr><td class="paramname">allowCancel</td><td>Specify, whether the user can cancel the dialog (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a22e51c0d3f709fe7c8d45eb137d1ba1e" title="The available buttons a user may press. ">MessageConfig::buttons</a>, set to <code><a class="el" href="class_qt_mvvm_1_1_message_config.html#ad6b7b271e558619f15c5eb9a3cf78fb8a68344bb092d7551d3e2321588991a735" title="Equivalent to QMessageBox::Cancel. ">MessageConfig::Cancel</a></code> if enabled, <code><a class="el" href="class_qt_mvvm_1_1_message_config.html#ad6b7b271e558619f15c5eb9a3cf78fb8a83a48e3acfda22ae83280136ed2f6751" title="Equivalent to QMessageBox::NoButton. ">MessageConfig::NoButton</a></code> otherwise) </td></tr>
|
|
<tr><td class="paramname">cancelText</td><td>The text for the cancel button, if enabled (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a5dc1f0f2f3b933a34319febfb0dbce7f" title="A map of name overwrites for the texts shown on buttons. ">MessageConfig::buttonTexts</a>) </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>A newly created progress control to be used to control the progress dialog (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a4959365595dfca69fa3ba0de8e818b0f" title="A default value for dialogs that take some kind of input. ">MessageConfig::defaultValue</a>)</dd></dl>
|
|
<p>Shows an indeterminate progress dialog to let the user know a long running operation is going on. Unlike other dialogs, this one can be "controlled" from within the core code to update the label etc. via the returned control. The control is initialized with the parameters passed to this method.</p>
|
|
<dl class="section note"><dt>Note</dt><dd>It is possible to conver the dialog to a normal progress and back by setting the <a class="el" href="class_qt_mvvm_1_1_progress_control.html#adf029aeb9c8ef34cccfd2b71d0abeb0c" title="Specifies whether the dialog should show an indeterminate or a normal progress. ">ProgressControl::indeterminate</a> property.</dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_progress_control.html" title="A Helper class to control a generic progress dialog. ">ProgressControl</a>, <a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a378387f14d434a177ee9895f86b1b0d9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a378387f14d434a177ee9895f86b1b0d9">◆ </a></span>showIndeterminateProgress() <span class="overload">[2/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::showIndeterminateProgress </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>title</em> = <code>{}</code>, </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>label</em> = <code>{}</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>allowCancel</em> = <code>true</code>, </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>cancelText</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show an indetermiante progress dialog. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">title</td><td>The progress dialog title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">label</td><td>The progress dialog label (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a9ffe14b430a48307a4853921e6a2844e" title="The primary text/message to be displayed. ">MessageConfig::text</a>) </td></tr>
|
|
<tr><td class="paramname">allowCancel</td><td>Specify, whether the user can cancel the dialog (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a22e51c0d3f709fe7c8d45eb137d1ba1e" title="The available buttons a user may press. ">MessageConfig::buttons</a>, set to <code><a class="el" href="class_qt_mvvm_1_1_message_config.html#ad6b7b271e558619f15c5eb9a3cf78fb8a68344bb092d7551d3e2321588991a735" title="Equivalent to QMessageBox::Cancel. ">MessageConfig::Cancel</a></code> if enabled, <code><a class="el" href="class_qt_mvvm_1_1_message_config.html#ad6b7b271e558619f15c5eb9a3cf78fb8a83a48e3acfda22ae83280136ed2f6751" title="Equivalent to QMessageBox::NoButton. ">MessageConfig::NoButton</a></code> otherwise) </td></tr>
|
|
<tr><td class="paramname">cancelText</td><td>The text for the cancel button, if enabled (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a5dc1f0f2f3b933a34319febfb0dbce7f" title="A map of name overwrites for the texts shown on buttons. ">MessageConfig::buttonTexts</a>) </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>A newly created progress control to be used to control the progress dialog (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a4959365595dfca69fa3ba0de8e818b0f" title="A default value for dialogs that take some kind of input. ">MessageConfig::defaultValue</a>)</dd></dl>
|
|
<p>Shows an indeterminate progress dialog to let the user know a long running operation is going on. Unlike other dialogs, this one can be "controlled" from within the core code to update the label etc. via the returned control. The control is initialized with the parameters passed to this method.</p>
|
|
<dl class="section note"><dt>Note</dt><dd>It is possible to conver the dialog to a normal progress and back by setting the <a class="el" href="class_qt_mvvm_1_1_progress_control.html#adf029aeb9c8ef34cccfd2b71d0abeb0c" title="Specifies whether the dialog should show an indeterminate or a normal progress. ">ProgressControl::indeterminate</a> property.</dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_progress_control.html" title="A Helper class to control a generic progress dialog. ">ProgressControl</a>, <a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a2ea74c753e84d664012feb79d37a059b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a2ea74c753e84d664012feb79d37a059b">◆ </a></span>showProgress() <span class="overload">[1/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::showProgress </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>title</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>label</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="class_qt_mvvm_1_1_progress_control.html">ProgressControl</a> * </td>
|
|
<td class="paramname"><em>control</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>allowCancel</em> = <code>true</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>isBusy</em> = <code>false</code>, </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>cancelText</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show a general progress dialog. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">title</td><td>The progress dialog title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">label</td><td>The progress dialog label (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a9ffe14b430a48307a4853921e6a2844e" title="The primary text/message to be displayed. ">MessageConfig::text</a>) </td></tr>
|
|
<tr><td class="paramname">control</td><td>The progress control to be used to control the progress dialog (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a4959365595dfca69fa3ba0de8e818b0f" title="A default value for dialogs that take some kind of input. ">MessageConfig::defaultValue</a>) </td></tr>
|
|
<tr><td class="paramname">allowCancel</td><td>Specify, whether the user can cancel the dialog (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a22e51c0d3f709fe7c8d45eb137d1ba1e" title="The available buttons a user may press. ">MessageConfig::buttons</a>, set to <code><a class="el" href="class_qt_mvvm_1_1_message_config.html#ad6b7b271e558619f15c5eb9a3cf78fb8a68344bb092d7551d3e2321588991a735" title="Equivalent to QMessageBox::Cancel. ">MessageConfig::Cancel</a></code> if enabled, <code><a class="el" href="class_qt_mvvm_1_1_message_config.html#ad6b7b271e558619f15c5eb9a3cf78fb8a83a48e3acfda22ae83280136ed2f6751" title="Equivalent to QMessageBox::NoButton. ">MessageConfig::NoButton</a></code> otherwise) </td></tr>
|
|
<tr><td class="paramname">isBusy</td><td>Specify whether a busy dialog or a progress dialog should be shown (<a class="el" href="class_qt_mvvm_1_1_message_config.html#aa9f8a83b2ce22d09daf24aad158d7974" title="A subtype for the dialog to specify what exactly it should show. ">MessageConfig::subType</a>) </td></tr>
|
|
<tr><td class="paramname">cancelText</td><td>The text for the cancel button, if enabled (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a5dc1f0f2f3b933a34319febfb0dbce7f" title="A map of name overwrites for the texts shown on buttons. ">MessageConfig::buttonTexts</a>)</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Shows a progress dialog to let the user know a long running operation is going on. Unlike other dialogs, this one can be "controlled" from within the core code to update the progress etc. via the control passed to the method.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_progress_control.html" title="A Helper class to control a generic progress dialog. ">ProgressControl</a>, <a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a44667254026b2ba5da3bf6f2237ec263"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a44667254026b2ba5da3bf6f2237ec263">◆ </a></span>showProgress() <span class="overload">[2/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::showProgress </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><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="paramname"><em>scope</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>title</em> = <code>{}</code>, </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>label</em> = <code>{}</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>maximum</em> = <code>100</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>minimum</em> = <code>0</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>allowCancel</em> = <code>true</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>value</em> = <code>0</code>, </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>cancelText</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show a standard progress dialog. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">scope</td><td>A scope to limit to. <code>onResult</code> is only called as long as scope has not been deleted </td></tr>
|
|
<tr><td class="paramname">title</td><td>The progress dialog title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">label</td><td>The progress dialog label (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a9ffe14b430a48307a4853921e6a2844e" title="The primary text/message to be displayed. ">MessageConfig::text</a>) </td></tr>
|
|
<tr><td class="paramname">maximum</td><td>The initial maxmium value of the progress (<a class="el" href="class_qt_mvvm_1_1_progress_control.html#a234370beca6ff3f7cb97e2302ec32c60" title="The maximum value of the progress bar. ">ProgressControl::maximum</a>) </td></tr>
|
|
<tr><td class="paramname">minimum</td><td>The initial minimum value of the progress (<a class="el" href="class_qt_mvvm_1_1_progress_control.html#ab8a45a01e520440cbcb5d396ed4cee55" title="The minimum value of the progress bar. ">ProgressControl::minimum</a>) </td></tr>
|
|
<tr><td class="paramname">allowCancel</td><td>Specify, whether the user can cancel the dialog (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a22e51c0d3f709fe7c8d45eb137d1ba1e" title="The available buttons a user may press. ">MessageConfig::buttons</a>, set to <code><a class="el" href="class_qt_mvvm_1_1_message_config.html#ad6b7b271e558619f15c5eb9a3cf78fb8a68344bb092d7551d3e2321588991a735" title="Equivalent to QMessageBox::Cancel. ">MessageConfig::Cancel</a></code> if enabled, <code><a class="el" href="class_qt_mvvm_1_1_message_config.html#ad6b7b271e558619f15c5eb9a3cf78fb8a83a48e3acfda22ae83280136ed2f6751" title="Equivalent to QMessageBox::NoButton. ">MessageConfig::NoButton</a></code> otherwise) </td></tr>
|
|
<tr><td class="paramname">value</td><td>The initial progress value of the progress (<a class="el" href="class_qt_mvvm_1_1_progress_control.html#a0f1f52d85173b027504398d57d856ae2" title="The current value of the progress bar. ">ProgressControl::progress</a>) </td></tr>
|
|
<tr><td class="paramname">cancelText</td><td>The text for the cancel button, if enabled (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a5dc1f0f2f3b933a34319febfb0dbce7f" title="A map of name overwrites for the texts shown on buttons. ">MessageConfig::buttonTexts</a>) </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>A newly created progress control to be used to control the progress dialog (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a4959365595dfca69fa3ba0de8e818b0f" title="A default value for dialogs that take some kind of input. ">MessageConfig::defaultValue</a>)</dd></dl>
|
|
<p>Shows a normal progress dialog to let the user know a long running operation is going on. Unlike other dialogs, this one can be "controlled" from within the core code to update the progress etc. via the returned control. The control is initialized with the parameters passed to this method.</p>
|
|
<dl class="section note"><dt>Note</dt><dd>It is possible to conver the dialog to a indeterminate progress and back by setting the <a class="el" href="class_qt_mvvm_1_1_progress_control.html#adf029aeb9c8ef34cccfd2b71d0abeb0c" title="Specifies whether the dialog should show an indeterminate or a normal progress. ">ProgressControl::indeterminate</a> property.</dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_progress_control.html" title="A Helper class to control a generic progress dialog. ">ProgressControl</a>, <a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="acdc74a1ec3c51a205640faadaab014b4"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#acdc74a1ec3c51a205640faadaab014b4">◆ </a></span>showProgress() <span class="overload">[3/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::showProgress </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>title</em> = <code>{}</code>, </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>label</em> = <code>{}</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>maximum</em> = <code>100</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>minimum</em> = <code>0</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>allowCancel</em> = <code>true</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>value</em> = <code>0</code>, </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>cancelText</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show a standard progress dialog. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">title</td><td>The progress dialog title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">label</td><td>The progress dialog label (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a9ffe14b430a48307a4853921e6a2844e" title="The primary text/message to be displayed. ">MessageConfig::text</a>) </td></tr>
|
|
<tr><td class="paramname">maximum</td><td>The initial maxmium value of the progress (<a class="el" href="class_qt_mvvm_1_1_progress_control.html#a234370beca6ff3f7cb97e2302ec32c60" title="The maximum value of the progress bar. ">ProgressControl::maximum</a>) </td></tr>
|
|
<tr><td class="paramname">minimum</td><td>The initial minimum value of the progress (<a class="el" href="class_qt_mvvm_1_1_progress_control.html#ab8a45a01e520440cbcb5d396ed4cee55" title="The minimum value of the progress bar. ">ProgressControl::minimum</a>) </td></tr>
|
|
<tr><td class="paramname">allowCancel</td><td>Specify, whether the user can cancel the dialog (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a22e51c0d3f709fe7c8d45eb137d1ba1e" title="The available buttons a user may press. ">MessageConfig::buttons</a>, set to <code><a class="el" href="class_qt_mvvm_1_1_message_config.html#ad6b7b271e558619f15c5eb9a3cf78fb8a68344bb092d7551d3e2321588991a735" title="Equivalent to QMessageBox::Cancel. ">MessageConfig::Cancel</a></code> if enabled, <code><a class="el" href="class_qt_mvvm_1_1_message_config.html#ad6b7b271e558619f15c5eb9a3cf78fb8a83a48e3acfda22ae83280136ed2f6751" title="Equivalent to QMessageBox::NoButton. ">MessageConfig::NoButton</a></code> otherwise) </td></tr>
|
|
<tr><td class="paramname">value</td><td>The initial progress value of the progress (<a class="el" href="class_qt_mvvm_1_1_progress_control.html#a0f1f52d85173b027504398d57d856ae2" title="The current value of the progress bar. ">ProgressControl::progress</a>) </td></tr>
|
|
<tr><td class="paramname">cancelText</td><td>The text for the cancel button, if enabled (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a5dc1f0f2f3b933a34319febfb0dbce7f" title="A map of name overwrites for the texts shown on buttons. ">MessageConfig::buttonTexts</a>) </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>A newly created progress control to be used to control the progress dialog (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a4959365595dfca69fa3ba0de8e818b0f" title="A default value for dialogs that take some kind of input. ">MessageConfig::defaultValue</a>)</dd></dl>
|
|
<p>Shows a normal progress dialog to let the user know a long running operation is going on. Unlike other dialogs, this one can be "controlled" from within the core code to update the progress etc. via the returned control. The control is initialized with the parameters passed to this method.</p>
|
|
<dl class="section note"><dt>Note</dt><dd>It is possible to conver the dialog to a indeterminate progress and back by setting the <a class="el" href="class_qt_mvvm_1_1_progress_control.html#adf029aeb9c8ef34cccfd2b71d0abeb0c" title="Specifies whether the dialog should show an indeterminate or a normal progress. ">ProgressControl::indeterminate</a> property.</dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_progress_control.html" title="A Helper class to control a generic progress dialog. ">ProgressControl</a>, <a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="afc3d66e8ff6416cd6faff0deda2248ae"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#afc3d66e8ff6416cd6faff0deda2248ae">◆ </a></span>warning() <span class="overload">[1/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::warning </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>title</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>text</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>okText</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show a simple warning messagebox. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">title</td><td>The messagebox title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">text</td><td>The primary message text (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a9ffe14b430a48307a4853921e6a2844e" title="The primary text/message to be displayed. ">MessageConfig::text</a>) </td></tr>
|
|
<tr><td class="paramname">okText</td><td>An optional text overwrite for the OK button (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a5dc1f0f2f3b933a34319febfb0dbce7f" title="A map of name overwrites for the texts shown on buttons. ">MessageConfig::buttonTexts</a>)</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Shows a simple warning dialog with a title, a text and the OK button present.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="namespace_qt_mvvm.html#a356a9eaee03415624a0a11a501be1d49" title="A shortcut to show a simple question messagebox. ">QtMvvm::question</a>, <a class="el" href="namespace_qt_mvvm.html#aa455b495d75883cc529f5a4c47d567d5" title="A shortcut to show a simple information messagebox. ">QtMvvm::information</a>, <a class="el" href="namespace_qt_mvvm.html#adafd61fd34161741fa78cf3141f59e68" title="A shortcut to show a simple critical error messagebox. ">QtMvvm::critical</a>, <a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a1809f1b3a0f3de7edde3f0a2963a4e33"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a1809f1b3a0f3de7edde3f0a2963a4e33">◆ </a></span>warning() <span class="overload">[2/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::warning </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>title</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>text</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><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="paramname"><em>scope</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const std::function< void()> & </td>
|
|
<td class="paramname"><em>onResult</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>okText</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show a simple warning messagebox. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">scope</td><td>A scope to limit to. <code>onResult</code> is only called as long as scope has not been deleted </td></tr>
|
|
<tr><td class="paramname">onResult</td><td>A handler to be called when the message box has been closed </td></tr>
|
|
<tr><td class="paramname">title</td><td>The messagebox title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">text</td><td>The primary message text (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a9ffe14b430a48307a4853921e6a2844e" title="The primary text/message to be displayed. ">MessageConfig::text</a>) </td></tr>
|
|
<tr><td class="paramname">okText</td><td>An optional text overwrite for the OK button (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a5dc1f0f2f3b933a34319febfb0dbce7f" title="A map of name overwrites for the texts shown on buttons. ">MessageConfig::buttonTexts</a>)</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Shows a simple warning dialog with a title, a text and the OK button present.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="namespace_qt_mvvm.html#a356a9eaee03415624a0a11a501be1d49" title="A shortcut to show a simple question messagebox. ">QtMvvm::question</a>, <a class="el" href="namespace_qt_mvvm.html#aa455b495d75883cc529f5a4c47d567d5" title="A shortcut to show a simple information messagebox. ">QtMvvm::information</a>, <a class="el" href="namespace_qt_mvvm.html#adafd61fd34161741fa78cf3141f59e68" title="A shortcut to show a simple critical error messagebox. ">QtMvvm::critical</a>, <a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a135ab8ce6050a9a809d4c2d692f6d73a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a135ab8ce6050a9a809d4c2d692f6d73a">◆ </a></span>warning() <span class="overload">[3/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::warning </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>title</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>text</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const std::function< void()> & </td>
|
|
<td class="paramname"><em>onResult</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>okText</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A shortcut to show a simple warning messagebox. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">onResult</td><td>A handler to be called when the message box has been closed </td></tr>
|
|
<tr><td class="paramname">title</td><td>The messagebox title (<a class="el" href="class_qt_mvvm_1_1_message_config.html#afb1800a2cda243e13cf7cb7e2df67cc1" title="The dialog title or window title. ">MessageConfig::title</a>) </td></tr>
|
|
<tr><td class="paramname">text</td><td>The primary message text (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a9ffe14b430a48307a4853921e6a2844e" title="The primary text/message to be displayed. ">MessageConfig::text</a>) </td></tr>
|
|
<tr><td class="paramname">okText</td><td>An optional text overwrite for the OK button (<a class="el" href="class_qt_mvvm_1_1_message_config.html#a5dc1f0f2f3b933a34319febfb0dbce7f" title="A map of name overwrites for the texts shown on buttons. ">MessageConfig::buttonTexts</a>)</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Shows a simple warning dialog with a title, a text and the OK button present.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="namespace_qt_mvvm.html#a356a9eaee03415624a0a11a501be1d49" title="A shortcut to show a simple question messagebox. ">QtMvvm::question</a>, <a class="el" href="namespace_qt_mvvm.html#aa455b495d75883cc529f5a4c47d567d5" title="A shortcut to show a simple information messagebox. ">QtMvvm::information</a>, <a class="el" href="namespace_qt_mvvm.html#adafd61fd34161741fa78cf3141f59e68" title="A shortcut to show a simple critical error messagebox. ">QtMvvm::critical</a>, <a class="el" href="class_qt_mvvm_1_1_message_config.html" title="A configuration for a simple dialog to be shown from the core code. ">MessageConfig</a>, <a class="el" href="class_qt_mvvm_1_1_core_app.html#a1fb22642bb6150438195f52d1ec2c7d5" title="Show a basic dialog. ">CoreApp::showDialog</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
</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>
|
|
|