/usr/share/qt5/doc/qtquickcontrols/qml-qtquick-controls-applicationwindow.html is in qtquickcontrols5-doc-html 5.3.2-2.
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 | <?xml version="1.0" encoding="UTF-8"?>
<!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" xml:lang="en_US" lang="en_US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- ApplicationWindow.qml -->
<title>ApplicationWindow QML Type | QtQuickControls 5.3</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.3</li>
<li><a href="qtquickcontrols-index.html">Qt Quick Controls</a></li>
<li><a href="qtquick-controls-qmlmodule.html">QML Types</a></li>
<li>ApplicationWindow QML Type</li>
<li id="buildversion">
Qt 5.3.2 Reference Documentation</li>
</ul>
</div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<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="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">ApplicationWindow QML Type</h1>
<span class="subtitle"></span>
<!-- $$$ApplicationWindow-brief -->
<p>Provides a top-level application window. <a href="#details">More...</a></p>
<!-- @@@ApplicationWindow -->
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> </b><tt>import QtQuick.Controls 1.2</tt></td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign"> Qt 5.1</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><ul>
<li><a href="qml-qtquick-controls-applicationwindow-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="properties"></a>
<h2>Properties</h2>
<ul>
<li class="fn"><b><b><a href="qml-qtquick-controls-applicationwindow.html#contentItem-prop">contentItem</a></b></b> : ContentItem</li>
<li class="fn"><b><b><a href="qml-qtquick-controls-applicationwindow.html#menuBar-prop">menuBar</a></b></b> : MenuBar</li>
<li class="fn"><b><b><a href="qml-qtquick-controls-applicationwindow.html#statusBar-prop">statusBar</a></b></b> : Item</li>
<li class="fn"><b><b><a href="qml-qtquick-controls-applicationwindow.html#toolBar-prop">toolBar</a></b></b> : Item</li>
</ul>
<!-- $$$ApplicationWindow-description -->
<a name="details"></a>
<h2>Detailed Description</h2>
<p class="centerAlign"><img src="images/applicationwindow.png" alt="" /></p><p>ApplicationWindow is a <a href="../qtquick/qml-qtquick-window-window.html">Window</a> that adds convenience for positioning items, such as <a href="qml-qtquick-controls-menubar.html">MenuBar</a>, <a href="qml-qtquick-controls-toolbar.html">ToolBar</a>, and <a href="qml-qtquick-controls-statusbar.html">StatusBar</a> in a platform independent manner.</p>
<pre class="cpp">ApplicationWindow {
id: window
visible: <span class="keyword">true</span>
menuBar: MenuBar {
Menu { MenuItem {<span class="operator">.</span><span class="operator">.</span><span class="operator">.</span>} }
Menu { MenuItem {<span class="operator">.</span><span class="operator">.</span><span class="operator">.</span>} }
}
toolBar: ToolBar {
RowLayout {
anchors<span class="operator">.</span>fill: parent
ToolButton {<span class="operator">.</span><span class="operator">.</span><span class="operator">.</span>}
}
}
TabView {
id: myContent
anchors<span class="operator">.</span>fill: parent
<span class="operator">.</span><span class="operator">.</span><span class="operator">.</span>
}
}</pre>
<p><b>Note: </b>By default, an ApplicationWindow is not visible.</p><p>The <a href="qtquickcontrols-gallery-example.html">Qt Quick Controls - Gallery</a> example is a good starting point to explore this type.</p>
<!-- @@@ApplicationWindow -->
<h2>Property Documentation</h2>
<!-- $$$contentItem -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="contentItem-prop"></a><span class="name">contentItem</span> : <span class="type">ContentItem</span></p></td></tr></table></div><div class="qmldoc"><p>This group holds the size constraints of the content item. This is the area between the <a href="qml-qtquick-controls-toolbar.html">ToolBar</a> and the <a href="qml-qtquick-controls-statusbar.html">StatusBar</a>. The <a href="qml-qtquick-controls-applicationwindow.html">ApplicationWindow</a> will use this as input when calculating the effective size constraints of the actual window. It holds these 6 properties for describing the minimum, implicit and maximum sizes:</p>
<table class="generic">
<thead><tr class="qt-style"><th >Grouped property</th><th >Description</th></tr></thead>
<tr valign="top" class="odd"><td >contentItem.minimumWidth</td><td >The minimum width of the content item.</td></tr>
<tr valign="top" class="even"><td >contentItem.minimumHeight</td><td >The minimum height of the content item.</td></tr>
<tr valign="top" class="odd"><td >contentItem.implicitWidth</td><td >The implicit width of the content item.</td></tr>
<tr valign="top" class="even"><td >contentItem.implicitHeight</td><td >The implicit height of the content item.</td></tr>
<tr valign="top" class="odd"><td >contentItem.maximumWidth</td><td >The maximum width of the content item.</td></tr>
<tr valign="top" class="even"><td >contentItem.maximumHeight</td><td >The maximum height of the content item.</td></tr>
</table>
</div></div><!-- @@@contentItem -->
<br/>
<!-- $$$menuBar -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="menuBar-prop"></a><span class="name">menuBar</span> : <span class="type"><a href="qml-qtquick-controls-menubar.html">MenuBar</a></span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the <a href="qml-qtquick-controls-menubar.html">MenuBar</a>.</p>
<p>By default, this value is not set.</p>
</div></div><!-- @@@menuBar -->
<br/>
<!-- $$$statusBar -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="statusBar-prop"></a><span class="name">statusBar</span> : <span class="type"><a href="../qtquick/qml-qtquick-item.html">Item</a></span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the status bar <a href="../qtquick/qml-qtquick-item.html">Item</a>.</p>
<p>It can be set to any Item type, but is generally used with <a href="qml-qtquick-controls-statusbar.html">StatusBar</a>.</p>
<p>By default, this value is not set. When you set the status bar item, it will be anchored automatically into the application window.</p>
</div></div><!-- @@@statusBar -->
<br/>
<!-- $$$toolBar -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="toolBar-prop"></a><span class="name">toolBar</span> : <span class="type"><a href="../qtquick/qml-qtquick-item.html">Item</a></span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the toolbar <a href="../qtquick/qml-qtquick-item.html">Item</a>.</p>
<p>It can be set to any Item type, but is generally used with <a href="qml-qtquick-controls-toolbar.html">ToolBar</a>.</p>
<p>By default, this value is not set. When you set the toolbar item, it will be anchored automatically into the application window.</p>
</div></div><!-- @@@toolBar -->
<br/>
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</acronym> 2014 Digia Plc and/or its
subsidiaries. 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> Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners. </p>
</div>
</body>
</html>
|