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