This file is indexed.

/usr/share/qt5/doc/qtquick/qquickview.html is in qtdeclarative5-doc-html 5.5.1-2ubuntu6.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qquickview.cpp -->
  <title>QQuickView Class | Qt Quick 5.5</title>
  <link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
    <div class="main">
    <div class="main-rounded">
        <div class="navigationbar">
        <ul>
<li>Qt 5.5</li>
<li><a href="qtquick-index.html">Qt Quick</a></li>
<li><a href="qtquick-module.html">C++ Classes</a></li>
<li>QQuickView</li>
<li id="buildversion">Qt 5.5.1 Reference Documentation</li>
    </ul>
    </div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#public-types">Public Types</a></li>
<li class="level1"><a href="#properties">Properties</a></li>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#public-slots">Public Slots</a></li>
<li class="level1"><a href="#signals">Signals</a></li>
<li class="level1"><a href="#protected-functions">Protected Functions</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">QQuickView Class</h1>
<!-- $$$QQuickView-brief -->
<p>The <a href="qquickview.html">QQuickView</a> class provides a window for displaying a Qt Quick user interface. <a href="#details">More...</a></p>
<!-- @@@QQuickView -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include &lt;QQuickView&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += quick</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign">  Qt 5.0</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="qquickwindow.html">QQuickWindow</a></td></tr></table></div><ul>
<li><a href="qquickview-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-types"></a>
<h2 id="public-types">Public Types</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qquickview.html#ResizeMode-enum">ResizeMode</a></b> { SizeViewToRootObject, SizeRootObjectToView }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qquickview.html#Status-enum">Status</a></b> { Null, Ready, Loading, Error }</td></tr>
</table></div>
<a name="properties"></a>
<h2 id="properties">Properties</h2>
<ul>
<li class="fn"><b><a href="qquickview.html#resizeMode-prop">resizeMode</a></b> : ResizeMode</li>
<li class="fn"><b><a href="qquickview.html#source-prop">source</a></b> : QUrl</li>
<li class="fn"><b><a href="qquickview.html#status-prop">status</a></b> : const Status</li>
</ul>
<ul>
<li class="fn">3 properties inherited from <a href="qquickwindow.html#properties">QQuickWindow</a></li>
</ul>
<a name="public-functions"></a>
<h2 id="public-functions">Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qquickview.html#QQuickView">QQuickView</a></b>(QWindow *<i> parent</i> = 0)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qquickview.html#QQuickView-2">QQuickView</a></b>(QQmlEngine *<i> engine</i>, QWindow *<i> parent</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qquickview.html#QQuickView-3">QQuickView</a></b>(const QUrl &amp;<i> source</i>, QWindow *<i> parent</i> = 0)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual </td><td class="memItemRight bottomAlign"><b><a href="qquickview.html#dtor.QQuickView">~QQuickView</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QQmlEngine * </td><td class="memItemRight bottomAlign"><b><a href="qquickview.html#engine">engine</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QList&lt;QQmlError&gt; </td><td class="memItemRight bottomAlign"><b><a href="qquickview.html#errors">errors</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QSize </td><td class="memItemRight bottomAlign"><b><a href="qquickview.html#initialSize">initialSize</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> ResizeMode </td><td class="memItemRight bottomAlign"><b><a href="qquickview.html#resizeMode-prop">resizeMode</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QQmlContext * </td><td class="memItemRight bottomAlign"><b><a href="qquickview.html#rootContext">rootContext</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QQuickItem * </td><td class="memItemRight bottomAlign"><b><a href="qquickview.html#rootObject">rootObject</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qquickview.html#resizeMode-prop">setResizeMode</a></b>(ResizeMode)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QUrl </td><td class="memItemRight bottomAlign"><b><a href="qquickview.html#source-prop">source</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> Status </td><td class="memItemRight bottomAlign"><b><a href="qquickview.html#status-prop">status</a></b>() const</td></tr>
</table></div>
<ul>
<li class="fn">28 public functions inherited from <a href="qquickwindow.html#public-functions">QQuickWindow</a></li>
</ul>
<a name="public-slots"></a>
<h2 id="public-slots">Public Slots</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qquickview.html#source-prop">setSource</a></b>(const QUrl &amp;<i> url</i>)</td></tr>
</table></div>
<ul>
<li class="fn">2 public slots inherited from <a href="qquickwindow.html#public-slots">QQuickWindow</a></li>
</ul>
<a name="signals"></a>
<h2 id="signals">Signals</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qquickview.html#status-prop">statusChanged</a></b>(QQuickView::Status<i> status</i>)</td></tr>
</table></div>
<ul>
<li class="fn">14 signals inherited from <a href="qquickwindow.html#signals">QQuickWindow</a></li>
</ul>
<a name="protected-functions"></a>
<h2 id="protected-functions">Protected Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qquickview.html#keyPressEvent">keyPressEvent</a></b>(QKeyEvent *<i> e</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qquickview.html#keyReleaseEvent">keyReleaseEvent</a></b>(QKeyEvent *<i> e</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qquickview.html#mouseMoveEvent">mouseMoveEvent</a></b>(QMouseEvent *<i> e</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qquickview.html#mousePressEvent">mousePressEvent</a></b>(QMouseEvent *<i> e</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qquickview.html#mouseReleaseEvent">mouseReleaseEvent</a></b>(QMouseEvent *<i> e</i>)</td></tr>
</table></div>
<ul>
<li class="fn">14 protected functions inherited from <a href="qquickwindow.html#protected-functions">QQuickWindow</a></li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li class="fn">2 static public members inherited from <a href="qquickwindow.html#static-public-members">QQuickWindow</a></li>
</ul>
<a name="details"></a>
<!-- $$$QQuickView-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qquickview.html">QQuickView</a> class provides a window for displaying a Qt Quick user interface.</p>
<p>This is a convenience subclass of <a href="qquickwindow.html">QQuickWindow</a> which will automatically load and display a QML scene when given the URL of the main source file. Alternatively, you can instantiate your own objects using QQmlComponent and place them in a manually setup <a href="qquickwindow.html">QQuickWindow</a>.</p>
<p>Typical usage:</p>
<pre class="cpp"><span class="type"><a href="qquickview.html#QQuickView">QQuickView</a></span> <span class="operator">*</span>view <span class="operator">=</span> <span class="keyword">new</span> <span class="type"><a href="qquickview.html#QQuickView">QQuickView</a></span>;
view<span class="operator">-</span><span class="operator">&gt;</span><a href="qquickview.html#source-prop">setSource</a>(<span class="type">QUrl</span><span class="operator">::</span>fromLocalFile(<span class="string">&quot;myqmlfile.qml&quot;</span>));
view<span class="operator">-</span><span class="operator">&gt;</span>show();</pre>
<p>To receive errors related to loading and executing QML with <a href="qquickview.html">QQuickView</a>, you can connect to the <a href="qquickview.html#status-prop">statusChanged</a>() signal and monitor for <a href="qquickview.html#Status-enum">QQuickView::Error</a>. The errors are available via <a href="qquickview.html#errors">QQuickView::errors</a>().</p>
<p><a href="qquickview.html">QQuickView</a> also manages sizing of the view and root object. By default, the <a href="qquickview.html#resizeMode-prop">resizeMode</a> is <a href="qquickview.html#ResizeMode-enum">SizeViewToRootObject</a>, which will load the component and resize it to the size of the view. Alternatively the <a href="qquickview.html#resizeMode-prop">resizeMode</a> may be set to <a href="qquickview.html#ResizeMode-enum">SizeRootObjectToView</a> which will resize the view to the size of the root object.</p>
</div>
<p><b>See also </b>Exposing Attributes of C++ Types to QML and <a href="qquickwidget.html">QQuickWidget</a>.</p>
<!-- @@@QQuickView -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$ResizeMode$$$SizeViewToRootObject$$$SizeRootObjectToView -->
<h3 class="fn" id="ResizeMode-enum"><a name="ResizeMode-enum"></a>enum QQuickView::<span class="name">ResizeMode</span></h3>
<p>This enum specifies how to resize the view.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QQuickView::SizeViewToRootObject</code></td><td class="topAlign"><code>0</code></td><td class="topAlign">The view resizes with the root item in the QML.</td></tr>
<tr><td class="topAlign"><code>QQuickView::SizeRootObjectToView</code></td><td class="topAlign"><code>1</code></td><td class="topAlign">The view will automatically resize the root item to the size of the view.</td></tr>
</table></div>
<!-- @@@ResizeMode -->
<!-- $$$Status$$$Null$$$Ready$$$Loading$$$Error -->
<h3 class="fn" id="Status-enum"><a name="Status-enum"></a>enum QQuickView::<span class="name">Status</span></h3>
<p>Specifies the loading status of the <a href="qquickview.html">QQuickView</a>.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QQuickView::Null</code></td><td class="topAlign"><code>0</code></td><td class="topAlign">This <a href="qquickview.html">QQuickView</a> has no source set.</td></tr>
<tr><td class="topAlign"><code>QQuickView::Ready</code></td><td class="topAlign"><code>1</code></td><td class="topAlign">This <a href="qquickview.html">QQuickView</a> has loaded and created the QML component.</td></tr>
<tr><td class="topAlign"><code>QQuickView::Loading</code></td><td class="topAlign"><code>2</code></td><td class="topAlign">This <a href="qquickview.html">QQuickView</a> is loading network data.</td></tr>
<tr><td class="topAlign"><code>QQuickView::Error</code></td><td class="topAlign"><code>3</code></td><td class="topAlign">One or more errors has occurred. Call <a href="qquickview.html#errors">errors</a>() to retrieve a list of errors.</td></tr>
</table></div>
<!-- @@@Status -->
</div>
<div class="prop">
<h2>Property Documentation</h2>
<!-- $$$resizeMode-prop$$$resizeMode$$$setResizeModeResizeMode -->
<h3 class="fn" id="resizeMode-prop"><a name="resizeMode-prop"></a><span class="name">resizeMode</span> : <span class="type"><a href="qquickview.html#ResizeMode-enum">ResizeMode</a></span></h3>
<p>This property holds whether the view should resize the window contents.</p>
<p>If this property is set to <a href="qquickview.html#ResizeMode-enum">SizeViewToRootObject</a> (the default), the view resizes to the size of the root item in the QML.</p>
<p>If this property is set to <a href="qquickview.html#ResizeMode-enum">SizeRootObjectToView</a>, the view will automatically resize the root item to the size of the view.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> ResizeMode </td><td class="memItemRight bottomAlign"><span class="name"><b>resizeMode</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setResizeMode</b></span>(ResizeMode)</td></tr>
</table></div>
<p><b>See also </b><a href="qquickview.html#initialSize">initialSize</a>().</p>
<!-- @@@resizeMode -->
<!-- $$$source-prop$$$source$$$setSourceconstQUrl& -->
<h3 class="fn" id="source-prop"><a name="source-prop"></a><span class="name">source</span> : <span class="type">QUrl</span></h3>
<p>This property holds the URL of the source of the QML component.</p>
<p>Ensure that the URL provided is full and correct, in particular, use QUrl::fromLocalFile() when loading a file from the local filesystem.</p>
<p>Note that setting a source URL will result in the QML component being instantiated, even if the URL is unchanged from the current value.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QUrl </td><td class="memItemRight bottomAlign"><span class="name"><b>source</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setSource</b></span>(const QUrl &amp;<i> url</i>)</td></tr>
</table></div>
<!-- @@@source -->
<!-- $$$status-prop$$$status$$$statusChangedQQuickView::Status -->
<h3 class="fn" id="status-prop"><a name="status-prop"></a><span class="name">status</span> : const <span class="type"><a href="qquickview.html#Status-enum">Status</a></span></h3>
<p>The component's current <a href="qquickview.html#Status-enum">status</a>.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> Status </td><td class="memItemRight bottomAlign"><span class="name"><b>status</b></span>() const</td></tr>
</table></div>
<p><b>Notifier signal:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>statusChanged</b></span>(QQuickView::Status<i> status</i>)</td></tr>
</table></div>
<!-- @@@status -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QQuickView[overload1]$$$QQuickViewQWindow* -->
<h3 class="fn" id="QQuickView"><a name="QQuickView"></a>QQuickView::<span class="name">QQuickView</span>(<span class="type">QWindow</span> *<i> parent</i> = 0)</h3>
<p>Constructs a <a href="qquickview.html">QQuickView</a> with the given <i>parent</i>. The default value of <i>parent</i> is 0.</p>
<!-- @@@QQuickView -->
<!-- $$$QQuickView$$$QQuickViewQQmlEngine*QWindow* -->
<h3 class="fn" id="QQuickView-2"><a name="QQuickView-2"></a>QQuickView::<span class="name">QQuickView</span>(<span class="type">QQmlEngine</span> *<i> engine</i>, <span class="type">QWindow</span> *<i> parent</i>)</h3>
<p>Constructs a <a href="qquickview.html">QQuickView</a> with the given QML <i>engine</i> and <i>parent</i>.</p>
<p>Note: In this case, the <a href="qquickview.html">QQuickView</a> does not own the given <i>engine</i> object; it is the caller's responsibility to destroy the engine. If the <i>engine</i> is deleted before the view, <a href="qquickview.html#status-prop">status</a>() will return <a href="qquickview.html#Status-enum">QQuickView::Error</a>.</p>
<p><b>See also </b><a href="qquickview.html#Status-enum">Status</a>, <a href="qquickview.html#status-prop">status</a>(), and <a href="qquickview.html#errors">errors</a>().</p>
<!-- @@@QQuickView -->
<!-- $$$QQuickView$$$QQuickViewconstQUrl&QWindow* -->
<h3 class="fn" id="QQuickView-3"><a name="QQuickView-3"></a>QQuickView::<span class="name">QQuickView</span>(const <span class="type">QUrl</span> &amp;<i> source</i>, <span class="type">QWindow</span> *<i> parent</i> = 0)</h3>
<p>Constructs a <a href="qquickview.html">QQuickView</a> with the given QML <i>source</i> and <i>parent</i>. The default value of <i>parent</i> is 0.</p>
<!-- @@@QQuickView -->
<!-- $$$~QQuickView[overload1]$$$~QQuickView -->
<h3 class="fn" id="dtor.QQuickView"><a name="dtor.QQuickView"></a><code>[virtual] </code>QQuickView::<span class="name">~QQuickView</span>()</h3>
<p>Destroys the <a href="qquickview.html">QQuickView</a>.</p>
<!-- @@@~QQuickView -->
<!-- $$$engine[overload1]$$$engine -->
<h3 class="fn" id="engine"><a name="engine"></a><span class="type">QQmlEngine</span> * QQuickView::<span class="name">engine</span>() const</h3>
<p>Returns a pointer to the QQmlEngine used for instantiating QML Components.</p>
<!-- @@@engine -->
<!-- $$$errors[overload1]$$$errors -->
<h3 class="fn" id="errors"><a name="errors"></a><span class="type">QList</span>&lt;<span class="type">QQmlError</span>&gt; QQuickView::<span class="name">errors</span>() const</h3>
<p>Return the list of errors that occurred during the last compile or create operation. When the status is not Error, an empty list is returned.</p>
<!-- @@@errors -->
<!-- $$$initialSize[overload1]$$$initialSize -->
<h3 class="fn" id="initialSize"><a name="initialSize"></a><span class="type">QSize</span> QQuickView::<span class="name">initialSize</span>() const</h3>
<p>Returns the initial size of the root object.</p>
<p>If <a href="qquickview.html#resizeMode-prop">resizeMode</a> is QQuickItem::SizeRootObjectToView the root object will be resized to the size of the view. initialSize contains the size of the root object before it was resized.</p>
<!-- @@@initialSize -->
<!-- $$$keyPressEvent[overload1]$$$keyPressEventQKeyEvent* -->
<h3 class="fn" id="keyPressEvent"><a name="keyPressEvent"></a><code>[protected] </code><span class="type">void</span> QQuickView::<span class="name">keyPressEvent</span>(<span class="type">QKeyEvent</span> *<i> e</i>)</h3>
<!-- @@@keyPressEvent -->
<!-- $$$keyReleaseEvent[overload1]$$$keyReleaseEventQKeyEvent* -->
<h3 class="fn" id="keyReleaseEvent"><a name="keyReleaseEvent"></a><code>[protected] </code><span class="type">void</span> QQuickView::<span class="name">keyReleaseEvent</span>(<span class="type">QKeyEvent</span> *<i> e</i>)</h3>
<!-- @@@keyReleaseEvent -->
<!-- $$$mouseMoveEvent[overload1]$$$mouseMoveEventQMouseEvent* -->
<h3 class="fn" id="mouseMoveEvent"><a name="mouseMoveEvent"></a><code>[protected] </code><span class="type">void</span> QQuickView::<span class="name">mouseMoveEvent</span>(<span class="type">QMouseEvent</span> *<i> e</i>)</h3>
<!-- @@@mouseMoveEvent -->
<!-- $$$mousePressEvent[overload1]$$$mousePressEventQMouseEvent* -->
<h3 class="fn" id="mousePressEvent"><a name="mousePressEvent"></a><code>[protected] </code><span class="type">void</span> QQuickView::<span class="name">mousePressEvent</span>(<span class="type">QMouseEvent</span> *<i> e</i>)</h3>
<!-- @@@mousePressEvent -->
<!-- $$$mouseReleaseEvent[overload1]$$$mouseReleaseEventQMouseEvent* -->
<h3 class="fn" id="mouseReleaseEvent"><a name="mouseReleaseEvent"></a><code>[protected] </code><span class="type">void</span> QQuickView::<span class="name">mouseReleaseEvent</span>(<span class="type">QMouseEvent</span> *<i> e</i>)</h3>
<!-- @@@mouseReleaseEvent -->
<!-- $$$rootContext[overload1]$$$rootContext -->
<h3 class="fn" id="rootContext"><a name="rootContext"></a><span class="type">QQmlContext</span> * QQuickView::<span class="name">rootContext</span>() const</h3>
<p>This function returns the root of the context hierarchy. Each QML component is instantiated in a QQmlContext. QQmlContext's are essential for passing data to QML components. In QML, contexts are arranged hierarchically and this hierarchy is managed by the QQmlEngine.</p>
<!-- @@@rootContext -->
<!-- $$$rootObject[overload1]$$$rootObject -->
<h3 class="fn" id="rootObject"><a name="rootObject"></a><span class="type"><a href="qquickitem.html">QQuickItem</a></span> * QQuickView::<span class="name">rootObject</span>() const</h3>
<p>Returns the view's root <a href="qquickitem.html">item</a>.</p>
<!-- @@@rootObject -->
</div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2015 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>