83 <table> |
83 <table> |
84 <tr><td>None</td></tr> |
84 <tr><td>None</td></tr> |
85 </table> |
85 </table> |
86 <a NAME="VirtualenvAddEditDialog.__init__" ID="VirtualenvAddEditDialog.__init__"></a> |
86 <a NAME="VirtualenvAddEditDialog.__init__" ID="VirtualenvAddEditDialog.__init__"></a> |
87 <h4>VirtualenvAddEditDialog (Constructor)</h4> |
87 <h4>VirtualenvAddEditDialog (Constructor)</h4> |
88 <b>VirtualenvAddEditDialog</b>(<i>manager, venvName="", venvDirectory="", venvInterpreter="", parent=None</i>) |
88 <b>VirtualenvAddEditDialog</b>(<i>manager, venvName="", venvDirectory="", venvInterpreter="", venvVariant=3, parent=None</i>) |
89 <p> |
89 <p> |
90 Constructor |
90 Constructor |
91 </p><dl> |
91 </p><dl> |
92 <dt><i>manager</i> (VirtualenvManager)</dt> |
92 <dt><i>manager</i> (VirtualenvManager)</dt> |
93 <dd> |
93 <dd> |
99 <dd> |
99 <dd> |
100 directory of the virtual environment |
100 directory of the virtual environment |
101 </dd><dt><i>venvInterpreter</i> (str)</dt> |
101 </dd><dt><i>venvInterpreter</i> (str)</dt> |
102 <dd> |
102 <dd> |
103 Python interpreter of the virtual environment |
103 Python interpreter of the virtual environment |
|
104 </dd><dt><i>venvVariant</i> (int)</dt> |
|
105 <dd> |
|
106 Python variant of the virtual environment |
104 </dd><dt><i>parent</i> (QWidget)</dt> |
107 </dd><dt><i>parent</i> (QWidget)</dt> |
105 <dd> |
108 <dd> |
106 reference to the parent widget |
109 reference to the parent widget |
107 </dd> |
110 </dd> |
108 </dl><a NAME="VirtualenvAddEditDialog.__updateOk" ID="VirtualenvAddEditDialog.__updateOk"></a> |
111 </dl><a NAME="VirtualenvAddEditDialog.__updateOk" ID="VirtualenvAddEditDialog.__updateOk"></a> |
116 <p> |
119 <p> |
117 Public method to retrieve the entered data. |
120 Public method to retrieve the entered data. |
118 </p><dl> |
121 </p><dl> |
119 <dt>Returns:</dt> |
122 <dt>Returns:</dt> |
120 <dd> |
123 <dd> |
121 tuple containing the logical name, the directory and the |
124 tuple containing the logical name, the directory, the |
122 interpreter of the virtual environment |
125 interpreter of the virtual environment and the Python variant |
123 </dd> |
126 </dd> |
124 </dl><dl> |
127 </dl><dl> |
125 <dt>Return Type:</dt> |
128 <dt>Return Type:</dt> |
126 <dd> |
129 <dd> |
127 tuple of (str, str, str) |
130 tuple of (str, str, str, int) |
128 </dd> |
131 </dd> |
129 </dl><a NAME="VirtualenvAddEditDialog.on_globalCheckBox_toggled" ID="VirtualenvAddEditDialog.on_globalCheckBox_toggled"></a> |
132 </dl><a NAME="VirtualenvAddEditDialog.on_globalCheckBox_toggled" ID="VirtualenvAddEditDialog.on_globalCheckBox_toggled"></a> |
130 <h4>VirtualenvAddEditDialog.on_globalCheckBox_toggled</h4> |
133 <h4>VirtualenvAddEditDialog.on_globalCheckBox_toggled</h4> |
131 <b>on_globalCheckBox_toggled</b>(<i>checked</i>) |
134 <b>on_globalCheckBox_toggled</b>(<i>checked</i>) |
132 <p> |
135 <p> |