Documentation/Source/eric6.VirtualEnv.VirtualenvAddEditDialog.html

changeset 6339
d765c3204c71
child 6343
86cea8abd0f7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Documentation/Source/eric6.VirtualEnv.VirtualenvAddEditDialog.html	Sun Jun 10 17:05:15 2018 +0200
@@ -0,0 +1,159 @@
+<!DOCTYPE html>
+<html><head>
+<title>eric6.VirtualEnv.VirtualenvAddEditDialog</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>eric6.VirtualEnv.VirtualenvAddEditDialog</h1>
+<p>
+Module implementing a dialog to enter the data of a virtual environment.
+</p>
+<h3>Global Attributes</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Classes</h3>
+<table>
+<tr>
+<td><a href="#VirtualenvAddEditDialog">VirtualenvAddEditDialog</a></td>
+<td>Class implementing a dialog to enter the data of a virtual environment.</td>
+</tr>
+</table>
+<h3>Functions</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<hr /><hr />
+<a NAME="VirtualenvAddEditDialog" ID="VirtualenvAddEditDialog"></a>
+<h2>VirtualenvAddEditDialog</h2>
+<p>
+    Class implementing a dialog to enter the data of a virtual environment.
+</p>
+<h3>Derived from</h3>
+QDialog, Ui_VirtualenvAddEditDialog
+<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="#VirtualenvAddEditDialog.__init__">VirtualenvAddEditDialog</a></td>
+<td>Constructor</td>
+</tr><tr>
+<td><a href="#VirtualenvAddEditDialog.__updateOk">__updateOk</a></td>
+<td>Private slot to update the state of the OK button.</td>
+</tr><tr>
+<td><a href="#VirtualenvAddEditDialog.getData">getData</a></td>
+<td>Public method to retrieve the entered data.</td>
+</tr><tr>
+<td><a href="#VirtualenvAddEditDialog.on_nameEdit_textChanged">on_nameEdit_textChanged</a></td>
+<td>Private slot to handle changes of the logical name.</td>
+</tr><tr>
+<td><a href="#VirtualenvAddEditDialog.on_pythonExecPicker_textChanged">on_pythonExecPicker_textChanged</a></td>
+<td>Private slot to handle changes of the virtual environment interpreter.</td>
+</tr><tr>
+<td><a href="#VirtualenvAddEditDialog.on_targetDirectoryPicker_textChanged">on_targetDirectoryPicker_textChanged</a></td>
+<td>Private slot to handle changes of the virtual environment directory.</td>
+</tr>
+</table>
+<h3>Static Methods</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<a NAME="VirtualenvAddEditDialog.__init__" ID="VirtualenvAddEditDialog.__init__"></a>
+<h4>VirtualenvAddEditDialog (Constructor)</h4>
+<b>VirtualenvAddEditDialog</b>(<i>manager, venvName="", venvDirectory="", venvInterpreter="", parent=None</i>)
+<p>
+        Constructor
+</p><dl>
+<dt><i>manager</i> (VirtualenvManager)</dt>
+<dd>
+reference to the virtual environment manager
+</dd><dt><i>venvName</i> (str)</dt>
+<dd>
+logical name of a virtual environment for editing
+</dd><dt><i>venvDirectory</i> (str)</dt>
+<dd>
+directory of the virtual environment
+</dd><dt><i>venvInterpreter</i> (str)</dt>
+<dd>
+Python interpreter of the virtual environment
+</dd><dt><i>parent</i> (QWidget)</dt>
+<dd>
+reference to the parent widget
+</dd>
+</dl><a NAME="VirtualenvAddEditDialog.__updateOk" ID="VirtualenvAddEditDialog.__updateOk"></a>
+<h4>VirtualenvAddEditDialog.__updateOk</h4>
+<b>__updateOk</b>(<i></i>)
+<p>
+        Private slot to update the state of the OK button.
+</p><a NAME="VirtualenvAddEditDialog.getData" ID="VirtualenvAddEditDialog.getData"></a>
+<h4>VirtualenvAddEditDialog.getData</h4>
+<b>getData</b>(<i></i>)
+<p>
+        Public method to retrieve the entered data.
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+tuple containing the logical name, the directory and the
+            interpreter of the virtual environment
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+tuple of (str, str, str)
+</dd>
+</dl><a NAME="VirtualenvAddEditDialog.on_nameEdit_textChanged" ID="VirtualenvAddEditDialog.on_nameEdit_textChanged"></a>
+<h4>VirtualenvAddEditDialog.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 logical name
+</dd>
+</dl><a NAME="VirtualenvAddEditDialog.on_pythonExecPicker_textChanged" ID="VirtualenvAddEditDialog.on_pythonExecPicker_textChanged"></a>
+<h4>VirtualenvAddEditDialog.on_pythonExecPicker_textChanged</h4>
+<b>on_pythonExecPicker_textChanged</b>(<i>txt</i>)
+<p>
+        Private slot to handle changes of the virtual environment interpreter.
+</p><dl>
+<dt><i>txt</i> (str)</dt>
+<dd>
+virtual environment interpreter
+</dd>
+</dl><a NAME="VirtualenvAddEditDialog.on_targetDirectoryPicker_textChanged" ID="VirtualenvAddEditDialog.on_targetDirectoryPicker_textChanged"></a>
+<h4>VirtualenvAddEditDialog.on_targetDirectoryPicker_textChanged</h4>
+<b>on_targetDirectoryPicker_textChanged</b>(<i>txt</i>)
+<p>
+        Private slot to handle changes of the virtual environment directory.
+</p><dl>
+<dt><i>txt</i> (str)</dt>
+<dd>
+virtual environment directory
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr />
+</body></html>
\ No newline at end of file

eric ide

mercurial