49 </p> |
49 </p> |
50 <h3>Derived from</h3> |
50 <h3>Derived from</h3> |
51 QDialog, Ui_SetupWizardDialog |
51 QDialog, Ui_SetupWizardDialog |
52 <h3>Class Attributes</h3> |
52 <h3>Class Attributes</h3> |
53 <table> |
53 <table> |
54 <tr><td>None</td></tr> |
54 <tr><td>ClassifiersUrl</td></tr> |
55 </table> |
55 </table> |
56 <h3>Class Methods</h3> |
56 <h3>Class Methods</h3> |
57 <table> |
57 <table> |
58 <tr><td>None</td></tr> |
58 <tr><td>None</td></tr> |
59 </table> |
59 </table> |
67 <td>Private method to add a new entry to the list of trove classifiers.</td> |
67 <td>Private method to add a new entry to the list of trove classifiers.</td> |
68 </tr><tr> |
68 </tr><tr> |
69 <td><a href="#SetupWizardDialog.__addPackage">__addPackage</a></td> |
69 <td><a href="#SetupWizardDialog.__addPackage">__addPackage</a></td> |
70 <td>Private method to add a package to the list.</td> |
70 <td>Private method to add a package to the list.</td> |
71 </tr><tr> |
71 </tr><tr> |
|
72 <td><a href="#SetupWizardDialog.__classifiersDownloadDone">__classifiersDownloadDone</a></td> |
|
73 <td>Private slot called, after the classifiers file has been downloaded from the internet.</td> |
|
74 </tr><tr> |
72 <td><a href="#SetupWizardDialog.__enableOkButton">__enableOkButton</a></td> |
75 <td><a href="#SetupWizardDialog.__enableOkButton">__enableOkButton</a></td> |
73 <td>Private slot to set the state of the OK button.</td> |
76 <td>Private slot to set the state of the OK button.</td> |
74 </tr><tr> |
77 </tr><tr> |
75 <td><a href="#SetupWizardDialog.__getLicenseText">__getLicenseText</a></td> |
78 <td><a href="#SetupWizardDialog.__getLicenseText">__getLicenseText</a></td> |
76 <td>Private method to get the license text.</td> |
79 <td>Private method to get the license text.</td> |
77 </tr><tr> |
80 </tr><tr> |
78 <td><a href="#SetupWizardDialog.__getStartDir">__getStartDir</a></td> |
81 <td><a href="#SetupWizardDialog.__getStartDir">__getStartDir</a></td> |
79 <td>Private method to get the start directory for selection dialogs.</td> |
82 <td>Private method to get the start directory for selection dialogs.</td> |
80 </tr><tr> |
83 </tr><tr> |
81 <td><a href="#SetupWizardDialog.__populateFromTroveLists">__populateFromTroveLists</a></td> |
84 <td><a href="#SetupWizardDialog.__loadClassifiersFromPyPI">__loadClassifiersFromPyPI</a></td> |
82 <td>Private method to populate lists from the Trove list file.</td> |
85 <td>Private method to populate the classifiers list with data retrieved from PyPI.</td> |
|
86 </tr><tr> |
|
87 <td><a href="#SetupWizardDialog.__populateClassifiers">__populateClassifiers</a></td> |
|
88 <td>Private method to populate the classifiers.</td> |
83 </tr><tr> |
89 </tr><tr> |
84 <td><a href="#SetupWizardDialog.getCode">getCode</a></td> |
90 <td><a href="#SetupWizardDialog.getCode">getCode</a></td> |
85 <td>Public method to get the source code.</td> |
91 <td>Public method to get the source code.</td> |
86 </tr><tr> |
92 </tr><tr> |
87 <td><a href="#SetupWizardDialog.on_addExludePatternButton_clicked">on_addExludePatternButton_clicked</a></td> |
93 <td><a href="#SetupWizardDialog.on_addExludePatternButton_clicked">on_addExludePatternButton_clicked</a></td> |
117 <td><a href="#SetupWizardDialog.on_excludePatternEdit_textChanged">on_excludePatternEdit_textChanged</a></td> |
123 <td><a href="#SetupWizardDialog.on_excludePatternEdit_textChanged">on_excludePatternEdit_textChanged</a></td> |
118 <td>Private slot to handle a change of the exclude pattern text.</td> |
124 <td>Private slot to handle a change of the exclude pattern text.</td> |
119 </tr><tr> |
125 </tr><tr> |
120 <td><a href="#SetupWizardDialog.on_excludePatternList_itemSelectionChanged">on_excludePatternList_itemSelectionChanged</a></td> |
126 <td><a href="#SetupWizardDialog.on_excludePatternList_itemSelectionChanged">on_excludePatternList_itemSelectionChanged</a></td> |
121 <td>Private slot to handle a change of selected items of the exclude pattern list.</td> |
127 <td>Private slot to handle a change of selected items of the exclude pattern list.</td> |
|
128 </tr><tr> |
|
129 <td><a href="#SetupWizardDialog.on_localClassifiersButton_clicked">on_localClassifiersButton_clicked</a></td> |
|
130 <td>Private method to populate lists from the Trove list file.</td> |
122 </tr><tr> |
131 </tr><tr> |
123 <td><a href="#SetupWizardDialog.on_modulesList_itemSelectionChanged">on_modulesList_itemSelectionChanged</a></td> |
132 <td><a href="#SetupWizardDialog.on_modulesList_itemSelectionChanged">on_modulesList_itemSelectionChanged</a></td> |
124 <td>Private slot to handle a change of selected items of the modules list.</td> |
133 <td>Private slot to handle a change of selected items of the modules list.</td> |
125 </tr><tr> |
134 </tr><tr> |
126 <td><a href="#SetupWizardDialog.on_packageDirButton_clicked">on_packageDirButton_clicked</a></td> |
135 <td><a href="#SetupWizardDialog.on_packageDirButton_clicked">on_packageDirButton_clicked</a></td> |
185 Private method to add a package to the list. |
194 Private method to add a package to the list. |
186 </p><dl> |
195 </p><dl> |
187 <dt><i>pkgDir</i></dt> |
196 <dt><i>pkgDir</i></dt> |
188 <dd> |
197 <dd> |
189 name of the package directory (string) |
198 name of the package directory (string) |
|
199 </dd> |
|
200 </dl><a NAME="SetupWizardDialog.__classifiersDownloadDone" ID="SetupWizardDialog.__classifiersDownloadDone"></a> |
|
201 <h4>SetupWizardDialog.__classifiersDownloadDone</h4> |
|
202 <b>__classifiersDownloadDone</b>(<i>reply</i>) |
|
203 <p> |
|
204 Private slot called, after the classifiers file has been downloaded |
|
205 from the internet. |
|
206 </p><dl> |
|
207 <dt><i>reply</i> (QNetworkReply)</dt> |
|
208 <dd> |
|
209 reference to the network reply |
190 </dd> |
210 </dd> |
191 </dl><a NAME="SetupWizardDialog.__enableOkButton" ID="SetupWizardDialog.__enableOkButton"></a> |
211 </dl><a NAME="SetupWizardDialog.__enableOkButton" ID="SetupWizardDialog.__enableOkButton"></a> |
192 <h4>SetupWizardDialog.__enableOkButton</h4> |
212 <h4>SetupWizardDialog.__enableOkButton</h4> |
193 <b>__enableOkButton</b>(<i></i>) |
213 <b>__enableOkButton</b>(<i></i>) |
194 <p> |
214 <p> |
211 </p><dl> |
231 </p><dl> |
212 <dt>Returns:</dt> |
232 <dt>Returns:</dt> |
213 <dd> |
233 <dd> |
214 start directory (string) |
234 start directory (string) |
215 </dd> |
235 </dd> |
216 </dl><a NAME="SetupWizardDialog.__populateFromTroveLists" ID="SetupWizardDialog.__populateFromTroveLists"></a> |
236 </dl><a NAME="SetupWizardDialog.__loadClassifiersFromPyPI" ID="SetupWizardDialog.__loadClassifiersFromPyPI"></a> |
217 <h4>SetupWizardDialog.__populateFromTroveLists</h4> |
237 <h4>SetupWizardDialog.__loadClassifiersFromPyPI</h4> |
218 <b>__populateFromTroveLists</b>(<i></i>) |
238 <b>__loadClassifiersFromPyPI</b>(<i></i>) |
219 <p> |
239 <p> |
220 Private method to populate lists from the Trove list file. |
240 Private method to populate the classifiers list with data retrieved |
221 </p><a NAME="SetupWizardDialog.getCode" ID="SetupWizardDialog.getCode"></a> |
241 from PyPI. |
|
242 </p><a NAME="SetupWizardDialog.__populateClassifiers" ID="SetupWizardDialog.__populateClassifiers"></a> |
|
243 <h4>SetupWizardDialog.__populateClassifiers</h4> |
|
244 <b>__populateClassifiers</b>(<i>classifiers</i>) |
|
245 <p> |
|
246 Private method to populate the classifiers. |
|
247 </p><dl> |
|
248 <dt><i>classifiers</i> (list of str)</dt> |
|
249 <dd> |
|
250 list of classifiers read from a local file or |
|
251 retrieved from PyPI |
|
252 </dd> |
|
253 </dl><a NAME="SetupWizardDialog.getCode" ID="SetupWizardDialog.getCode"></a> |
222 <h4>SetupWizardDialog.getCode</h4> |
254 <h4>SetupWizardDialog.getCode</h4> |
223 <b>getCode</b>(<i>indLevel, indString</i>) |
255 <b>getCode</b>(<i>indLevel, indString</i>) |
224 <p> |
256 <p> |
225 Public method to get the source code. |
257 Public method to get the source code. |
226 </p><dl> |
258 </p><dl> |
301 <h4>SetupWizardDialog.on_excludePatternList_itemSelectionChanged</h4> |
333 <h4>SetupWizardDialog.on_excludePatternList_itemSelectionChanged</h4> |
302 <b>on_excludePatternList_itemSelectionChanged</b>(<i></i>) |
334 <b>on_excludePatternList_itemSelectionChanged</b>(<i></i>) |
303 <p> |
335 <p> |
304 Private slot to handle a change of selected items of the |
336 Private slot to handle a change of selected items of the |
305 exclude pattern list. |
337 exclude pattern list. |
|
338 </p><a NAME="SetupWizardDialog.on_localClassifiersButton_clicked" ID="SetupWizardDialog.on_localClassifiersButton_clicked"></a> |
|
339 <h4>SetupWizardDialog.on_localClassifiersButton_clicked</h4> |
|
340 <b>on_localClassifiersButton_clicked</b>(<i></i>) |
|
341 <p> |
|
342 Private method to populate lists from the Trove list file. |
|
343 </p><p> |
|
344 Note: The trove list file was created from querying |
|
345 "https://pypi.org/pypi?%3Aaction=list_classifiers". |
306 </p><a NAME="SetupWizardDialog.on_modulesList_itemSelectionChanged" ID="SetupWizardDialog.on_modulesList_itemSelectionChanged"></a> |
346 </p><a NAME="SetupWizardDialog.on_modulesList_itemSelectionChanged" ID="SetupWizardDialog.on_modulesList_itemSelectionChanged"></a> |
307 <h4>SetupWizardDialog.on_modulesList_itemSelectionChanged</h4> |
347 <h4>SetupWizardDialog.on_modulesList_itemSelectionChanged</h4> |
308 <b>on_modulesList_itemSelectionChanged</b>(<i></i>) |
348 <b>on_modulesList_itemSelectionChanged</b>(<i></i>) |
309 <p> |
349 <p> |
310 Private slot to handle a change of selected items of the |
350 Private slot to handle a change of selected items of the |