Sat, 26 Apr 2025 12:34:32 +0200
MicroPython
- Added a configuration option to disable the support for the no longer produced Pimoroni Pico Wireless Pack.
<!DOCTYPE html> <html><head> <title>eric7.Snapshot.SnapshotTimer</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </head> <body> <a NAME="top" ID="top"></a> <h1>eric7.Snapshot.SnapshotTimer</h1> <p> Module implementing the snapshot timer widget. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#SnapshotTimer">SnapshotTimer</a></td> <td>Class implementing the snapshot timer widget.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /> <hr /> <a NAME="SnapshotTimer" ID="SnapshotTimer"></a> <h2>SnapshotTimer</h2> <p> Class implementing the snapshot timer widget. </p> <h3>Signals</h3> <dl> <dt>timeout()</dt> <dd> emitted after the timer timed out </dd> </dl> <h3>Derived from</h3> QWidget <h3>Class Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Class Methods</h3> <table> <tr><td>None</td></tr> </table> <h3>Methods</h3> <table> <tr> <td><a href="#SnapshotTimer.__init__">SnapshotTimer</a></td> <td>Constructor</td> </tr> <tr> <td><a href="#SnapshotTimer.__bell">__bell</a></td> <td>Private slot handling timer timeouts.</td> </tr> <tr> <td><a href="#SnapshotTimer.enterEvent">enterEvent</a></td> <td>Protected method handling the mouse cursor entering the widget.</td> </tr> <tr> <td><a href="#SnapshotTimer.paintEvent">paintEvent</a></td> <td>Protected method handling paint events.</td> </tr> <tr> <td><a href="#SnapshotTimer.start">start</a></td> <td>Public method to start the timer.</td> </tr> <tr> <td><a href="#SnapshotTimer.stop">stop</a></td> <td>Public method to stop the timer.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="SnapshotTimer.__init__" ID="SnapshotTimer.__init__"></a> <h4>SnapshotTimer (Constructor)</h4> <b>SnapshotTimer</b>(<i></i>) <p> Constructor </p> <a NAME="SnapshotTimer.__bell" ID="SnapshotTimer.__bell"></a> <h4>SnapshotTimer.__bell</h4> <b>__bell</b>(<i></i>) <p> Private slot handling timer timeouts. </p> <a NAME="SnapshotTimer.enterEvent" ID="SnapshotTimer.enterEvent"></a> <h4>SnapshotTimer.enterEvent</h4> <b>enterEvent</b>(<i>_evt</i>) <p> Protected method handling the mouse cursor entering the widget. </p> <dl> <dt><i>_evt</i> (QEvent)</dt> <dd> enter event (unused) </dd> </dl> <a NAME="SnapshotTimer.paintEvent" ID="SnapshotTimer.paintEvent"></a> <h4>SnapshotTimer.paintEvent</h4> <b>paintEvent</b>(<i>_evt</i>) <p> Protected method handling paint events. </p> <dl> <dt><i>_evt</i> (QPaintEvent)</dt> <dd> paint event (unused) </dd> </dl> <a NAME="SnapshotTimer.start" ID="SnapshotTimer.start"></a> <h4>SnapshotTimer.start</h4> <b>start</b>(<i>seconds</i>) <p> Public method to start the timer. </p> <dl> <dt><i>seconds</i> (int)</dt> <dd> timeout value </dd> </dl> <a NAME="SnapshotTimer.stop" ID="SnapshotTimer.stop"></a> <h4>SnapshotTimer.stop</h4> <b>stop</b>(<i></i>) <p> Public method to stop the timer. </p> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>