This file is indexed.

/usr/share/qt5/doc/qtquickcontrols2/qml-qtquick-controls2-applicationwindow.html is in qtquickcontrols2-5-doc-html 5.9.5-0ubuntu2.

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
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qquickapplicationwindow.cpp -->
  <title>ApplicationWindow QML Type | Qt Quick Controls 2 5.9</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td >Qt 5.9</td><td ><a href="qtquickcontrols2-index.html">Qt Quick Controls 2</a></td><td ><a href="qtquick-controls2-qmlmodule.html">QML Types</a></td><td >ApplicationWindow QML Type</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.9.5 Reference Documentation</td>
        </tr></table>
      </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="#properties">Properties</a></li>
<li class="level1"><a href="#attached-properties">Attached Properties</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
<li class="level2"><a href="#attached-applicationwindow-properties">Attached ApplicationWindow Properties</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">ApplicationWindow QML Type</h1>
<span class="subtitle"></span>
<!-- $$$ApplicationWindow-brief -->
<p>Styled top-level window with support for a header and footer. <a href="#details">More...</a></p>
<!-- @@@ApplicationWindow -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import QtQuick.Controls 2.2</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign">  Qt 5.7</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="../qtquick/qml-qtquick-window-window.html">Window</a></p>
</td></tr></table></div><ul>
<li><a href="qml-qtquick-controls2-applicationwindow-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="properties"></a>
<h2 id="properties">Properties</h2>
<ul>
<li class="fn"><b><b><a href="qml-qtquick-controls2-applicationwindow.html#activeFocusControl-prop">activeFocusControl</a></b></b> : Control</li>
<li class="fn"><b><b><a href="qml-qtquick-controls2-applicationwindow.html#background-prop">background</a></b></b> : Item</li>
<li class="fn"><b><b><a href="qml-qtquick-controls2-applicationwindow.html#contentData-prop">contentData</a></b></b> : list&lt;Object&gt;</li>
<li class="fn"><b><b><a href="qml-qtquick-controls2-applicationwindow.html#contentItem-prop">contentItem</a></b></b> : Item</li>
<li class="fn"><b><b><a href="qml-qtquick-controls2-applicationwindow.html#font-prop">font</a></b></b> : font</li>
<li class="fn"><b><b><a href="qml-qtquick-controls2-applicationwindow.html#footer-prop">footer</a></b></b> : Item</li>
<li class="fn"><b><b><a href="qml-qtquick-controls2-applicationwindow.html#header-prop">header</a></b></b> : Item</li>
<li class="fn"><b><b><a href="qml-qtquick-controls2-applicationwindow.html#locale-prop">locale</a></b></b> : Locale</li>
<li class="fn"><b><b><a href="qml-qtquick-controls2-applicationwindow.html#overlay-prop">overlay</a></b></b><ul>
<li class="fn"><b><b><a href="qml-qtquick-controls2-applicationwindow.html#overlay-prop">overlay</a></b></b> : Item</li>
<li class="fn"><b><b><a href="qml-qtquick-controls2-applicationwindow.html#overlay.modal-prop">overlay.modal</a></b></b> : Component</li>
<li class="fn"><b><b><a href="qml-qtquick-controls2-applicationwindow.html#overlay.modeless-prop">overlay.modeless</a></b></b> : Component</li>
</ul>
</li>
</ul>
<a name="attached-properties"></a>
<h2 id="attached-properties">Attached Properties</h2>
<ul>
<li class="fn"><b><b><a href="qml-qtquick-controls2-applicationwindow.html#activeFocusControl-attached-prop">activeFocusControl</a></b></b> : Control</li>
<li class="fn"><b><b><a href="qml-qtquick-controls2-applicationwindow.html#contentItem-attached-prop">contentItem</a></b></b> : Item</li>
<li class="fn"><b><b><a href="qml-qtquick-controls2-applicationwindow.html#footer-attached-prop">footer</a></b></b> : Item</li>
<li class="fn"><b><b><a href="qml-qtquick-controls2-applicationwindow.html#header-attached-prop">header</a></b></b> : Item</li>
<li class="fn"><b><b><a href="qml-qtquick-controls2-applicationwindow.html#overlay-attached-prop">overlay</a></b></b> : Item</li>
<li class="fn"><b><b><a href="qml-qtquick-controls2-applicationwindow.html#window-attached-prop">window</a></b></b> : ApplicationWindow</li>
</ul>
<!-- $$$ApplicationWindow-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<p><a href="qml-qtquick-controls2-applicationwindow.html">ApplicationWindow</a> is a <a href="../qtquick/qml-qtquick-window-window.html">Window</a> which makes it convenient to add a <a href="qml-qtquick-controls2-applicationwindow.html#header-attached-prop">header</a> and <a href="qml-qtquick-controls2-applicationwindow.html#footer-attached-prop">footer</a> item to the window.</p>
<p>You can declare <a href="qml-qtquick-controls2-applicationwindow.html">ApplicationWindow</a> as the root item of your application, and run it by using <a href="../qtqml/qqmlapplicationengine.html">QQmlApplicationEngine</a>. In this way you can control the window's properties, appearance and layout from QML.</p>
<p class="centerAlign"><img src="images/qtquickcontrols2-applicationwindow-wireframe.png" alt="" /></p><pre class="qml">

  import QtQuick.Controls 2.1

  <span class="type"><a href="qml-qtquick-controls2-applicationwindow.html">ApplicationWindow</a></span> {
      <span class="name">visible</span>: <span class="number">true</span>

      <span class="name">header</span>: <span class="name">ToolBar</span> {
          <span class="comment">// ...</span>
      }

      <span class="name">footer</span>: <span class="name">TabBar</span> {
          <span class="comment">// ...</span>
      }

      <span class="type"><a href="qml-qtquick-controls2-stackview.html">StackView</a></span> {
          <span class="name">anchors</span>.fill: <span class="name">parent</span>
      }
  }

