<trclass="memdesc:ad93d6c23b74888ccf6f22887d1f85cd8"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Is called to try to present a view. <ahref="#ad93d6c23b74888ccf6f22887d1f85cd8">More...</a><br/></td></tr>
<divclass="textblock"><p>A simple interface to make it possible for any view to present subviews. </p>
<p>If a the viewmodel of a view that was presented by the <aclass="el"href="class_qt_mvvm_1_1_widgets_presenter.html"title="The IPresenter implementation for the widgets module. ">WidgetsPresenter</a> as used as the parent view of another viewmodel, the parent view can implement this interface in order to be used as presenter for the view of the child viewmodel. In such a case, if the parent view implements this interface, the <aclass="el"href="class_qt_mvvm_1_1_i_presenting_view.html#ad93d6c23b74888ccf6f22887d1f85cd8"title="Is called to try to present a view. ">tryPresent()</a> method is called to try the presentation of the child view</p>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="ipresentingview_8h.html#ad746ed00eeb29c587b614c3bc7980da7"title="The IID of the QtMvvm::IPresentingView class. ">QtMvvm_IPresentingViewIid</a>, <aclass="el"href="class_qt_mvvm_1_1_widgets_presenter.html"title="The IPresenter implementation for the widgets module. ">WidgetsPresenter</a></dd></dl>
<pclass="definition">Definition at line <aclass="el"href="ipresentingview_8h_source.html#l00011">11</a> of file <aclass="el"href="ipresentingview_8h_source.html">ipresentingview.h</a>.</p>
</div><h2class="groupheader">Member Function Documentation</h2>
<tr><tdclass="paramname">view</td><td>The view that is tryed to be presented </td></tr>
</table>
</dd>
</dl>
<dlclass="section return"><dt>Returns</dt><dd><code>true</code> if successfully presented, <code>false</code> if not</dd></dl>
<p>If true is returned, the presenter assumes presentation was successful and thus completes. If false is returned, it resumes presenting the view normally, just as if that interface was never implemented </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>