Sophie

Sophie

distrib > Mageia > 6 > i586 > by-pkgid > 2cba8df17162abb32fcb8e6852f3eacc > files > 948

qtdeclarative5-doc-5.9.4-1.mga6.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qquickspritesequence.cpp -->
  <title>SpriteSequence QML Type | Qt Quick 5.9</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td >Qt 5.9</td><td ><a href="qtquick-index.html">Qt Quick</a></td><td ><a href="qtquick-qmlmodule.html">QML Types</a></td><td >SpriteSequence QML Type</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.9.4 Reference Documentation</td>
        </tr></table>
      </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">SpriteSequence QML Type</h1>
<span class="subtitle"></span>
<!-- $$$SpriteSequence-brief -->
<p>Draws a sprite animation <a href="#details">More...</a></p>
<!-- @@@SpriteSequence -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import QtQuick 2.7</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-spritesequence-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-spritesequence.html#currentSprite-prop">currentSprite</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-qtquick-spritesequence.html#goalSprite-prop">goalSprite</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-qtquick-spritesequence.html#interpolate-prop">interpolate</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtquick-spritesequence.html#running-prop">running</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtquick-spritesequence.html#sprites-prop">sprites</a></b></b> : list&lt;Sprite&gt;</li>
</ul>
<a name="methods"></a>
<h2 id="methods">Methods</h2>
<ul>
<li class="fn"><b><b><a href="qml-qtquick-spritesequence.html#jumpTo-method">jumpTo</a></b></b>(string <i>sprite</i>)</li>
</ul>
<!-- $$$SpriteSequence-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<p><a href="qtquick-imageelements-example.html#spritesequence">SpriteSequence</a> renders and controls a list of animations defined by <a href="qml-qtquick-sprite.html">Sprite</a> types.</p>
<p>For full details, see the <a href="qtquick-effects-sprites.html">Sprite Animations</a> overview.</p>
<!-- @@@SpriteSequence -->
<h2>Property Documentation</h2>
<!-- $$$currentSprite -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="currentSprite-prop">
<td class="tblQmlPropNode"><p>
<a name="currentSprite-prop"></a><span class="name">currentSprite</span> : <span class="type">string</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The name of the Sprite which is currently animating.</p>
</div></div><!-- @@@currentSprite -->
<br/>
<!-- $$$goalSprite -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="goalSprite-prop">
<td class="tblQmlPropNode"><p>
<a name="goalSprite-prop"></a><span class="name">goalSprite</span> : <span class="type">string</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The name of the Sprite which the animation should move to.</p>
<p>Sprite states have defined durations and transitions between them, setting goalState will cause it to disregard any path weightings (including 0) and head down the path which will reach the goalState quickest (fewest animations). It will pass through intermediate states on that path, and animate them for their duration.</p>
<p>If it is possible to return to the goalState from the starting point of the goalState it will continue to do so until goalState is set to &quot;&quot; or an unreachable state.</p>
</div></div><!-- @@@goalSprite -->
<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/>
<!-- $$$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/>
<!-- $$$sprites -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="sprites-prop">
<td class="tblQmlPropNode"><p>
<a name="sprites-prop"></a><span class="name">sprites</span> : <span class="type">list</span>&lt;<span class="type"><a href="qml-qtquick-sprite.html">Sprite</a></span>&gt;</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The sprite or sprites to draw. Sprites will be scaled to the size of this item.</p>
</div></div><!-- @@@sprites -->
<br/>
<h2>Method Documentation</h2>
<!-- $$$jumpTo -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="jumpTo-method">
<td class="tblQmlFuncNode"><p>
<a name="jumpTo-method"></a><span class="name">jumpTo</span>(<span class="type">string</span> <i>sprite</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This function causes the <a href="qtquick-imageelements-example.html#spritesequence">SpriteSequence</a> to jump to the specified sprite immediately, intermediate sprites are not played. The <i>sprite</i> argument is the name of the sprite you wish to jump to.</p>
</div></div><!-- @@@jumpTo -->
<br/>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2017 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>