</pre>
<p><a href="qml-qtquick-controls2-applicationwindow.html">ApplicationWindow</a> supports popups via its <a href="qml-qtquick-controls2-applicationwindow.html#overlay-attached-prop">overlay</a> property, which ensures that popups are displayed above other content and that the background is dimmed when a <a href="qml-qtquick-controls2-popup.html#modal-prop">modal</a> or <a href="qml-qtquick-controls2-popup.html#dim-prop">dimmed</a> popup is visible.</p>
<p><b>Note: </b>By default, an <a href="qml-qtquick-controls2-applicationwindow.html">ApplicationWindow</a> is not visible.</p><a name="attached-applicationwindow-properties"></a>
<h3 >Attached ApplicationWindow Properties</h3>
<p>Due to how <a href="../qtqml/qtqml-documents-topic.html#scope-and-naming-resolution">Scope and Naming Resolution</a> works in QML, it is possible to reference the <code>id</code> of the application root element anywhere in its child QML objects. Even though this approach is fine for many applications and use cases, for a generic QML component it may not be acceptable as it creates a dependency to the surrounding environment.</p>
<p><a href="qml-qtquick-controls2-applicationwindow.html">ApplicationWindow</a> provides a set of attached properties that can be used to access the window and its building blocks from places where no direct access to the window is available, without creating a dependency to a certain window <code>id</code>. A QML component that uses the <a href="qml-qtquick-controls2-applicationwindow.html">ApplicationWindow</a> attached properties works in any window regardless of its <code>id</code>. The following example uses the attached <code>overlay</code> property to position the popup to the center of the window, despite the position of the button that opens the popup.</p>
<pre class="cpp">

  Button {
      onClicked: popup<span class="operator">.</span>open()

      Popup {
          id: popup

          parent: ApplicationWindow<span class="operator">.</span>overlay

          x: (parent<span class="operator">.</span>width <span class="operator">-</span> width) <span class="operator">/</span> <span class="number">2</span>
          y: (parent<span class="operator">.</span>height <span class="operator">-</span> height) <span class="operator">/</span> <span class="number">2</span>
          width: <span class="number">100</span>
          height: <span class="number">100</span>
      }
  }

