16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>eric6.CondaInterface.CondaNewEnvironmentDataDialog</h1> |
23 <h1>eric6.CondaInterface.CondaNewEnvironmentDataDialog</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing a dialog to enter data for a new conda environment. |
26 Module implementing a dialog to enter data for a new conda environment. |
25 </p> |
27 </p> |
26 <h3>Global Attributes</h3> |
28 <h3>Global Attributes</h3> |
|
29 |
27 <table> |
30 <table> |
28 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
29 </table> |
32 </table> |
30 <h3>Classes</h3> |
33 <h3>Classes</h3> |
|
34 |
31 <table> |
35 <table> |
|
36 |
32 <tr> |
37 <tr> |
33 <td><a href="#CondaNewEnvironmentDataDialog">CondaNewEnvironmentDataDialog</a></td> |
38 <td><a href="#CondaNewEnvironmentDataDialog">CondaNewEnvironmentDataDialog</a></td> |
34 <td>Class implementing a dialog to enter data for a new conda environment.</td> |
39 <td>Class implementing a dialog to enter data for a new conda environment.</td> |
35 </tr> |
40 </tr> |
36 </table> |
41 </table> |
37 <h3>Functions</h3> |
42 <h3>Functions</h3> |
|
43 |
38 <table> |
44 <table> |
39 <tr><td>None</td></tr> |
45 <tr><td>None</td></tr> |
40 </table> |
46 </table> |
41 <hr /><hr /> |
47 <hr /> |
|
48 <hr /> |
42 <a NAME="CondaNewEnvironmentDataDialog" ID="CondaNewEnvironmentDataDialog"></a> |
49 <a NAME="CondaNewEnvironmentDataDialog" ID="CondaNewEnvironmentDataDialog"></a> |
43 <h2>CondaNewEnvironmentDataDialog</h2> |
50 <h2>CondaNewEnvironmentDataDialog</h2> |
|
51 |
44 <p> |
52 <p> |
45 Class implementing a dialog to enter data for a new conda environment. |
53 Class implementing a dialog to enter data for a new conda environment. |
46 </p> |
54 </p> |
47 <h3>Derived from</h3> |
55 <h3>Derived from</h3> |
48 QDialog, Ui_CondaNewEnvironmentDataDialog |
56 QDialog, Ui_CondaNewEnvironmentDataDialog |
49 <h3>Class Attributes</h3> |
57 <h3>Class Attributes</h3> |
|
58 |
50 <table> |
59 <table> |
51 <tr><td>None</td></tr> |
60 <tr><td>None</td></tr> |
52 </table> |
61 </table> |
53 <h3>Class Methods</h3> |
62 <h3>Class Methods</h3> |
|
63 |
54 <table> |
64 <table> |
55 <tr><td>None</td></tr> |
65 <tr><td>None</td></tr> |
56 </table> |
66 </table> |
57 <h3>Methods</h3> |
67 <h3>Methods</h3> |
|
68 |
58 <table> |
69 <table> |
|
70 |
59 <tr> |
71 <tr> |
60 <td><a href="#CondaNewEnvironmentDataDialog.__init__">CondaNewEnvironmentDataDialog</a></td> |
72 <td><a href="#CondaNewEnvironmentDataDialog.__init__">CondaNewEnvironmentDataDialog</a></td> |
61 <td>Constructor</td> |
73 <td>Constructor</td> |
62 </tr><tr> |
74 </tr> |
|
75 <tr> |
63 <td><a href="#CondaNewEnvironmentDataDialog.__updateOK">__updateOK</a></td> |
76 <td><a href="#CondaNewEnvironmentDataDialog.__updateOK">__updateOK</a></td> |
64 <td>Private method to update the enabled state of the OK button.</td> |
77 <td>Private method to update the enabled state of the OK button.</td> |
65 </tr><tr> |
78 </tr> |
|
79 <tr> |
66 <td><a href="#CondaNewEnvironmentDataDialog.getData">getData</a></td> |
80 <td><a href="#CondaNewEnvironmentDataDialog.getData">getData</a></td> |
67 <td>Public method to get the entered data.</td> |
81 <td>Public method to get the entered data.</td> |
68 </tr><tr> |
82 </tr> |
|
83 <tr> |
69 <td><a href="#CondaNewEnvironmentDataDialog.on_condaNameEdit_textChanged">on_condaNameEdit_textChanged</a></td> |
84 <td><a href="#CondaNewEnvironmentDataDialog.on_condaNameEdit_textChanged">on_condaNameEdit_textChanged</a></td> |
70 <td>Private slot to handle changes of the conda name.</td> |
85 <td>Private slot to handle changes of the conda name.</td> |
71 </tr><tr> |
86 </tr> |
|
87 <tr> |
72 <td><a href="#CondaNewEnvironmentDataDialog.on_nameEdit_textChanged">on_nameEdit_textChanged</a></td> |
88 <td><a href="#CondaNewEnvironmentDataDialog.on_nameEdit_textChanged">on_nameEdit_textChanged</a></td> |
73 <td>Private slot to handle changes of the logical name.</td> |
89 <td>Private slot to handle changes of the logical name.</td> |
74 </tr><tr> |
90 </tr> |
|
91 <tr> |
75 <td><a href="#CondaNewEnvironmentDataDialog.on_requirementsFilePicker_textChanged">on_requirementsFilePicker_textChanged</a></td> |
92 <td><a href="#CondaNewEnvironmentDataDialog.on_requirementsFilePicker_textChanged">on_requirementsFilePicker_textChanged</a></td> |
76 <td>Private slot to handle changes of the requirements file name.</td> |
93 <td>Private slot to handle changes of the requirements file name.</td> |
77 </tr> |
94 </tr> |
78 </table> |
95 </table> |
79 <h3>Static Methods</h3> |
96 <h3>Static Methods</h3> |
|
97 |
80 <table> |
98 <table> |
81 <tr><td>None</td></tr> |
99 <tr><td>None</td></tr> |
82 </table> |
100 </table> |
|
101 |
83 <a NAME="CondaNewEnvironmentDataDialog.__init__" ID="CondaNewEnvironmentDataDialog.__init__"></a> |
102 <a NAME="CondaNewEnvironmentDataDialog.__init__" ID="CondaNewEnvironmentDataDialog.__init__"></a> |
84 <h4>CondaNewEnvironmentDataDialog (Constructor)</h4> |
103 <h4>CondaNewEnvironmentDataDialog (Constructor)</h4> |
85 <b>CondaNewEnvironmentDataDialog</b>(<i>title, showRequirements, parent=None</i>) |
104 <b>CondaNewEnvironmentDataDialog</b>(<i>title, showRequirements, parent=None</i>) |
|
105 |
86 <p> |
106 <p> |
87 Constructor |
107 Constructor |
88 </p><dl> |
108 </p> |
|
109 <dl> |
|
110 |
89 <dt><i>title</i> (str)</dt> |
111 <dt><i>title</i> (str)</dt> |
90 <dd> |
112 <dd> |
91 tirle of the dialog |
113 tirle of the dialog |
92 </dd><dt><i>showRequirements</i> (bool)</dt> |
114 </dd> |
|
115 <dt><i>showRequirements</i> (bool)</dt> |
93 <dd> |
116 <dd> |
94 flag indicating to show the requirements |
117 flag indicating to show the requirements |
95 file input widget |
118 file input widget |
96 </dd><dt><i>parent</i> (QWidget)</dt> |
119 </dd> |
|
120 <dt><i>parent</i> (QWidget)</dt> |
97 <dd> |
121 <dd> |
98 reference to the parent widget |
122 reference to the parent widget |
99 </dd> |
123 </dd> |
100 </dl><a NAME="CondaNewEnvironmentDataDialog.__updateOK" ID="CondaNewEnvironmentDataDialog.__updateOK"></a> |
124 </dl> |
|
125 <a NAME="CondaNewEnvironmentDataDialog.__updateOK" ID="CondaNewEnvironmentDataDialog.__updateOK"></a> |
101 <h4>CondaNewEnvironmentDataDialog.__updateOK</h4> |
126 <h4>CondaNewEnvironmentDataDialog.__updateOK</h4> |
102 <b>__updateOK</b>(<i></i>) |
127 <b>__updateOK</b>(<i></i>) |
|
128 |
103 <p> |
129 <p> |
104 Private method to update the enabled state of the OK button. |
130 Private method to update the enabled state of the OK button. |
105 </p><a NAME="CondaNewEnvironmentDataDialog.getData" ID="CondaNewEnvironmentDataDialog.getData"></a> |
131 </p> |
|
132 <a NAME="CondaNewEnvironmentDataDialog.getData" ID="CondaNewEnvironmentDataDialog.getData"></a> |
106 <h4>CondaNewEnvironmentDataDialog.getData</h4> |
133 <h4>CondaNewEnvironmentDataDialog.getData</h4> |
107 <b>getData</b>(<i></i>) |
134 <b>getData</b>(<i></i>) |
|
135 |
108 <p> |
136 <p> |
109 Public method to get the entered data. |
137 Public method to get the entered data. |
110 </p><dl> |
138 </p> |
|
139 <dl> |
111 <dt>Returns:</dt> |
140 <dt>Returns:</dt> |
112 <dd> |
141 <dd> |
113 tuple with the logical name of the new environment, the conda |
142 tuple with the logical name of the new environment, the conda |
114 name and the requirements file name |
143 name and the requirements file name |
115 </dd> |
144 </dd> |
116 </dl><dl> |
145 </dl> |
|
146 <dl> |
117 <dt>Return Type:</dt> |
147 <dt>Return Type:</dt> |
118 <dd> |
148 <dd> |
119 tuple of (str, str, str) |
149 tuple of (str, str, str) |
120 </dd> |
150 </dd> |
121 </dl><a NAME="CondaNewEnvironmentDataDialog.on_condaNameEdit_textChanged" ID="CondaNewEnvironmentDataDialog.on_condaNameEdit_textChanged"></a> |
151 </dl> |
|
152 <a NAME="CondaNewEnvironmentDataDialog.on_condaNameEdit_textChanged" ID="CondaNewEnvironmentDataDialog.on_condaNameEdit_textChanged"></a> |
122 <h4>CondaNewEnvironmentDataDialog.on_condaNameEdit_textChanged</h4> |
153 <h4>CondaNewEnvironmentDataDialog.on_condaNameEdit_textChanged</h4> |
123 <b>on_condaNameEdit_textChanged</b>(<i>txt</i>) |
154 <b>on_condaNameEdit_textChanged</b>(<i>txt</i>) |
|
155 |
124 <p> |
156 <p> |
125 Private slot to handle changes of the conda name. |
157 Private slot to handle changes of the conda name. |
126 </p><dl> |
158 </p> |
|
159 <dl> |
|
160 |
127 <dt><i>txt</i> (str)</dt> |
161 <dt><i>txt</i> (str)</dt> |
128 <dd> |
162 <dd> |
129 current text of the conda name entry |
163 current text of the conda name entry |
130 </dd> |
164 </dd> |
131 </dl><a NAME="CondaNewEnvironmentDataDialog.on_nameEdit_textChanged" ID="CondaNewEnvironmentDataDialog.on_nameEdit_textChanged"></a> |
165 </dl> |
|
166 <a NAME="CondaNewEnvironmentDataDialog.on_nameEdit_textChanged" ID="CondaNewEnvironmentDataDialog.on_nameEdit_textChanged"></a> |
132 <h4>CondaNewEnvironmentDataDialog.on_nameEdit_textChanged</h4> |
167 <h4>CondaNewEnvironmentDataDialog.on_nameEdit_textChanged</h4> |
133 <b>on_nameEdit_textChanged</b>(<i>txt</i>) |
168 <b>on_nameEdit_textChanged</b>(<i>txt</i>) |
|
169 |
134 <p> |
170 <p> |
135 Private slot to handle changes of the logical name. |
171 Private slot to handle changes of the logical name. |
136 </p><dl> |
172 </p> |
|
173 <dl> |
|
174 |
137 <dt><i>txt</i> (str)</dt> |
175 <dt><i>txt</i> (str)</dt> |
138 <dd> |
176 <dd> |
139 current text of the logical name entry |
177 current text of the logical name entry |
140 </dd> |
178 </dd> |
141 </dl><a NAME="CondaNewEnvironmentDataDialog.on_requirementsFilePicker_textChanged" ID="CondaNewEnvironmentDataDialog.on_requirementsFilePicker_textChanged"></a> |
179 </dl> |
|
180 <a NAME="CondaNewEnvironmentDataDialog.on_requirementsFilePicker_textChanged" ID="CondaNewEnvironmentDataDialog.on_requirementsFilePicker_textChanged"></a> |
142 <h4>CondaNewEnvironmentDataDialog.on_requirementsFilePicker_textChanged</h4> |
181 <h4>CondaNewEnvironmentDataDialog.on_requirementsFilePicker_textChanged</h4> |
143 <b>on_requirementsFilePicker_textChanged</b>(<i>txt</i>) |
182 <b>on_requirementsFilePicker_textChanged</b>(<i>txt</i>) |
|
183 |
144 <p> |
184 <p> |
145 Private slot to handle changes of the requirements file name. |
185 Private slot to handle changes of the requirements file name. |
146 </p><dl> |
186 </p> |
|
187 <dl> |
|
188 |
147 <dt><i>txt</i> (str)</dt> |
189 <dt><i>txt</i> (str)</dt> |
148 <dd> |
190 <dd> |
149 current text of the requirements file name entry |
191 current text of the requirements file name entry |
150 </dd> |
192 </dd> |
151 </dl> |
193 </dl> |