Thu, 30 Dec 2021 11:58:36 +0100
Updated version info to indicate relation to eric7.
<!DOCTYPE html> <html><head> <title>Plugin_Project_Django.ProjectDjango.DjangoLoaddataDataDialog</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </head> <body> <a NAME="top" ID="top"></a> <h1>Plugin_Project_Django.ProjectDjango.DjangoLoaddataDataDialog</h1> <p> Module implementing a dialog to enter the data for the 'loaddata' command. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#DjangoLoaddataDataDialog">DjangoLoaddataDataDialog</a></td> <td>Class implementing a dialog to enter the data for the 'loaddata' command.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /> <hr /> <a NAME="DjangoLoaddataDataDialog" ID="DjangoLoaddataDataDialog"></a> <h2>DjangoLoaddataDataDialog</h2> <p> Class implementing a dialog to enter the data for the 'loaddata' command. </p> <h3>Derived from</h3> QDialog, Ui_DjangoLoaddataDataDialog <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="#DjangoLoaddataDataDialog.__init__">DjangoLoaddataDataDialog</a></td> <td>Constructor</td> </tr> <tr> <td><a href="#DjangoLoaddataDataDialog.getData">getData</a></td> <td>Public method to get the data entered into the dialog.</td> </tr> <tr> <td><a href="#DjangoLoaddataDataDialog.on_fixtureFileButton_clicked">on_fixtureFileButton_clicked</a></td> <td>Private slot to select a fixture file via a file selection dialog.</td> </tr> <tr> <td><a href="#DjangoLoaddataDataDialog.on_fixturesEdit_textChanged">on_fixturesEdit_textChanged</a></td> <td>Private slot to handle a change of the fixtures text.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="DjangoLoaddataDataDialog.__init__" ID="DjangoLoaddataDataDialog.__init__"></a> <h4>DjangoLoaddataDataDialog (Constructor)</h4> <b>DjangoLoaddataDataDialog</b>(<i>project, parent=None</i>) <p> Constructor </p> <dl> <dt><i>project</i> (Project)</dt> <dd> reference to the Django project object </dd> <dt><i>parent</i> (QWidget)</dt> <dd> reference to the parent widget </dd> </dl> <a NAME="DjangoLoaddataDataDialog.getData" ID="DjangoLoaddataDataDialog.getData"></a> <h4>DjangoLoaddataDataDialog.getData</h4> <b>getData</b>(<i></i>) <p> Public method to get the data entered into the dialog. </p> <dl> <dt>Return:</dt> <dd> tuple containing the list of fixtures, list of apps to exclude, application to search in and a flag indicating to ignore non-existing fields and models </dd> </dl> <dl> <dt>Return Type:</dt> <dd> tuple of (list of str, list of str, str, bool) </dd> </dl> <a NAME="DjangoLoaddataDataDialog.on_fixtureFileButton_clicked" ID="DjangoLoaddataDataDialog.on_fixtureFileButton_clicked"></a> <h4>DjangoLoaddataDataDialog.on_fixtureFileButton_clicked</h4> <b>on_fixtureFileButton_clicked</b>(<i></i>) <p> Private slot to select a fixture file via a file selection dialog. </p> <a NAME="DjangoLoaddataDataDialog.on_fixturesEdit_textChanged" ID="DjangoLoaddataDataDialog.on_fixturesEdit_textChanged"></a> <h4>DjangoLoaddataDataDialog.on_fixturesEdit_textChanged</h4> <b>on_fixturesEdit_textChanged</b>(<i>txt</i>) <p> Private slot to handle a change of the fixtures text. </p> <dl> <dt><i>txt</i></dt> <dd> text of the line edit (string) </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>