</pre>
<p><b>See also </b><a href="qtquickcontrols2-customize.html#customizing-applicationwindow">Customizing ApplicationWindow</a>, <a href="qml-qtquick-controls2-page.html">Page</a>, and <a href="qtquickcontrols2-containers.html">Container Controls</a>.</p>
<!-- @@@ApplicationWindow -->
<h2>Property Documentation</h2>
<!-- $$$activeFocusControl -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="activeFocusControl-prop">
<td class="tblQmlPropNode"><p>
<a name="activeFocusControl-prop"></a><span class="qmlreadonly">[read-only] </span><span class="name">activeFocusControl</span> : <span class="type"><a href="qml-qtquick-controls2-control.html">Control</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the control that currently has active focus, or <code>null</code> if there is no control with active focus.</p>
<p>The difference between <a href="../qtquick/qml-qtquick-window-window.html#activeFocusItem-attached-prop">Window::activeFocusItem</a> and <a href="qml-qtquick-controls2-applicationwindow.html#activeFocusControl-attached-prop">ApplicationWindow::activeFocusControl</a> is that the former may point to a building block of a control, whereas the latter points to the enclosing control. For example, when <a href="qml-qtquick-controls2-spinbox.html">SpinBox</a> has focus, activeFocusItem points to the editor and <a href="qml-qtquick-controls2-applicationwindow.html#activeFocusControl-attached-prop">activeFocusControl</a> to the <a href="qml-qtquick-controls2-spinbox.html">SpinBox</a> itself.</p>
<p><b>See also </b><a href="../qtquick/qml-qtquick-window-window.html#activeFocusItem-attached-prop">Window::activeFocusItem</a>.</p>
</div></div><!-- @@@activeFocusControl -->
<br/>
<!-- $$$background -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="background-prop">
<td class="tblQmlPropNode"><p>
<a name="background-prop"></a><span class="name">background</span> : <span class="type"><a href="../qtquick/qml-qtquick-item.html">Item</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the background item.</p>
<p>The background item is stacked under the <a href="qml-qtquick-controls2-applicationwindow.html#contentItem-attached-prop">content item</a>, but above the <a href="../qtquick/qml-qtquick-window-window.html#color-prop">background color</a> of the window.</p>
<p>The background item is useful for images and gradients, for example, but the <a href="../qtquick/qml-qtquick-window-window.html#color-prop">color</a> property is preferable for solid colors, as it doesn't need to create an item.</p>
<p><b>Note: </b>If the background item has no explicit size specified, it automatically follows the control's size. In most cases, there is no need to specify width or height for a background item.</p><p><b>See also </b><a href="qtquickcontrols2-customize.html#customizing-applicationwindow">Customizing ApplicationWindow</a>, <a href="qml-qtquick-controls2-applicationwindow.html#contentItem-attached-prop">contentItem</a>, <a href="qml-qtquick-controls2-applicationwindow.html#header-attached-prop">header</a>, <a href="qml-qtquick-controls2-applicationwindow.html#footer-attached-prop">footer</a>, and <a href="qml-qtquick-controls2-applicationwindow.html#overlay-attached-prop">overlay</a>.</p>
</div></div><!-- @@@background -->
<br/>
<!-- $$$contentData -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="contentData-prop">
<td class="tblQmlPropNode"><p>
<a name="contentData-prop"></a><span class="qmldefault">[default] </span><span class="name">contentData</span> : <span class="type">list</span>&lt;<span class="type">Object</span>&gt;</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This default property holds the list of all objects declared as children of the window.</p>
<p>The data property allows you to freely mix visual children, resources and other windows in an <a href="qml-qtquick-controls2-applicationwindow.html">ApplicationWindow</a>.</p>
<p>If you assign an Item to the contentData list, it becomes a child of the window's <a href="qml-qtquick-controls2-applicationwindow.html#contentItem-attached-prop">contentItem</a>, so that it appears inside the window. The item's parent will be the window's <a href="qml-qtquick-controls2-applicationwindow.html#contentItem-attached-prop">contentItem</a>.</p>
<p>It should not generally be necessary to refer to the contentData property, as it is the default property for <a href="qml-qtquick-controls2-applicationwindow.html">ApplicationWindow</a> and thus all child items are automatically assigned to this property.</p>
<p><b>See also </b><a href="qml-qtquick-controls2-applicationwindow.html#contentItem-attached-prop">contentItem</a>.</p>
</div></div><!-- @@@contentData -->
<br/>
<!-- $$$contentItem -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="contentItem-prop">
<td class="tblQmlPropNode"><p>
<a name="contentItem-prop"></a><span class="qmlreadonly">[read-only] </span><span class="name">contentItem</span> : <span class="type"><a href="../qtquick/qml-qtquick-item.html">Item</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the window content item.</p>
<p>The content item is stacked above the <a href="qml-qtquick-controls2-applicationwindow.html#background-prop">background</a> item, and under the <a href="qml-qtquick-controls2-applicationwindow.html#header-attached-prop">header</a>, <a href="qml-qtquick-controls2-applicationwindow.html#footer-attached-prop">footer</a>, and <a href="qml-qtquick-controls2-applicationwindow.html#overlay-attached-prop">overlay</a> items.</p>
<p><b>See also </b><a href="qml-qtquick-controls2-applicationwindow.html#background-prop">background</a>, <a href="qml-qtquick-controls2-applicationwindow.html#header-attached-prop">header</a>, <a href="qml-qtquick-controls2-applicationwindow.html#footer-attached-prop">footer</a>, and <a href="qml-qtquick-controls2-applicationwindow.html#overlay-attached-prop">overlay</a>.</p>
</div></div><!-- @@@contentItem -->
<br/>
<!-- $$$font -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="font-prop">
<td class="tblQmlPropNode"><p>
<a name="font-prop"></a><span class="name">font</span> : <span class="type"><a href="qml-qtquick-controls2-applicationwindow.html#font-prop">font</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the font currently set for the window.</p>
<p>The default font depends on the system environment. <a href="../qtgui/qguiapplication.html">QGuiApplication</a> maintains a system/theme font which serves as a default for all application windows. You can also set the default font for windows by passing a custom font to <a href="../qtgui/qguiapplication.html#setFont">QGuiApplication::setFont()</a>, before loading any QML. Finally, the font is matched against Qt's font database to find the best match.</p>
<p><a href="qml-qtquick-controls2-applicationwindow.html">ApplicationWindow</a> propagates explicit font properties to child controls. If you change a specific property on the window's font, that property propagates to all child controls in the window, overriding any system defaults for that property.</p>
<p><b>See also </b><a href="qml-qtquick-controls2-control.html#font-prop">Control::font</a>.</p>
</div></div><!-- @@@font -->
<br/>
<!-- $$$footer -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="footer-prop">
<td class="tblQmlPropNode"><p>
<a name="footer-prop"></a><span class="name">footer</span> : <span class="type"><a href="../qtquick/qml-qtquick-item.html">Item</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the window footer item. The footer item is positioned to the bottom, and resized to the width of the window. The default value is <code>null</code>.</p>
<pre class="cpp">

  ApplicationWindow {
      footer: ToolBar {
          <span class="comment">// ...</span>
      }
  }

