64 <td>Private slot to update the state of the OK button.</td> |
64 <td>Private slot to update the state of the OK button.</td> |
65 </tr><tr> |
65 </tr><tr> |
66 <td><a href="#VirtualenvAddEditDialog.getData">getData</a></td> |
66 <td><a href="#VirtualenvAddEditDialog.getData">getData</a></td> |
67 <td>Public method to retrieve the entered data.</td> |
67 <td>Public method to retrieve the entered data.</td> |
68 </tr><tr> |
68 </tr><tr> |
|
69 <td><a href="#VirtualenvAddEditDialog.on_anacondaCheckBox_clicked">on_anacondaCheckBox_clicked</a></td> |
|
70 <td>Private slot handling a user click on this check box.</td> |
|
71 </tr><tr> |
69 <td><a href="#VirtualenvAddEditDialog.on_globalCheckBox_toggled">on_globalCheckBox_toggled</a></td> |
72 <td><a href="#VirtualenvAddEditDialog.on_globalCheckBox_toggled">on_globalCheckBox_toggled</a></td> |
70 <td>Private slot handling a change of the global check box state.</td> |
73 <td>Private slot handling a change of the global check box state.</td> |
71 </tr><tr> |
74 </tr><tr> |
72 <td><a href="#VirtualenvAddEditDialog.on_nameEdit_textChanged">on_nameEdit_textChanged</a></td> |
75 <td><a href="#VirtualenvAddEditDialog.on_nameEdit_textChanged">on_nameEdit_textChanged</a></td> |
73 <td>Private slot to handle changes of the logical name.</td> |
76 <td>Private slot to handle changes of the logical name.</td> |
83 <table> |
86 <table> |
84 <tr><td>None</td></tr> |
87 <tr><td>None</td></tr> |
85 </table> |
88 </table> |
86 <a NAME="VirtualenvAddEditDialog.__init__" ID="VirtualenvAddEditDialog.__init__"></a> |
89 <a NAME="VirtualenvAddEditDialog.__init__" ID="VirtualenvAddEditDialog.__init__"></a> |
87 <h4>VirtualenvAddEditDialog (Constructor)</h4> |
90 <h4>VirtualenvAddEditDialog (Constructor)</h4> |
88 <b>VirtualenvAddEditDialog</b>(<i>manager, venvName="", venvDirectory="", venvInterpreter="", venvVariant=3, isGlobal=False, parent=None</i>) |
91 <b>VirtualenvAddEditDialog</b>(<i>manager, venvName="", venvDirectory="", venvInterpreter="", venvVariant=3, isGlobal=False, isConda=False, execPath="", parent=None</i>) |
89 <p> |
92 <p> |
90 Constructor |
93 Constructor |
91 </p><dl> |
94 </p><dl> |
92 <dt><i>manager</i> (VirtualenvManager)</dt> |
95 <dt><i>manager</i> (VirtualenvManager)</dt> |
93 <dd> |
96 <dd> |
105 <dd> |
108 <dd> |
106 Python variant of the virtual environment |
109 Python variant of the virtual environment |
107 </dd><dt><i>isGlobal</i> (bool)</dt> |
110 </dd><dt><i>isGlobal</i> (bool)</dt> |
108 <dd> |
111 <dd> |
109 flag indicating a global environment |
112 flag indicating a global environment |
|
113 </dd><dt><i>isConda</i> (bool)</dt> |
|
114 <dd> |
|
115 flag indicating an Anaconda virtual environment |
|
116 </dd><dt><i>execPath</i> (str)</dt> |
|
117 <dd> |
|
118 search path string to be prepended to the PATH |
|
119 environment variable |
110 </dd><dt><i>parent</i> (QWidget)</dt> |
120 </dd><dt><i>parent</i> (QWidget)</dt> |
111 <dd> |
121 <dd> |
112 reference to the parent widget |
122 reference to the parent widget |
113 </dd> |
123 </dd> |
114 </dl><a NAME="VirtualenvAddEditDialog.__updateOk" ID="VirtualenvAddEditDialog.__updateOk"></a> |
124 </dl><a NAME="VirtualenvAddEditDialog.__updateOk" ID="VirtualenvAddEditDialog.__updateOk"></a> |
123 Public method to retrieve the entered data. |
133 Public method to retrieve the entered data. |
124 </p><dl> |
134 </p><dl> |
125 <dt>Returns:</dt> |
135 <dt>Returns:</dt> |
126 <dd> |
136 <dd> |
127 tuple containing the logical name, the directory, the |
137 tuple containing the logical name, the directory, the |
128 interpreter of the virtual environment, the Python variant |
138 interpreter of the virtual environment, the Python variant, |
129 and a flag indicating a global environment |
139 a flag indicating a global environment, a flag indicating an |
|
140 Anaconda environment and a string to be prepended to the PATH |
|
141 environment variable |
130 </dd> |
142 </dd> |
131 </dl><dl> |
143 </dl><dl> |
132 <dt>Return Type:</dt> |
144 <dt>Return Type:</dt> |
133 <dd> |
145 <dd> |
134 tuple of (str, str, str, int, bool) |
146 tuple of (str, str, str, int, bool,bool, str) |
|
147 </dd> |
|
148 </dl><a NAME="VirtualenvAddEditDialog.on_anacondaCheckBox_clicked" ID="VirtualenvAddEditDialog.on_anacondaCheckBox_clicked"></a> |
|
149 <h4>VirtualenvAddEditDialog.on_anacondaCheckBox_clicked</h4> |
|
150 <b>on_anacondaCheckBox_clicked</b>(<i>checked</i>) |
|
151 <p> |
|
152 Private slot handling a user click on this check box. |
|
153 </p><dl> |
|
154 <dt><i>checked</i> (bool)</dt> |
|
155 <dd> |
|
156 state of the check box |
135 </dd> |
157 </dd> |
136 </dl><a NAME="VirtualenvAddEditDialog.on_globalCheckBox_toggled" ID="VirtualenvAddEditDialog.on_globalCheckBox_toggled"></a> |
158 </dl><a NAME="VirtualenvAddEditDialog.on_globalCheckBox_toggled" ID="VirtualenvAddEditDialog.on_globalCheckBox_toggled"></a> |
137 <h4>VirtualenvAddEditDialog.on_globalCheckBox_toggled</h4> |
159 <h4>VirtualenvAddEditDialog.on_globalCheckBox_toggled</h4> |
138 <b>on_globalCheckBox_toggled</b>(<i>checked</i>) |
160 <b>on_globalCheckBox_toggled</b>(<i>checked</i>) |
139 <p> |
161 <p> |