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.
		
		
		
		
		
			
		
			
				
					
					
						
							113 lines
						
					
					
						
							32 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							113 lines
						
					
					
						
							32 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: qqmlquickpresenter.h Source File</title>
							 | 
						|
								<link href="tabs.css" rel="stylesheet" type="text/css"/>
							 | 
						|
								<script type="text/javascript" src="jquery.js"></script>
							 | 
						|
								<script type="text/javascript" src="dynsections.js"></script>
							 | 
						|
								<link href="search/search.css" rel="stylesheet" type="text/css"/>
							 | 
						|
								<script type="text/javascript" src="search/searchdata.js"></script>
							 | 
						|
								<script type="text/javascript" src="search/search.js"></script>
							 | 
						|
								<link href="doxygen.css" rel="stylesheet" type="text/css" />
							 | 
						|
								</head>
							 | 
						|
								<body>
							 | 
						|
								<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
							 | 
						|
								<div id="titlearea">
							 | 
						|
								<table cellspacing="0" cellpadding="0" style="display: inline;">
							 | 
						|
								 <tbody>
							 | 
						|
								 <tr style="height: 56px;">
							 | 
						|
								  <td id="projectalign" style="padding-left: 0.5em;">
							 | 
						|
								   <div id="projectname">QtMvvm
							 | 
						|
								    <span id="projectnumber">1.1.0</span>
							 | 
						|
								   </div>
							 | 
						|
								   <div id="projectbrief">A mvvm oriented library for Qt, to create Projects for Widgets and Quick in parallel</div>
							 | 
						|
								  </td>
							 | 
						|
								 </tr>
							 | 
						|
								 </tbody>
							 | 
						|
								</table>
							 | 
						|
								<a style="float: right;" target="_blank"  href="https://github.com/Skycoder42/QtMvvm">
							 | 
						|
								<img style="padding: 10px;" src="GitHub_Logo.png"/>
							 | 
						|
								</a>
							 | 
						|
								</div>
							 | 
						|
								<!-- end header part -->
							 | 
						|
								<!-- Generated by Doxygen 1.8.14 -->
							 | 
						|
								<script type="text/javascript">
							 | 
						|
								/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
							 | 
						|
								var searchBox = new SearchBox("searchBox", "search",false,'Search');
							 | 
						|
								/* @license-end */
							 | 
						|
								</script>
							 | 
						|
								<script type="text/javascript" src="menudata.js"></script>
							 | 
						|
								<script type="text/javascript" src="menu.js"></script>
							 | 
						|
								<script type="text/javascript">
							 | 
						|
								/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
							 | 
						|
								$(function() {
							 | 
						|
								  initMenu('',true,false,'search.php','Search');
							 | 
						|
								  $(document).ready(function() { init_search(); });
							 | 
						|
								});
							 | 
						|
								/* @license-end */</script>
							 | 
						|
								<div id="main-nav"></div>
							 | 
						|
								<!-- window showing the filter options -->
							 | 
						|
								<div id="MSearchSelectWindow"
							 | 
						|
								     onmouseover="return searchBox.OnSearchSelectShow()"
							 | 
						|
								     onmouseout="return searchBox.OnSearchSelectHide()"
							 | 
						|
								     onkeydown="return searchBox.OnSearchSelectKey(event)">
							 | 
						|
								</div>
							 | 
						|
								
							 | 
						|
								<!-- iframe showing the search results (closed by default) -->
							 | 
						|
								<div id="MSearchResultsWindow">
							 | 
						|
								<iframe src="javascript:void(0)" frameborder="0" 
							 | 
						|
								        name="MSearchResults" id="MSearchResults">
							 | 
						|
								</iframe>
							 | 
						|
								</div>
							 | 
						|
								
							 | 
						|
								<div id="nav-path" class="navpath">
							 | 
						|
								  <ul>
							 | 
						|
								<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_a8bd8bcf293c2ab1210f2c2ecd8006f3.html">imports</a></li><li class="navelem"><a class="el" href="dir_37f1474803778587967f116c1887a4b4.html">mvvmquick</a></li>  </ul>
							 | 
						|
								</div>
							 | 
						|
								</div><!-- top -->
							 | 
						|
								<div class="header">
							 | 
						|
								  <div class="headertitle">
							 | 
						|
								<div class="title">qqmlquickpresenter.h</div>  </div>
							 | 
						|
								</div><!--header-->
							 | 
						|
								<div class="contents">
							 | 
						|
								<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span> <span class="preprocessor">#ifndef QTMVVM_QQMLQUICKPRESENTER_H</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span> <span class="preprocessor">#define QTMVVM_QQMLQUICKPRESENTER_H</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span> </div><div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="preprocessor">#include <tuple></span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span> </div><div class="line"><a name="l00006"></a><span class="lineno">    6</span> <span class="preprocessor">#include <QtCore/QObject></span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span> <span class="preprocessor">#include <QtCore/QCache></span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span> <span class="preprocessor">#include <QtCore/QVariant></span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span> <span class="preprocessor">#include <QtCore/QPointer></span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span> <span class="preprocessor">#include <QtCore/QUrl></span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span> <span class="preprocessor">#include <QtCore/QQueue></span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span> <span class="preprocessor">#include <QtCore/QSharedPointer></span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span> </div><div class="line"><a name="l00014"></a><span class="lineno">   14</span> <span class="preprocessor">#include <QtGui/QColor></span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span> </div><div class="line"><a name="l00016"></a><span class="lineno">   16</span> <span class="preprocessor">#include <QtQml/QQmlComponent></span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span> </div><div class="line"><a name="l00018"></a><span class="lineno">   18</span> <span class="preprocessor">#include <QtMvvmCore/ViewModel></span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span> <span class="preprocessor">#include <QtMvvmCore/Messages></span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span> </div><div class="line"><a name="l00021"></a><span class="lineno">   21</span> <span class="preprocessor">#include <QtMvvmQuick/InputViewFactory></span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span> </div><div class="line"><a name="l00023"></a><span class="lineno">   23</span> <span class="preprocessor">#ifdef DOXYGEN_RUN</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span> <span class="keyword">namespace </span><a class="code" href="namespacede_1_1skycoder42_1_1_qt_mvvm_1_1_quick.html">de::skycoder42::QtMvvm::Quick</a> {</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span> </div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter.html">   36</a></span> <span class="keyword">class </span><a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter.html">QuickPresenter</a> : <span class="keyword">public</span> QtObject</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span> <span class="preprocessor">#else</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span> namespace <a class="code" href="namespace_qt_mvvm.html">QtMvvm</a> {</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span> </div><div class="line"><a name="l00040"></a><span class="lineno">   40</span> <span class="keyword">class </span>QQmlQuickPresenter : <span class="keyword">public</span> <a class="codeRef" 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></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span> {</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>     Q_OBJECT</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span> </div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter.html#aca532e8a08a7e447d2223911c8170ef7">   55</a></span>     Q_PROPERTY(<a class="codeRef" target="_blank" doxygen="/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> currentStyle READ currentStyle CONSTANT)</div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter.html#a028bfa8d8e4764b9c53a1374041730bb">   66</a></span>     Q_PROPERTY(InputViewFactory* inputViewFactory READ inputViewFactory NOTIFY <a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter.html#aa4f553caf866f81ad428254c518a0415">inputViewFactoryChanged</a>)</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span> </div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter.html#a40272bbdd220ace763f8670d5228f058">   83</a></span>     Q_PROPERTY(<a class="codeRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtautoupdater/qtautoupdater.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/class_q_object.html">QObject</a>* <a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter.html#a40272bbdd220ace763f8670d5228f058">qmlPresenter</a> MEMBER _qmlPresenter NOTIFY <a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter.html#abc3406d085c9f7eacfed9c8053386e6a">qmlPresenterChanged</a>)</div><div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter.html#a5666385cd3ecde57533348fb39c59d92">   96</a></span>     Q_PROPERTY(<span class="keywordtype">bool</span> <a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter.html#a5666385cd3ecde57533348fb39c59d92">viewLoading</a> READ isViewLoading NOTIFY <a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter.html#afb7faefdb9238bd186f31db7dc5d7e04">viewLoadingChanged</a>)</div><div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter.html#a9d77df29f8d2850a796279efcc6a67f9">  111</a></span>     Q_PROPERTY(qreal loadingProgress READ loadingProgress NOTIFY <a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter.html#a64e61d203b8ee1f59377f8ac0f97a6c8">loadingProgressChanged</a>)</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span> </div><div class="line"><a name="l00113"></a><span class="lineno">  113</span> public:</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>     explicit QQmlQuickPresenter(<a class="codeRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtqml/qtqml.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qqmlengine.html">QQmlEngine</a> *engine);</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span> </div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>     <a class="codeRef" target="_blank" doxygen="/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> currentStyle() const;</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>     InputViewFactory* inputViewFactory() const;</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>     <span class="keywordtype">bool</span> isViewLoading() const;</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>     qreal loadingProgress() const;</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span> </div><div class="line"><a name="l00126"></a><span class="lineno">  126</span> <span class="preprocessor">#ifndef DOXYGEN_RUN</span></div><div class="line"><a name="l00127"></a><span class="lineno">  127</span> <span class="preprocessor">#define static</span></div><div class="line"><a name="l00128"></a><span class="lineno">  128</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>     Q_INVOKABLE <span class="keyword">static</span> <a class="codeRef" target="_blank" doxygen="/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> <a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter.html#a000729688f0284f5ef8c0f69fa25ab85">mimeTypeFilters</a>(<span class="keyword">const</span> <a class="codeRef" target="_blank" doxygen="/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> &mimeTypes) <span class="keyword">const</span>;</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span> </div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>     QTMVVM_REVISION_1 Q_INVOKABLE <span class="keyword">static</span> <a class="codeRef" 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> <a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter.html#ac087af8374d8d3820ba6e83f1cab5c82">accentTextColor</a>(<span class="keyword">const</span> <a class="codeRef" 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> &accentColor, <span class="keyword">const</span> <a class="codeRef" 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> &baseColor) <span class="keyword">const</span>;</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span> </div><div class="line"><a name="l00146"></a><span class="lineno">  146</span> <span class="preprocessor">#ifdef DOXYGEN_RUN</span></div><div class="line"><a name="l00147"></a><span class="lineno">  147</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span> <span class="preprocessor">#else</span></div><div class="line"><a name="l00149"></a><span class="lineno">  149</span> <span class="keyword">public</span> Q_SLOTS:</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>     <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter.html#a72030ae4ade8d648bc17df5023ebab90">toggleDrawer</a>();</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>     <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter.html#aa6c1b01e58c2e9ede0312a6092ce3748">popView</a>();</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span> </div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>     <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter.html#ae2e5940e8aa6c80682fbd8e8ffd562e1">hapticLongPress</a>();</div><div class="line"><a name="l00158"></a><span class="lineno">  158</span> </div><div class="line"><a name="l00159"></a><span class="lineno">  159</span> <span class="preprocessor">#ifndef DOXYGEN_RUN</span></div><div class="line"><a name="l00160"></a><span class="lineno">  160</span> <span class="preprocessor">#undef static</span></div><div class="line"><a name="l00161"></a><span class="lineno">  161</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00162"></a><span class="lineno">  162</span> </div><div class="line"><a name="l00163"></a><span class="lineno">  163</span> Q_SIGNALS:</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>     <span class="keywordtype">void</span> <a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter.html#abc3406d085c9f7eacfed9c8053386e6a">qmlPresenterChanged</a>(<a class="codeRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtautoupdater/qtautoupdater.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/class_q_object.html">QObject</a>* <a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter.html#a40272bbdd220ace763f8670d5228f058">qmlPresenter</a>);</div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>     <span class="keywordtype">void</span> <a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter.html#afb7faefdb9238bd186f31db7dc5d7e04">viewLoadingChanged</a>(<span class="keywordtype">bool</span> <a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter.html#a5666385cd3ecde57533348fb39c59d92">viewLoading</a>);</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>     <span class="keywordtype">void</span> <a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter.html#a64e61d203b8ee1f59377f8ac0f97a6c8">loadingProgressChanged</a>(qreal loadingProgress);</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>     <span class="keywordtype">void</span> <a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter.html#aa4f553caf866f81ad428254c518a0415">inputViewFactoryChanged</a>(InputViewFactory* inputViewFactory);</div><div class="line"><a name="l00172"></a><span class="lineno">  172</span> </div><div class="line"><a name="l00173"></a><span class="lineno">  173</span> <span class="keyword">private</span> Q_SLOTS:</div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>     <span class="keywordtype">void</span> present(<a class="code" href="class_qt_mvvm_1_1_view_model.html">QtMvvm::ViewModel</a> *viewModel, <span class="keyword">const</span> QVariantHash &params, <span class="keyword">const</span> <a class="codeRef" target="_blank" doxygen="/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> &viewUrl, <a class="codeRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qpointer.html">QPointer<QtMvvm::ViewModel></a> parent);</div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>     <span class="keywordtype">void</span> showDialog(<span class="keyword">const</span> <a class="code" href="class_qt_mvvm_1_1_message_config.html">QtMvvm::MessageConfig</a> &config, <a class="code" href="class_qt_mvvm_1_1_message_result.html">QtMvvm::MessageResult</a> *result);</div><div class="line"><a name="l00176"></a><span class="lineno">  176</span>     <span class="keywordtype">void</span> statusChanged(QQmlComponent::Status status);</div><div class="line"><a name="l00177"></a><span class="lineno">  177</span> </div><div class="line"><a name="l00178"></a><span class="lineno">  178</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>     <span class="keyword">using</span> PresentTuple = std::tuple<QSharedPointer<QQmlComponent>, ViewModel*, QVariantHash, <a class="codeRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qpointer.html">QPointer<ViewModel></a>>;</div><div class="line"><a name="l00180"></a><span class="lineno">  180</span>     <a class="codeRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtqml/qtqml.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qqmlengine.html">QQmlEngine</a> *_engine;</div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>     <a class="codeRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qpointer.html">QPointer<QObject></a> _qmlPresenter;</div><div class="line"><a name="l00182"></a><span class="lineno">  182</span> </div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>     <a class="codeRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qpointer.html">QPointer<QQmlComponent></a> _latestComponent;</div><div class="line"><a name="l00184"></a><span class="lineno">  184</span>     <a class="codeRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qcache.html">QCache<QUrl, QSharedPointer<QQmlComponent></a>> _componentCache;</div><div class="line"><a name="l00185"></a><span class="lineno">  185</span>     <a class="codeRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qqueue.html">QQueue<PresentTuple></a> _loadQueue;</div><div class="line"><a name="l00186"></a><span class="lineno">  186</span> </div><div class="line"><a name="l00187"></a><span class="lineno">  187</span>     <span class="keywordtype">void</span> processShowQueue();</div><div class="line"><a name="l00188"></a><span class="lineno">  188</span>     <span class="keywordtype">void</span> addObject(<a class="codeRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtqml/qtqml.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qqmlcomponent.html">QQmlComponent</a> *component, ViewModel *viewModel, <span class="keyword">const</span> QVariantHash &params, <span class="keyword">const</span> <a class="codeRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qpointer.html">QPointer<ViewModel></a> &parent);</div><div class="line"><a name="l00189"></a><span class="lineno">  189</span> };</div><div class="line"><a name="l00190"></a><span class="lineno">  190</span> </div><div class="line"><a name="l00191"></a><span class="lineno">  191</span> }</div><div class="line"><a name="l00192"></a><span class="lineno">  192</span> </div><div class="line"><a name="l00193"></a><span class="lineno">  193</span> <span class="preprocessor">#endif // QTMVVM_QQMLQUICKPRESENTER_H</span></div><div class="ttc" id="qqueue_html"><div class="ttname"><a href="https://doc.qt.io/qt-5/qqueue.html">QQueue< PresentTuple ></a></div></div>
							 | 
						|
								<div class="ttc" id="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter_html_abc3406d085c9f7eacfed9c8053386e6a"><div class="ttname"><a href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter.html#abc3406d085c9f7eacfed9c8053386e6a">de::skycoder42::QtMvvm::Quick::QuickPresenter::qmlPresenterChanged</a></div><div class="ttdeci">void qmlPresenterChanged(QObject *qmlPresenter)</div><div class="ttdoc">NOTIFY accessor for QuickPresenter::qmlPresenter. </div></div>
							 | 
						|
								<div class="ttc" id="qqmlcomponent_html"><div class="ttname"><a href="https://doc.qt.io/qt-5/qqmlcomponent.html">QQmlComponent</a></div></div>
							 | 
						|
								<div class="ttc" id="qpointer_html"><div class="ttname"><a href="https://doc.qt.io/qt-5/qpointer.html">QPointer</a></div></div>
							 | 
						|
								<div class="ttc" id="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter_html_a72030ae4ade8d648bc17df5023ebab90"><div class="ttname"><a href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter.html#a72030ae4ade8d648bc17df5023ebab90">de::skycoder42::QtMvvm::Quick::QuickPresenter::toggleDrawer</a></div><div class="ttdeci">static void toggleDrawer()</div><div class="ttdoc">Toggles the state of the current drawer, if any is beeing used. </div></div>
							 | 
						|
								<div class="ttc" id="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter_html_aa6c1b01e58c2e9ede0312a6092ce3748"><div class="ttname"><a href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter.html#aa6c1b01e58c2e9ede0312a6092ce3748">de::skycoder42::QtMvvm::Quick::QuickPresenter::popView</a></div><div class="ttdeci">static void popView()</div><div class="ttdoc">Pops the current top level view. </div></div>
							 | 
						|
								<div class="ttc" id="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter_html_a40272bbdd220ace763f8670d5228f058"><div class="ttname"><a href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter.html#a40272bbdd220ace763f8670d5228f058">de::skycoder42::QtMvvm::Quick::QuickPresenter::qmlPresenter</a></div><div class="ttdeci">QObject qmlPresenter</div><div class="ttdoc">The primary presenter QML object. </div><div class="ttdef"><b>Definition:</b> <a href="qqmlquickpresenter_8h_source.html#l00083">qqmlquickpresenter.h:83</a></div></div>
							 | 
						|
								<div class="ttc" id="qqmlengine_html"><div class="ttname"><a href="https://doc.qt.io/qt-5/qqmlengine.html">QQmlEngine</a></div></div>
							 | 
						|
								<div class="ttc" id="class_qt_mvvm_1_1_message_config_html"><div class="ttname"><a href="class_qt_mvvm_1_1_message_config.html">QtMvvm::MessageConfig</a></div><div class="ttdoc">A configuration for a simple dialog to be shown from the core code. </div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00020">message.h:20</a></div></div>
							 | 
						|
								<div class="ttc" id="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter_html_a5666385cd3ecde57533348fb39c59d92"><div class="ttname"><a href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter.html#a5666385cd3ecde57533348fb39c59d92">de::skycoder42::QtMvvm::Quick::QuickPresenter::viewLoading</a></div><div class="ttdeci">bool viewLoading</div><div class="ttdoc">Specifies whether the presenter is currently loading a new view component. </div><div class="ttdef"><b>Definition:</b> <a href="qqmlquickpresenter_8h_source.html#l00096">qqmlquickpresenter.h:96</a></div></div>
							 | 
						|
								<div class="ttc" id="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter_html_ac087af8374d8d3820ba6e83f1cab5c82"><div class="ttname"><a href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter.html#ac087af8374d8d3820ba6e83f1cab5c82">de::skycoder42::QtMvvm::Quick::QuickPresenter::accentTextColor</a></div><div class="ttdeci">QTMVVM_REVISION_1 static Q_INVOKABLE QColor accentTextColor(const QColor &accentColor, const QColor &baseColor) const</div><div class="ttdoc">Calculates the optimal text color based on the background color. </div></div>
							 | 
						|
								<div class="ttc" id="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter_html_aa4f553caf866f81ad428254c518a0415"><div class="ttname"><a href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter.html#aa4f553caf866f81ad428254c518a0415">de::skycoder42::QtMvvm::Quick::QuickPresenter::inputViewFactoryChanged</a></div><div class="ttdeci">void inputViewFactoryChanged(InputViewFactory *inputViewFactory)</div><div class="ttdoc">NOTIFY accessor for QuickPresenter::inputViewFactory. </div></div>
							 | 
						|
								<div class="ttc" id="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter_html_a000729688f0284f5ef8c0f69fa25ab85"><div class="ttname"><a href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter.html#a000729688f0284f5ef8c0f69fa25ab85">de::skycoder42::QtMvvm::Quick::QuickPresenter::mimeTypeFilters</a></div><div class="ttdeci">static Q_INVOKABLE QStringList mimeTypeFilters(const QStringList &mimeTypes) const</div><div class="ttdoc">Converts a list of mimetypes into a list of extension filters, for a file dialog. ...</div></div>
							 | 
						|
								<div class="ttc" id="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter_html_ae2e5940e8aa6c80682fbd8e8ffd562e1"><div class="ttname"><a href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter.html#ae2e5940e8aa6c80682fbd8e8ffd562e1">de::skycoder42::QtMvvm::Quick::QuickPresenter::hapticLongPress</a></div><div class="ttdeci">static void hapticLongPress()</div><div class="ttdoc">Performs haptic feedback of a long press (Android only) </div></div>
							 | 
						|
								<div class="ttc" id="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter_html_afb7faefdb9238bd186f31db7dc5d7e04"><div class="ttname"><a href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter.html#afb7faefdb9238bd186f31db7dc5d7e04">de::skycoder42::QtMvvm::Quick::QuickPresenter::viewLoadingChanged</a></div><div class="ttdeci">void viewLoadingChanged(bool viewLoading)</div><div class="ttdoc">NOTIFY accessor for QuickPresenter::viewLoading. </div></div>
							 | 
						|
								<div class="ttc" id="qstring_html"><div class="ttname"><a href="https://doc.qt.io/qt-5/qstring.html">QString</a></div></div>
							 | 
						|
								<div class="ttc" id="qcolor_html"><div class="ttname"><a href="https://doc.qt.io/qt-5/qcolor.html">QColor</a></div></div>
							 | 
						|
								<div class="ttc" id="qstringlist_html"><div class="ttname"><a href="https://doc.qt.io/qt-5/qstringlist.html">QStringList</a></div></div>
							 | 
						|
								<div class="ttc" id="qcache_html"><div class="ttname"><a href="https://doc.qt.io/qt-5/qcache.html">QCache</a></div></div>
							 | 
						|
								<div class="ttc" id="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter_html_a64e61d203b8ee1f59377f8ac0f97a6c8"><div class="ttname"><a href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter.html#a64e61d203b8ee1f59377f8ac0f97a6c8">de::skycoder42::QtMvvm::Quick::QuickPresenter::loadingProgressChanged</a></div><div class="ttdeci">void loadingProgressChanged(qreal loadingProgress)</div><div class="ttdoc">NOTIFY accessor for QuickPresenter::loadingProgress. </div></div>
							 | 
						|
								<div class="ttc" id="namespacede_1_1skycoder42_1_1_qt_mvvm_1_1_quick_html"><div class="ttname"><a href="namespacede_1_1skycoder42_1_1_qt_mvvm_1_1_quick.html">de::skycoder42::QtMvvm::Quick</a></div><div class="ttdoc">The QML import for the QtMvvmQuick QML module. </div><div class="ttdef"><b>Definition:</b> <a href="_action_button_8qml_source.html#l00004">ActionButton.qml:4</a></div></div>
							 | 
						|
								<div class="ttc" id="qurl_html"><div class="ttname"><a href="https://doc.qt.io/qt-5/qurl.html">QUrl</a></div></div>
							 | 
						|
								<div class="ttc" id="class_qt_mvvm_1_1_view_model_html"><div class="ttname"><a href="class_qt_mvvm_1_1_view_model.html">QtMvvm::ViewModel</a></div><div class="ttdoc">The base class for all viewmodels. </div><div class="ttdef"><b>Definition:</b> <a href="viewmodel_8h_source.html#l00021">viewmodel.h:21</a></div></div>
							 | 
						|
								<div class="ttc" id="class_qt_mvvm_1_1_message_result_html"><div class="ttname"><a href="class_qt_mvvm_1_1_message_result.html">QtMvvm::MessageResult</a></div><div class="ttdoc">A result watcher to get the result once a dialog has finished. </div><div class="ttdef"><b>Definition:</b> <a href="message_8h_source.html#l00204">message.h:204</a></div></div>
							 | 
						|
								<div class="ttc" id="class_q_object_html"><div class="ttname"><a href="https://doc.qt.io/qt-5/class_q_object.html">QObject</a></div></div>
							 | 
						|
								<div class="ttc" id="namespace_qt_mvvm_html"><div class="ttname"><a href="namespace_qt_mvvm.html">QtMvvm</a></div><div class="ttdoc">The primary namespace of the QtMvvm library. </div><div class="ttdef"><b>Definition:</b> <a href="androidsettingsaccessor_8h_source.html#l00009">androidsettingsaccessor.h:9</a></div></div>
							 | 
						|
								<div class="ttc" id="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter_html"><div class="ttname"><a href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_quick_1_1_quick_presenter.html">de::skycoder42::QtMvvm::Quick::QuickPresenter</a></div><div class="ttdoc">A QML singleton to access common presenter methods globally. </div><div class="ttdef"><b>Definition:</b> <a href="qqmlquickpresenter_8h_source.html#l00036">qqmlquickpresenter.h:36</a></div></div>
							 | 
						|
								</div><!-- fragment --></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>
							 | 
						|
								
							 |