File: qparallelanimationgroup.html

package info (click to toggle)
qt4-x11 4%3A4.8.2%2Bdfsg-11
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 701,696 kB
  • sloc: cpp: 2,686,179; ansic: 375,485; python: 25,859; sh: 19,349; xml: 17,091; perl: 14,765; yacc: 5,383; asm: 5,038; makefile: 1,259; lex: 555; ruby: 526; objc: 347; cs: 112; pascal: 112; php: 54; sed: 34
file content (157 lines) | stat: -rw-r--r-- 11,667 bytes parent folder | download
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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.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" />
<!-- qparallelanimationgroup.cpp -->
  <title>Qt 4.8: QParallelAnimationGroup Class Reference</title>
  <link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="content"> 
    <a href="index.html" class="qtref"><span>Qt Reference Documentation</span></a>
  </div>
  <div class="breadcrumb toolblock">
    <ul>
      <li class="first"><a href="index.html">Home</a></li>
      <!--  Breadcrumbs go here -->
<li><a href="modules.html">Modules</a></li>
<li><a href="qtcore.html">QtCore</a></li>
<li>QParallelAnimationGroup</li>
    </ul>
  </div>
</div>
<div class="content mainContent">
<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="#protected-functions">Protected Functions</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">QParallelAnimationGroup Class Reference</h1>
<!-- $$$QParallelAnimationGroup-brief -->
<p>The QParallelAnimationGroup class provides a parallel group of animations. <a href="#details">More...</a></p>
<!-- @@@QParallelAnimationGroup -->
<pre class="cpp"> <span class="preprocessor">#include &lt;QParallelAnimationGroup&gt;</span></pre><p><b>Inherits: </b><a href="qanimationgroup.html">QAnimationGroup</a>.</p>
<p>This class was introduced in Qt 4.6.</p>
<ul>
<li><a href="qparallelanimationgroup-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qparallelanimationgroup.html#QParallelAnimationGroup">QParallelAnimationGroup</a></b> ( QObject * <i>parent</i> = 0 )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qparallelanimationgroup.html#dtor.QParallelAnimationGroup">~QParallelAnimationGroup</a></b> ()</td></tr>
</table>
<a name="reimplemented-public-functions"></a>
<h2>Reimplemented Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> virtual int </td><td class="memItemRight bottomAlign"><b><a href="qparallelanimationgroup.html#duration">duration</a></b> () const</td></tr>
</table>
<ul>
<li class="fn">8 public functions inherited from <a href="qanimationgroup.html#public-functions">QAnimationGroup</a></li>
<li class="fn">11 public functions inherited from <a href="qabstractanimation.html#public-functions">QAbstractAnimation</a></li>
<li class="fn">29 public functions inherited from <a href="qobject.html#public-functions">QObject</a></li>
</ul>
<a name="reimplemented-protected-functions"></a>
<h2>Reimplemented Protected Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> virtual bool </td><td class="memItemRight bottomAlign"><b><a href="qparallelanimationgroup.html#event">event</a></b> ( QEvent * <i>event</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qparallelanimationgroup.html#updateCurrentTime">updateCurrentTime</a></b> ( int <i>currentTime</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qparallelanimationgroup.html#updateDirection">updateDirection</a></b> ( QAbstractAnimation::Direction <i>direction</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qparallelanimationgroup.html#updateState">updateState</a></b> ( QAbstractAnimation::State <i>newState</i>, QAbstractAnimation::State <i>oldState</i> )</td></tr>
</table>
<ul>
<li class="fn">1 protected function inherited from <a href="qanimationgroup.html#protected-functions">QAnimationGroup</a></li>
<li class="fn">4 protected functions inherited from <a href="qabstractanimation.html#protected-functions">QAbstractAnimation</a></li>
<li class="fn">8 protected functions inherited from <a href="qobject.html#protected-functions">QObject</a></li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li class="fn">6 properties inherited from <a href="qabstractanimation.html#properties">QAbstractAnimation</a></li>
<li class="fn">1 property inherited from <a href="qobject.html#properties">QObject</a></li>
<li class="fn">6 public slots inherited from <a href="qabstractanimation.html#public-slots">QAbstractAnimation</a></li>
<li class="fn">1 public slot inherited from <a href="qobject.html#public-slots">QObject</a></li>
<li class="fn">4 signals inherited from <a href="qabstractanimation.html#signals">QAbstractAnimation</a></li>
<li class="fn">1 signal inherited from <a href="qobject.html#signals">QObject</a></li>
<li class="fn">7 static public members inherited from <a href="qobject.html#static-public-members">QObject</a></li>
<li class="fn">1 protected function inherited from <a href="qanimationgroup.html#protected-functions">QAnimationGroup</a></li>
<li class="fn">4 protected functions inherited from <a href="qabstractanimation.html#protected-functions">QAbstractAnimation</a></li>
<li class="fn">8 protected functions inherited from <a href="qobject.html#protected-functions">QObject</a></li>
</ul>
<a name="details"></a>
<!-- $$$QParallelAnimationGroup-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QParallelAnimationGroup class provides a parallel group of animations.</p>
<p>QParallelAnimationGroup--a <a href="qanimationgroup.html">container for animations</a>--starts all its animations when it is <a href="qabstractanimation.html#start">started</a> itself, i.e&#x2e;, runs all animations in parallel. The animation group finishes when the longest lasting animation has finished.</p>
<p>You can treat QParallelAnimation as any other <a href="qabstractanimation.html">QAbstractAnimation</a>, e.g&#x2e;, pause, resume, or add it to other animation groups.</p>
<pre class="cpp"> <span class="type">QParallelAnimationGroup</span> <span class="operator">*</span>group <span class="operator">=</span> <span class="keyword">new</span> <span class="type">QParallelAnimationGroup</span>;
 group<span class="operator">-</span><span class="operator">&gt;</span><a href="qanimationgroup.html#addAnimation">addAnimation</a>(anim1);
 group<span class="operator">-</span><span class="operator">&gt;</span><a href="qanimationgroup.html#addAnimation">addAnimation</a>(anim2);

 group<span class="operator">-</span><span class="operator">&gt;</span><a href="qabstractanimation.html#start">start</a>();</pre>
<p>In this example, <tt>anim1</tt> and <tt>anim2</tt> are two <a href="qpropertyanimation.html">QPropertyAnimation</a>s that have already been set up.</p>
</div>
<p><b>See also </b><a href="qanimationgroup.html">QAnimationGroup</a>, <a href="qpropertyanimation.html">QPropertyAnimation</a>, and <a href="animation-overview.html">The Animation Framework</a>.</p>
<!-- @@@QParallelAnimationGroup -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QParallelAnimationGroup[overload1]$$$QParallelAnimationGroupQObject* -->
<h3 class="fn"><a name="QParallelAnimationGroup"></a>QParallelAnimationGroup::<span class="name">QParallelAnimationGroup</span> ( <span class="type"><a href="qobject.html">QObject</a></span> * <i>parent</i> = 0 )</h3>
<p>Constructs a <a href="qparallelanimationgroup.html">QParallelAnimationGroup</a>. <i>parent</i> is passed to <a href="qobject.html">QObject</a>'s constructor.</p>
<!-- @@@QParallelAnimationGroup -->
<!-- $$$~QParallelAnimationGroup[overload1]$$$~QParallelAnimationGroup -->
<h3 class="fn"><a name="dtor.QParallelAnimationGroup"></a>QParallelAnimationGroup::<span class="name">~QParallelAnimationGroup</span> ()</h3>
<p>Destroys the animation group. It will also destroy all its animations.</p>
<!-- @@@~QParallelAnimationGroup -->
<!-- $$$duration[overload1]$$$duration -->
<h3 class="fn"><a name="duration"></a><span class="type">int</span> QParallelAnimationGroup::<span class="name">duration</span> () const<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qabstractanimation.html#duration-prop">QAbstractAnimation::duration</a>().</p>
<!-- @@@duration -->
<!-- $$$event[overload1]$$$eventQEvent* -->
<h3 class="fn"><a name="event"></a><span class="type">bool</span> QParallelAnimationGroup::<span class="name">event</span> ( <span class="type"><a href="qevent.html">QEvent</a></span> * <i>event</i> )<tt> [virtual protected]</tt></h3>
<p>Reimplemented from <a href="qobject.html#event">QObject::event</a>().</p>
<!-- @@@event -->
<!-- $$$updateCurrentTime[overload1]$$$updateCurrentTimeint -->
<h3 class="fn"><a name="updateCurrentTime"></a><span class="type">void</span> QParallelAnimationGroup::<span class="name">updateCurrentTime</span> ( <span class="type">int</span> <i>currentTime</i> )<tt> [virtual protected]</tt></h3>
<p>Reimplemented from <a href="qabstractanimation.html#updateCurrentTime">QAbstractAnimation::updateCurrentTime</a>().</p>
<!-- @@@updateCurrentTime -->
<!-- $$$updateDirection[overload1]$$$updateDirectionQAbstractAnimation::Direction -->
<h3 class="fn"><a name="updateDirection"></a><span class="type">void</span> QParallelAnimationGroup::<span class="name">updateDirection</span> ( <span class="type"><a href="qabstractanimation.html#Direction-enum">QAbstractAnimation::Direction</a></span> <i>direction</i> )<tt> [virtual protected]</tt></h3>
<p>Reimplemented from <a href="qabstractanimation.html#updateDirection">QAbstractAnimation::updateDirection</a>().</p>
<!-- @@@updateDirection -->
<!-- $$$updateState[overload1]$$$updateStateQAbstractAnimation::StateQAbstractAnimation::State -->
<h3 class="fn"><a name="updateState"></a><span class="type">void</span> QParallelAnimationGroup::<span class="name">updateState</span> ( <span class="type"><a href="qabstractanimation.html#State-enum">QAbstractAnimation::State</a></span> <i>newState</i>, <span class="type"><a href="qabstractanimation.html#State-enum">QAbstractAnimation::State</a></span> <i>oldState</i> )<tt> [virtual protected]</tt></h3>
<p>Reimplemented from <a href="qabstractanimation.html#updateState">QAbstractAnimation::updateState</a>().</p>
<!-- @@@updateState -->
</div>
  <div class="ft">
    <span></span>
  </div>
</div> 
<div class="footer">
    <p>
      <acronym title="Copyright">&copy;</acronym> 2012 Nokia Corporation and/or its
      subsidiaries. Documentation contributions included herein are the copyrights of
      their respective owners.</p>
    <br />
    <p>
      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.</p>
    <p>
      Documentation sources may be obtained from <a href="http://www.qt-project.org">
      www.qt-project.org</a>.</p>
    <br />
    <p>
      Nokia, Qt and their respective logos are trademarks of Nokia Corporation 
      in Finland and/or other countries worldwide. All other trademarks are property
      of their respective owners. <a title="Privacy Policy"
      href="http://en.gitorious.org/privacy_policy/">Privacy Policy</a></p>
</div>
</body>
</html>