Sophie

Sophie

distrib > Mageia > 6 > armv5tl > media > core-updates > by-pkgid > 768f7d9f703884aa2562bf0a651086df > files > 3324

qtbase5-doc-5.9.4-1.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" />
<!-- qgraphicsitemanimation.cpp -->
  <title>QGraphicsItemAnimation Class | Qt Widgets 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="qtwidgets-index.html">Qt Widgets</a></td><td ><a href="qtwidgets-module.html">C++ Classes</a></td><td >QGraphicsItemAnimation</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="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#public-slots">Public Slots</a></li>
<li class="level1"><a href="#protected-functions">Protected Functions</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">QGraphicsItemAnimation Class</h1>
<!-- $$$QGraphicsItemAnimation-brief -->
<p>The <a href="qgraphicsitemanimation.html">QGraphicsItemAnimation</a> class provides simple animation support for <a href="qgraphicsitem.html">QGraphicsItem</a>. <a href="#details">More...</a></p>
<!-- @@@QGraphicsItemAnimation -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QGraphicsItemAnimation&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += widgets</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign">  Qt 4.2</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="../qtcore/qobject.html">QObject</a></td></tr></table></div><p><b>This class is obsolete.</b> It is provided to keep old source code working. We strongly advise against using it in new code.</p>
<ul>
<li><a href="qgraphicsitemanimation-members.html">List of all members, including inherited members</a></li>
<li><a href="qgraphicsitemanimation-obsolete.html">Obsolete members</a></li>
</ul>
<a name="public-functions"></a>
<h2 id="public-functions">Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsitemanimation.html#QGraphicsItemAnimation">QGraphicsItemAnimation</a></b>(QObject *<i>parent</i> = Q_NULLPTR)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsitemanimation.html#dtor.QGraphicsItemAnimation">~QGraphicsItemAnimation</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsitemanimation.html#clear">clear</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsitemanimation.html#horizontalScaleAt">horizontalScaleAt</a></b>(qreal <i>step</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsitemanimation.html#horizontalShearAt">horizontalShearAt</a></b>(qreal <i>step</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QGraphicsItem *</td><td class="memItemRight bottomAlign"><b><a href="qgraphicsitemanimation.html#item">item</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QMatrix </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsitemanimation.html#matrixAt">matrixAt</a></b>(qreal <i>step</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QPointF </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsitemanimation.html#posAt">posAt</a></b>(qreal <i>step</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QList&lt;QPair&lt;qreal, QPointF&gt; &gt; </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsitemanimation.html#posList">posList</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsitemanimation.html#rotationAt">rotationAt</a></b>(qreal <i>step</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QList&lt;QPair&lt;qreal, qreal&gt; &gt; </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsitemanimation.html#rotationList">rotationList</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QList&lt;QPair&lt;qreal, QPointF&gt; &gt; </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsitemanimation.html#scaleList">scaleList</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsitemanimation.html#setItem">setItem</a></b>(QGraphicsItem *<i>item</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsitemanimation.html#setPosAt">setPosAt</a></b>(qreal <i>step</i>, const QPointF &amp;<i>point</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsitemanimation.html#setRotationAt">setRotationAt</a></b>(qreal <i>step</i>, qreal <i>angle</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsitemanimation.html#setScaleAt">setScaleAt</a></b>(qreal <i>step</i>, qreal <i>sx</i>, qreal <i>sy</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsitemanimation.html#setShearAt">setShearAt</a></b>(qreal <i>step</i>, qreal <i>sh</i>, qreal <i>sv</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsitemanimation.html#setTimeLine">setTimeLine</a></b>(QTimeLine *<i>timeLine</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsitemanimation.html#setTranslationAt">setTranslationAt</a></b>(qreal <i>step</i>, qreal <i>dx</i>, qreal <i>dy</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QList&lt;QPair&lt;qreal, QPointF&gt; &gt; </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsitemanimation.html#shearList">shearList</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QTimeLine *</td><td class="memItemRight bottomAlign"><b><a href="qgraphicsitemanimation.html#timeLine">timeLine</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QList&lt;QPair&lt;qreal, QPointF&gt; &gt; </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsitemanimation.html#translationList">translationList</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsitemanimation.html#verticalScaleAt">verticalScaleAt</a></b>(qreal <i>step</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsitemanimation.html#verticalShearAt">verticalShearAt</a></b>(qreal <i>step</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsitemanimation.html#xTranslationAt">xTranslationAt</a></b>(qreal <i>step</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsitemanimation.html#yTranslationAt">yTranslationAt</a></b>(qreal <i>step</i>) const</td></tr>
</table></div>
<ul>
<li class="fn">32 public functions inherited from <a href="../qtcore/qobject.html#public-functions">QObject</a></li>
</ul>
<a name="public-slots"></a>
<h2 id="public-slots">Public Slots</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsitemanimation.html#setStep">setStep</a></b>(qreal <i>step</i>)</td></tr>
</table></div>
<ul>
<li class="fn">1 public slot inherited from <a href="../qtcore/qobject.html#public-slots">QObject</a></li>
</ul>
<a name="protected-functions"></a>
<h2 id="protected-functions">Protected Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsitemanimation.html#afterAnimationStep">afterAnimationStep</a></b>(qreal <i>step</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsitemanimation.html#beforeAnimationStep">beforeAnimationStep</a></b>(qreal <i>step</i>)</td></tr>
</table></div>
<ul>
<li class="fn">9 protected functions inherited from <a href="../qtcore/qobject.html#protected-functions">QObject</a></li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li class="fn">1 property inherited from <a href="../qtcore/qobject.html#properties">QObject</a></li>
<li class="fn">2 signals inherited from <a href="../qtcore/qobject.html#signals">QObject</a></li>
<li class="fn">1 public variable inherited from <a href="../qtcore/qobject.html#public-variables">QObject</a></li>
<li class="fn">10 static public members inherited from <a href="../qtcore/qobject.html#static-public-members">QObject</a></li>
<li class="fn">2 protected variables inherited from <a href="../qtcore/qobject.html#protected-variables">QObject</a></li>
</ul>
<a name="details"></a>
<!-- $$$QGraphicsItemAnimation-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qgraphicsitemanimation.html">QGraphicsItemAnimation</a> class provides simple animation support for <a href="qgraphicsitem.html">QGraphicsItem</a>.</p>
<p>The <a href="qgraphicsitemanimation.html">QGraphicsItemAnimation</a> class animates a <a href="qgraphicsitem.html">QGraphicsItem</a>. You can schedule changes to the item's transformation matrix at specified steps. The <a href="qgraphicsitemanimation.html">QGraphicsItemAnimation</a> class has a current step value. When this value changes the transformations scheduled at that step are performed. The current step of the animation is set with the <code>setStep()</code> function.</p>
<p><a href="qgraphicsitemanimation.html">QGraphicsItemAnimation</a> will do a simple linear interpolation between the nearest adjacent scheduled changes to calculate the matrix. For instance, if you set the position of an item at values 0.0 and 1.0, the animation will show the item moving in a straight line between these positions. The same is true for scaling and rotation.</p>
<p>It is usual to use the class with a <a href="../qtcore/qtimeline.html">QTimeLine</a>. The timeline's <a href="../qtcore/qtimeline.html#valueChanged">valueChanged()</a> signal is then connected to the <code>setStep()</code> slot. For example, you can set up an item for rotation by calling <code>setRotationAt()</code> for different step values. The animations timeline is set with the <a href="qgraphicsitemanimation.html#setTimeLine">setTimeLine</a>() function.</p>
<p>An example animation with a timeline follows:</p>
<pre class="cpp">

      <span class="type"><a href="qgraphicsitem.html">QGraphicsItem</a></span> <span class="operator">*</span>ball <span class="operator">=</span> <span class="keyword">new</span> <span class="type"><a href="qgraphicsellipseitem.html">QGraphicsEllipseItem</a></span>(<span class="number">0</span><span class="operator">,</span> <span class="number">0</span><span class="operator">,</span> <span class="number">20</span><span class="operator">,</span> <span class="number">20</span>);

      <span class="type"><a href="../qtcore/qtimeline.html">QTimeLine</a></span> <span class="operator">*</span>timer <span class="operator">=</span> <span class="keyword">new</span> <span class="type"><a href="../qtcore/qtimeline.html">QTimeLine</a></span>(<span class="number">5000</span>);
      timer<span class="operator">-</span><span class="operator">&gt;</span>setFrameRange(<span class="number">0</span><span class="operator">,</span> <span class="number">100</span>);

      <span class="type"><a href="qgraphicsitemanimation.html#QGraphicsItemAnimation">QGraphicsItemAnimation</a></span> <span class="operator">*</span>animation <span class="operator">=</span> <span class="keyword">new</span> <span class="type"><a href="qgraphicsitemanimation.html#QGraphicsItemAnimation">QGraphicsItemAnimation</a></span>;
      animation<span class="operator">-</span><span class="operator">&gt;</span>setItem(ball);
      animation<span class="operator">-</span><span class="operator">&gt;</span>setTimeLine(timer);

      <span class="keyword">for</span> (<span class="type">int</span> i <span class="operator">=</span> <span class="number">0</span>; i <span class="operator">&lt;</span> <span class="number">200</span>; <span class="operator">+</span><span class="operator">+</span>i)
          animation<span class="operator">-</span><span class="operator">&gt;</span>setPosAt(i <span class="operator">/</span> <span class="number">200.0</span><span class="operator">,</span> <span class="type"><a href="../qtcore/qpointf.html">QPointF</a></span>(i<span class="operator">,</span> i));

      <span class="type"><a href="qgraphicsscene.html">QGraphicsScene</a></span> <span class="operator">*</span>scene <span class="operator">=</span> <span class="keyword">new</span> <span class="type"><a href="qgraphicsscene.html">QGraphicsScene</a></span>();
      scene<span class="operator">-</span><span class="operator">&gt;</span>setSceneRect(<span class="number">0</span><span class="operator">,</span> <span class="number">0</span><span class="operator">,</span> <span class="number">250</span><span class="operator">,</span> <span class="number">250</span>);
      scene<span class="operator">-</span><span class="operator">&gt;</span>addItem(ball);

      <span class="type"><a href="qgraphicsview.html">QGraphicsView</a></span> <span class="operator">*</span>view <span class="operator">=</span> <span class="keyword">new</span> <span class="type"><a href="qgraphicsview.html">QGraphicsView</a></span>(scene);
      view<span class="operator">-</span><span class="operator">&gt;</span>show();

      timer<span class="operator">-</span><span class="operator">&gt;</span>start();

