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