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.StatusBar.JavaScriptIcon</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.StatusBar.JavaScriptIcon</h1> <p> Module implementing the JavaScript status bar icon. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#JavaScriptIcon">JavaScriptIcon</a></td> <td>Class implementing the JavaScript status bar icon.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /><hr /> <a NAME="JavaScriptIcon" ID="JavaScriptIcon"></a> <h2>JavaScriptIcon</h2> <p> Class implementing the JavaScript status bar icon. </p> <h3>Derived from</h3> StatusBarIcon <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="#JavaScriptIcon.__init__">JavaScriptIcon</a></td> <td>Constructor</td> </tr><tr> <td><a href="#JavaScriptIcon.__showJavaScriptSettingsDialog">__showJavaScriptSettingsDialog</a></td> <td>Private slot to show the JavaScript settings dialog.</td> </tr><tr> <td><a href="#JavaScriptIcon.__showMenu">__showMenu</a></td> <td>Private slot to show the menu.</td> </tr><tr> <td><a href="#JavaScriptIcon.__toggleJavaScript">__toggleJavaScript</a></td> <td>Private slot to toggle the JavaScript setting.</td> </tr><tr> <td><a href="#JavaScriptIcon.__updateIcon">__updateIcon</a></td> <td>Private slot to update the icon.</td> </tr><tr> <td><a href="#JavaScriptIcon.preferencesChanged">preferencesChanged</a></td> <td>Public method to handle changes of the settings.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="JavaScriptIcon.__init__" ID="JavaScriptIcon.__init__"></a> <h4>JavaScriptIcon (Constructor)</h4> <b>JavaScriptIcon</b>(<i>window</i>) <p> Constructor </p><dl> <dt><i>window</i> (WebBrowserWindow)</dt> <dd> reference to the web browser window </dd> </dl><a NAME="JavaScriptIcon.__showJavaScriptSettingsDialog" ID="JavaScriptIcon.__showJavaScriptSettingsDialog"></a> <h4>JavaScriptIcon.__showJavaScriptSettingsDialog</h4> <b>__showJavaScriptSettingsDialog</b>(<i></i>) <p> Private slot to show the JavaScript settings dialog. </p><p> Note: This is the JavaScript subset of the web browser configuration page. </p><a NAME="JavaScriptIcon.__showMenu" ID="JavaScriptIcon.__showMenu"></a> <h4>JavaScriptIcon.__showMenu</h4> <b>__showMenu</b>(<i>pos</i>) <p> Private slot to show the menu. </p><dl> <dt><i>pos</i> (QPoint)</dt> <dd> position to show the menu at </dd> </dl><a NAME="JavaScriptIcon.__toggleJavaScript" ID="JavaScriptIcon.__toggleJavaScript"></a> <h4>JavaScriptIcon.__toggleJavaScript</h4> <b>__toggleJavaScript</b>(<i></i>) <p> Private slot to toggle the JavaScript setting. </p><a NAME="JavaScriptIcon.__updateIcon" ID="JavaScriptIcon.__updateIcon"></a> <h4>JavaScriptIcon.__updateIcon</h4> <b>__updateIcon</b>(<i></i>) <p> Private slot to update the icon. </p><a NAME="JavaScriptIcon.preferencesChanged" ID="JavaScriptIcon.preferencesChanged"></a> <h4>JavaScriptIcon.preferencesChanged</h4> <b>preferencesChanged</b>(<i></i>) <p> Public method to handle changes of the settings. </p> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>