Tue, 24 Oct 2017 19:09:09 +0200
Changed the logic of the two web browsers in order to put new downloads at the top of the list of downloads and add the download date and time to the shown info.
<!DOCTYPE html> <html><head> <title>eric6.Snapshot.SnapshotTimer</title> <meta charset="UTF-8"> <style> body { background: #EDECE6; margin: 0em 1em 10em 1em; color: black; } h1 { color: white; background: #85774A; } h2 { color: white; background: #85774A; } h3 { color: white; background: #9D936E; } h4 { color: white; background: #9D936E; } a { color: #BA6D36; } </style> </head> <body><a NAME="top" ID="top"></a> <h1>eric6.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></dt> <dd> enter event (QEvent) </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></dt> <dd> paint event (QPaintEvent) </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></dt> <dd> timeout value (integer) </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>