This file is indexed.

/usr/share/qt5/doc/qtquick/qtquick-positioners-example.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
<?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" />
<!-- positioners.qdoc -->
  <title>Qt Quick Examples - Positioners | 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>Qt Quick Examples - Positioners</li>
<li id="buildversion">
Qt 5.2.1 Reference Documentation</li>
    </ul>
    </div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<h1 class="title">Qt Quick Examples - Positioners</h1>
<span class="subtitle"></span>
<!-- $$$positioners-description -->
<div class="descr"> <a name="details"></a>
<p>This is a collection of QML Positioner examples.<p class="centerAlign"><img src="images/qml-positioners-example.png" alt="" /></p><p>This is a collection of small QML examples relating to positioners. Each example is a small QML file emphasizing a particular type or feature.</p>
<p>Transitions shows animated transitions when showing or hiding items in a positioner. It consists of a scene populated with items in a variety of positioners: Column, Row, Grid and Flow. Each positioner has animations described as Transitions.</p>
<pre class="qml"><span class="name">move</span>: <span class="name">Transition</span> {
    <span class="type"><a href="qml-qtquick-numberanimation.html">NumberAnimation</a></span> { <span class="name">properties</span>: <span class="string">&quot;x,y&quot;</span>; <span class="name">easing</span>.type: <span class="name">Easing</span>.<span class="name">OutBounce</span> }
}</pre>
<p>The move transition specifies how items inside a positioner will animate when they are displaced by the appearance or disappearance of other items.</p>
<pre class="qml"><span class="name">add</span>: <span class="name">Transition</span> {
    <span class="type"><a href="qml-qtquick-numberanimation.html">NumberAnimation</a></span> { <span class="name">properties</span>: <span class="string">&quot;x,y&quot;</span>; <span class="name">easing</span>.type: <span class="name">Easing</span>.<span class="name">OutBounce</span> }
}</pre>
<p>The add transition specifies how items will appear when they are added to a positioner.</p>
<pre class="qml"><span class="name">populate</span>: <span class="name">Transition</span> {
    <span class="type"><a href="qml-qtquick-numberanimation.html">NumberAnimation</a></span> { <span class="name">properties</span>: <span class="string">&quot;x,y&quot;</span>; <span class="name">from</span>: <span class="number">200</span>; <span class="name">duration</span>: <span class="number">1500</span>; <span class="name">easing</span>.type: <span class="name">Easing</span>.<span class="name">OutBounce</span> }
}</pre>
<p>The populate transition specifies how items will appear when their parent positioner is first created.</p>
<p>Attached Properties shows how the Positioner attached property can be used to determine where an item is within a positioner.</p>
<pre class="qml"><span class="type"><a href="qml-qtquick-rectangle.html">Rectangle</a></span> {
  <span class="name">id</span>: <span class="name">red</span>
  <span class="name">color</span>: <span class="string">&quot;red&quot;</span>
  <span class="name">width</span>: <span class="number">100</span>
  <span class="name">height</span>: <span class="number">100</span>

  <span class="type"><a href="qml-qtquick-text.html">Text</a></span> {
      <span class="name">anchors</span>.left: <span class="name">parent</span>.<span class="name">right</span>
      <span class="name">anchors</span>.leftMargin: <span class="number">20</span>
      <span class="name">anchors</span>.verticalCenter: <span class="name">parent</span>.<span class="name">verticalCenter</span>
      <span class="name">text</span>: <span class="string">&quot;Index: &quot;</span> <span class="operator">+</span> <span class="name">parent</span>.<span class="name">Positioner</span>.<span class="name">index</span>
      <span class="operator">+</span> (<span class="name">parent</span>.<span class="name">Positioner</span>.<span class="name">isFirstItem</span> ? <span class="string">&quot; (First)&quot;</span> : <span class="string">&quot;&quot;</span>)
      <span class="operator">+</span> (<span class="name">parent</span>.<span class="name">Positioner</span>.<span class="name">isLastItem</span> ? <span class="string">&quot; (Last)&quot;</span> : <span class="string">&quot;&quot;</span>)
  }

  <span class="comment">// When mouse is clicked, display the values of the positioner</span>
  <span class="type"><a href="qml-qtquick-mousearea.html">MouseArea</a></span> {
    <span class="name">anchors</span>.fill: <span class="name">parent</span>
    <span class="name">onClicked</span>: <span class="name">column</span>.<span class="name">showInfo</span>(<span class="name">red</span>.<span class="name">Positioner</span>)
  }
}</pre>
<p>Files:</p>
<ul>
<li><a href="qtquick-positioners-positioners-attachedproperties-qml.html">positioners/positioners-attachedproperties.qml</a></li>
<li><a href="qtquick-positioners-positioners-transitions-qml.html">positioners/positioners-transitions.qml</a></li>
<li><a href="qtquick-positioners-positioners-qml.html">positioners/positioners.qml</a></li>
<li><a href="qtquick-positioners-main-cpp.html">positioners/main.cpp</a></li>
<li><a href="qtquick-positioners-positioners-pro.html">positioners/positioners.pro</a></li>
<li><a href="qtquick-positioners-positioners-qmlproject.html">positioners/positioners.qmlproject</a></li>
<li><a href="qtquick-positioners-positioners-qrc.html">positioners/positioners.qrc</a></li>
</ul>
</div>
<!-- @@@positioners -->
        </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>