RefactoringRope/Documentation/source/Plugin_Refactoring_Rope.RefactoringRope.AddParameterDialog.html

Tue, 10 Dec 2024 15:49:01 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 10 Dec 2024 15:49:01 +0100
branch
eric7
changeset 426
7592a1c052e8
parent 416
45159308166f
permissions
-rw-r--r--

Updated copyright for 2025.

<!DOCTYPE html>
<html><head>
<title>Plugin_Refactoring_Rope.RefactoringRope.AddParameterDialog</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>Plugin_Refactoring_Rope.RefactoringRope.AddParameterDialog</h1>
<p>
Module implementing the Add New Parameter dialog.
</p>

<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>

<h3>Classes</h3>
<table>
<tr>
<td><a href="#AddParameterDialog">AddParameterDialog</a></td>
<td>Class implementing the Add New Parameter dialog.</td>
</tr>
</table>

<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>

<hr />
<hr />
<a NAME="AddParameterDialog" ID="AddParameterDialog"></a>
<h2>AddParameterDialog</h2>
<p>
    Class implementing the Add New Parameter dialog.
</p>

<h3>Derived from</h3>
QDialog, Ui_AddParameterDialog
<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="#AddParameterDialog.__init__">AddParameterDialog</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#AddParameterDialog.getData">getData</a></td>
<td>Public method to extract the data entered into the dialog.</td>
</tr>
<tr>
<td><a href="#AddParameterDialog.on_nameEdit_textChanged">on_nameEdit_textChanged</a></td>
<td>Private slot called, when the name entry is changed.</td>
</tr>
</table>

<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>


<a NAME="AddParameterDialog.__init__" ID="AddParameterDialog.__init__"></a>
<h4>AddParameterDialog (Constructor)</h4>
<b>AddParameterDialog</b>(<i>parent=None</i>)
<p>
        Constructor
</p>

<dl>

<dt><i>parent</i> (QWidget)</dt>
<dd>
reference to the parent widget
</dd>
</dl>
<a NAME="AddParameterDialog.getData" ID="AddParameterDialog.getData"></a>
<h4>AddParameterDialog.getData</h4>
<b>getData</b>(<i></i>)
<p>
        Public method to extract the data entered into the dialog.
</p>

<dl>
<dt>Return:</dt>
<dd>
tuple containing name, default and value
</dd>
</dl>
<dl>
<dt>Return Type:</dt>
<dd>
tuple of (str, str, str)
</dd>
</dl>
<a NAME="AddParameterDialog.on_nameEdit_textChanged" ID="AddParameterDialog.on_nameEdit_textChanged"></a>
<h4>AddParameterDialog.on_nameEdit_textChanged</h4>
<b>on_nameEdit_textChanged</b>(<i>txt</i>)
<p>
        Private slot called, when the name entry is changed.
</p>

<dl>

<dt><i>txt</i> (str)</dt>
<dd>
text of the entry
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial