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.WebBrowser.JavaScript.ExternalJsObject</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.WebBrowser.JavaScript.ExternalJsObject</h1> <p> Module implementing the JavaScript external object being the endpoint of a web channel. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#ExternalJsObject">ExternalJsObject</a></td> <td>Class implementing the endpoint of our web channel.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /><hr /> <a NAME="ExternalJsObject" ID="ExternalJsObject"></a> <h2>ExternalJsObject</h2> <p> Class implementing the endpoint of our web channel. </p> <h3>Derived from</h3> QObject <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="#ExternalJsObject.__init__">ExternalJsObject</a></td> <td>Constructor</td> </tr><tr> <td><a href="#ExternalJsObject.page">page</a></td> <td>Public method returning a reference to the web page object.</td> </tr><tr> <td><a href="#ExternalJsObject.passwordManager">passwordManager</a></td> <td>Public method to get a reference to the password manager JavaScript object.</td> </tr><tr> <td><a href="#ExternalJsObject.speedDial">speedDial</a></td> <td>Public method returning a reference to a speed dial object.</td> </tr><tr> <td><a href="#ExternalJsObject.startPage">startPage</a></td> <td>Public method to get a reference to the start page JavaScript object.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="ExternalJsObject.__init__" ID="ExternalJsObject.__init__"></a> <h4>ExternalJsObject (Constructor)</h4> <b>ExternalJsObject</b>(<i>page</i>) <p> Constructor </p><dl> <dt><i>page</i> (WebBrowserPage)</dt> <dd> reference to the web page object </dd> </dl><a NAME="ExternalJsObject.page" ID="ExternalJsObject.page"></a> <h4>ExternalJsObject.page</h4> <b>page</b>(<i></i>) <p> Public method returning a reference to the web page object. </p><dl> <dt>Returns:</dt> <dd> reference to the web page object </dd> </dl><dl> <dt>Return Type:</dt> <dd> WebBrowserPage </dd> </dl><a NAME="ExternalJsObject.passwordManager" ID="ExternalJsObject.passwordManager"></a> <h4>ExternalJsObject.passwordManager</h4> <b>passwordManager</b>(<i></i>) <p> Public method to get a reference to the password manager JavaScript object. </p><dl> <dt>Returns:</dt> <dd> reference to the password manager JavaScript object </dd> </dl><dl> <dt>Return Type:</dt> <dd> StartPageJsObject </dd> </dl><a NAME="ExternalJsObject.speedDial" ID="ExternalJsObject.speedDial"></a> <h4>ExternalJsObject.speedDial</h4> <b>speedDial</b>(<i></i>) <p> Public method returning a reference to a speed dial object. </p><dl> <dt>Returns:</dt> <dd> reference to a speed dial object </dd> </dl><dl> <dt>Return Type:</dt> <dd> SpeedDial </dd> </dl><a NAME="ExternalJsObject.startPage" ID="ExternalJsObject.startPage"></a> <h4>ExternalJsObject.startPage</h4> <b>startPage</b>(<i></i>) <p> Public method to get a reference to the start page JavaScript object. </p><dl> <dt>Returns:</dt> <dd> reference to the start page JavaScript object </dd> </dl><dl> <dt>Return Type:</dt> <dd> StartPageJsObject </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>