diff -r 3fc8dfeb6ebe -r b99e7fd55fd3 src/eric7/Documentation/Source/eric7.EricWidgets.EricAnimatedWidget.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/eric7/Documentation/Source/eric7.EricWidgets.EricAnimatedWidget.html Thu Jul 07 11:23:56 2022 +0200 @@ -0,0 +1,173 @@ +<!DOCTYPE html> +<html><head> +<title>eric7.EricWidgets.EricAnimatedWidget</title> +<meta charset="UTF-8"> +<link rel="stylesheet" href="styles.css"> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric7.EricWidgets.EricAnimatedWidget</h1> + +<p> +Module implementing an animated widget. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> + +<tr> +<td><a href="#EricAnimatedWidget">EricAnimatedWidget</a></td> +<td>Class implementing an animated widget.</td> +</tr> +</table> +<h3>Functions</h3> + +<table> +<tr><td>None</td></tr> +</table> +<hr /> +<hr /> +<a NAME="EricAnimatedWidget" ID="EricAnimatedWidget"></a> +<h2>EricAnimatedWidget</h2> + +<p> + Class implementing an animated widget. +</p> +<h3>Derived from</h3> +QWidget +<h3>Class Attributes</h3> + +<table> +<tr><td>DirectionDown</td></tr><tr><td>DirectionUp</td></tr> +</table> +<h3>Class Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> + +<table> + +<tr> +<td><a href="#EricAnimatedWidget.__init__">EricAnimatedWidget</a></td> +<td>Constructor</td> +</tr> +<tr> +<td><a href="#EricAnimatedWidget.__animateFrame">__animateFrame</a></td> +<td>Private slot to animate the next frame.</td> +</tr> +<tr> +<td><a href="#EricAnimatedWidget.hide">hide</a></td> +<td>Public slot to hide the animated widget.</td> +</tr> +<tr> +<td><a href="#EricAnimatedWidget.resizeEvent">resizeEvent</a></td> +<td>Protected method to handle a resize event.</td> +</tr> +<tr> +<td><a href="#EricAnimatedWidget.startAnimation">startAnimation</a></td> +<td>Public slot to start the animation.</td> +</tr> +<tr> +<td><a href="#EricAnimatedWidget.widget">widget</a></td> +<td>Public method to get a reference to the animated widget.</td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="EricAnimatedWidget.__init__" ID="EricAnimatedWidget.__init__"></a> +<h4>EricAnimatedWidget (Constructor)</h4> +<b>EricAnimatedWidget</b>(<i>direction=DirectionDown, duration=300, parent=None</i>) + +<p> + Constructor +</p> +<dl> + +<dt><i>direction</i> (int (one of DirectionDown or DirectionUp))</dt> +<dd> +direction of the animation +</dd> +<dt><i>duration</i> (int)</dt> +<dd> +duration of the animation +</dd> +<dt><i>parent</i> (QWidget)</dt> +<dd> +reference to the parent widget +</dd> +</dl> +<a NAME="EricAnimatedWidget.__animateFrame" ID="EricAnimatedWidget.__animateFrame"></a> +<h4>EricAnimatedWidget.__animateFrame</h4> +<b>__animateFrame</b>(<i>frame</i>) + +<p> + Private slot to animate the next frame. +</p> +<dl> + +<dt><i>frame</i> (int)</dt> +<dd> +frame number +</dd> +</dl> +<a NAME="EricAnimatedWidget.hide" ID="EricAnimatedWidget.hide"></a> +<h4>EricAnimatedWidget.hide</h4> +<b>hide</b>(<i></i>) + +<p> + Public slot to hide the animated widget. +</p> +<a NAME="EricAnimatedWidget.resizeEvent" ID="EricAnimatedWidget.resizeEvent"></a> +<h4>EricAnimatedWidget.resizeEvent</h4> +<b>resizeEvent</b>(<i>evt</i>) + +<p> + Protected method to handle a resize event. +</p> +<dl> + +<dt><i>evt</i> (QResizeEvent)</dt> +<dd> +reference to the event object +</dd> +</dl> +<a NAME="EricAnimatedWidget.startAnimation" ID="EricAnimatedWidget.startAnimation"></a> +<h4>EricAnimatedWidget.startAnimation</h4> +<b>startAnimation</b>(<i></i>) + +<p> + Public slot to start the animation. +</p> +<a NAME="EricAnimatedWidget.widget" ID="EricAnimatedWidget.widget"></a> +<h4>EricAnimatedWidget.widget</h4> +<b>widget</b>(<i></i>) + +<p> + Public method to get a reference to the animated widget. +</p> +<dl> +<dt>Return:</dt> +<dd> +reference to the animated widget +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +QWidget +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file