This file is indexed.

/usr/share/qt5/doc/qtquick/qtquick-mousearea-example.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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- mousearea.qdoc -->
  <title>Qt Quick Examples - MouseArea | 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>Qt Quick Examples - MouseArea</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="#running-the-example">Running the Example</a></li>
<li class="level1"><a href="#mousearea-behavior">MouseArea Behavior</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Qt Quick Examples - MouseArea</h1>
<span class="subtitle"></span>
<!-- $$$mousearea-description -->
<div class="descr"> <a name="details"></a>
<p class="centerAlign"><img src="images/qml-mousearea-example.png" alt="" /></p><p><i>MouseArea</i> example shows how to respond to clicks and drags with a <a href="qml-qtquick-mousearea.html">MouseArea</a>. For more information, visit <a href="qtquick-input-topic.html">Important Concepts In Qt Quick - User Input</a>.</p>
<a name="running-the-example"></a>
<h2 id="running-the-example">Running the Example</h2>
<p>To run the example from Qt Creator, open the <b>Welcome</b> mode and select the example from <b>Examples</b>. For more information, visit Building and Running an Example.</p>
<a name="mousearea-behavior"></a>
<h2 id="mousearea-behavior">MouseArea Behavior</h2>
<p>When you click inside the red square, the <a href="qml-qtquick-text.html">Text</a> type will list several properties of that click which are available to QML. The opacity of the red square will be reduced while the mouse is pressed and remains inside the <a href="qml-qtquick-mousearea.html">MouseArea</a>.</p>
<p>Signals are emitted by the <a href="qml-qtquick-mousearea.html">MouseArea</a> when clicks or other discrete operations occur within it.</p>
<pre class="qml"><span class="name">onPressAndHold</span>: <span class="name">btn</span>.<span class="name">text</span> <span class="operator">=</span> <span class="string">'Press and hold'</span>
<span class="name">onClicked</span>: <span class="name">btn</span>.<span class="name">text</span> <span class="operator">=</span> <span class="string">'Clicked (wasHeld='</span> <span class="operator">+</span> <span class="name">mouse</span>.<span class="name">wasHeld</span> <span class="operator">+</span> <span class="string">')'</span>
<span class="name">onDoubleClicked</span>: <span class="name">btn</span>.<span class="name">text</span> <span class="operator">=</span> <span class="string">'Double clicked'</span></pre>
<p><a href="qml-qtquick-mousearea.html">MouseArea</a> can also be used to drag items around. By setting the parameters of the drag property, the target item will be dragged around if the user starts to drag within the mouse area boundary.</p>
<pre class="qml"><span class="name">drag</span>.target: <span class="name">blueSquare</span>
<span class="name">drag</span>.axis: <span class="name">Drag</span>.<span class="name">XAndYAxis</span>
<span class="name">drag</span>.minimumX: <span class="number">0</span>
<span class="name">drag</span>.maximumX: <span class="name">box</span>.<span class="name">width</span> <span class="operator">-</span> <span class="name">parent</span>.<span class="name">width</span>
<span class="name">drag</span>.minimumY: <span class="number">0</span>
<span class="name">drag</span>.maximumY: <span class="name">box</span>.<span class="name">height</span> <span class="operator">-</span> <span class="name">parent</span>.<span class="name">width</span></pre>
<p>Files:</p>
<ul>
<li><a href="qtquick-mousearea-mousearea-wheel-example-qml.html">mousearea/mousearea-wheel-example.qml</a></li>
<li><a href="qtquick-mousearea-mousearea-qml.html">mousearea/mousearea.qml</a></li>
<li><a href="qtquick-mousearea-main-cpp.html">mousearea/main.cpp</a></li>
<li><a href="qtquick-mousearea-mousearea-pro.html">mousearea/mousearea.pro</a></li>
<li><a href="qtquick-mousearea-mousearea-qmlproject.html">mousearea/mousearea.qmlproject</a></li>
<li><a href="qtquick-mousearea-mousearea-qrc.html">mousearea/mousearea.qrc</a></li>
</ul>
</div>
<!-- @@@mousearea -->
        </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>