This file is indexed.

/usr/share/qt5/doc/qtquick/qml-qtquick-window-screen.html is in qtdeclarative5-doc-html 5.2.1-3ubuntu15.

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
<?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" />
<!-- qquickscreen.cpp -->
  <title>Screen | QtQuick 5.2</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.2</li>
<li><a href="qtquick-index.html">Qt Quick</a></li>
<li><a href="qtquick-qmltypereference.html">QML Types</a></li>
<li>Screen</li>
<li id="buildversion">
Qt 5.2.1 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">Attached Properties</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">Screen</h1>
<span class="subtitle"></span>
<!-- $$$Screen-brief -->
<p>The Screen attached object provides information about the Screen an Item or Window is displayed on. <a href="#details">More...</a></p>
<!-- @@@Screen -->
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> </b><tt>import QtQuick.Window 2.1</tt></td></tr></table><ul>
<li><a href="qml-qtquick-window-screen-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="attached-properties"></a>
<h2>Attached Properties</h2>
<ul>
<li class="fn"><b><b><a href="qml-qtquick-window-screen.html#desktopAvailableHeight-prop">desktopAvailableHeight</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-qtquick-window-screen.html#desktopAvailableWidth-prop">desktopAvailableWidth</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-qtquick-window-screen.html#height-prop">height</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-qtquick-window-screen.html#name-prop">name</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-qtquick-window-screen.html#orientation-prop">orientation</a></b></b> : Qt::ScreenOrientation</li>
<li class="fn"><b><b><a href="qml-qtquick-window-screen.html#pixelDensity-prop">pixelDensity</a></b></b> : real</li>
<li class="fn"><b><b><a href="qml-qtquick-window-screen.html#primaryOrientation-prop">primaryOrientation</a></b></b> : Qt::ScreenOrientation</li>
<li class="fn"><b><b><a href="qml-qtquick-window-screen.html#width-prop">width</a></b></b> : int</li>
</ul>
<!-- $$$Screen-description -->
<a name="details"></a>
<h2>Detailed Description</h2>
<p>The Screen attached object is valid inside Item or Item derived types, after component completion. Inside these items it refers to the screen that the item is currently being displayed on.</p>
<p>The attached object is also valid inside Window or Window derived types, after component completion. In that case it refers to the screen where the Window was created. It is generally better to access the Screen from the relevant Item instead, because on a multi-screen desktop computer, the user can drag a Window into a position where it spans across multiple screens. In that case some Items will be on one screen, and others on a different screen.</p>
<p>To use this type, you will need to import the module with the following line:</p>
<pre class="cpp">import <span class="type"><a href="qtquick-module.html">QtQuick</a></span><span class="operator">.</span>Window <span class="number">2.1</span></pre>
<p>It is a separate import in order to allow you to have a QML environment without access to window system features.</p>
<p>Note that the Screen type is not valid at Component.onCompleted, because the Item or Window has not been displayed on a screen by this time.</p>
<!-- @@@Screen -->
<h2>Attached Property Documentation</h2>
<!-- $$$desktopAvailableHeight -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="desktopAvailableHeight-prop"></a><span class="qmlreadonly">read-only</span><span class="name">.desktopAvailableHeight</span> : <span class="type">int</span></p></td></tr></table></div><div class="qmldoc"><p>This contains the available height of the collection of screens which make up the virtual desktop, in pixels, excluding window manager reserved areas such as task bars and system menus. If you want to position a Window at the bottom of the desktop, you can bind to it like this:</p>
<pre class="qml">y: Screen.desktopAvailableHeight - height</pre>
<p>This QML property was introduced in  Qt 5.1.</p>
</div></div><!-- @@@desktopAvailableHeight -->
<br/>
<!-- $$$desktopAvailableWidth -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="desktopAvailableWidth-prop"></a><span class="qmlreadonly">read-only</span><span class="name">.desktopAvailableWidth</span> : <span class="type">int</span></p></td></tr></table></div><div class="qmldoc"><p>This contains the available width of the collection of screens which make up the virtual desktop, in pixels, excluding window manager reserved areas such as task bars and system menus. If you want to position a Window at the right of the desktop, you can bind to it like this:</p>
<pre class="qml">x: Screen.desktopAvailableWidth - width</pre>
<p>This QML property was introduced in  Qt 5.1.</p>
</div></div><!-- @@@desktopAvailableWidth -->
<br/>
<!-- $$$height -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="height-prop"></a><span class="qmlreadonly">read-only</span><span class="name">.height</span> : <span class="type">int</span></p></td></tr></table></div><div class="qmldoc"><p>This contains the height of the screen in pixels.</p>
</div></div><!-- @@@height -->
<br/>
<!-- $$$name -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="name-prop"></a><span class="qmlreadonly">read-only</span><span class="name">.name</span> : <span class="type">string</span></p></td></tr></table></div><div class="qmldoc"><p>The name of the screen.</p>
<p>This QML property was introduced in  Qt 5.1.</p>
</div></div><!-- @@@name -->
<br/>
<!-- $$$orientation -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="orientation-prop"></a><span class="qmlreadonly">read-only</span><span class="name">.orientation</span> : <span class="type">Qt::ScreenOrientation</span></p></td></tr></table></div><div class="qmldoc"><p>This contains the current orientation of the screen, from the accelerometer (if any). On a desktop computer, this value typically does not change.</p>
<p>If <a href="qml-qtquick-window-screen.html#primaryOrientation-prop">primaryOrientation</a> == orientation, it means that the screen automatically rotates all content which is displayed, depending on how you hold it. But if orientation changes while <a href="qml-qtquick-window-screen.html#primaryOrientation-prop">primaryOrientation</a> does NOT change, then probably you are using a device which does not rotate its own display. In that case you may need to use <a href="qml-qtquick-item.html#rotation-prop">Item.rotation</a> or <a href="qml-qtquick-item.html#transform-prop">Item.transform</a> to rotate your content.</p>
</div></div><!-- @@@orientation -->
<br/>
<!-- $$$pixelDensity -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="pixelDensity-prop"></a><span class="qmlreadonly">read-only</span><span class="name">.pixelDensity</span> : <span class="type">real</span></p></td></tr></table></div><div class="qmldoc"><p>The number of physical pixels per millimeter.</p>
<p>This QML property was introduced in  Qt 5.2.</p>
</div></div><!-- @@@pixelDensity -->
<br/>
<!-- $$$primaryOrientation -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="primaryOrientation-prop"></a><span class="qmlreadonly">read-only</span><span class="name">.primaryOrientation</span> : <span class="type">Qt::ScreenOrientation</span></p></td></tr></table></div><div class="qmldoc"><p>This contains the primary orientation of the screen. If the screen's height is greater than its width, then the orientation is Qt.PortraitOrientation; otherwise it is Qt.LandscapeOrientation.</p>
<p>If you are designing an application which changes its layout depending on device orientation, you probably want to use primaryOrientation to determine the layout. That is because on a desktop computer, you can expect primaryOrientation to change when the user rotates the screen via the operating system's control panel, even if the computer does not contain an accelerometer. Likewise on most handheld computers which do have accelerometers, the operating system will rotate the whole screen automatically, so again you will see the primaryOrientation change.</p>
</div></div><!-- @@@primaryOrientation -->
<br/>
<!-- $$$width -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="width-prop"></a><span class="qmlreadonly">read-only</span><span class="name">.width</span> : <span class="type">int</span></p></td></tr></table></div><div class="qmldoc"><p>This contains the width of the screen in pixels.</p>
</div></div><!-- @@@width -->
<br/>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2013 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>