Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > 28b9e36e96ce34b2567ae5b47a27b2c5 > files > 918

python-qt4-doc-4.10.3-3.mga4.noarch.rpm

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html><head><title>QPauseAnimation Class Reference</title><style>h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm }
a:link { color: #004faf; text-decoration: none }
a:visited { color: #672967; text-decoration: none }
td.postheader { font-family: sans-serif }
tr.address { font-family: sans-serif }
body { background: #ffffff; color: black; }
</style></head><body><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr /><td align="left" valign="top" width="32"><img align="left" border="0" height="32" src="images/rb-logo.png" width="32" /></td><td width="1">&#160;&#160;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&#160;&#183; <a href="classes.html"><font color="#004faf">All Classes</font></a>&#160;&#183; <a href="modules.html"><font color="#004faf">Modules</font></a></td></table><h1 align="center">QPauseAnimation Class Reference<br /><sup><sup>[<a href="qtcore.html">QtCore</a> module]</sup></sup></h1><p>The QPauseAnimation class provides a pause for <a href="qsequentialanimationgroup.html">QSequentialAnimationGroup</a>.
<a href="#details">More...</a></p>

<p>Inherits <a href="qabstractanimation.html">QAbstractAnimation</a>.</p><h3>Methods</h3><ul><li><div class="fn" /><b><a href="qpauseanimation.html#QPauseAnimation">__init__</a></b> (<i>self</i>, QObject&#160;<i>parent</i>&#160;=&#160;None)</li><li><div class="fn" /><b><a href="qpauseanimation.html#QPauseAnimation-2">__init__</a></b> (<i>self</i>, int&#160;<i>msecs</i>, QObject&#160;<i>parent</i>&#160;=&#160;None)</li><li><div class="fn" />int <b><a href="qpauseanimation.html#duration">duration</a></b> (<i>self</i>)</li><li><div class="fn" />bool <b><a href="qpauseanimation.html#event">event</a></b> (<i>self</i>, QEvent&#160;<i>e</i>)</li><li><div class="fn" /><b><a href="qpauseanimation.html#setDuration">setDuration</a></b> (<i>self</i>, int&#160;<i>msecs</i>)</li><li><div class="fn" /><b><a href="qpauseanimation.html#updateCurrentTime">updateCurrentTime</a></b> (<i>self</i>, int)</li></ul><a name="details" /><hr /><h2>Detailed Description</h2><p>The QPauseAnimation class provides a pause for <a href="qsequentialanimationgroup.html">QSequentialAnimationGroup</a>.</p>
<p>If you wish to introduce a delay between animations in a
<a href="qsequentialanimationgroup.html">QSequentialAnimationGroup</a>,
you can insert a QPauseAnimation. This class does not animate
anything, but does not <a href="qabstractanimation.html#finished">finish</a> before a specified
number of milliseconds have elapsed from when it was started. You
specify the duration of the pause in the constructor. It can also
be set directly with <a href="qpauseanimation.html#duration-prop">setDuration</a>().</p>
<p>It is not necessary to construct a QPauseAnimation yourself.
<a href="qsequentialanimationgroup.html">QSequentialAnimationGroup</a>
provides the convenience functions <a href="qsequentialanimationgroup.html#addPause">addPause()</a> and
<a href="qsequentialanimationgroup.html#insertPause">insertPause()</a>.
These functions simply take the number of milliseconds the pause
should last.</p>
<hr /><h2>Method Documentation</h2><h3 class="fn"><a name="QPauseAnimation" />QPauseAnimation.__init__ (<i>self</i>, <a href="qobject.html">QObject</a>&#160;<i>parent</i>&#160;=&#160;None)</h3><p>The <i>parent</i> argument, if not None, causes <i>self</i> to be owned by Qt instead of PyQt.</p><p>Constructs a <a href="qpauseanimation.html">QPauseAnimation</a>.
<i>parent</i> is passed to <a href="qobject.html">QObject</a>'s
constructor. The default duration is 0.</p>


<h3 class="fn"><a name="QPauseAnimation-2" />QPauseAnimation.__init__ (<i>self</i>, int&#160;<i>msecs</i>, <a href="qobject.html">QObject</a>&#160;<i>parent</i>&#160;=&#160;None)</h3><p>The <i>parent</i> argument, if not None, causes <i>self</i> to be owned by Qt instead of PyQt.</p><p>Constructs a <a href="qpauseanimation.html">QPauseAnimation</a>.
<i>msecs</i> is the duration of the pause. <i>parent</i> is passed
to <a href="qobject.html">QObject</a>'s constructor.</p>


<h3 class="fn"><a name="duration" />int QPauseAnimation.duration (<i>self</i>)</h3><h3 class="fn"><a name="event" />bool QPauseAnimation.event (<i>self</i>, <a href="qevent.html">QEvent</a>&#160;<i>e</i>)</h3><p>Reimplemented from <a href="qobject.html#event">QObject.event</a>().</p>


<h3 class="fn"><a name="setDuration" />QPauseAnimation.setDuration (<i>self</i>, int&#160;<i>msecs</i>)</h3><h3 class="fn"><a name="updateCurrentTime" />QPauseAnimation.updateCurrentTime (<i>self</i>, int)</h3><p>Reimplemented from <a href="qabstractanimation.html#updateCurrentTime">QAbstractAnimation.updateCurrentTime</a>().</p>
<address><hr /><div align="center"><table border="0" cellspacing="0" width="100%"><tr class="address"><td align="left" width="25%">PyQt&#160;4.10.3 for X11</td><td align="center" width="50%">Copyright &#169; <a href="http://www.riverbankcomputing.com">Riverbank&#160;Computing&#160;Ltd</a> and <a href="http://www.qtsoftware.com">Nokia</a> 2012</td><td align="right" width="25%">Qt&#160;4.8.5</td></tr></table></div></address></body></html>