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.OpenSearch.OpenSearchDialog</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.OpenSearch.OpenSearchDialog</h1> <p> Module implementing a dialog for the configuration of search engines. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#OpenSearchDialog">OpenSearchDialog</a></td> <td>Class implementing a dialog for the configuration of search engines.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /><hr /> <a NAME="OpenSearchDialog" ID="OpenSearchDialog"></a> <h2>OpenSearchDialog</h2> <p> Class implementing a dialog for the configuration of search engines. </p> <h3>Derived from</h3> QDialog, Ui_OpenSearchDialog <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="#OpenSearchDialog.__init__">OpenSearchDialog</a></td> <td>Constructor</td> </tr><tr> <td><a href="#OpenSearchDialog.__selectionChanged">__selectionChanged</a></td> <td>Private slot to handle a change of the selection.</td> </tr><tr> <td><a href="#OpenSearchDialog.on_addButton_clicked">on_addButton_clicked</a></td> <td>Private slot to add a new search engine.</td> </tr><tr> <td><a href="#OpenSearchDialog.on_deleteButton_clicked">on_deleteButton_clicked</a></td> <td>Private slot to delete the selected search engines.</td> </tr><tr> <td><a href="#OpenSearchDialog.on_editButton_clicked">on_editButton_clicked</a></td> <td>Private slot to edit the data of the current search engine.</td> </tr><tr> <td><a href="#OpenSearchDialog.on_restoreButton_clicked">on_restoreButton_clicked</a></td> <td>Private slot to restore the default search engines.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="OpenSearchDialog.__init__" ID="OpenSearchDialog.__init__"></a> <h4>OpenSearchDialog (Constructor)</h4> <b>OpenSearchDialog</b>(<i>parent=None</i>) <p> Constructor </p><dl> <dt><i>parent</i></dt> <dd> reference to the parent object (QWidget) </dd> </dl><a NAME="OpenSearchDialog.__selectionChanged" ID="OpenSearchDialog.__selectionChanged"></a> <h4>OpenSearchDialog.__selectionChanged</h4> <b>__selectionChanged</b>(<i>selected, deselected</i>) <p> Private slot to handle a change of the selection. </p><dl> <dt><i>selected</i></dt> <dd> item selection of selected items (QItemSelection) </dd><dt><i>deselected</i></dt> <dd> item selection of deselected items (QItemSelection) </dd> </dl><a NAME="OpenSearchDialog.on_addButton_clicked" ID="OpenSearchDialog.on_addButton_clicked"></a> <h4>OpenSearchDialog.on_addButton_clicked</h4> <b>on_addButton_clicked</b>(<i></i>) <p> Private slot to add a new search engine. </p><a NAME="OpenSearchDialog.on_deleteButton_clicked" ID="OpenSearchDialog.on_deleteButton_clicked"></a> <h4>OpenSearchDialog.on_deleteButton_clicked</h4> <b>on_deleteButton_clicked</b>(<i></i>) <p> Private slot to delete the selected search engines. </p><a NAME="OpenSearchDialog.on_editButton_clicked" ID="OpenSearchDialog.on_editButton_clicked"></a> <h4>OpenSearchDialog.on_editButton_clicked</h4> <b>on_editButton_clicked</b>(<i></i>) <p> Private slot to edit the data of the current search engine. </p><a NAME="OpenSearchDialog.on_restoreButton_clicked" ID="OpenSearchDialog.on_restoreButton_clicked"></a> <h4>OpenSearchDialog.on_restoreButton_clicked</h4> <b>on_restoreButton_clicked</b>(<i></i>) <p> Private slot to restore the default search engines. </p> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>