Thu, 07 Jul 2022 11:23:56 +0200
Reorganized the project structure to use the source layout in order to support up-to-date build systems with "pyproject.toml".
<!DOCTYPE html> <html><head> <title>eric7.Project.NewPythonPackageDialog</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </head> <body> <a NAME="top" ID="top"></a> <h1>eric7.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>Return:</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>