</pre>
<p><b>Note: </b>Assigning a <a href="qml-qtquick-controls2-toolbar.html">ToolBar</a>, <a href="qtquickcontrols2-navigation.html#tabbar">TabBar</a>, or <a href="qml-qtquick-controls2-dialogbuttonbox.html">DialogButtonBox</a> as a window footer automatically sets the respective <a href="qml-qtquick-controls2-toolbar.html#position-prop">ToolBar::position</a>, <a href="qml-qtquick-controls2-tabbar.html#position-prop">TabBar::position</a>, or <a href="qml-qtquick-controls2-dialogbuttonbox.html#position-prop">DialogButtonBox::position</a> property to <code>Footer</code>.</p><p><b>See also </b><a href="qml-qtquick-controls2-applicationwindow.html#header-attached-prop">header</a> and <a href="qml-qtquick-controls2-page.html#footer-prop">Page::footer</a>.</p>
</div></div><!-- @@@footer -->
<br/>
<!-- $$$header -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="header-prop">
<td class="tblQmlPropNode"><p>
<a name="header-prop"></a><span class="name">header</span> : <span class="type"><a href="../qtquick/qml-qtquick-item.html">Item</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the window header item. The header item is positioned to the top, and resized to the width of the window. The default value is <code>null</code>.</p>
<pre class="cpp">

  ApplicationWindow {
      header: TabBar {
          <span class="comment">// ...</span>
      }
  }

