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.Tools.WebIconDialog</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.Tools.WebIconDialog</h1> <p> Module implementing a dialog to manage the Favicons. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#WebIconDialog">WebIconDialog</a></td> <td>Class implementing a dialog to manage the Favicons.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /><hr /> <a NAME="WebIconDialog" ID="WebIconDialog"></a> <h2>WebIconDialog</h2> <p> Class implementing a dialog to manage the Favicons. </p> <h3>Derived from</h3> QDialog, Ui_WebIconDialog <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="#WebIconDialog.__init__">WebIconDialog</a></td> <td>Constructor</td> </tr><tr> <td><a href="#WebIconDialog.__setRemoveButtons">__setRemoveButtons</a></td> <td>Private method to set the state of the 'remove' buttons.</td> </tr><tr> <td><a href="#WebIconDialog.getUrls">getUrls</a></td> <td>Public method to get the list of URLs.</td> </tr><tr> <td><a href="#WebIconDialog.on_iconsList_customContextMenuRequested">on_iconsList_customContextMenuRequested</a></td> <td>Private slot to show the context menu.</td> </tr><tr> <td><a href="#WebIconDialog.on_iconsList_itemSelectionChanged">on_iconsList_itemSelectionChanged</a></td> <td>Private slot handling the selection of entries.</td> </tr><tr> <td><a href="#WebIconDialog.on_removeAllButton_clicked">on_removeAllButton_clicked</a></td> <td>Private slot to remove all entries.</td> </tr><tr> <td><a href="#WebIconDialog.on_removeButton_clicked">on_removeButton_clicked</a></td> <td>Private slot to remove the selected items.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="WebIconDialog.__init__" ID="WebIconDialog.__init__"></a> <h4>WebIconDialog (Constructor)</h4> <b>WebIconDialog</b>(<i>iconsDB, parent=None</i>) <p> Constructor </p><dl> <dt><i>iconsDB</i> (dict)</dt> <dd> icons database </dd><dt><i>parent</i> (QWidget)</dt> <dd> reference to the parent widget </dd> </dl><a NAME="WebIconDialog.__setRemoveButtons" ID="WebIconDialog.__setRemoveButtons"></a> <h4>WebIconDialog.__setRemoveButtons</h4> <b>__setRemoveButtons</b>(<i></i>) <p> Private method to set the state of the 'remove' buttons. </p><a NAME="WebIconDialog.getUrls" ID="WebIconDialog.getUrls"></a> <h4>WebIconDialog.getUrls</h4> <b>getUrls</b>(<i></i>) <p> Public method to get the list of URLs. </p><dl> <dt>Returns:</dt> <dd> list of URLs </dd> </dl><dl> <dt>Return Type:</dt> <dd> list of str </dd> </dl><a NAME="WebIconDialog.on_iconsList_customContextMenuRequested" ID="WebIconDialog.on_iconsList_customContextMenuRequested"></a> <h4>WebIconDialog.on_iconsList_customContextMenuRequested</h4> <b>on_iconsList_customContextMenuRequested</b>(<i>pos</i>) <p> Private slot to show the context menu. </p><dl> <dt><i>pos</i> (QPoint)</dt> <dd> cursor position </dd> </dl><a NAME="WebIconDialog.on_iconsList_itemSelectionChanged" ID="WebIconDialog.on_iconsList_itemSelectionChanged"></a> <h4>WebIconDialog.on_iconsList_itemSelectionChanged</h4> <b>on_iconsList_itemSelectionChanged</b>(<i></i>) <p> Private slot handling the selection of entries. </p><a NAME="WebIconDialog.on_removeAllButton_clicked" ID="WebIconDialog.on_removeAllButton_clicked"></a> <h4>WebIconDialog.on_removeAllButton_clicked</h4> <b>on_removeAllButton_clicked</b>(<i></i>) <p> Private slot to remove all entries. </p><a NAME="WebIconDialog.on_removeButton_clicked" ID="WebIconDialog.on_removeButton_clicked"></a> <h4>WebIconDialog.on_removeButton_clicked</h4> <b>on_removeButton_clicked</b>(<i></i>) <p> Private slot to remove the selected items. </p> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>