--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric7/Documentation/Source/eric7.VirtualEnv.VirtualenvNameDialog.html Mon May 24 11:19:57 2021 +0200 @@ -0,0 +1,149 @@ +<!DOCTYPE html> +<html><head> +<title>eric7.VirtualEnv.VirtualenvNameDialog</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>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> \ No newline at end of file