</pre>
<p>Note that steps lie between 0.0 and 1.0&#x2e; It may be necessary to use <a href="../qtcore/qtimeline.html#updateInterval-prop">setUpdateInterval()</a>. The default update interval is 40 ms. A scheduled transformation cannot be removed when set, so scheduling several transformations of the same kind (e.g&#x2e;, rotations) at the same step is not recommended.</p>
</div>
<p><b>See also </b><a href="../qtcore/qtimeline.html">QTimeLine</a> and <a href="graphicsview.html">Graphics View Framework</a>.</p>
<!-- @@@QGraphicsItemAnimation -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QGraphicsItemAnimation[overload1]$$$QGraphicsItemAnimationQObject* -->
<h3 class="fn" id="QGraphicsItemAnimation"><a name="QGraphicsItemAnimation"></a>QGraphicsItemAnimation::<span class="name">QGraphicsItemAnimation</span>(<span class="type"><a href="../qtcore/qobject.html#QObject">QObject</a></span> *<i>parent</i> = Q_NULLPTR)</h3>
<p>Constructs an animation object with the given <i>parent</i>.</p>
<!-- @@@QGraphicsItemAnimation -->
<!-- $$$~QGraphicsItemAnimation[overload1]$$$~QGraphicsItemAnimation -->
<h3 class="fn" id="dtor.QGraphicsItemAnimation"><a name="dtor.QGraphicsItemAnimation"></a><code>[virtual] </code>QGraphicsItemAnimation::<span class="name">~QGraphicsItemAnimation</span>()</h3>
<p>Destroys the animation object.</p>
<!-- @@@~QGraphicsItemAnimation -->
<!-- $$$afterAnimationStep[overload1]$$$afterAnimationStepqreal -->
<h3 class="fn" id="afterAnimationStep"><a name="afterAnimationStep"></a><code>[virtual protected] </code><span class="type">void</span> QGraphicsItemAnimation::<span class="name">afterAnimationStep</span>(<span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span> <i>step</i>)</h3>
<p>This method is meant to be overridden in subclasses that need to execute additional code after a new step has taken place. The animation <i>step</i> is provided for use in cases where the action depends on its value.</p>
<!-- @@@afterAnimationStep -->
<!-- $$$beforeAnimationStep[overload1]$$$beforeAnimationStepqreal -->
<h3 class="fn" id="beforeAnimationStep"><a name="beforeAnimationStep"></a><code>[virtual protected] </code><span class="type">void</span> QGraphicsItemAnimation::<span class="name">beforeAnimationStep</span>(<span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span> <i>step</i>)</h3>
<p>This method is meant to be overridden by subclassed that needs to execute additional code before a new step takes place. The animation <i>step</i> is provided for use in cases where the action depends on its value.</p>
<!-- @@@beforeAnimationStep -->
<!-- $$$clear[overload1]$$$clear -->
<h3 class="fn" id="clear"><a name="clear"></a><span class="type">void</span> QGraphicsItemAnimation::<span class="name">clear</span>()</h3>
<p>Clears the scheduled transformations used for the animation, but retains the item and timeline.</p>
<!-- @@@clear -->
<!-- $$$horizontalScaleAt[overload1]$$$horizontalScaleAtqreal -->
<h3 class="fn" id="horizontalScaleAt"><a name="horizontalScaleAt"></a><span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span> QGraphicsItemAnimation::<span class="name">horizontalScaleAt</span>(<span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span> <i>step</i>) const</h3>
<p>Returns the horizontal scale for the item at the specified <i>step</i> value.</p>
<p><b>See also </b><a href="qgraphicsitemanimation.html#setScaleAt">setScaleAt</a>().</p>
<!-- @@@horizontalScaleAt -->
<!-- $$$horizontalShearAt[overload1]$$$horizontalShearAtqreal -->
<h3 class="fn" id="horizontalShearAt"><a name="horizontalShearAt"></a><span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span> QGraphicsItemAnimation::<span class="name">horizontalShearAt</span>(<span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span> <i>step</i>) const</h3>
<p>Returns the horizontal shear for the item at the specified <i>step</i> value.</p>
<p><b>See also </b><a href="qgraphicsitemanimation.html#setShearAt">setShearAt</a>().</p>
<!-- @@@horizontalShearAt -->
<!-- $$$item[overload1]$$$item -->
<h3 class="fn" id="item"><a name="item"></a><span class="type"><a href="qgraphicsitem.html">QGraphicsItem</a></span> *QGraphicsItemAnimation::<span class="name">item</span>() const</h3>
<p>Returns the item on which the animation object operates.</p>
<p><b>See also </b><a href="qgraphicsitemanimation.html#setItem">setItem</a>().</p>
<!-- @@@item -->
<!-- $$$matrixAt[overload1]$$$matrixAtqreal -->
<h3 class="fn" id="matrixAt"><a name="matrixAt"></a><span class="type"><a href="../qtgui/qmatrix.html">QMatrix</a></span> QGraphicsItemAnimation::<span class="name">matrixAt</span>(<span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span> <i>step</i>) const</h3>
<p>Returns the matrix used to transform the item at the specified <i>step</i> value.</p>
<!-- @@@matrixAt -->
<!-- $$$posAt[overload1]$$$posAtqreal -->
<h3 class="fn" id="posAt"><a name="posAt"></a><span class="type"><a href="../qtcore/qpointf.html">QPointF</a></span> QGraphicsItemAnimation::<span class="name">posAt</span>(<span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span> <i>step</i>) const</h3>
<p>Returns the position of the item at the given <i>step</i> value.</p>
<p><b>See also </b><a href="qgraphicsitemanimation.html#setPosAt">setPosAt</a>().</p>
<!-- @@@posAt -->
<!-- $$$posList[overload1]$$$posList -->
<h3 class="fn" id="posList"><a name="posList"></a><span class="type"><a href="../qtcore/qlist.html">QList</a></span>&lt;<span class="type"><a href="../qtcore/qpair.html">QPair</a></span>&lt;<span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span>, <span class="type"><a href="../qtcore/qpointf.html">QPointF</a></span>&gt; &gt; QGraphicsItemAnimation::<span class="name">posList</span>() const</h3>
<p>Returns all explicitly inserted positions.</p>
<p><b>See also </b><a href="qgraphicsitemanimation.html#posAt">posAt</a>() and <a href="qgraphicsitemanimation.html#setPosAt">setPosAt</a>().</p>
<!-- @@@posList -->
<!-- $$$rotationAt[overload1]$$$rotationAtqreal -->
<h3 class="fn" id="rotationAt"><a name="rotationAt"></a><span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span> QGraphicsItemAnimation::<span class="name">rotationAt</span>(<span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span> <i>step</i>) const</h3>
<p>Returns the angle at which the item is rotated at the specified <i>step</i> value.</p>
<p><b>See also </b><a href="qgraphicsitemanimation.html#setRotationAt">setRotationAt</a>().</p>
<!-- @@@rotationAt -->
<!-- $$$rotationList[overload1]$$$rotationList -->
<h3 class="fn" id="rotationList"><a name="rotationList"></a><span class="type"><a href="../qtcore/qlist.html">QList</a></span>&lt;<span class="type"><a href="../qtcore/qpair.html">QPair</a></span>&lt;<span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span>, <span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span>&gt; &gt; QGraphicsItemAnimation::<span class="name">rotationList</span>() const</h3>
<p>Returns all explicitly inserted rotations.</p>
<p><b>See also </b><a href="qgraphicsitemanimation.html#rotationAt">rotationAt</a>() and <a href="qgraphicsitemanimation.html#setRotationAt">setRotationAt</a>().</p>
<!-- @@@rotationList -->
<!-- $$$scaleList[overload1]$$$scaleList -->
<h3 class="fn" id="scaleList"><a name="scaleList"></a><span class="type"><a href="../qtcore/qlist.html">QList</a></span>&lt;<span class="type"><a href="../qtcore/qpair.html">QPair</a></span>&lt;<span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span>, <span class="type"><a href="../qtcore/qpointf.html">QPointF</a></span>&gt; &gt; QGraphicsItemAnimation::<span class="name">scaleList</span>() const</h3>
<p>Returns all explicitly inserted scales.</p>
<p><b>See also </b><a href="qgraphicsitemanimation.html#verticalScaleAt">verticalScaleAt</a>(), <a href="qgraphicsitemanimation.html#horizontalScaleAt">horizontalScaleAt</a>(), and <a href="qgraphicsitemanimation.html#setScaleAt">setScaleAt</a>().</p>
<!-- @@@scaleList -->
<!-- $$$setItem[overload1]$$$setItemQGraphicsItem* -->
<h3 class="fn" id="setItem"><a name="setItem"></a><span class="type">void</span> QGraphicsItemAnimation::<span class="name">setItem</span>(<span class="type"><a href="qgraphicsitem.html">QGraphicsItem</a></span> *<i>item</i>)</h3>
<p>Sets the specified <i>item</i> to be used in the animation.</p>
<p><b>See also </b><a href="qgraphicsitemanimation.html#item">item</a>().</p>
<!-- @@@setItem -->
<!-- $$$setPosAt[overload1]$$$setPosAtqrealconstQPointF& -->
<h3 class="fn" id="setPosAt"><a name="setPosAt"></a><span class="type">void</span> QGraphicsItemAnimation::<span class="name">setPosAt</span>(<span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span> <i>step</i>, const <span class="type"><a href="../qtcore/qpointf.html">QPointF</a></span> &amp;<i>point</i>)</h3>
<p>Sets the position of the item at the given <i>step</i> value to the <i>point</i> specified.</p>
<p><b>See also </b><a href="qgraphicsitemanimation.html#posAt">posAt</a>().</p>
<!-- @@@setPosAt -->
<!-- $$$setRotationAt[overload1]$$$setRotationAtqrealqreal -->
<h3 class="fn" id="setRotationAt"><a name="setRotationAt"></a><span class="type">void</span> QGraphicsItemAnimation::<span class="name">setRotationAt</span>(<span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span> <i>step</i>, <span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span> <i>angle</i>)</h3>
<p>Sets the rotation of the item at the given <i>step</i> value to the <i>angle</i> specified.</p>
<p><b>See also </b><a href="qgraphicsitemanimation.html#rotationAt">rotationAt</a>().</p>
<!-- @@@setRotationAt -->
<!-- $$$setScaleAt[overload1]$$$setScaleAtqrealqrealqreal -->
<h3 class="fn" id="setScaleAt"><a name="setScaleAt"></a><span class="type">void</span> QGraphicsItemAnimation::<span class="name">setScaleAt</span>(<span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span> <i>step</i>, <span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span> <i>sx</i>, <span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span> <i>sy</i>)</h3>
<p>Sets the scale of the item at the given <i>step</i> value using the horizontal and vertical scale factors specified by <i>sx</i> and <i>sy</i>.</p>
<p><b>See also </b><a href="qgraphicsitemanimation.html#verticalScaleAt">verticalScaleAt</a>() and <a href="qgraphicsitemanimation.html#horizontalScaleAt">horizontalScaleAt</a>().</p>
<!-- @@@setScaleAt -->
<!-- $$$setShearAt[overload1]$$$setShearAtqrealqrealqreal -->
<h3 class="fn" id="setShearAt"><a name="setShearAt"></a><span class="type">void</span> QGraphicsItemAnimation::<span class="name">setShearAt</span>(<span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span> <i>step</i>, <span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span> <i>sh</i>, <span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span> <i>sv</i>)</h3>
<p>Sets the shear of the item at the given <i>step</i> value using the horizontal and vertical shear factors specified by <i>sh</i> and <i>sv</i>.</p>
<p><b>See also </b><a href="qgraphicsitemanimation.html#verticalShearAt">verticalShearAt</a>() and <a href="qgraphicsitemanimation.html#horizontalShearAt">horizontalShearAt</a>().</p>
<!-- @@@setShearAt -->
<!-- $$$setStep[overload1]$$$setStepqreal -->
<h3 class="fn" id="setStep"><a name="setStep"></a><code>[slot] </code><span class="type">void</span> QGraphicsItemAnimation::<span class="name">setStep</span>(<span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span> <i>step</i>)</h3>
<p>Sets the current <i>step</i> value for the animation, causing the transformations scheduled at this step to be performed.</p>
<!-- @@@setStep -->
<!-- $$$setTimeLine[overload1]$$$setTimeLineQTimeLine* -->
<h3 class="fn" id="setTimeLine"><a name="setTimeLine"></a><span class="type">void</span> QGraphicsItemAnimation::<span class="name">setTimeLine</span>(<span class="type"><a href="../qtcore/qtimeline.html">QTimeLine</a></span> *<i>timeLine</i>)</h3>
<p>Sets the timeline object used to control the rate of animation to the <i>timeLine</i> specified.</p>
<p><b>See also </b><a href="qgraphicsitemanimation.html#timeLine">timeLine</a>().</p>
<!-- @@@setTimeLine -->
<!-- $$$setTranslationAt[overload1]$$$setTranslationAtqrealqrealqreal -->
<h3 class="fn" id="setTranslationAt"><a name="setTranslationAt"></a><span class="type">void</span> QGraphicsItemAnimation::<span class="name">setTranslationAt</span>(<span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span> <i>step</i>, <span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span> <i>dx</i>, <span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span> <i>dy</i>)</h3>
<p>Sets the translation of the item at the given <i>step</i> value using the horizontal and vertical coordinates specified by <i>dx</i> and <i>dy</i>.</p>
<p><b>See also </b><a href="qgraphicsitemanimation.html#xTranslationAt">xTranslationAt</a>() and <a href="qgraphicsitemanimation.html#yTranslationAt">yTranslationAt</a>().</p>
<!-- @@@setTranslationAt -->
<!-- $$$shearList[overload1]$$$shearList -->
<h3 class="fn" id="shearList"><a name="shearList"></a><span class="type"><a href="../qtcore/qlist.html">QList</a></span>&lt;<span class="type"><a href="../qtcore/qpair.html">QPair</a></span>&lt;<span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span>, <span class="type"><a href="../qtcore/qpointf.html">QPointF</a></span>&gt; &gt; QGraphicsItemAnimation::<span class="name">shearList</span>() const</h3>
<p>Returns all explicitly inserted shears.</p>
<p><b>See also </b><a href="qgraphicsitemanimation.html#verticalShearAt">verticalShearAt</a>(), <a href="qgraphicsitemanimation.html#horizontalShearAt">horizontalShearAt</a>(), and <a href="qgraphicsitemanimation.html#setShearAt">setShearAt</a>().</p>
<!-- @@@shearList -->
<!-- $$$timeLine[overload1]$$$timeLine -->
<h3 class="fn" id="timeLine"><a name="timeLine"></a><span class="type"><a href="../qtcore/qtimeline.html">QTimeLine</a></span> *QGraphicsItemAnimation::<span class="name">timeLine</span>() const</h3>
<p>Returns the timeline object used to control the rate at which the animation occurs.</p>
<p><b>See also </b><a href="qgraphicsitemanimation.html#setTimeLine">setTimeLine</a>().</p>
<!-- @@@timeLine -->
<!-- $$$translationList[overload1]$$$translationList -->
<h3 class="fn" id="translationList"><a name="translationList"></a><span class="type"><a href="../qtcore/qlist.html">QList</a></span>&lt;<span class="type"><a href="../qtcore/qpair.html">QPair</a></span>&lt;<span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span>, <span class="type"><a href="../qtcore/qpointf.html">QPointF</a></span>&gt; &gt; QGraphicsItemAnimation::<span class="name">translationList</span>() const</h3>
<p>Returns all explicitly inserted translations.</p>
<p><b>See also </b><a href="qgraphicsitemanimation.html#xTranslationAt">xTranslationAt</a>(), <a href="qgraphicsitemanimation.html#yTranslationAt">yTranslationAt</a>(), and <a href="qgraphicsitemanimation.html#setTranslationAt">setTranslationAt</a>().</p>
<!-- @@@translationList -->
<!-- $$$verticalScaleAt[overload1]$$$verticalScaleAtqreal -->
<h3 class="fn" id="verticalScaleAt"><a name="verticalScaleAt"></a><span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span> QGraphicsItemAnimation::<span class="name">verticalScaleAt</span>(<span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span> <i>step</i>) const</h3>
<p>Returns the vertical scale for the item at the specified <i>step</i> value.</p>
<p><b>See also </b><a href="qgraphicsitemanimation.html#setScaleAt">setScaleAt</a>().</p>
<!-- @@@verticalScaleAt -->
<!-- $$$verticalShearAt[overload1]$$$verticalShearAtqreal -->
<h3 class="fn" id="verticalShearAt"><a name="verticalShearAt"></a><span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span> QGraphicsItemAnimation::<span class="name">verticalShearAt</span>(<span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span> <i>step</i>) const</h3>
<p>Returns the vertical shear for the item at the specified <i>step</i> value.</p>
<p><b>See also </b><a href="qgraphicsitemanimation.html#setShearAt">setShearAt</a>().</p>
<!-- @@@verticalShearAt -->
<!-- $$$xTranslationAt[overload1]$$$xTranslationAtqreal -->
<h3 class="fn" id="xTranslationAt"><a name="xTranslationAt"></a><span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span> QGraphicsItemAnimation::<span class="name">xTranslationAt</span>(<span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span> <i>step</i>) const</h3>
<p>Returns the horizontal translation of the item at the specified <i>step</i> value.</p>
<p><b>See also </b><a href="qgraphicsitemanimation.html#setTranslationAt">setTranslationAt</a>().</p>
<!-- @@@xTranslationAt -->
<!-- $$$yTranslationAt[overload1]$$$yTranslationAtqreal -->
<h3 class="fn" id="yTranslationAt"><a name="yTranslationAt"></a><span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span> QGraphicsItemAnimation::<span class="name">yTranslationAt</span>(<span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span> <i>step</i>) const</h3>
<p>Returns the vertical translation of the item at the specified <i>step</i> value.</p>
<p><b>See also </b><a href="qgraphicsitemanimation.html#setTranslationAt">setTranslationAt</a>().</p>
<!-- @@@yTranslationAt -->
</div>
        </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>