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="", venvVariant=3, parent=None</i>) |
88 <b>VirtualenvAddEditDialog</b>(<i>manager, venvName="", venvDirectory="", venvInterpreter="", venvVariant=3, isGlobal=False, 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> |
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> |
104 </dd><dt><i>venvVariant</i> (int)</dt> |
105 <dd> |
105 <dd> |
106 Python variant of the virtual environment |
106 Python variant of the virtual environment |
|
107 </dd><dt><i>isGlobal</i> (bool)</dt> |
|
108 <dd> |
|
109 flag indicating a global environment |
107 </dd><dt><i>parent</i> (QWidget)</dt> |
110 </dd><dt><i>parent</i> (QWidget)</dt> |
108 <dd> |
111 <dd> |
109 reference to the parent widget |
112 reference to the parent widget |
110 </dd> |
113 </dd> |
111 </dl><a NAME="VirtualenvAddEditDialog.__updateOk" ID="VirtualenvAddEditDialog.__updateOk"></a> |
114 </dl><a NAME="VirtualenvAddEditDialog.__updateOk" ID="VirtualenvAddEditDialog.__updateOk"></a> |
120 Public method to retrieve the entered data. |
123 Public method to retrieve the entered data. |
121 </p><dl> |
124 </p><dl> |
122 <dt>Returns:</dt> |
125 <dt>Returns:</dt> |
123 <dd> |
126 <dd> |
124 tuple containing the logical name, the directory, the |
127 tuple containing the logical name, the directory, the |
125 interpreter of the virtual environment and the Python variant |
128 interpreter of the virtual environment, the Python variant |
|
129 and a flag indicating a global environment |
126 </dd> |
130 </dd> |
127 </dl><dl> |
131 </dl><dl> |
128 <dt>Return Type:</dt> |
132 <dt>Return Type:</dt> |
129 <dd> |
133 <dd> |
130 tuple of (str, str, str, int) |
134 tuple of (str, str, str, int, bool) |
131 </dd> |
135 </dd> |
132 </dl><a NAME="VirtualenvAddEditDialog.on_globalCheckBox_toggled" ID="VirtualenvAddEditDialog.on_globalCheckBox_toggled"></a> |
136 </dl><a NAME="VirtualenvAddEditDialog.on_globalCheckBox_toggled" ID="VirtualenvAddEditDialog.on_globalCheckBox_toggled"></a> |
133 <h4>VirtualenvAddEditDialog.on_globalCheckBox_toggled</h4> |
137 <h4>VirtualenvAddEditDialog.on_globalCheckBox_toggled</h4> |
134 <b>on_globalCheckBox_toggled</b>(<i>checked</i>) |
138 <b>on_globalCheckBox_toggled</b>(<i>checked</i>) |
135 <p> |
139 <p> |