Documentation/Source/eric6.VirtualEnv.VirtualenvConfigurationDialog.html

changeset 6339
d765c3204c71
child 6770
4782d2b8e1bd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Documentation/Source/eric6.VirtualEnv.VirtualenvConfigurationDialog.html	Sun Jun 10 17:05:15 2018 +0200
@@ -0,0 +1,229 @@
+<!DOCTYPE html>
+<html><head>
+<title>eric6.VirtualEnv.VirtualenvConfigurationDialog</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.VirtualenvConfigurationDialog</h1>
+<p>
+Module implementing a dialog to enter the parameters for the
+virtual environment.
+</p>
+<h3>Global Attributes</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Classes</h3>
+<table>
+<tr>
+<td><a href="#VirtualenvConfigurationDialog">VirtualenvConfigurationDialog</a></td>
+<td>Class implementing a dialog to enter the parameters for the virtual environment.</td>
+</tr>
+</table>
+<h3>Functions</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<hr /><hr />
+<a NAME="VirtualenvConfigurationDialog" ID="VirtualenvConfigurationDialog"></a>
+<h2>VirtualenvConfigurationDialog</h2>
+<p>
+    Class implementing a dialog to enter the parameters for the
+    virtual environment.
+</p>
+<h3>Derived from</h3>
+QDialog, Ui_VirtualenvConfigurationDialog
+<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="#VirtualenvConfigurationDialog.__init__">VirtualenvConfigurationDialog</a></td>
+<td>Constructor</td>
+</tr><tr>
+<td><a href="#VirtualenvConfigurationDialog.__generateArguments">__generateArguments</a></td>
+<td>Private method to generate the process arguments.</td>
+</tr><tr>
+<td><a href="#VirtualenvConfigurationDialog.__generateTargetDir">__generateTargetDir</a></td>
+<td>Private method to generate a valid target directory path.</td>
+</tr><tr>
+<td><a href="#VirtualenvConfigurationDialog.__setPyvenvVersion">__setPyvenvVersion</a></td>
+<td>Private method to determine the pyvenv version and set the respective label.</td>
+</tr><tr>
+<td><a href="#VirtualenvConfigurationDialog.__setVirtualenvVersion">__setVirtualenvVersion</a></td>
+<td>Private method to determine the virtualenv version and set the respective label.</td>
+</tr><tr>
+<td><a href="#VirtualenvConfigurationDialog.__updateOK">__updateOK</a></td>
+<td>Private method to update the enabled status of the OK button.</td>
+</tr><tr>
+<td><a href="#VirtualenvConfigurationDialog.__updateUi">__updateUi</a></td>
+<td>Private method to update the UI depending on the selected virtual environment creator (virtualenv or pyvenv).</td>
+</tr><tr>
+<td><a href="#VirtualenvConfigurationDialog.getData">getData</a></td>
+<td>Public method to retrieve the dialog data.</td>
+</tr><tr>
+<td><a href="#VirtualenvConfigurationDialog.on_pythonExecPicker_textChanged">on_pythonExecPicker_textChanged</a></td>
+<td>Private slot to react to a change of the Python executable.</td>
+</tr><tr>
+<td><a href="#VirtualenvConfigurationDialog.on_pyvenvButton_toggled">on_pyvenvButton_toggled</a></td>
+<td>Private slot to react to the selection of 'pyvenv'.</td>
+</tr><tr>
+<td><a href="#VirtualenvConfigurationDialog.on_targetDirectoryPicker_textChanged">on_targetDirectoryPicker_textChanged</a></td>
+<td>Private slot handling a change of the target directory.</td>
+</tr><tr>
+<td><a href="#VirtualenvConfigurationDialog.on_virtualenvButton_toggled">on_virtualenvButton_toggled</a></td>
+<td>Private slot to react to the selection of 'virtualenv'.</td>
+</tr>
+</table>
+<h3>Static Methods</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<a NAME="VirtualenvConfigurationDialog.__init__" ID="VirtualenvConfigurationDialog.__init__"></a>
+<h4>VirtualenvConfigurationDialog (Constructor)</h4>
+<b>VirtualenvConfigurationDialog</b>(<i>parent=None</i>)
+<p>
+        Constructor
+</p><dl>
+<dt><i>parent</i> (QWidget)</dt>
+<dd>
+reference to the parent widget
+</dd>
+</dl><a NAME="VirtualenvConfigurationDialog.__generateArguments" ID="VirtualenvConfigurationDialog.__generateArguments"></a>
+<h4>VirtualenvConfigurationDialog.__generateArguments</h4>
+<b>__generateArguments</b>(<i></i>)
+<p>
+        Private method to generate the process arguments.
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+process arguments
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+list of str
+</dd>
+</dl><a NAME="VirtualenvConfigurationDialog.__generateTargetDir" ID="VirtualenvConfigurationDialog.__generateTargetDir"></a>
+<h4>VirtualenvConfigurationDialog.__generateTargetDir</h4>
+<b>__generateTargetDir</b>(<i></i>)
+<p>
+        Private method to generate a valid target directory path.
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+target directory path
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+str
+</dd>
+</dl><a NAME="VirtualenvConfigurationDialog.__setPyvenvVersion" ID="VirtualenvConfigurationDialog.__setPyvenvVersion"></a>
+<h4>VirtualenvConfigurationDialog.__setPyvenvVersion</h4>
+<b>__setPyvenvVersion</b>(<i></i>)
+<p>
+        Private method to determine the pyvenv version and set the respective
+        label.
+</p><a NAME="VirtualenvConfigurationDialog.__setVirtualenvVersion" ID="VirtualenvConfigurationDialog.__setVirtualenvVersion"></a>
+<h4>VirtualenvConfigurationDialog.__setVirtualenvVersion</h4>
+<b>__setVirtualenvVersion</b>(<i></i>)
+<p>
+        Private method to determine the virtualenv version and set the
+        respective label.
+</p><a NAME="VirtualenvConfigurationDialog.__updateOK" ID="VirtualenvConfigurationDialog.__updateOK"></a>
+<h4>VirtualenvConfigurationDialog.__updateOK</h4>
+<b>__updateOK</b>(<i></i>)
+<p>
+        Private method to update the enabled status of the OK button.
+</p><a NAME="VirtualenvConfigurationDialog.__updateUi" ID="VirtualenvConfigurationDialog.__updateUi"></a>
+<h4>VirtualenvConfigurationDialog.__updateUi</h4>
+<b>__updateUi</b>(<i></i>)
+<p>
+        Private method to update the UI depending on the selected
+        virtual environment creator (virtualenv or pyvenv).
+</p><a NAME="VirtualenvConfigurationDialog.getData" ID="VirtualenvConfigurationDialog.getData"></a>
+<h4>VirtualenvConfigurationDialog.getData</h4>
+<b>getData</b>(<i></i>)
+<p>
+        Public method to retrieve the dialog data.
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+tuple containing a flag indicating the pyvenv selection, the
+            process arguments, a name for the virtual environment, a flag
+            indicating to open the target directory after creation, a flag
+            indicating to write a log file, a flag indicating to write a
+            script, the name of the target directory and the name of the
+            Python interpreter to use
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+tuple of (bool, list of str, str, bool, bool, bool, str, str)
+</dd>
+</dl><a NAME="VirtualenvConfigurationDialog.on_pythonExecPicker_textChanged" ID="VirtualenvConfigurationDialog.on_pythonExecPicker_textChanged"></a>
+<h4>VirtualenvConfigurationDialog.on_pythonExecPicker_textChanged</h4>
+<b>on_pythonExecPicker_textChanged</b>(<i>txt</i>)
+<p>
+        Private slot to react to a change of the Python executable.
+</p><dl>
+<dt><i>txt</i> (str)</dt>
+<dd>
+contents of the picker's line edit
+</dd>
+</dl><a NAME="VirtualenvConfigurationDialog.on_pyvenvButton_toggled" ID="VirtualenvConfigurationDialog.on_pyvenvButton_toggled"></a>
+<h4>VirtualenvConfigurationDialog.on_pyvenvButton_toggled</h4>
+<b>on_pyvenvButton_toggled</b>(<i>checked</i>)
+<p>
+        Private slot to react to the selection of 'pyvenv'.
+</p><dl>
+<dt><i>checked</i> (bool)</dt>
+<dd>
+state of the checkbox
+</dd>
+</dl><a NAME="VirtualenvConfigurationDialog.on_targetDirectoryPicker_textChanged" ID="VirtualenvConfigurationDialog.on_targetDirectoryPicker_textChanged"></a>
+<h4>VirtualenvConfigurationDialog.on_targetDirectoryPicker_textChanged</h4>
+<b>on_targetDirectoryPicker_textChanged</b>(<i>txt</i>)
+<p>
+        Private slot handling a change of the target directory.
+</p><dl>
+<dt><i>txt</i> (str)</dt>
+<dd>
+target directory
+</dd>
+</dl><a NAME="VirtualenvConfigurationDialog.on_virtualenvButton_toggled" ID="VirtualenvConfigurationDialog.on_virtualenvButton_toggled"></a>
+<h4>VirtualenvConfigurationDialog.on_virtualenvButton_toggled</h4>
+<b>on_virtualenvButton_toggled</b>(<i>checked</i>)
+<p>
+        Private slot to react to the selection of 'virtualenv'.
+</p><dl>
+<dt><i>checked</i> (bool)</dt>
+<dd>
+state of the checkbox
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr />
+</body></html>
\ No newline at end of file

eric ide

mercurial