ProjectDjango/Documentation/source/Plugin_Project_Django.ProjectDjango.DjangoRunTestServerDataDialog.html

Mon, 22 Jun 2020 19:32:12 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 22 Jun 2020 19:32:12 +0200
changeset 161
208fced62e00
parent 125
d280acf98fb5
child 169
b8f263e05c39
permissions
-rw-r--r--

Removed support for Python2.

<!DOCTYPE html>
<html><head>
<title>Plugin_Project_Django.ProjectDjango.DjangoRunTestServerDataDialog</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>Plugin_Project_Django.ProjectDjango.DjangoRunTestServerDataDialog</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="#DjangoRunTestServerDataDialog">DjangoRunTestServerDataDialog</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="DjangoRunTestServerDataDialog" ID="DjangoRunTestServerDataDialog"></a>
<h2>DjangoRunTestServerDataDialog</h2>

<p>
    Class implementing a dialog to enter the data for the 'loaddata' command.
</p>
<h3>Derived from</h3>
QDialog, Ui_DjangoRunTestServerDataDialog
<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="#DjangoRunTestServerDataDialog.__init__">DjangoRunTestServerDataDialog</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#DjangoRunTestServerDataDialog.getData">getData</a></td>
<td>Public method to get the data entered into the dialog.</td>
</tr>
<tr>
<td><a href="#DjangoRunTestServerDataDialog.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="#DjangoRunTestServerDataDialog.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="DjangoRunTestServerDataDialog.__init__" ID="DjangoRunTestServerDataDialog.__init__"></a>
<h4>DjangoRunTestServerDataDialog (Constructor)</h4>
<b>DjangoRunTestServerDataDialog</b>(<i>project, parent=None</i>)

<p>
        Constructor
</p>
<dl>

<dt><i>project</i></dt>
<dd>
reference to the Django project object
</dd>
<dt><i>parent</i></dt>
<dd>
reference to the parent widget (QWidget)
</dd>
</dl>
<a NAME="DjangoRunTestServerDataDialog.getData" ID="DjangoRunTestServerDataDialog.getData"></a>
<h4>DjangoRunTestServerDataDialog.getData</h4>
<b>getData</b>(<i></i>)

<p>
        Public method to get the data entered into the dialog.
</p>
<dl>
<dt>Returns:</dt>
<dd>
list of fixtures (list of strings)
</dd>
</dl>
<a NAME="DjangoRunTestServerDataDialog.on_fixtureFileButton_clicked" ID="DjangoRunTestServerDataDialog.on_fixtureFileButton_clicked"></a>
<h4>DjangoRunTestServerDataDialog.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="DjangoRunTestServerDataDialog.on_fixturesEdit_textChanged" ID="DjangoRunTestServerDataDialog.on_fixturesEdit_textChanged"></a>
<h4>DjangoRunTestServerDataDialog.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>

eric ide

mercurial