src/eric7/Documentation/Source/eric7.VirtualEnv.VirtualenvNameDialog.html

Sat, 26 Apr 2025 12:34:32 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 26 Apr 2025 12:34:32 +0200
branch
eric7
changeset 11240
c48c615c04a3
parent 10479
856476537696
permissions
-rw-r--r--

MicroPython
- Added a configuration option to disable the support for the no longer produced Pimoroni Pico Wireless Pack.

<!DOCTYPE html>
<html><head>
<title>eric7.VirtualEnv.VirtualenvNameDialog</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>eric7.VirtualEnv.VirtualenvNameDialog</h1>
<p>
Module implementing a dialog to enter the logical name for a new virtual
environment.
</p>

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

<h3>Classes</h3>
<table>
<tr>
<td><a href="#VirtualenvNameDialog">VirtualenvNameDialog</a></td>
<td>Class implementing a dialog to enter the logical name for a new virtual environment.</td>
</tr>
</table>

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

<hr />
<hr />
<a NAME="VirtualenvNameDialog" ID="VirtualenvNameDialog"></a>
<h2>VirtualenvNameDialog</h2>
<p>
    Class implementing a dialog to enter the logical name for a new virtual
    environment.
</p>

<h3>Derived from</h3>
QDialog, Ui_VirtualenvNameDialog
<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="#VirtualenvNameDialog.__init__">VirtualenvNameDialog</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#VirtualenvNameDialog.getName">getName</a></td>
<td>Public method to get the entered name.</td>
</tr>
<tr>
<td><a href="#VirtualenvNameDialog.on_nameEdit_textChanged">on_nameEdit_textChanged</a></td>
<td>Private slot to handle a change of the environment name.</td>
</tr>
</table>

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


<a NAME="VirtualenvNameDialog.__init__" ID="VirtualenvNameDialog.__init__"></a>
<h4>VirtualenvNameDialog (Constructor)</h4>
<b>VirtualenvNameDialog</b>(<i>environments, currentName, parent=None</i>)
<p>
        Constructor
</p>

<dl>

<dt><i>environments</i> (list of str)</dt>
<dd>
list of environment names to be shown
</dd>
<dt><i>currentName</i> (str)</dt>
<dd>
name to be shown in the name edit
</dd>
<dt><i>parent</i> (QWidget)</dt>
<dd>
reference to the parent widget
</dd>
</dl>
<a NAME="VirtualenvNameDialog.getName" ID="VirtualenvNameDialog.getName"></a>
<h4>VirtualenvNameDialog.getName</h4>
<b>getName</b>(<i></i>)
<p>
        Public method to get the entered name.
</p>

<dl>
<dt>Return:</dt>
<dd>
name for the environment
</dd>
</dl>
<dl>
<dt>Return Type:</dt>
<dd>
str
</dd>
</dl>
<a NAME="VirtualenvNameDialog.on_nameEdit_textChanged" ID="VirtualenvNameDialog.on_nameEdit_textChanged"></a>
<h4>VirtualenvNameDialog.on_nameEdit_textChanged</h4>
<b>on_nameEdit_textChanged</b>(<i>txt</i>)
<p>
        Private slot to handle a change of the environment name.
</p>

<dl>

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

eric ide

mercurial