--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric7/Documentation/Source/eric7.CondaInterface.CondaNewEnvironmentDataDialog.html Mon May 24 11:19:57 2021 +0200 @@ -0,0 +1,196 @@ +<!DOCTYPE html> +<html><head> +<title>eric7.CondaInterface.CondaNewEnvironmentDataDialog</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.CondaInterface.CondaNewEnvironmentDataDialog</h1> + +<p> +Module implementing a dialog to enter data for a new conda environment. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> + +<tr> +<td><a href="#CondaNewEnvironmentDataDialog">CondaNewEnvironmentDataDialog</a></td> +<td>Class implementing a dialog to enter data for a new conda environment.</td> +</tr> +</table> +<h3>Functions</h3> + +<table> +<tr><td>None</td></tr> +</table> +<hr /> +<hr /> +<a NAME="CondaNewEnvironmentDataDialog" ID="CondaNewEnvironmentDataDialog"></a> +<h2>CondaNewEnvironmentDataDialog</h2> + +<p> + Class implementing a dialog to enter data for a new conda environment. +</p> +<h3>Derived from</h3> +QDialog, Ui_CondaNewEnvironmentDataDialog +<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="#CondaNewEnvironmentDataDialog.__init__">CondaNewEnvironmentDataDialog</a></td> +<td>Constructor</td> +</tr> +<tr> +<td><a href="#CondaNewEnvironmentDataDialog.__updateOK">__updateOK</a></td> +<td>Private method to update the enabled state of the OK button.</td> +</tr> +<tr> +<td><a href="#CondaNewEnvironmentDataDialog.getData">getData</a></td> +<td>Public method to get the entered data.</td> +</tr> +<tr> +<td><a href="#CondaNewEnvironmentDataDialog.on_condaNameEdit_textChanged">on_condaNameEdit_textChanged</a></td> +<td>Private slot to handle changes of the conda name.</td> +</tr> +<tr> +<td><a href="#CondaNewEnvironmentDataDialog.on_nameEdit_textChanged">on_nameEdit_textChanged</a></td> +<td>Private slot to handle changes of the logical name.</td> +</tr> +<tr> +<td><a href="#CondaNewEnvironmentDataDialog.on_requirementsFilePicker_textChanged">on_requirementsFilePicker_textChanged</a></td> +<td>Private slot to handle changes of the requirements file name.</td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="CondaNewEnvironmentDataDialog.__init__" ID="CondaNewEnvironmentDataDialog.__init__"></a> +<h4>CondaNewEnvironmentDataDialog (Constructor)</h4> +<b>CondaNewEnvironmentDataDialog</b>(<i>title, showRequirements, parent=None</i>) + +<p> + Constructor +</p> +<dl> + +<dt><i>title</i> (str)</dt> +<dd> +tirle of the dialog +</dd> +<dt><i>showRequirements</i> (bool)</dt> +<dd> +flag indicating to show the requirements + file input widget +</dd> +<dt><i>parent</i> (QWidget)</dt> +<dd> +reference to the parent widget +</dd> +</dl> +<a NAME="CondaNewEnvironmentDataDialog.__updateOK" ID="CondaNewEnvironmentDataDialog.__updateOK"></a> +<h4>CondaNewEnvironmentDataDialog.__updateOK</h4> +<b>__updateOK</b>(<i></i>) + +<p> + Private method to update the enabled state of the OK button. +</p> +<a NAME="CondaNewEnvironmentDataDialog.getData" ID="CondaNewEnvironmentDataDialog.getData"></a> +<h4>CondaNewEnvironmentDataDialog.getData</h4> +<b>getData</b>(<i></i>) + +<p> + Public method to get the entered data. +</p> +<dl> +<dt>Return:</dt> +<dd> +tuple with the logical name of the new environment, the conda + name and the requirements file name +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (str, str, str) +</dd> +</dl> +<a NAME="CondaNewEnvironmentDataDialog.on_condaNameEdit_textChanged" ID="CondaNewEnvironmentDataDialog.on_condaNameEdit_textChanged"></a> +<h4>CondaNewEnvironmentDataDialog.on_condaNameEdit_textChanged</h4> +<b>on_condaNameEdit_textChanged</b>(<i>txt</i>) + +<p> + Private slot to handle changes of the conda name. +</p> +<dl> + +<dt><i>txt</i> (str)</dt> +<dd> +current text of the conda name entry +</dd> +</dl> +<a NAME="CondaNewEnvironmentDataDialog.on_nameEdit_textChanged" ID="CondaNewEnvironmentDataDialog.on_nameEdit_textChanged"></a> +<h4>CondaNewEnvironmentDataDialog.on_nameEdit_textChanged</h4> +<b>on_nameEdit_textChanged</b>(<i>txt</i>) + +<p> + Private slot to handle changes of the logical name. +</p> +<dl> + +<dt><i>txt</i> (str)</dt> +<dd> +current text of the logical name entry +</dd> +</dl> +<a NAME="CondaNewEnvironmentDataDialog.on_requirementsFilePicker_textChanged" ID="CondaNewEnvironmentDataDialog.on_requirementsFilePicker_textChanged"></a> +<h4>CondaNewEnvironmentDataDialog.on_requirementsFilePicker_textChanged</h4> +<b>on_requirementsFilePicker_textChanged</b>(<i>txt</i>) + +<p> + Private slot to handle changes of the requirements file name. +</p> +<dl> + +<dt><i>txt</i> (str)</dt> +<dd> +current text of the requirements file name entry +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file