</pre>
<p><b>Note: </b>Assigning a <a href="qml-qtquick-controls2-toolbar.html">ToolBar</a>, <a href="qtquickcontrols2-navigation.html#tabbar">TabBar</a>, or <a href="qml-qtquick-controls2-dialogbuttonbox.html">DialogButtonBox</a> as a window header automatically sets the respective <a href="qml-qtquick-controls2-toolbar.html#position-prop">ToolBar::position</a>, <a href="qml-qtquick-controls2-tabbar.html#position-prop">TabBar::position</a>, or <a href="qml-qtquick-controls2-dialogbuttonbox.html#position-prop">DialogButtonBox::position</a> property to <code>Header</code>.</p><p><b>See also </b><a href="qml-qtquick-controls2-applicationwindow.html#footer-attached-prop">footer</a> and <a href="qml-qtquick-controls2-page.html#header-prop">Page::header</a>.</p>
</div></div><!-- @@@header -->
<br/>
<!-- $$$locale -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="locale-prop">
<td class="tblQmlPropNode"><p>
<a name="locale-prop"></a><span class="name">locale</span> : <span class="type"><a href="../qtqml/qml-qtqml-locale.html">Locale</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the locale of the window.</p>
<p>The default locale depends on the system environment. You can set the default locale by calling <a href="../qtcore/qlocale.html#setDefault">QLocale::setDefault()</a>, before loading any QML.</p>
<p><a href="qml-qtquick-controls2-applicationwindow.html">ApplicationWindow</a> propagates the locale to child controls. If you change the window's locale, that locale propagates to all child controls in the window, overriding the system default locale.</p>
<p><b>See also </b><a href="qml-qtquick-controls2-control.html#locale-prop">Control::locale</a> and <a href="../qtquick/qml-qtquick-layoutmirroring.html">LayoutMirroring</a>.</p>
</div></div><!-- @@@locale -->
<br/>
<!-- $$$overlay -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="even" id="overlay-prop"><th class="centerAlign"><p><a name="overlay-prop"></a><b>overlay group</b></p></th></tr><tr valign="top" class="odd" id="overlay-prop"><td class="tblQmlPropNode"><p><a name="overlay-prop"></a><span class="name">overlay</span> : <span class="type"><a href="../qtquick/qml-qtquick-item.html">Item</a></span></p></td></tr><tr valign="top" class="odd" id="overlay.modal-prop"><td class="tblQmlPropNode"><p><a name="overlay.modal-prop"></a><span class="name">overlay.modal</span> : <span class="type"><a href="../qtqml/qml-qtqml-component.html">Component</a></span></p></td></tr><tr valign="top" class="odd" id="overlay.modeless-prop"><td class="tblQmlPropNode"><p><a name="overlay.modeless-prop"></a><span class="name">overlay.modeless</span> : <span class="type"><a href="../qtqml/qml-qtqml-component.html">Component</a></span></p></td></tr></table></div></div><div class="qmldoc"><p>This property holds the window overlay item. Popups are automatically reparented to the overlay.</p>
<div class="table"><table class="generic">
 <thead><tr class="qt-style"><th >Property</th><th >Description</th></tr></thead>
