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.Project.NewPythonPackageDialog</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.Project.NewPythonPackageDialog</h1> <p> Module implementing a dialog to add a new Python package. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#NewPythonPackageDialog">NewPythonPackageDialog</a></td> <td>Class implementing a dialog to add a new Python package.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /><hr /> <a NAME="NewPythonPackageDialog" ID="NewPythonPackageDialog"></a> <h2>NewPythonPackageDialog</h2> <p> Class implementing a dialog to add a new Python package. </p> <h3>Derived from</h3> QDialog, Ui_NewPythonPackageDialog <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="#NewPythonPackageDialog.__init__">NewPythonPackageDialog</a></td> <td>Constructor</td> </tr><tr> <td><a href="#NewPythonPackageDialog.getData">getData</a></td> <td>Public method to retrieve the data entered into the dialog.</td> </tr><tr> <td><a href="#NewPythonPackageDialog.on_packageEdit_textChanged">on_packageEdit_textChanged</a></td> <td>Private slot called, when the package name is changed.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="NewPythonPackageDialog.__init__" ID="NewPythonPackageDialog.__init__"></a> <h4>NewPythonPackageDialog (Constructor)</h4> <b>NewPythonPackageDialog</b>(<i>relPath, parent=None</i>) <p> Constructor </p><dl> <dt><i>relPath</i></dt> <dd> initial package path relative to the project root (string) </dd><dt><i>parent</i></dt> <dd> reference to the parent widget (QWidget) </dd> </dl><a NAME="NewPythonPackageDialog.getData" ID="NewPythonPackageDialog.getData"></a> <h4>NewPythonPackageDialog.getData</h4> <b>getData</b>(<i></i>) <p> Public method to retrieve the data entered into the dialog. </p><dl> <dt>Returns:</dt> <dd> package name (string) </dd> </dl><a NAME="NewPythonPackageDialog.on_packageEdit_textChanged" ID="NewPythonPackageDialog.on_packageEdit_textChanged"></a> <h4>NewPythonPackageDialog.on_packageEdit_textChanged</h4> <b>on_packageEdit_textChanged</b>(<i>txt</i>) <p> Private slot called, when the package name is changed. </p><dl> <dt><i>txt</i></dt> <dd> new text of the package name edit (string) </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>