diff -r d6062691d424 -r e0227a7c850e eric7/Documentation/Source/eric7.VirtualEnv.VirtualenvInterpreterSelectionDialog.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric7/Documentation/Source/eric7.VirtualEnv.VirtualenvInterpreterSelectionDialog.html Mon May 24 11:19:57 2021 +0200 @@ -0,0 +1,160 @@ +<!DOCTYPE html> +<html><head> +<title>eric7.VirtualEnv.VirtualenvInterpreterSelectionDialog</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.VirtualenvInterpreterSelectionDialog</h1> + +<p> +Module implementing a dialog to enter the interpreter for a virtual +environment. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> + +<tr> +<td><a href="#VirtualenvInterpreterSelectionDialog">VirtualenvInterpreterSelectionDialog</a></td> +<td>Class implementing a dialog to enter the interpreter for a virtual environment.</td> +</tr> +</table> +<h3>Functions</h3> + +<table> +<tr><td>None</td></tr> +</table> +<hr /> +<hr /> +<a NAME="VirtualenvInterpreterSelectionDialog" ID="VirtualenvInterpreterSelectionDialog"></a> +<h2>VirtualenvInterpreterSelectionDialog</h2> + +<p> + Class implementing a dialog to enter the interpreter for a virtual + environment. +</p> +<h3>Derived from</h3> +QDialog, Ui_VirtualenvInterpreterSelectionDialog +<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="#VirtualenvInterpreterSelectionDialog.__init__">VirtualenvInterpreterSelectionDialog</a></td> +<td>Constructor</td> +</tr> +<tr> +<td><a href="#VirtualenvInterpreterSelectionDialog.__updateOK">__updateOK</a></td> +<td>Private method to update the enabled status of the OK button.</td> +</tr> +<tr> +<td><a href="#VirtualenvInterpreterSelectionDialog.getData">getData</a></td> +<td>Public method to get the entered data.</td> +</tr> +<tr> +<td><a href="#VirtualenvInterpreterSelectionDialog.on_pythonExecPicker_textChanged">on_pythonExecPicker_textChanged</a></td> +<td>Private slot to handle changes of the entered Python interpreter path.</td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="VirtualenvInterpreterSelectionDialog.__init__" ID="VirtualenvInterpreterSelectionDialog.__init__"></a> +<h4>VirtualenvInterpreterSelectionDialog (Constructor)</h4> +<b>VirtualenvInterpreterSelectionDialog</b>(<i>venvName, venvDirectory, parent=None</i>) + +<p> + Constructor +</p> +<dl> + +<dt><i>venvName</i> (str)</dt> +<dd> +name for the virtual environment +</dd> +<dt><i>venvDirectory</i> (str)</dt> +<dd> +directory of the virtual environment +</dd> +<dt><i>parent</i> (QWidget)</dt> +<dd> +reference to the parent widget +</dd> +</dl> +<a NAME="VirtualenvInterpreterSelectionDialog.__updateOK" ID="VirtualenvInterpreterSelectionDialog.__updateOK"></a> +<h4>VirtualenvInterpreterSelectionDialog.__updateOK</h4> +<b>__updateOK</b>(<i></i>) + +<p> + Private method to update the enabled status of the OK button. +</p> +<a NAME="VirtualenvInterpreterSelectionDialog.getData" ID="VirtualenvInterpreterSelectionDialog.getData"></a> +<h4>VirtualenvInterpreterSelectionDialog.getData</h4> +<b>getData</b>(<i></i>) + +<p> + Public method to get the entered data. +</p> +<dl> +<dt>Return:</dt> +<dd> +path of the selected Python interpreter +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +str +</dd> +</dl> +<a NAME="VirtualenvInterpreterSelectionDialog.on_pythonExecPicker_textChanged" ID="VirtualenvInterpreterSelectionDialog.on_pythonExecPicker_textChanged"></a> +<h4>VirtualenvInterpreterSelectionDialog.on_pythonExecPicker_textChanged</h4> +<b>on_pythonExecPicker_textChanged</b>(<i>txt</i>) + +<p> + Private slot to handle changes of the entered Python interpreter path. +</p> +<dl> + +<dt><i>txt</i> (str)</dt> +<dd> +entered Python interpreter path +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file