eric6/Documentation/Source/eric6.PluginManager.PluginRepositoryDialog.html

changeset 7273
391d6b7b1eff
parent 7049
0a8a9bd15242
child 7946
6901746220fc
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
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.PluginManager.PluginRepositoryDialog</h1> 23 <h1>eric6.PluginManager.PluginRepositoryDialog</h1>
24
23 <p> 25 <p>
24 Module implementing a dialog showing the available plugins. 26 Module implementing a dialog showing the available plugins.
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>
31 <table> 34
35 <table>
36
32 <tr> 37 <tr>
33 <td><a href="#PluginRepositoryDialog">PluginRepositoryDialog</a></td> 38 <td><a href="#PluginRepositoryDialog">PluginRepositoryDialog</a></td>
34 <td>Class for the dialog variant.</td> 39 <td>Class for the dialog variant.</td>
35 </tr><tr> 40 </tr>
41 <tr>
36 <td><a href="#PluginRepositoryWidget">PluginRepositoryWidget</a></td> 42 <td><a href="#PluginRepositoryWidget">PluginRepositoryWidget</a></td>
37 <td>Class implementing a dialog showing the available plugins.</td> 43 <td>Class implementing a dialog showing the available plugins.</td>
38 </tr><tr> 44 </tr>
45 <tr>
39 <td><a href="#PluginRepositoryWindow">PluginRepositoryWindow</a></td> 46 <td><a href="#PluginRepositoryWindow">PluginRepositoryWindow</a></td>
40 <td>Main window class for the standalone dialog.</td> 47 <td>Main window class for the standalone dialog.</td>
41 </tr> 48 </tr>
42 </table> 49 </table>
43 <h3>Functions</h3> 50 <h3>Functions</h3>
44 <table> 51
52 <table>
53
45 <tr> 54 <tr>
46 <td><a href="#PluginRepositoryDownloadCleanup">PluginRepositoryDownloadCleanup</a></td> 55 <td><a href="#PluginRepositoryDownloadCleanup">PluginRepositoryDownloadCleanup</a></td>
47 <td>Module function to clean up the plug-in downloads area.</td> 56 <td>Module function to clean up the plug-in downloads area.</td>
48 </tr><tr> 57 </tr>
58 <tr>
49 <td><a href="#registerPlugin">registerPlugin</a></td> 59 <td><a href="#registerPlugin">registerPlugin</a></td>
50 <td>Method to register a plug-in's data.</td> 60 <td>Method to register a plug-in's data.</td>
51 </tr> 61 </tr>
52 </table> 62 </table>
53 <hr /><hr /> 63 <hr />
64 <hr />
54 <a NAME="PluginRepositoryDialog" ID="PluginRepositoryDialog"></a> 65 <a NAME="PluginRepositoryDialog" ID="PluginRepositoryDialog"></a>
55 <h2>PluginRepositoryDialog</h2> 66 <h2>PluginRepositoryDialog</h2>
67
56 <p> 68 <p>
57 Class for the dialog variant. 69 Class for the dialog variant.
58 </p> 70 </p>
59 <h3>Derived from</h3> 71 <h3>Derived from</h3>
60 QDialog 72 QDialog
61 <h3>Class Attributes</h3> 73 <h3>Class Attributes</h3>
74
62 <table> 75 <table>
63 <tr><td>None</td></tr> 76 <tr><td>None</td></tr>
64 </table> 77 </table>
65 <h3>Class Methods</h3> 78 <h3>Class Methods</h3>
79
66 <table> 80 <table>
67 <tr><td>None</td></tr> 81 <tr><td>None</td></tr>
68 </table> 82 </table>
69 <h3>Methods</h3> 83 <h3>Methods</h3>
70 <table> 84
85 <table>
86
71 <tr> 87 <tr>
72 <td><a href="#PluginRepositoryDialog.__init__">PluginRepositoryDialog</a></td> 88 <td><a href="#PluginRepositoryDialog.__init__">PluginRepositoryDialog</a></td>
73 <td>Constructor</td> 89 <td>Constructor</td>
74 </tr><tr> 90 </tr>
91 <tr>
75 <td><a href="#PluginRepositoryDialog.__closeAndInstall">__closeAndInstall</a></td> 92 <td><a href="#PluginRepositoryDialog.__closeAndInstall">__closeAndInstall</a></td>
76 <td>Private slot to handle the closeAndInstall signal.</td> 93 <td>Private slot to handle the closeAndInstall signal.</td>
77 </tr><tr> 94 </tr>
95 <tr>
78 <td><a href="#PluginRepositoryDialog.getDownloadedPlugins">getDownloadedPlugins</a></td> 96 <td><a href="#PluginRepositoryDialog.getDownloadedPlugins">getDownloadedPlugins</a></td>
79 <td>Public method to get the list of recently downloaded plugin files.</td> 97 <td>Public method to get the list of recently downloaded plugin files.</td>
80 </tr> 98 </tr>
81 </table> 99 </table>
82 <h3>Static Methods</h3> 100 <h3>Static Methods</h3>
101
83 <table> 102 <table>
84 <tr><td>None</td></tr> 103 <tr><td>None</td></tr>
85 </table> 104 </table>
105
86 <a NAME="PluginRepositoryDialog.__init__" ID="PluginRepositoryDialog.__init__"></a> 106 <a NAME="PluginRepositoryDialog.__init__" ID="PluginRepositoryDialog.__init__"></a>
87 <h4>PluginRepositoryDialog (Constructor)</h4> 107 <h4>PluginRepositoryDialog (Constructor)</h4>
88 <b>PluginRepositoryDialog</b>(<i>pluginManager, parent=None</i>) 108 <b>PluginRepositoryDialog</b>(<i>pluginManager, parent=None</i>)
109
89 <p> 110 <p>
90 Constructor 111 Constructor
91 </p><dl> 112 </p>
113 <dl>
114
92 <dt><i>pluginManager</i> (PluginManager)</dt> 115 <dt><i>pluginManager</i> (PluginManager)</dt>
93 <dd> 116 <dd>
94 reference to the plugin manager object 117 reference to the plugin manager object
95 </dd><dt><i>parent</i> (QWidget)</dt> 118 </dd>
119 <dt><i>parent</i> (QWidget)</dt>
96 <dd> 120 <dd>
97 reference to the parent widget 121 reference to the parent widget
98 </dd> 122 </dd>
99 </dl><a NAME="PluginRepositoryDialog.__closeAndInstall" ID="PluginRepositoryDialog.__closeAndInstall"></a> 123 </dl>
124 <a NAME="PluginRepositoryDialog.__closeAndInstall" ID="PluginRepositoryDialog.__closeAndInstall"></a>
100 <h4>PluginRepositoryDialog.__closeAndInstall</h4> 125 <h4>PluginRepositoryDialog.__closeAndInstall</h4>
101 <b>__closeAndInstall</b>(<i></i>) 126 <b>__closeAndInstall</b>(<i></i>)
127
102 <p> 128 <p>
103 Private slot to handle the closeAndInstall signal. 129 Private slot to handle the closeAndInstall signal.
104 </p><a NAME="PluginRepositoryDialog.getDownloadedPlugins" ID="PluginRepositoryDialog.getDownloadedPlugins"></a> 130 </p>
131 <a NAME="PluginRepositoryDialog.getDownloadedPlugins" ID="PluginRepositoryDialog.getDownloadedPlugins"></a>
105 <h4>PluginRepositoryDialog.getDownloadedPlugins</h4> 132 <h4>PluginRepositoryDialog.getDownloadedPlugins</h4>
106 <b>getDownloadedPlugins</b>(<i></i>) 133 <b>getDownloadedPlugins</b>(<i></i>)
134
107 <p> 135 <p>
108 Public method to get the list of recently downloaded plugin files. 136 Public method to get the list of recently downloaded plugin files.
109 </p><dl> 137 </p>
138 <dl>
110 <dt>Returns:</dt> 139 <dt>Returns:</dt>
111 <dd> 140 <dd>
112 list of plugin filenames (list of strings) 141 list of plugin filenames (list of strings)
113 </dd> 142 </dd>
114 </dl> 143 </dl>
115 <div align="right"><a href="#top">Up</a></div> 144 <div align="right"><a href="#top">Up</a></div>
116 <hr /><hr /> 145 <hr />
146 <hr />
117 <a NAME="PluginRepositoryWidget" ID="PluginRepositoryWidget"></a> 147 <a NAME="PluginRepositoryWidget" ID="PluginRepositoryWidget"></a>
118 <h2>PluginRepositoryWidget</h2> 148 <h2>PluginRepositoryWidget</h2>
149
119 <p> 150 <p>
120 Class implementing a dialog showing the available plugins. 151 Class implementing a dialog showing the available plugins.
121 </p><h3>Signals</h3> 152 </p>
122 <dl> 153 <h3>Signals</h3>
154 <dl>
155
123 <dt>closeAndInstall()</dt> 156 <dt>closeAndInstall()</dt>
124 <dd> 157 <dd>
125 emitted when the Close & Install button is 158 emitted when the Close & Install button is
126 pressed 159 pressed
127 </dd> 160 </dd>
128 </dl> 161 </dl>
129 <h3>Derived from</h3> 162 <h3>Derived from</h3>
130 QWidget, Ui_PluginRepositoryDialog 163 QWidget, Ui_PluginRepositoryDialog
131 <h3>Class Attributes</h3> 164 <h3>Class Attributes</h3>
165
132 <table> 166 <table>
133 <tr><td>AuthorRole</td></tr><tr><td>DescrRole</td></tr><tr><td>FilenameRole</td></tr><tr><td>PluginStatusError</td></tr><tr><td>PluginStatusLocalUpdate</td></tr><tr><td>PluginStatusNew</td></tr><tr><td>PluginStatusRemoteUpdate</td></tr><tr><td>PluginStatusUpToDate</td></tr><tr><td>UrlRole</td></tr> 167 <tr><td>AuthorRole</td></tr><tr><td>DescrRole</td></tr><tr><td>FilenameRole</td></tr><tr><td>PluginStatusError</td></tr><tr><td>PluginStatusLocalUpdate</td></tr><tr><td>PluginStatusNew</td></tr><tr><td>PluginStatusRemoteUpdate</td></tr><tr><td>PluginStatusUpToDate</td></tr><tr><td>UrlRole</td></tr>
134 </table> 168 </table>
135 <h3>Class Methods</h3> 169 <h3>Class Methods</h3>
170
136 <table> 171 <table>
137 <tr><td>None</td></tr> 172 <tr><td>None</td></tr>
138 </table> 173 </table>
139 <h3>Methods</h3> 174 <h3>Methods</h3>
140 <table> 175
176 <table>
177
141 <tr> 178 <tr>
142 <td><a href="#PluginRepositoryWidget.__init__">PluginRepositoryWidget</a></td> 179 <td><a href="#PluginRepositoryWidget.__init__">PluginRepositoryWidget</a></td>
143 <td>Constructor</td> 180 <td>Constructor</td>
144 </tr><tr> 181 </tr>
182 <tr>
145 <td><a href="#PluginRepositoryWidget.__changeScheme">__changeScheme</a></td> 183 <td><a href="#PluginRepositoryWidget.__changeScheme">__changeScheme</a></td>
146 <td>Private method to change the scheme of the given URL.</td> 184 <td>Private method to change the scheme of the given URL.</td>
147 </tr><tr> 185 </tr>
186 <tr>
148 <td><a href="#PluginRepositoryWidget.__cleanupDownloads">__cleanupDownloads</a></td> 187 <td><a href="#PluginRepositoryWidget.__cleanupDownloads">__cleanupDownloads</a></td>
149 <td>Private slot to cleanup the plug-in downloads area.</td> 188 <td>Private slot to cleanup the plug-in downloads area.</td>
150 </tr><tr> 189 </tr>
190 <tr>
151 <td><a href="#PluginRepositoryWidget.__closeAndInstall">__closeAndInstall</a></td> 191 <td><a href="#PluginRepositoryWidget.__closeAndInstall">__closeAndInstall</a></td>
152 <td>Private method to close the dialog and invoke the install dialog.</td> 192 <td>Private method to close the dialog and invoke the install dialog.</td>
153 </tr><tr> 193 </tr>
194 <tr>
154 <td><a href="#PluginRepositoryWidget.__downloadCancel">__downloadCancel</a></td> 195 <td><a href="#PluginRepositoryWidget.__downloadCancel">__downloadCancel</a></td>
155 <td>Private slot to cancel the current download.</td> 196 <td>Private slot to cancel the current download.</td>
156 </tr><tr> 197 </tr>
198 <tr>
157 <td><a href="#PluginRepositoryWidget.__downloadFile">__downloadFile</a></td> 199 <td><a href="#PluginRepositoryWidget.__downloadFile">__downloadFile</a></td>
158 <td>Private slot to download the given file.</td> 200 <td>Private slot to download the given file.</td>
159 </tr><tr> 201 </tr>
202 <tr>
160 <td><a href="#PluginRepositoryWidget.__downloadFileDone">__downloadFileDone</a></td> 203 <td><a href="#PluginRepositoryWidget.__downloadFileDone">__downloadFileDone</a></td>
161 <td>Private method called, after the file has been downloaded from the Internet.</td> 204 <td>Private method called, after the file has been downloaded from the Internet.</td>
162 </tr><tr> 205 </tr>
206 <tr>
163 <td><a href="#PluginRepositoryWidget.__downloadPlugin">__downloadPlugin</a></td> 207 <td><a href="#PluginRepositoryWidget.__downloadPlugin">__downloadPlugin</a></td>
164 <td>Private method to download the next plugin.</td> 208 <td>Private method to download the next plugin.</td>
165 </tr><tr> 209 </tr>
210 <tr>
166 <td><a href="#PluginRepositoryWidget.__downloadPluginDone">__downloadPluginDone</a></td> 211 <td><a href="#PluginRepositoryWidget.__downloadPluginDone">__downloadPluginDone</a></td>
167 <td>Private method called, when the download of a plugin is finished.</td> 212 <td>Private method called, when the download of a plugin is finished.</td>
168 </tr><tr> 213 </tr>
214 <tr>
169 <td><a href="#PluginRepositoryWidget.__downloadPlugins">__downloadPlugins</a></td> 215 <td><a href="#PluginRepositoryWidget.__downloadPlugins">__downloadPlugins</a></td>
170 <td>Private slot to download the selected plugins.</td> 216 <td>Private slot to download the selected plugins.</td>
171 </tr><tr> 217 </tr>
218 <tr>
172 <td><a href="#PluginRepositoryWidget.__downloadPluginsDone">__downloadPluginsDone</a></td> 219 <td><a href="#PluginRepositoryWidget.__downloadPluginsDone">__downloadPluginsDone</a></td>
173 <td>Private method called, when the download of the plugins is finished.</td> 220 <td>Private method called, when the download of the plugins is finished.</td>
174 </tr><tr> 221 </tr>
222 <tr>
175 <td><a href="#PluginRepositoryWidget.__downloadProgress">__downloadProgress</a></td> 223 <td><a href="#PluginRepositoryWidget.__downloadProgress">__downloadProgress</a></td>
176 <td>Private slot to show the download progress.</td> 224 <td>Private slot to show the download progress.</td>
177 </tr><tr> 225 </tr>
226 <tr>
178 <td><a href="#PluginRepositoryWidget.__downloadRepositoryFileDone">__downloadRepositoryFileDone</a></td> 227 <td><a href="#PluginRepositoryWidget.__downloadRepositoryFileDone">__downloadRepositoryFileDone</a></td>
179 <td>Private method called after the repository file was downloaded.</td> 228 <td>Private method called after the repository file was downloaded.</td>
180 </tr><tr> 229 </tr>
230 <tr>
181 <td><a href="#PluginRepositoryWidget.__formatDescription">__formatDescription</a></td> 231 <td><a href="#PluginRepositoryWidget.__formatDescription">__formatDescription</a></td>
182 <td>Private method to format the description.</td> 232 <td>Private method to format the description.</td>
183 </tr><tr> 233 </tr>
234 <tr>
184 <td><a href="#PluginRepositoryWidget.__hasHiddenPlugins">__hasHiddenPlugins</a></td> 235 <td><a href="#PluginRepositoryWidget.__hasHiddenPlugins">__hasHiddenPlugins</a></td>
185 <td>Private method to check, if there are any hidden plug-ins.</td> 236 <td>Private method to check, if there are any hidden plug-ins.</td>
186 </tr><tr> 237 </tr>
238 <tr>
187 <td><a href="#PluginRepositoryWidget.__hidePlugin">__hidePlugin</a></td> 239 <td><a href="#PluginRepositoryWidget.__hidePlugin">__hidePlugin</a></td>
188 <td>Private slot to hide the current plug-in.</td> 240 <td>Private slot to hide the current plug-in.</td>
189 </tr><tr> 241 </tr>
242 <tr>
190 <td><a href="#PluginRepositoryWidget.__hideSelectedPlugins">__hideSelectedPlugins</a></td> 243 <td><a href="#PluginRepositoryWidget.__hideSelectedPlugins">__hideSelectedPlugins</a></td>
191 <td>Private slot to hide all selected plug-ins.</td> 244 <td>Private slot to hide all selected plug-ins.</td>
192 </tr><tr> 245 </tr>
246 <tr>
193 <td><a href="#PluginRepositoryWidget.__isOnline">__isOnline</a></td> 247 <td><a href="#PluginRepositoryWidget.__isOnline">__isOnline</a></td>
194 <td>Private method to check the online status.</td> 248 <td>Private method to check the online status.</td>
195 </tr><tr> 249 </tr>
250 <tr>
196 <td><a href="#PluginRepositoryWidget.__onlineStateChanged">__onlineStateChanged</a></td> 251 <td><a href="#PluginRepositoryWidget.__onlineStateChanged">__onlineStateChanged</a></td>
197 <td>Private slot handling online state changes.</td> 252 <td>Private slot handling online state changes.</td>
198 </tr><tr> 253 </tr>
254 <tr>
199 <td><a href="#PluginRepositoryWidget.__populateList">__populateList</a></td> 255 <td><a href="#PluginRepositoryWidget.__populateList">__populateList</a></td>
200 <td>Private method to populate the list of available plugins.</td> 256 <td>Private method to populate the list of available plugins.</td>
201 </tr><tr> 257 </tr>
258 <tr>
202 <td><a href="#PluginRepositoryWidget.__resortRepositoryList">__resortRepositoryList</a></td> 259 <td><a href="#PluginRepositoryWidget.__resortRepositoryList">__resortRepositoryList</a></td>
203 <td>Private method to resort the tree.</td> 260 <td>Private method to resort the tree.</td>
204 </tr><tr> 261 </tr>
262 <tr>
205 <td><a href="#PluginRepositoryWidget.__selectedItems">__selectedItems</a></td> 263 <td><a href="#PluginRepositoryWidget.__selectedItems">__selectedItems</a></td>
206 <td>Private method to get all selected items without the toplevel ones.</td> 264 <td>Private method to get all selected items without the toplevel ones.</td>
207 </tr><tr> 265 </tr>
266 <tr>
208 <td><a href="#PluginRepositoryWidget.__showAllPlugins">__showAllPlugins</a></td> 267 <td><a href="#PluginRepositoryWidget.__showAllPlugins">__showAllPlugins</a></td>
209 <td>Private slot to show all plug-ins.</td> 268 <td>Private slot to show all plug-ins.</td>
210 </tr><tr> 269 </tr>
270 <tr>
211 <td><a href="#PluginRepositoryWidget.__sslErrors">__sslErrors</a></td> 271 <td><a href="#PluginRepositoryWidget.__sslErrors">__sslErrors</a></td>
212 <td>Private slot to handle SSL errors.</td> 272 <td>Private slot to handle SSL errors.</td>
213 </tr><tr> 273 </tr>
274 <tr>
214 <td><a href="#PluginRepositoryWidget.__updateHiddenPluginsList">__updateHiddenPluginsList</a></td> 275 <td><a href="#PluginRepositoryWidget.__updateHiddenPluginsList">__updateHiddenPluginsList</a></td>
215 <td>Private method to store the list of hidden plug-ins to the settings.</td> 276 <td>Private method to store the list of hidden plug-ins to the settings.</td>
216 </tr><tr> 277 </tr>
278 <tr>
217 <td><a href="#PluginRepositoryWidget.__updateList">__updateList</a></td> 279 <td><a href="#PluginRepositoryWidget.__updateList">__updateList</a></td>
218 <td>Private slot to download a new list and display the contents.</td> 280 <td>Private slot to download a new list and display the contents.</td>
219 </tr><tr> 281 </tr>
282 <tr>
220 <td><a href="#PluginRepositoryWidget.__updateStatus">__updateStatus</a></td> 283 <td><a href="#PluginRepositoryWidget.__updateStatus">__updateStatus</a></td>
221 <td>Private method to check the given archive update status.</td> 284 <td>Private method to check the given archive update status.</td>
222 </tr><tr> 285 </tr>
286 <tr>
223 <td><a href="#PluginRepositoryWidget.addEntry">addEntry</a></td> 287 <td><a href="#PluginRepositoryWidget.addEntry">addEntry</a></td>
224 <td>Public method to add an entry to the list.</td> 288 <td>Public method to add an entry to the list.</td>
225 </tr><tr> 289 </tr>
290 <tr>
226 <td><a href="#PluginRepositoryWidget.getDownloadedPlugins">getDownloadedPlugins</a></td> 291 <td><a href="#PluginRepositoryWidget.getDownloadedPlugins">getDownloadedPlugins</a></td>
227 <td>Public method to get the list of recently downloaded plugin files.</td> 292 <td>Public method to get the list of recently downloaded plugin files.</td>
228 </tr><tr> 293 </tr>
294 <tr>
229 <td><a href="#PluginRepositoryWidget.on_buttonBox_clicked">on_buttonBox_clicked</a></td> 295 <td><a href="#PluginRepositoryWidget.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
230 <td>Private slot to handle the click of a button of the button box.</td> 296 <td>Private slot to handle the click of a button of the button box.</td>
231 </tr><tr> 297 </tr>
298 <tr>
232 <td><a href="#PluginRepositoryWidget.on_repositoryList_currentItemChanged">on_repositoryList_currentItemChanged</a></td> 299 <td><a href="#PluginRepositoryWidget.on_repositoryList_currentItemChanged">on_repositoryList_currentItemChanged</a></td>
233 <td>Private slot to handle the change of the current item.</td> 300 <td>Private slot to handle the change of the current item.</td>
234 </tr><tr> 301 </tr>
302 <tr>
235 <td><a href="#PluginRepositoryWidget.on_repositoryList_customContextMenuRequested">on_repositoryList_customContextMenuRequested</a></td> 303 <td><a href="#PluginRepositoryWidget.on_repositoryList_customContextMenuRequested">on_repositoryList_customContextMenuRequested</a></td>
236 <td>Private slot to show the context menu.</td> 304 <td>Private slot to show the context menu.</td>
237 </tr><tr> 305 </tr>
306 <tr>
238 <td><a href="#PluginRepositoryWidget.on_repositoryList_itemSelectionChanged">on_repositoryList_itemSelectionChanged</a></td> 307 <td><a href="#PluginRepositoryWidget.on_repositoryList_itemSelectionChanged">on_repositoryList_itemSelectionChanged</a></td>
239 <td>Private slot to handle a change of the selection.</td> 308 <td>Private slot to handle a change of the selection.</td>
240 </tr><tr> 309 </tr>
310 <tr>
241 <td><a href="#PluginRepositoryWidget.on_repositoryUrlEditButton_toggled">on_repositoryUrlEditButton_toggled</a></td> 311 <td><a href="#PluginRepositoryWidget.on_repositoryUrlEditButton_toggled">on_repositoryUrlEditButton_toggled</a></td>
242 <td>Private slot to set the read only status of the repository URL line edit.</td> 312 <td>Private slot to set the read only status of the repository URL line edit.</td>
243 </tr> 313 </tr>
244 </table> 314 </table>
245 <h3>Static Methods</h3> 315 <h3>Static Methods</h3>
316
246 <table> 317 <table>
247 <tr><td>None</td></tr> 318 <tr><td>None</td></tr>
248 </table> 319 </table>
320
249 <a NAME="PluginRepositoryWidget.__init__" ID="PluginRepositoryWidget.__init__"></a> 321 <a NAME="PluginRepositoryWidget.__init__" ID="PluginRepositoryWidget.__init__"></a>
250 <h4>PluginRepositoryWidget (Constructor)</h4> 322 <h4>PluginRepositoryWidget (Constructor)</h4>
251 <b>PluginRepositoryWidget</b>(<i>pluginManager, parent=None</i>) 323 <b>PluginRepositoryWidget</b>(<i>pluginManager, parent=None</i>)
324
252 <p> 325 <p>
253 Constructor 326 Constructor
254 </p><dl> 327 </p>
328 <dl>
329
255 <dt><i>pluginManager</i> (PluginManager)</dt> 330 <dt><i>pluginManager</i> (PluginManager)</dt>
256 <dd> 331 <dd>
257 reference to the plugin manager object 332 reference to the plugin manager object
258 </dd><dt><i>parent</i> (QWidget)</dt> 333 </dd>
334 <dt><i>parent</i> (QWidget)</dt>
259 <dd> 335 <dd>
260 parent of this dialog 336 parent of this dialog
261 </dd> 337 </dd>
262 </dl><a NAME="PluginRepositoryWidget.__changeScheme" ID="PluginRepositoryWidget.__changeScheme"></a> 338 </dl>
339 <a NAME="PluginRepositoryWidget.__changeScheme" ID="PluginRepositoryWidget.__changeScheme"></a>
263 <h4>PluginRepositoryWidget.__changeScheme</h4> 340 <h4>PluginRepositoryWidget.__changeScheme</h4>
264 <b>__changeScheme</b>(<i>url, newScheme=""</i>) 341 <b>__changeScheme</b>(<i>url, newScheme=""</i>)
342
265 <p> 343 <p>
266 Private method to change the scheme of the given URL. 344 Private method to change the scheme of the given URL.
267 </p><dl> 345 </p>
346 <dl>
347
268 <dt><i>url</i> (str)</dt> 348 <dt><i>url</i> (str)</dt>
269 <dd> 349 <dd>
270 URL to be modified 350 URL to be modified
271 </dd><dt><i>newScheme</i></dt> 351 </dd>
352 <dt><i>newScheme</i></dt>
272 <dd> 353 <dd>
273 scheme to be set for the given URL 354 scheme to be set for the given URL
274 </dd> 355 </dd>
275 </dl><dl> 356 </dl>
357 <dl>
276 <dt>Returns:</dt> 358 <dt>Returns:</dt>
277 <dd> 359 <dd>
278 modified URL 360 modified URL
279 </dd> 361 </dd>
280 </dl><dl> 362 </dl>
363 <dl>
281 <dt>Return Type:</dt> 364 <dt>Return Type:</dt>
282 <dd> 365 <dd>
283 str 366 str
284 </dd> 367 </dd>
285 </dl><a NAME="PluginRepositoryWidget.__cleanupDownloads" ID="PluginRepositoryWidget.__cleanupDownloads"></a> 368 </dl>
369 <a NAME="PluginRepositoryWidget.__cleanupDownloads" ID="PluginRepositoryWidget.__cleanupDownloads"></a>
286 <h4>PluginRepositoryWidget.__cleanupDownloads</h4> 370 <h4>PluginRepositoryWidget.__cleanupDownloads</h4>
287 <b>__cleanupDownloads</b>(<i></i>) 371 <b>__cleanupDownloads</b>(<i></i>)
372
288 <p> 373 <p>
289 Private slot to cleanup the plug-in downloads area. 374 Private slot to cleanup the plug-in downloads area.
290 </p><a NAME="PluginRepositoryWidget.__closeAndInstall" ID="PluginRepositoryWidget.__closeAndInstall"></a> 375 </p>
376 <a NAME="PluginRepositoryWidget.__closeAndInstall" ID="PluginRepositoryWidget.__closeAndInstall"></a>
291 <h4>PluginRepositoryWidget.__closeAndInstall</h4> 377 <h4>PluginRepositoryWidget.__closeAndInstall</h4>
292 <b>__closeAndInstall</b>(<i></i>) 378 <b>__closeAndInstall</b>(<i></i>)
379
293 <p> 380 <p>
294 Private method to close the dialog and invoke the install dialog. 381 Private method to close the dialog and invoke the install dialog.
295 </p><a NAME="PluginRepositoryWidget.__downloadCancel" ID="PluginRepositoryWidget.__downloadCancel"></a> 382 </p>
383 <a NAME="PluginRepositoryWidget.__downloadCancel" ID="PluginRepositoryWidget.__downloadCancel"></a>
296 <h4>PluginRepositoryWidget.__downloadCancel</h4> 384 <h4>PluginRepositoryWidget.__downloadCancel</h4>
297 <b>__downloadCancel</b>(<i>reply=None</i>) 385 <b>__downloadCancel</b>(<i>reply=None</i>)
386
298 <p> 387 <p>
299 Private slot to cancel the current download. 388 Private slot to cancel the current download.
300 </p><dl> 389 </p>
390 <dl>
391
301 <dt><i>reply</i> (QNetworkReply)</dt> 392 <dt><i>reply</i> (QNetworkReply)</dt>
302 <dd> 393 <dd>
303 reference to the network reply 394 reference to the network reply
304 </dd> 395 </dd>
305 </dl><a NAME="PluginRepositoryWidget.__downloadFile" ID="PluginRepositoryWidget.__downloadFile"></a> 396 </dl>
397 <a NAME="PluginRepositoryWidget.__downloadFile" ID="PluginRepositoryWidget.__downloadFile"></a>
306 <h4>PluginRepositoryWidget.__downloadFile</h4> 398 <h4>PluginRepositoryWidget.__downloadFile</h4>
307 <b>__downloadFile</b>(<i>url, filename, doneMethod=None</i>) 399 <b>__downloadFile</b>(<i>url, filename, doneMethod=None</i>)
400
308 <p> 401 <p>
309 Private slot to download the given file. 402 Private slot to download the given file.
310 </p><dl> 403 </p>
404 <dl>
405
311 <dt><i>url</i></dt> 406 <dt><i>url</i></dt>
312 <dd> 407 <dd>
313 URL for the download (string) 408 URL for the download (string)
314 </dd><dt><i>filename</i></dt> 409 </dd>
410 <dt><i>filename</i></dt>
315 <dd> 411 <dd>
316 local name of the file (string) 412 local name of the file (string)
317 </dd><dt><i>doneMethod</i></dt> 413 </dd>
414 <dt><i>doneMethod</i></dt>
318 <dd> 415 <dd>
319 method to be called when done 416 method to be called when done
320 </dd> 417 </dd>
321 </dl><a NAME="PluginRepositoryWidget.__downloadFileDone" ID="PluginRepositoryWidget.__downloadFileDone"></a> 418 </dl>
419 <a NAME="PluginRepositoryWidget.__downloadFileDone" ID="PluginRepositoryWidget.__downloadFileDone"></a>
322 <h4>PluginRepositoryWidget.__downloadFileDone</h4> 420 <h4>PluginRepositoryWidget.__downloadFileDone</h4>
323 <b>__downloadFileDone</b>(<i>reply, fileName, doneMethod</i>) 421 <b>__downloadFileDone</b>(<i>reply, fileName, doneMethod</i>)
422
324 <p> 423 <p>
325 Private method called, after the file has been downloaded 424 Private method called, after the file has been downloaded
326 from the Internet. 425 from the Internet.
327 </p><dl> 426 </p>
427 <dl>
428
328 <dt><i>reply</i> (QNetworkReply)</dt> 429 <dt><i>reply</i> (QNetworkReply)</dt>
329 <dd> 430 <dd>
330 reference to the reply object of the download 431 reference to the reply object of the download
331 </dd><dt><i>fileName</i> (str)</dt> 432 </dd>
433 <dt><i>fileName</i> (str)</dt>
332 <dd> 434 <dd>
333 local name of the file 435 local name of the file
334 </dd><dt><i>doneMethod</i> (func)</dt> 436 </dd>
437 <dt><i>doneMethod</i> (func)</dt>
335 <dd> 438 <dd>
336 method to be called when done 439 method to be called when done
337 </dd> 440 </dd>
338 </dl><a NAME="PluginRepositoryWidget.__downloadPlugin" ID="PluginRepositoryWidget.__downloadPlugin"></a> 441 </dl>
442 <a NAME="PluginRepositoryWidget.__downloadPlugin" ID="PluginRepositoryWidget.__downloadPlugin"></a>
339 <h4>PluginRepositoryWidget.__downloadPlugin</h4> 443 <h4>PluginRepositoryWidget.__downloadPlugin</h4>
340 <b>__downloadPlugin</b>(<i></i>) 444 <b>__downloadPlugin</b>(<i></i>)
445
341 <p> 446 <p>
342 Private method to download the next plugin. 447 Private method to download the next plugin.
343 </p><a NAME="PluginRepositoryWidget.__downloadPluginDone" ID="PluginRepositoryWidget.__downloadPluginDone"></a> 448 </p>
449 <a NAME="PluginRepositoryWidget.__downloadPluginDone" ID="PluginRepositoryWidget.__downloadPluginDone"></a>
344 <h4>PluginRepositoryWidget.__downloadPluginDone</h4> 450 <h4>PluginRepositoryWidget.__downloadPluginDone</h4>
345 <b>__downloadPluginDone</b>(<i>status, filename</i>) 451 <b>__downloadPluginDone</b>(<i>status, filename</i>)
452
346 <p> 453 <p>
347 Private method called, when the download of a plugin is finished. 454 Private method called, when the download of a plugin is finished.
348 </p><dl> 455 </p>
456 <dl>
457
349 <dt><i>status</i></dt> 458 <dt><i>status</i></dt>
350 <dd> 459 <dd>
351 flag indicating a successful download (boolean) 460 flag indicating a successful download (boolean)
352 </dd><dt><i>filename</i></dt> 461 </dd>
462 <dt><i>filename</i></dt>
353 <dd> 463 <dd>
354 full path of the downloaded file (string) 464 full path of the downloaded file (string)
355 </dd> 465 </dd>
356 </dl><a NAME="PluginRepositoryWidget.__downloadPlugins" ID="PluginRepositoryWidget.__downloadPlugins"></a> 466 </dl>
467 <a NAME="PluginRepositoryWidget.__downloadPlugins" ID="PluginRepositoryWidget.__downloadPlugins"></a>
357 <h4>PluginRepositoryWidget.__downloadPlugins</h4> 468 <h4>PluginRepositoryWidget.__downloadPlugins</h4>
358 <b>__downloadPlugins</b>(<i></i>) 469 <b>__downloadPlugins</b>(<i></i>)
470
359 <p> 471 <p>
360 Private slot to download the selected plugins. 472 Private slot to download the selected plugins.
361 </p><a NAME="PluginRepositoryWidget.__downloadPluginsDone" ID="PluginRepositoryWidget.__downloadPluginsDone"></a> 473 </p>
474 <a NAME="PluginRepositoryWidget.__downloadPluginsDone" ID="PluginRepositoryWidget.__downloadPluginsDone"></a>
362 <h4>PluginRepositoryWidget.__downloadPluginsDone</h4> 475 <h4>PluginRepositoryWidget.__downloadPluginsDone</h4>
363 <b>__downloadPluginsDone</b>(<i></i>) 476 <b>__downloadPluginsDone</b>(<i></i>)
477
364 <p> 478 <p>
365 Private method called, when the download of the plugins is finished. 479 Private method called, when the download of the plugins is finished.
366 </p><a NAME="PluginRepositoryWidget.__downloadProgress" ID="PluginRepositoryWidget.__downloadProgress"></a> 480 </p>
481 <a NAME="PluginRepositoryWidget.__downloadProgress" ID="PluginRepositoryWidget.__downloadProgress"></a>
367 <h4>PluginRepositoryWidget.__downloadProgress</h4> 482 <h4>PluginRepositoryWidget.__downloadProgress</h4>
368 <b>__downloadProgress</b>(<i>done, total</i>) 483 <b>__downloadProgress</b>(<i>done, total</i>)
484
369 <p> 485 <p>
370 Private slot to show the download progress. 486 Private slot to show the download progress.
371 </p><dl> 487 </p>
488 <dl>
489
372 <dt><i>done</i></dt> 490 <dt><i>done</i></dt>
373 <dd> 491 <dd>
374 number of bytes downloaded so far (integer) 492 number of bytes downloaded so far (integer)
375 </dd><dt><i>total</i></dt> 493 </dd>
494 <dt><i>total</i></dt>
376 <dd> 495 <dd>
377 total bytes to be downloaded (integer) 496 total bytes to be downloaded (integer)
378 </dd> 497 </dd>
379 </dl><a NAME="PluginRepositoryWidget.__downloadRepositoryFileDone" ID="PluginRepositoryWidget.__downloadRepositoryFileDone"></a> 498 </dl>
499 <a NAME="PluginRepositoryWidget.__downloadRepositoryFileDone" ID="PluginRepositoryWidget.__downloadRepositoryFileDone"></a>
380 <h4>PluginRepositoryWidget.__downloadRepositoryFileDone</h4> 500 <h4>PluginRepositoryWidget.__downloadRepositoryFileDone</h4>
381 <b>__downloadRepositoryFileDone</b>(<i>status, filename</i>) 501 <b>__downloadRepositoryFileDone</b>(<i>status, filename</i>)
502
382 <p> 503 <p>
383 Private method called after the repository file was downloaded. 504 Private method called after the repository file was downloaded.
384 </p><dl> 505 </p>
506 <dl>
507
385 <dt><i>status</i></dt> 508 <dt><i>status</i></dt>
386 <dd> 509 <dd>
387 flaging indicating a successful download (boolean) 510 flaging indicating a successful download (boolean)
388 </dd><dt><i>filename</i></dt> 511 </dd>
512 <dt><i>filename</i></dt>
389 <dd> 513 <dd>
390 full path of the downloaded file (string) 514 full path of the downloaded file (string)
391 </dd> 515 </dd>
392 </dl><a NAME="PluginRepositoryWidget.__formatDescription" ID="PluginRepositoryWidget.__formatDescription"></a> 516 </dl>
517 <a NAME="PluginRepositoryWidget.__formatDescription" ID="PluginRepositoryWidget.__formatDescription"></a>
393 <h4>PluginRepositoryWidget.__formatDescription</h4> 518 <h4>PluginRepositoryWidget.__formatDescription</h4>
394 <b>__formatDescription</b>(<i>lines</i>) 519 <b>__formatDescription</b>(<i>lines</i>)
520
395 <p> 521 <p>
396 Private method to format the description. 522 Private method to format the description.
397 </p><dl> 523 </p>
524 <dl>
525
398 <dt><i>lines</i></dt> 526 <dt><i>lines</i></dt>
399 <dd> 527 <dd>
400 lines of the description (list of strings) 528 lines of the description (list of strings)
401 </dd> 529 </dd>
402 </dl><dl> 530 </dl>
531 <dl>
403 <dt>Returns:</dt> 532 <dt>Returns:</dt>
404 <dd> 533 <dd>
405 formatted description (string) 534 formatted description (string)
406 </dd> 535 </dd>
407 </dl><a NAME="PluginRepositoryWidget.__hasHiddenPlugins" ID="PluginRepositoryWidget.__hasHiddenPlugins"></a> 536 </dl>
537 <a NAME="PluginRepositoryWidget.__hasHiddenPlugins" ID="PluginRepositoryWidget.__hasHiddenPlugins"></a>
408 <h4>PluginRepositoryWidget.__hasHiddenPlugins</h4> 538 <h4>PluginRepositoryWidget.__hasHiddenPlugins</h4>
409 <b>__hasHiddenPlugins</b>(<i></i>) 539 <b>__hasHiddenPlugins</b>(<i></i>)
540
410 <p> 541 <p>
411 Private method to check, if there are any hidden plug-ins. 542 Private method to check, if there are any hidden plug-ins.
412 </p><dl> 543 </p>
544 <dl>
413 <dt>Returns:</dt> 545 <dt>Returns:</dt>
414 <dd> 546 <dd>
415 flag indicating the presence of hidden plug-ins (boolean) 547 flag indicating the presence of hidden plug-ins (boolean)
416 </dd> 548 </dd>
417 </dl><a NAME="PluginRepositoryWidget.__hidePlugin" ID="PluginRepositoryWidget.__hidePlugin"></a> 549 </dl>
550 <a NAME="PluginRepositoryWidget.__hidePlugin" ID="PluginRepositoryWidget.__hidePlugin"></a>
418 <h4>PluginRepositoryWidget.__hidePlugin</h4> 551 <h4>PluginRepositoryWidget.__hidePlugin</h4>
419 <b>__hidePlugin</b>(<i></i>) 552 <b>__hidePlugin</b>(<i></i>)
553
420 <p> 554 <p>
421 Private slot to hide the current plug-in. 555 Private slot to hide the current plug-in.
422 </p><a NAME="PluginRepositoryWidget.__hideSelectedPlugins" ID="PluginRepositoryWidget.__hideSelectedPlugins"></a> 556 </p>
557 <a NAME="PluginRepositoryWidget.__hideSelectedPlugins" ID="PluginRepositoryWidget.__hideSelectedPlugins"></a>
423 <h4>PluginRepositoryWidget.__hideSelectedPlugins</h4> 558 <h4>PluginRepositoryWidget.__hideSelectedPlugins</h4>
424 <b>__hideSelectedPlugins</b>(<i></i>) 559 <b>__hideSelectedPlugins</b>(<i></i>)
560
425 <p> 561 <p>
426 Private slot to hide all selected plug-ins. 562 Private slot to hide all selected plug-ins.
427 </p><a NAME="PluginRepositoryWidget.__isOnline" ID="PluginRepositoryWidget.__isOnline"></a> 563 </p>
564 <a NAME="PluginRepositoryWidget.__isOnline" ID="PluginRepositoryWidget.__isOnline"></a>
428 <h4>PluginRepositoryWidget.__isOnline</h4> 565 <h4>PluginRepositoryWidget.__isOnline</h4>
429 <b>__isOnline</b>(<i></i>) 566 <b>__isOnline</b>(<i></i>)
567
430 <p> 568 <p>
431 Private method to check the online status. 569 Private method to check the online status.
432 </p><dl> 570 </p>
571 <dl>
433 <dt>Returns:</dt> 572 <dt>Returns:</dt>
434 <dd> 573 <dd>
435 flag indicating the online status 574 flag indicating the online status
436 </dd> 575 </dd>
437 </dl><dl> 576 </dl>
577 <dl>
438 <dt>Return Type:</dt> 578 <dt>Return Type:</dt>
439 <dd> 579 <dd>
440 bool 580 bool
441 </dd> 581 </dd>
442 </dl><a NAME="PluginRepositoryWidget.__onlineStateChanged" ID="PluginRepositoryWidget.__onlineStateChanged"></a> 582 </dl>
583 <a NAME="PluginRepositoryWidget.__onlineStateChanged" ID="PluginRepositoryWidget.__onlineStateChanged"></a>
443 <h4>PluginRepositoryWidget.__onlineStateChanged</h4> 584 <h4>PluginRepositoryWidget.__onlineStateChanged</h4>
444 <b>__onlineStateChanged</b>(<i>online</i>) 585 <b>__onlineStateChanged</b>(<i>online</i>)
586
445 <p> 587 <p>
446 Private slot handling online state changes. 588 Private slot handling online state changes.
447 </p><dl> 589 </p>
590 <dl>
591
448 <dt><i>online</i> (bool)</dt> 592 <dt><i>online</i> (bool)</dt>
449 <dd> 593 <dd>
450 flag indicating the online status 594 flag indicating the online status
451 </dd> 595 </dd>
452 </dl><a NAME="PluginRepositoryWidget.__populateList" ID="PluginRepositoryWidget.__populateList"></a> 596 </dl>
597 <a NAME="PluginRepositoryWidget.__populateList" ID="PluginRepositoryWidget.__populateList"></a>
453 <h4>PluginRepositoryWidget.__populateList</h4> 598 <h4>PluginRepositoryWidget.__populateList</h4>
454 <b>__populateList</b>(<i></i>) 599 <b>__populateList</b>(<i></i>)
600
455 <p> 601 <p>
456 Private method to populate the list of available plugins. 602 Private method to populate the list of available plugins.
457 </p><a NAME="PluginRepositoryWidget.__resortRepositoryList" ID="PluginRepositoryWidget.__resortRepositoryList"></a> 603 </p>
604 <a NAME="PluginRepositoryWidget.__resortRepositoryList" ID="PluginRepositoryWidget.__resortRepositoryList"></a>
458 <h4>PluginRepositoryWidget.__resortRepositoryList</h4> 605 <h4>PluginRepositoryWidget.__resortRepositoryList</h4>
459 <b>__resortRepositoryList</b>(<i></i>) 606 <b>__resortRepositoryList</b>(<i></i>)
607
460 <p> 608 <p>
461 Private method to resort the tree. 609 Private method to resort the tree.
462 </p><a NAME="PluginRepositoryWidget.__selectedItems" ID="PluginRepositoryWidget.__selectedItems"></a> 610 </p>
611 <a NAME="PluginRepositoryWidget.__selectedItems" ID="PluginRepositoryWidget.__selectedItems"></a>
463 <h4>PluginRepositoryWidget.__selectedItems</h4> 612 <h4>PluginRepositoryWidget.__selectedItems</h4>
464 <b>__selectedItems</b>(<i></i>) 613 <b>__selectedItems</b>(<i></i>)
614
465 <p> 615 <p>
466 Private method to get all selected items without the toplevel ones. 616 Private method to get all selected items without the toplevel ones.
467 </p><dl> 617 </p>
618 <dl>
468 <dt>Returns:</dt> 619 <dt>Returns:</dt>
469 <dd> 620 <dd>
470 list of selected items (list) 621 list of selected items (list)
471 </dd> 622 </dd>
472 </dl><a NAME="PluginRepositoryWidget.__showAllPlugins" ID="PluginRepositoryWidget.__showAllPlugins"></a> 623 </dl>
624 <a NAME="PluginRepositoryWidget.__showAllPlugins" ID="PluginRepositoryWidget.__showAllPlugins"></a>
473 <h4>PluginRepositoryWidget.__showAllPlugins</h4> 625 <h4>PluginRepositoryWidget.__showAllPlugins</h4>
474 <b>__showAllPlugins</b>(<i></i>) 626 <b>__showAllPlugins</b>(<i></i>)
627
475 <p> 628 <p>
476 Private slot to show all plug-ins. 629 Private slot to show all plug-ins.
477 </p><a NAME="PluginRepositoryWidget.__sslErrors" ID="PluginRepositoryWidget.__sslErrors"></a> 630 </p>
631 <a NAME="PluginRepositoryWidget.__sslErrors" ID="PluginRepositoryWidget.__sslErrors"></a>
478 <h4>PluginRepositoryWidget.__sslErrors</h4> 632 <h4>PluginRepositoryWidget.__sslErrors</h4>
479 <b>__sslErrors</b>(<i>reply, errors</i>) 633 <b>__sslErrors</b>(<i>reply, errors</i>)
634
480 <p> 635 <p>
481 Private slot to handle SSL errors. 636 Private slot to handle SSL errors.
482 </p><dl> 637 </p>
638 <dl>
639
483 <dt><i>reply</i></dt> 640 <dt><i>reply</i></dt>
484 <dd> 641 <dd>
485 reference to the reply object (QNetworkReply) 642 reference to the reply object (QNetworkReply)
486 </dd><dt><i>errors</i></dt> 643 </dd>
644 <dt><i>errors</i></dt>
487 <dd> 645 <dd>
488 list of SSL errors (list of QSslError) 646 list of SSL errors (list of QSslError)
489 </dd> 647 </dd>
490 </dl><a NAME="PluginRepositoryWidget.__updateHiddenPluginsList" ID="PluginRepositoryWidget.__updateHiddenPluginsList"></a> 648 </dl>
649 <a NAME="PluginRepositoryWidget.__updateHiddenPluginsList" ID="PluginRepositoryWidget.__updateHiddenPluginsList"></a>
491 <h4>PluginRepositoryWidget.__updateHiddenPluginsList</h4> 650 <h4>PluginRepositoryWidget.__updateHiddenPluginsList</h4>
492 <b>__updateHiddenPluginsList</b>(<i>hideList</i>) 651 <b>__updateHiddenPluginsList</b>(<i>hideList</i>)
652
493 <p> 653 <p>
494 Private method to store the list of hidden plug-ins to the settings. 654 Private method to store the list of hidden plug-ins to the settings.
495 </p><dl> 655 </p>
656 <dl>
657
496 <dt><i>hideList</i></dt> 658 <dt><i>hideList</i></dt>
497 <dd> 659 <dd>
498 list of plug-ins to add to the list of hidden ones 660 list of plug-ins to add to the list of hidden ones
499 (list of string) 661 (list of string)
500 </dd> 662 </dd>
501 </dl><a NAME="PluginRepositoryWidget.__updateList" ID="PluginRepositoryWidget.__updateList"></a> 663 </dl>
664 <a NAME="PluginRepositoryWidget.__updateList" ID="PluginRepositoryWidget.__updateList"></a>
502 <h4>PluginRepositoryWidget.__updateList</h4> 665 <h4>PluginRepositoryWidget.__updateList</h4>
503 <b>__updateList</b>(<i></i>) 666 <b>__updateList</b>(<i></i>)
667
504 <p> 668 <p>
505 Private slot to download a new list and display the contents. 669 Private slot to download a new list and display the contents.
506 </p><a NAME="PluginRepositoryWidget.__updateStatus" ID="PluginRepositoryWidget.__updateStatus"></a> 670 </p>
671 <a NAME="PluginRepositoryWidget.__updateStatus" ID="PluginRepositoryWidget.__updateStatus"></a>
507 <h4>PluginRepositoryWidget.__updateStatus</h4> 672 <h4>PluginRepositoryWidget.__updateStatus</h4>
508 <b>__updateStatus</b>(<i>filename, version</i>) 673 <b>__updateStatus</b>(<i>filename, version</i>)
674
509 <p> 675 <p>
510 Private method to check the given archive update status. 676 Private method to check the given archive update status.
511 </p><dl> 677 </p>
678 <dl>
679
512 <dt><i>filename</i></dt> 680 <dt><i>filename</i></dt>
513 <dd> 681 <dd>
514 data for the filename field (string) 682 data for the filename field (string)
515 </dd><dt><i>version</i></dt> 683 </dd>
684 <dt><i>version</i></dt>
516 <dd> 685 <dd>
517 data for the version field (string) 686 data for the version field (string)
518 </dd> 687 </dd>
519 </dl><dl> 688 </dl>
689 <dl>
520 <dt>Returns:</dt> 690 <dt>Returns:</dt>
521 <dd> 691 <dd>
522 plug-in update status (integer, one of PluginStatusNew, 692 plug-in update status (integer, one of PluginStatusNew,
523 PluginStatusUpToDate, PluginStatusLocalUpdate, 693 PluginStatusUpToDate, PluginStatusLocalUpdate,
524 PluginStatusRemoteUpdate) 694 PluginStatusRemoteUpdate)
525 </dd> 695 </dd>
526 </dl><a NAME="PluginRepositoryWidget.addEntry" ID="PluginRepositoryWidget.addEntry"></a> 696 </dl>
697 <a NAME="PluginRepositoryWidget.addEntry" ID="PluginRepositoryWidget.addEntry"></a>
527 <h4>PluginRepositoryWidget.addEntry</h4> 698 <h4>PluginRepositoryWidget.addEntry</h4>
528 <b>addEntry</b>(<i>name, short, description, url, author, version, filename, status</i>) 699 <b>addEntry</b>(<i>name, short, description, url, author, version, filename, status</i>)
700
529 <p> 701 <p>
530 Public method to add an entry to the list. 702 Public method to add an entry to the list.
531 </p><dl> 703 </p>
704 <dl>
705
532 <dt><i>name</i></dt> 706 <dt><i>name</i></dt>
533 <dd> 707 <dd>
534 data for the name field (string) 708 data for the name field (string)
535 </dd><dt><i>short</i></dt> 709 </dd>
710 <dt><i>short</i></dt>
536 <dd> 711 <dd>
537 data for the short field (string) 712 data for the short field (string)
538 </dd><dt><i>description</i></dt> 713 </dd>
714 <dt><i>description</i></dt>
539 <dd> 715 <dd>
540 data for the description field (list of strings) 716 data for the description field (list of strings)
541 </dd><dt><i>url</i></dt> 717 </dd>
718 <dt><i>url</i></dt>
542 <dd> 719 <dd>
543 data for the url field (string) 720 data for the url field (string)
544 </dd><dt><i>author</i></dt> 721 </dd>
722 <dt><i>author</i></dt>
545 <dd> 723 <dd>
546 data for the author field (string) 724 data for the author field (string)
547 </dd><dt><i>version</i></dt> 725 </dd>
726 <dt><i>version</i></dt>
548 <dd> 727 <dd>
549 data for the version field (string) 728 data for the version field (string)
550 </dd><dt><i>filename</i></dt> 729 </dd>
730 <dt><i>filename</i></dt>
551 <dd> 731 <dd>
552 data for the filename field (string) 732 data for the filename field (string)
553 </dd><dt><i>status</i></dt> 733 </dd>
734 <dt><i>status</i></dt>
554 <dd> 735 <dd>
555 status of the plugin (string [stable, unstable, unknown]) 736 status of the plugin (string [stable, unstable, unknown])
556 </dd> 737 </dd>
557 </dl><a NAME="PluginRepositoryWidget.getDownloadedPlugins" ID="PluginRepositoryWidget.getDownloadedPlugins"></a> 738 </dl>
739 <a NAME="PluginRepositoryWidget.getDownloadedPlugins" ID="PluginRepositoryWidget.getDownloadedPlugins"></a>
558 <h4>PluginRepositoryWidget.getDownloadedPlugins</h4> 740 <h4>PluginRepositoryWidget.getDownloadedPlugins</h4>
559 <b>getDownloadedPlugins</b>(<i></i>) 741 <b>getDownloadedPlugins</b>(<i></i>)
742
560 <p> 743 <p>
561 Public method to get the list of recently downloaded plugin files. 744 Public method to get the list of recently downloaded plugin files.
562 </p><dl> 745 </p>
746 <dl>
563 <dt>Returns:</dt> 747 <dt>Returns:</dt>
564 <dd> 748 <dd>
565 list of plugin filenames (list of strings) 749 list of plugin filenames (list of strings)
566 </dd> 750 </dd>
567 </dl><a NAME="PluginRepositoryWidget.on_buttonBox_clicked" ID="PluginRepositoryWidget.on_buttonBox_clicked"></a> 751 </dl>
752 <a NAME="PluginRepositoryWidget.on_buttonBox_clicked" ID="PluginRepositoryWidget.on_buttonBox_clicked"></a>
568 <h4>PluginRepositoryWidget.on_buttonBox_clicked</h4> 753 <h4>PluginRepositoryWidget.on_buttonBox_clicked</h4>
569 <b>on_buttonBox_clicked</b>(<i>button</i>) 754 <b>on_buttonBox_clicked</b>(<i>button</i>)
755
570 <p> 756 <p>
571 Private slot to handle the click of a button of the button box. 757 Private slot to handle the click of a button of the button box.
572 </p><dl> 758 </p>
759 <dl>
760
573 <dt><i>button</i></dt> 761 <dt><i>button</i></dt>
574 <dd> 762 <dd>
575 reference to the button pressed (QAbstractButton) 763 reference to the button pressed (QAbstractButton)
576 </dd> 764 </dd>
577 </dl><a NAME="PluginRepositoryWidget.on_repositoryList_currentItemChanged" ID="PluginRepositoryWidget.on_repositoryList_currentItemChanged"></a> 765 </dl>
766 <a NAME="PluginRepositoryWidget.on_repositoryList_currentItemChanged" ID="PluginRepositoryWidget.on_repositoryList_currentItemChanged"></a>
578 <h4>PluginRepositoryWidget.on_repositoryList_currentItemChanged</h4> 767 <h4>PluginRepositoryWidget.on_repositoryList_currentItemChanged</h4>
579 <b>on_repositoryList_currentItemChanged</b>(<i>current, previous</i>) 768 <b>on_repositoryList_currentItemChanged</b>(<i>current, previous</i>)
769
580 <p> 770 <p>
581 Private slot to handle the change of the current item. 771 Private slot to handle the change of the current item.
582 </p><dl> 772 </p>
773 <dl>
774
583 <dt><i>current</i></dt> 775 <dt><i>current</i></dt>
584 <dd> 776 <dd>
585 reference to the new current item (QTreeWidgetItem) 777 reference to the new current item (QTreeWidgetItem)
586 </dd><dt><i>previous</i></dt> 778 </dd>
779 <dt><i>previous</i></dt>
587 <dd> 780 <dd>
588 reference to the old current item (QTreeWidgetItem) 781 reference to the old current item (QTreeWidgetItem)
589 </dd> 782 </dd>
590 </dl><a NAME="PluginRepositoryWidget.on_repositoryList_customContextMenuRequested" ID="PluginRepositoryWidget.on_repositoryList_customContextMenuRequested"></a> 783 </dl>
784 <a NAME="PluginRepositoryWidget.on_repositoryList_customContextMenuRequested" ID="PluginRepositoryWidget.on_repositoryList_customContextMenuRequested"></a>
591 <h4>PluginRepositoryWidget.on_repositoryList_customContextMenuRequested</h4> 785 <h4>PluginRepositoryWidget.on_repositoryList_customContextMenuRequested</h4>
592 <b>on_repositoryList_customContextMenuRequested</b>(<i>pos</i>) 786 <b>on_repositoryList_customContextMenuRequested</b>(<i>pos</i>)
787
593 <p> 788 <p>
594 Private slot to show the context menu. 789 Private slot to show the context menu.
595 </p><dl> 790 </p>
791 <dl>
792
596 <dt><i>pos</i></dt> 793 <dt><i>pos</i></dt>
597 <dd> 794 <dd>
598 position to show the menu (QPoint) 795 position to show the menu (QPoint)
599 </dd> 796 </dd>
600 </dl><a NAME="PluginRepositoryWidget.on_repositoryList_itemSelectionChanged" ID="PluginRepositoryWidget.on_repositoryList_itemSelectionChanged"></a> 797 </dl>
798 <a NAME="PluginRepositoryWidget.on_repositoryList_itemSelectionChanged" ID="PluginRepositoryWidget.on_repositoryList_itemSelectionChanged"></a>
601 <h4>PluginRepositoryWidget.on_repositoryList_itemSelectionChanged</h4> 799 <h4>PluginRepositoryWidget.on_repositoryList_itemSelectionChanged</h4>
602 <b>on_repositoryList_itemSelectionChanged</b>(<i></i>) 800 <b>on_repositoryList_itemSelectionChanged</b>(<i></i>)
801
603 <p> 802 <p>
604 Private slot to handle a change of the selection. 803 Private slot to handle a change of the selection.
605 </p><a NAME="PluginRepositoryWidget.on_repositoryUrlEditButton_toggled" ID="PluginRepositoryWidget.on_repositoryUrlEditButton_toggled"></a> 804 </p>
805 <a NAME="PluginRepositoryWidget.on_repositoryUrlEditButton_toggled" ID="PluginRepositoryWidget.on_repositoryUrlEditButton_toggled"></a>
606 <h4>PluginRepositoryWidget.on_repositoryUrlEditButton_toggled</h4> 806 <h4>PluginRepositoryWidget.on_repositoryUrlEditButton_toggled</h4>
607 <b>on_repositoryUrlEditButton_toggled</b>(<i>checked</i>) 807 <b>on_repositoryUrlEditButton_toggled</b>(<i>checked</i>)
808
608 <p> 809 <p>
609 Private slot to set the read only status of the repository URL line 810 Private slot to set the read only status of the repository URL line
610 edit. 811 edit.
611 </p><dl> 812 </p>
813 <dl>
814
612 <dt><i>checked</i></dt> 815 <dt><i>checked</i></dt>
613 <dd> 816 <dd>
614 state of the push button (boolean) 817 state of the push button (boolean)
615 </dd> 818 </dd>
616 </dl> 819 </dl>
617 <div align="right"><a href="#top">Up</a></div> 820 <div align="right"><a href="#top">Up</a></div>
618 <hr /><hr /> 821 <hr />
822 <hr />
619 <a NAME="PluginRepositoryWindow" ID="PluginRepositoryWindow"></a> 823 <a NAME="PluginRepositoryWindow" ID="PluginRepositoryWindow"></a>
620 <h2>PluginRepositoryWindow</h2> 824 <h2>PluginRepositoryWindow</h2>
825
621 <p> 826 <p>
622 Main window class for the standalone dialog. 827 Main window class for the standalone dialog.
623 </p> 828 </p>
624 <h3>Derived from</h3> 829 <h3>Derived from</h3>
625 E5MainWindow 830 E5MainWindow
626 <h3>Class Attributes</h3> 831 <h3>Class Attributes</h3>
832
627 <table> 833 <table>
628 <tr><td>None</td></tr> 834 <tr><td>None</td></tr>
629 </table> 835 </table>
630 <h3>Class Methods</h3> 836 <h3>Class Methods</h3>
837
631 <table> 838 <table>
632 <tr><td>None</td></tr> 839 <tr><td>None</td></tr>
633 </table> 840 </table>
634 <h3>Methods</h3> 841 <h3>Methods</h3>
635 <table> 842
843 <table>
844
636 <tr> 845 <tr>
637 <td><a href="#PluginRepositoryWindow.__init__">PluginRepositoryWindow</a></td> 846 <td><a href="#PluginRepositoryWindow.__init__">PluginRepositoryWindow</a></td>
638 <td>Constructor</td> 847 <td>Constructor</td>
639 </tr><tr> 848 </tr>
849 <tr>
640 <td><a href="#PluginRepositoryWindow.__startPluginInstall">__startPluginInstall</a></td> 850 <td><a href="#PluginRepositoryWindow.__startPluginInstall">__startPluginInstall</a></td>
641 <td>Private slot to start the eric6 plugin installation dialog.</td> 851 <td>Private slot to start the eric6 plugin installation dialog.</td>
642 </tr> 852 </tr>
643 </table> 853 </table>
644 <h3>Static Methods</h3> 854 <h3>Static Methods</h3>
855
645 <table> 856 <table>
646 <tr><td>None</td></tr> 857 <tr><td>None</td></tr>
647 </table> 858 </table>
859
648 <a NAME="PluginRepositoryWindow.__init__" ID="PluginRepositoryWindow.__init__"></a> 860 <a NAME="PluginRepositoryWindow.__init__" ID="PluginRepositoryWindow.__init__"></a>
649 <h4>PluginRepositoryWindow (Constructor)</h4> 861 <h4>PluginRepositoryWindow (Constructor)</h4>
650 <b>PluginRepositoryWindow</b>(<i>parent=None</i>) 862 <b>PluginRepositoryWindow</b>(<i>parent=None</i>)
863
651 <p> 864 <p>
652 Constructor 865 Constructor
653 </p><dl> 866 </p>
867 <dl>
868
654 <dt><i>parent</i></dt> 869 <dt><i>parent</i></dt>
655 <dd> 870 <dd>
656 reference to the parent widget (QWidget) 871 reference to the parent widget (QWidget)
657 </dd> 872 </dd>
658 </dl><a NAME="PluginRepositoryWindow.__startPluginInstall" ID="PluginRepositoryWindow.__startPluginInstall"></a> 873 </dl>
874 <a NAME="PluginRepositoryWindow.__startPluginInstall" ID="PluginRepositoryWindow.__startPluginInstall"></a>
659 <h4>PluginRepositoryWindow.__startPluginInstall</h4> 875 <h4>PluginRepositoryWindow.__startPluginInstall</h4>
660 <b>__startPluginInstall</b>(<i></i>) 876 <b>__startPluginInstall</b>(<i></i>)
877
661 <p> 878 <p>
662 Private slot to start the eric6 plugin installation dialog. 879 Private slot to start the eric6 plugin installation dialog.
663 </p> 880 </p>
664 <div align="right"><a href="#top">Up</a></div> 881 <div align="right"><a href="#top">Up</a></div>
665 <hr /><hr /> 882 <hr />
883 <hr />
666 <a NAME="PluginRepositoryDownloadCleanup" ID="PluginRepositoryDownloadCleanup"></a> 884 <a NAME="PluginRepositoryDownloadCleanup" ID="PluginRepositoryDownloadCleanup"></a>
667 <h2>PluginRepositoryDownloadCleanup</h2> 885 <h2>PluginRepositoryDownloadCleanup</h2>
668 <b>PluginRepositoryDownloadCleanup</b>(<i>quiet=False</i>) 886 <b>PluginRepositoryDownloadCleanup</b>(<i>quiet=False</i>)
887
669 <p> 888 <p>
670 Module function to clean up the plug-in downloads area. 889 Module function to clean up the plug-in downloads area.
671 </p><dl> 890 </p>
891 <dl>
892
672 <dt><i>quiet</i> (bool)</dt> 893 <dt><i>quiet</i> (bool)</dt>
673 <dd> 894 <dd>
674 flag indicating quiet operations 895 flag indicating quiet operations
675 </dd> 896 </dd>
676 </dl> 897 </dl>
677 <div align="right"><a href="#top">Up</a></div> 898 <div align="right"><a href="#top">Up</a></div>
678 <hr /><hr /> 899 <hr />
900 <hr />
679 <a NAME="registerPlugin" ID="registerPlugin"></a> 901 <a NAME="registerPlugin" ID="registerPlugin"></a>
680 <h2>registerPlugin</h2> 902 <h2>registerPlugin</h2>
681 <b>registerPlugin</b>(<i>name, short, description, url, author, version, filename, status</i>) 903 <b>registerPlugin</b>(<i>name, short, description, url, author, version, filename, status</i>)
904
682 <p> 905 <p>
683 Method to register a plug-in's data. 906 Method to register a plug-in's data.
684 </p><dl> 907 </p>
908 <dl>
909
685 <dt><i>name</i></dt> 910 <dt><i>name</i></dt>
686 <dd> 911 <dd>
687 data for the name field (string) 912 data for the name field (string)
688 </dd><dt><i>short</i></dt> 913 </dd>
914 <dt><i>short</i></dt>
689 <dd> 915 <dd>
690 data for the short field (string) 916 data for the short field (string)
691 </dd><dt><i>description</i></dt> 917 </dd>
918 <dt><i>description</i></dt>
692 <dd> 919 <dd>
693 data for the description field (list of strings) 920 data for the description field (list of strings)
694 </dd><dt><i>url</i></dt> 921 </dd>
922 <dt><i>url</i></dt>
695 <dd> 923 <dd>
696 data for the url field (string) 924 data for the url field (string)
697 </dd><dt><i>author</i></dt> 925 </dd>
926 <dt><i>author</i></dt>
698 <dd> 927 <dd>
699 data for the author field (string) 928 data for the author field (string)
700 </dd><dt><i>version</i></dt> 929 </dd>
930 <dt><i>version</i></dt>
701 <dd> 931 <dd>
702 data for the version field (string) 932 data for the version field (string)
703 </dd><dt><i>filename</i></dt> 933 </dd>
934 <dt><i>filename</i></dt>
704 <dd> 935 <dd>
705 data for the filename field (string) 936 data for the filename field (string)
706 </dd><dt><i>status</i></dt> 937 </dd>
938 <dt><i>status</i></dt>
707 <dd> 939 <dd>
708 status of the plugin (string [stable, unstable, unknown]) 940 status of the plugin (string [stable, unstable, unknown])
709 </dd> 941 </dd>
710 </dl> 942 </dl>
711 <div align="right"><a href="#top">Up</a></div> 943 <div align="right"><a href="#top">Up</a></div>

eric ide

mercurial