<tr valign="top" class="odd"><td >overlay.modal</td><td >This property holds a component to use as a visual item that implements background dimming for modal popups. It is created for and stacked below visible modal popups.</td></tr>
<tr valign="top" class="even"><td >overlay.modeless</td><td >This property holds a component to use as a visual item that implements background dimming for modeless popups. It is created for and stacked below visible dimming popups.</td></tr>
<tr valign="top" class="odd"><td >overlay.pressed()</td><td >This signal is emitted when the overlay is pressed by the user while a popup is visible.</td></tr>
<tr valign="top" class="even"><td >overlay.released()</td><td >This signal is emitted when the overlay is released by the user while a modal popup is visible.</td></tr>
</table></div>
<p><b>See also </b><a href="qml-qtquick-controls2-popup.html#modal-prop">Popup::modal</a> and <a href="qml-qtquick-controls2-popup.html#dim-prop">Popup::dim</a>.</p>
</div></div><!-- @@@overlay -->
<br/>
<h2>Attached Property Documentation</h2>
<!-- $$$activeFocusControl -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="activeFocusControl-attached-prop">
<td class="tblQmlPropNode"><p>
<a name="activeFocusControl-attached-prop"></a><span class="qmlreadonly">[read-only] </span><span class="name">ApplicationWindow.activeFocusControl</span> : <span class="type"><a href="qml-qtquick-controls2-control.html">Control</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This attached property holds the control that currently has active focus, or <code>null</code> if there is no control with active focus. The property can be attached to any item. The value is <code>null</code> if the item is not in an <a href="qml-qtquick-controls2-applicationwindow.html">ApplicationWindow</a>, or the window has no active focus.</p>
<p><b>See also </b><a href="../qtquick/qml-qtquick-window-window.html#activeFocusItem-attached-prop">Window::activeFocusItem</a> and <a href="qml-qtquick-controls2-applicationwindow.html#attached-applicationwindow-properties">Attached ApplicationWindow Properties</a>.</p>
</div></div><!-- @@@activeFocusControl -->
<br/>
<!-- $$$contentItem -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="contentItem-attached-prop">
<td class="tblQmlPropNode"><p>
<a name="contentItem-attached-prop"></a><span class="qmlreadonly">[read-only] </span><span class="name">ApplicationWindow.contentItem</span> : <span class="type"><a href="../qtquick/qml-qtquick-item.html">Item</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This attached property holds the window content item. The property can be attached to any item. The value is <code>null</code> if the item is not in an <a href="qml-qtquick-controls2-applicationwindow.html">ApplicationWindow</a>.</p>
<p><b>See also </b><a href="qml-qtquick-controls2-applicationwindow.html#attached-applicationwindow-properties">Attached ApplicationWindow Properties</a>.</p>
</div></div><!-- @@@contentItem -->
<br/>
<!-- $$$footer -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="footer-attached-prop">
<td class="tblQmlPropNode"><p>
<a name="footer-attached-prop"></a><span class="qmlreadonly">[read-only] </span><span class="name">ApplicationWindow.footer</span> : <span class="type"><a href="../qtquick/qml-qtquick-item.html">Item</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This attached property holds the window footer item. The property can be attached to any item. The value is <code>null</code> if the item is not in an <a href="qml-qtquick-controls2-applicationwindow.html">ApplicationWindow</a>, or the window has no footer item.</p>
<p><b>See also </b><a href="qml-qtquick-controls2-applicationwindow.html#attached-applicationwindow-properties">Attached ApplicationWindow Properties</a>.</p>
</div></div><!-- @@@footer -->
<br/>
<!-- $$$header -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="header-attached-prop">
<td class="tblQmlPropNode"><p>
<a name="header-attached-prop"></a><span class="qmlreadonly">[read-only] </span><span class="name">ApplicationWindow.header</span> : <span class="type"><a href="../qtquick/qml-qtquick-item.html">Item</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This attached property holds the window header item. The property can be attached to any item. The value is <code>null</code> if the item is not in an <a href="qml-qtquick-controls2-applicationwindow.html">ApplicationWindow</a>, or the window has no header item.</p>
<p><b>See also </b><a href="qml-qtquick-controls2-applicationwindow.html#attached-applicationwindow-properties">Attached ApplicationWindow Properties</a>.</p>
</div></div><!-- @@@header -->
<br/>
<!-- $$$overlay -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="overlay-attached-prop">
<td class="tblQmlPropNode"><p>
<a name="overlay-attached-prop"></a><span class="qmlreadonly">[read-only] </span><span class="name">ApplicationWindow.overlay</span> : <span class="type"><a href="../qtquick/qml-qtquick-item.html">Item</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This attached property holds the window overlay item. The property can be attached to any item. The value is <code>null</code> if the item is not in an <a href="qml-qtquick-controls2-applicationwindow.html">ApplicationWindow</a>.</p>
<p><b>See also </b><a href="qml-qtquick-controls2-applicationwindow.html#attached-applicationwindow-properties">Attached ApplicationWindow Properties</a>.</p>
</div></div><!-- @@@overlay -->
<br/>
<!-- $$$window -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="window-attached-prop">
<td class="tblQmlPropNode"><p>
<a name="window-attached-prop"></a><span class="qmlreadonly">[read-only] </span><span class="name">ApplicationWindow.window</span> : <span class="type"><a href="qml-qtquick-controls2-applicationwindow.html">ApplicationWindow</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This attached property holds the application window. The property can be attached to any item. The value is <code>null</code> if the item is not in an <a href="qml-qtquick-controls2-applicationwindow.html">ApplicationWindow</a>.</p>
<p><b>See also </b><a href="qml-qtquick-controls2-applicationwindow.html#attached-applicationwindow-properties">Attached ApplicationWindow Properties</a>.</p>
</div></div><!-- @@@window -->
<br/>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2017 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>