This file is indexed.

/usr/share/qt5/doc/qtquick/qml-qtquick-animatedsprite.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
 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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qquickanimatedsprite.cpp -->
  <title>AnimatedSprite QML Type | 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><a href="qtquick-qmlmodule.html">QML Types</a></li>
<li>AnimatedSprite QML Type</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="#properties">Properties</a></li>
<li class="level1"><a href="#methods">Methods</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">AnimatedSprite QML Type</h1>
<span class="subtitle"></span>
<!-- $$$AnimatedSprite-brief -->
<p>Draws a sprite animation <a href="#details">More...</a></p>
<!-- @@@AnimatedSprite -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import QtQuick 2.5</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-qtquick-item.html">Item</a></p>
</td></tr></table></div><ul>
<li><a href="qml-qtquick-animatedsprite-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-animatedsprite.html#currentFrame-prop">currentFrame</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-qtquick-animatedsprite.html#frameCount-prop">frameCount</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-qtquick-animatedsprite.html#frameDuration-prop">frameDuration</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-qtquick-animatedsprite.html#frameHeight-prop">frameHeight</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-qtquick-animatedsprite.html#frameRate-prop">frameRate</a></b></b> : qreal</li>
<li class="fn"><b><b><a href="qml-qtquick-animatedsprite.html#frameSync-prop">frameSync</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtquick-animatedsprite.html#frameWidth-prop">frameWidth</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-qtquick-animatedsprite.html#frameX-prop">frameX</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-qtquick-animatedsprite.html#frameY-prop">frameY</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-qtquick-animatedsprite.html#interpolate-prop">interpolate</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtquick-animatedsprite.html#loops-prop">loops</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-qtquick-animatedsprite.html#paused-prop">paused</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtquick-animatedsprite.html#reverse-prop">reverse</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtquick-animatedsprite.html#running-prop">running</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtquick-animatedsprite.html#source-prop">source</a></b></b> : url</li>
</ul>
<a name="methods"></a>
<h2 id="methods">Methods</h2>
<ul>
<li class="fn">int <b><b><a href="qml-qtquick-animatedsprite.html#advance-method">advance</a></b></b>()</li>
<li class="fn">int <b><b><a href="qml-qtquick-animatedsprite.html#pause-method">pause</a></b></b>()</li>
<li class="fn">int <b><b><a href="qml-qtquick-animatedsprite.html#restart-method">restart</a></b></b>()</li>
<li class="fn">int <b><b><a href="qml-qtquick-animatedsprite.html#resume-method">resume</a></b></b>()</li>
</ul>
<!-- $$$AnimatedSprite-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
</p>
<p><a href="qtquick-effects-sprites.html#animatedsprite">AnimatedSprite</a> provides rendering and control over animations which are provided as multiple frames in the same image file. You can play it at a fixed speed, at the frame rate of your display, or manually advance and control the progress.</p>
<p>For details of how a sprite animation is defined see the <a href="qtquick-effects-sprites.html">Sprite Animations</a> overview. Note that the <a href="qtquick-effects-sprites.html#animatedsprite">AnimatedSprite</a> type does not use Sprite types to define multiple animations, but instead encapsulates a single animation itself.</p>
<!-- @@@AnimatedSprite -->
<h2>Property Documentation</h2>
<!-- $$$currentFrame -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="currentFrame-prop"><td class="tblQmlPropNode"><p><a name="currentFrame-prop"></a><span class="name">currentFrame</span> : <span class="type">int</span></p></td></tr></table></div></div><div class="qmldoc"><p>When paused, the current frame can be advanced manually by setting this property or calling <a href="qml-qtquick-animatedsprite.html#advance-method">advance()</a>.</p>
</div></div><!-- @@@currentFrame -->
<br/>
<!-- $$$frameCount -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="frameCount-prop"><td class="tblQmlPropNode"><p><a name="frameCount-prop"></a><span class="name">frameCount</span> : <span class="type">int</span></p></td></tr></table></div></div><div class="qmldoc"><p>Number of frames in this <a href="qtquick-effects-sprites.html#animatedsprite">AnimatedSprite</a>.</p>
</div></div><!-- @@@frameCount -->
<br/>
<!-- $$$frameDuration -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="frameDuration-prop"><td class="tblQmlPropNode"><p><a name="frameDuration-prop"></a><span class="name">frameDuration</span> : <span class="type">int</span></p></td></tr></table></div></div><div class="qmldoc"><p>Duration of each frame of the animation. Values equal to or below 0 are invalid.</p>
<p>If <a href="qml-qtquick-animatedsprite.html#frameRate-prop">frameRate</a> is valid then it will be used to calculate the duration of the frames. If not, and frameDuration is valid, then frameDuration will be used.</p>
<p>Changing this parameter will restart the animation.</p>
</div></div><!-- @@@frameDuration -->
<br/>
<!-- $$$frameHeight -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="frameHeight-prop"><td class="tblQmlPropNode"><p><a name="frameHeight-prop"></a><span class="name">frameHeight</span> : <span class="type">int</span></p></td></tr></table></div></div><div class="qmldoc"><p>Height of a single frame in this <a href="qtquick-effects-sprites.html#animatedsprite">AnimatedSprite</a>.</p>
<p>May be omitted if it is the only sprite in the file.</p>
</div></div><!-- @@@frameHeight -->
<br/>
<!-- $$$frameRate -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="frameRate-prop"><td class="tblQmlPropNode"><p><a name="frameRate-prop"></a><span class="name">frameRate</span> : <span class="type">qreal</span></p></td></tr></table></div></div><div class="qmldoc"><p>Frames per second to show in the animation. Values equal to or below 0 are invalid.</p>
<p>If frameRate is valid then it will be used to calculate the duration of the frames. If not, and <a href="qml-qtquick-animatedsprite.html#frameDuration-prop">frameDuration</a> is valid , then <a href="qml-qtquick-animatedsprite.html#frameDuration-prop">frameDuration</a> will be used.</p>
<p>Changing this parameter will restart the animation.</p>
</div></div><!-- @@@frameRate -->
<br/>
<!-- $$$frameSync -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="frameSync-prop"><td class="tblQmlPropNode"><p><a name="frameSync-prop"></a><span class="name">frameSync</span> : <span class="type">bool</span></p></td></tr></table></div></div><div class="qmldoc"><p>If true, then the animation will have no duration. Instead, the animation will advance one frame each time a frame is rendered to the screen. This synchronizes it with the painting rate as opposed to elapsed time.</p>
<p>If frameSync is set to true, it overrides both <a href="qml-qtquick-animatedsprite.html#frameRate-prop">frameRate</a> and <a href="qml-qtquick-animatedsprite.html#frameDuration-prop">frameDuration</a>.</p>
<p>Default is false.</p>
<p>Changing this parameter will restart the animation.</p>
</div></div><!-- @@@frameSync -->
<br/>
<!-- $$$frameWidth -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="frameWidth-prop"><td class="tblQmlPropNode"><p><a name="frameWidth-prop"></a><span class="name">frameWidth</span> : <span class="type">int</span></p></td></tr></table></div></div><div class="qmldoc"><p>Width of a single frame in this <a href="qtquick-effects-sprites.html#animatedsprite">AnimatedSprite</a>.</p>
<p>May be omitted if it is the only sprite in the file.</p>
</div></div><!-- @@@frameWidth -->
<br/>
<!-- $$$frameX -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="frameX-prop"><td class="tblQmlPropNode"><p><a name="frameX-prop"></a><span class="name">frameX</span> : <span class="type">int</span></p></td></tr></table></div></div><div class="qmldoc"><p>The X coordinate in the image file of the first frame of the <a href="qtquick-effects-sprites.html#animatedsprite">AnimatedSprite</a>.</p>
<p>May be omitted if the first frame starts in the upper left corner of the file.</p>
</div></div><!-- @@@frameX -->
<br/>
<!-- $$$frameY -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="frameY-prop"><td class="tblQmlPropNode"><p><a name="frameY-prop"></a><span class="name">frameY</span> : <span class="type">int</span></p></td></tr></table></div></div><div class="qmldoc"><p>The Y coordinate in the image file of the first frame of the <a href="qtquick-effects-sprites.html#animatedsprite">AnimatedSprite</a>.</p>
<p>May be omitted if the first frame starts in the upper left corner of the file.</p>
</div></div><!-- @@@frameY -->
<br/>
<!-- $$$interpolate -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="interpolate-prop"><td class="tblQmlPropNode"><p><a name="interpolate-prop"></a><span class="name">interpolate</span> : <span class="type">bool</span></p></td></tr></table></div></div><div class="qmldoc"><p>If true, interpolation will occur between sprite frames to make the animation appear smoother.</p>
<p>Default is true.</p>
</div></div><!-- @@@interpolate -->
<br/>
<!-- $$$loops -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="loops-prop"><td class="tblQmlPropNode"><p><a name="loops-prop"></a><span class="name">loops</span> : <span class="type">int</span></p></td></tr></table></div></div><div class="qmldoc"><p>After playing the animation this many times, the animation will automatically stop. Negative values are invalid.</p>
<p>If this is set to <a href="qtquick-effects-sprites.html#animatedsprite">AnimatedSprite</a>.Infinite the animation will not stop playing on its own.</p>
<p>Default is <a href="qtquick-effects-sprites.html#animatedsprite">AnimatedSprite</a>.Infinite</p>
</div></div><!-- @@@loops -->
<br/>
<!-- $$$paused -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="paused-prop"><td class="tblQmlPropNode"><p><a name="paused-prop"></a><span class="name">paused</span> : <span class="type">bool</span></p></td></tr></table></div></div><div class="qmldoc"><p>When paused, the current frame can be advanced manually.</p>
<p>Default is false.</p>
</div></div><!-- @@@paused -->
<br/>
<!-- $$$reverse -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="reverse-prop"><td class="tblQmlPropNode"><p><a name="reverse-prop"></a><span class="name">reverse</span> : <span class="type">bool</span></p></td></tr></table></div></div><div class="qmldoc"><p>If true, then the animation will be played in reverse.</p>
<p>Default is false.</p>
</div></div><!-- @@@reverse -->
<br/>
<!-- $$$running -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="running-prop"><td class="tblQmlPropNode"><p><a name="running-prop"></a><span class="name">running</span> : <span class="type">bool</span></p></td></tr></table></div></div><div class="qmldoc"><p>Whether the sprite is animating or not.</p>
<p>Default is true</p>
</div></div><!-- @@@running -->
<br/>
<!-- $$$source -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="source-prop"><td class="tblQmlPropNode"><p><a name="source-prop"></a><span class="name">source</span> : <span class="type">url</span></p></td></tr></table></div></div><div class="qmldoc"><p>The image source for the animation.</p>
<p>If <a href="qml-qtquick-animatedsprite.html#frameHeight-prop">frameHeight</a> and <a href="qml-qtquick-animatedsprite.html#frameWidth-prop">frameWidth</a> are not specified, it is assumed to be a single long row of square frames. Otherwise, it can be multiple contiguous rows or rectangluar frames, when one row runs out the next will be used.</p>
<p>If <a href="qml-qtquick-animatedsprite.html#frameX-prop">frameX</a> and <a href="qml-qtquick-animatedsprite.html#frameY-prop">frameY</a> are specified, the row of frames will be taken with that x/y coordinate as the upper left corner.</p>
</div></div><!-- @@@source -->
<br/>
<h2>Method Documentation</h2>
<!-- $$$advance -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="advance-method"><td class="tblQmlFuncNode"><p><a name="advance-method"></a><span class="type">int</span> <span class="name">advance</span>()</p></td></tr></table></div></div><div class="qmldoc"><p>Advances the sprite animation by one frame.</p>
</div></div><!-- @@@advance -->
<br/>
<!-- $$$pause -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="pause-method"><td class="tblQmlFuncNode"><p><a name="pause-method"></a><span class="type">int</span> <span class="name">pause</span>()</p></td></tr></table></div></div><div class="qmldoc"><p>Pauses the sprite animation. This does nothing if <a href="qml-qtquick-animatedsprite.html#paused-prop">paused</a> is true.</p>
<p><b>See also </b><a href="qml-qtquick-animatedsprite.html#resume-method">resume()</a>.</p>
</div></div><!-- @@@pause -->
<br/>
<!-- $$$restart -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="restart-method"><td class="tblQmlFuncNode"><p><a name="restart-method"></a><span class="type">int</span> <span class="name">restart</span>()</p></td></tr></table></div></div><div class="qmldoc"><p>Stops, then starts the sprite animation.</p>
</div></div><!-- @@@restart -->
<br/>
<!-- $$$resume -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="resume-method"><td class="tblQmlFuncNode"><p><a name="resume-method"></a><span class="type">int</span> <span class="name">resume</span>()</p></td></tr></table></div></div><div class="qmldoc"><p>Resumes the sprite animation if <a href="qml-qtquick-animatedsprite.html#paused-prop">paused</a> is true; otherwise, this does nothing.</p>
<p><b>See also </b><a href="qml-qtquick-animatedsprite.html#pause-method">pause()</a>.</p>
</div></div><!-- @@@resume -->
<br/>
        </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>