5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>eric7.Plugins.VcsPlugins.vcsPySvn.SvnRepoBrowserDialog</h1> |
9 <h1>eric7.Plugins.VcsPlugins.vcsPySvn.SvnRepoBrowserDialog</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing the subversion repository browser dialog. |
11 Module implementing the subversion repository browser dialog. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
15 |
15 <table> |
16 <table> |
16 <tr><td>None</td></tr> |
17 <tr><td>None</td></tr> |
17 </table> |
18 </table> |
18 |
19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
20 <table> |
21 <table> |
|
22 |
|
23 <tr> |
21 <tr> |
24 <td><a href="#SvnRepoBrowserDialog">SvnRepoBrowserDialog</a></td> |
22 <td><a href="#SvnRepoBrowserDialog">SvnRepoBrowserDialog</a></td> |
25 <td>Class implementing the subversion repository browser dialog.</td> |
23 <td>Class implementing the subversion repository browser dialog.</td> |
26 </tr> |
24 </tr> |
27 </table> |
25 </table> |
|
26 |
28 <h3>Functions</h3> |
27 <h3>Functions</h3> |
29 |
28 <table> |
30 <table> |
29 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
30 </table> |
32 </table> |
31 |
33 <hr /> |
32 <hr /> |
34 <hr /> |
33 <hr /> |
35 <a NAME="SvnRepoBrowserDialog" ID="SvnRepoBrowserDialog"></a> |
34 <a NAME="SvnRepoBrowserDialog" ID="SvnRepoBrowserDialog"></a> |
36 <h2>SvnRepoBrowserDialog</h2> |
35 <h2>SvnRepoBrowserDialog</h2> |
37 |
|
38 <p> |
36 <p> |
39 Class implementing the subversion repository browser dialog. |
37 Class implementing the subversion repository browser dialog. |
40 </p> |
38 </p> |
|
39 |
41 <h3>Derived from</h3> |
40 <h3>Derived from</h3> |
42 QDialog, SvnDialogMixin, Ui_SvnRepoBrowserDialog |
41 QDialog, SvnDialogMixin, Ui_SvnRepoBrowserDialog |
43 <h3>Class Attributes</h3> |
42 <h3>Class Attributes</h3> |
44 |
43 <table> |
45 <table> |
44 <tr><td>None</td></tr> |
46 <tr><td>None</td></tr> |
45 </table> |
47 </table> |
46 |
48 <h3>Class Methods</h3> |
47 <h3>Class Methods</h3> |
49 |
48 <table> |
50 <table> |
49 <tr><td>None</td></tr> |
51 <tr><td>None</td></tr> |
50 </table> |
52 </table> |
51 |
53 <h3>Methods</h3> |
52 <h3>Methods</h3> |
54 |
53 <table> |
55 <table> |
|
56 |
|
57 <tr> |
54 <tr> |
58 <td><a href="#SvnRepoBrowserDialog.__init__">SvnRepoBrowserDialog</a></td> |
55 <td><a href="#SvnRepoBrowserDialog.__init__">SvnRepoBrowserDialog</a></td> |
59 <td>Constructor</td> |
56 <td>Constructor</td> |
60 </tr> |
57 </tr> |
61 <tr> |
58 <tr> |
109 <tr> |
106 <tr> |
110 <td><a href="#SvnRepoBrowserDialog.start">start</a></td> |
107 <td><a href="#SvnRepoBrowserDialog.start">start</a></td> |
111 <td>Public slot to start the svn info command.</td> |
108 <td>Public slot to start the svn info command.</td> |
112 </tr> |
109 </tr> |
113 </table> |
110 </table> |
|
111 |
114 <h3>Static Methods</h3> |
112 <h3>Static Methods</h3> |
115 |
113 <table> |
116 <table> |
114 <tr><td>None</td></tr> |
117 <tr><td>None</td></tr> |
115 </table> |
118 </table> |
116 |
119 |
117 |
120 <a NAME="SvnRepoBrowserDialog.__init__" ID="SvnRepoBrowserDialog.__init__"></a> |
118 <a NAME="SvnRepoBrowserDialog.__init__" ID="SvnRepoBrowserDialog.__init__"></a> |
121 <h4>SvnRepoBrowserDialog (Constructor)</h4> |
119 <h4>SvnRepoBrowserDialog (Constructor)</h4> |
122 <b>SvnRepoBrowserDialog</b>(<i>vcs, mode="browse", parent=None</i>) |
120 <b>SvnRepoBrowserDialog</b>(<i>vcs, mode="browse", parent=None</i>) |
123 |
|
124 <p> |
121 <p> |
125 Constructor |
122 Constructor |
126 </p> |
123 </p> |
|
124 |
127 <dl> |
125 <dl> |
128 |
126 |
129 <dt><i>vcs</i> (Subversion)</dt> |
127 <dt><i>vcs</i> (Subversion)</dt> |
130 <dd> |
128 <dd> |
131 reference to the vcs object |
129 reference to the vcs object |
140 </dd> |
138 </dd> |
141 </dl> |
139 </dl> |
142 <a NAME="SvnRepoBrowserDialog.__generateItem" ID="SvnRepoBrowserDialog.__generateItem"></a> |
140 <a NAME="SvnRepoBrowserDialog.__generateItem" ID="SvnRepoBrowserDialog.__generateItem"></a> |
143 <h4>SvnRepoBrowserDialog.__generateItem</h4> |
141 <h4>SvnRepoBrowserDialog.__generateItem</h4> |
144 <b>__generateItem</b>(<i>parent, repopath, revision, author, size, date, nodekind, url</i>) |
142 <b>__generateItem</b>(<i>parent, repopath, revision, author, size, date, nodekind, url</i>) |
145 |
|
146 <p> |
143 <p> |
147 Private method to generate a tree item in the repository tree. |
144 Private method to generate a tree item in the repository tree. |
148 </p> |
145 </p> |
|
146 |
149 <dl> |
147 <dl> |
150 |
148 |
151 <dt><i>parent</i> (QTreeWidget or QTreeWidgetItem)</dt> |
149 <dt><i>parent</i> (QTreeWidget or QTreeWidgetItem)</dt> |
152 <dd> |
150 <dd> |
153 parent of the item to be created |
151 parent of the item to be created |
194 </dd> |
192 </dd> |
195 </dl> |
193 </dl> |
196 <a NAME="SvnRepoBrowserDialog.__listRepo" ID="SvnRepoBrowserDialog.__listRepo"></a> |
194 <a NAME="SvnRepoBrowserDialog.__listRepo" ID="SvnRepoBrowserDialog.__listRepo"></a> |
197 <h4>SvnRepoBrowserDialog.__listRepo</h4> |
195 <h4>SvnRepoBrowserDialog.__listRepo</h4> |
198 <b>__listRepo</b>(<i>url, parent=None</i>) |
196 <b>__listRepo</b>(<i>url, parent=None</i>) |
199 |
|
200 <p> |
197 <p> |
201 Private method to perform the svn list command. |
198 Private method to perform the svn list command. |
202 </p> |
199 </p> |
|
200 |
203 <dl> |
201 <dl> |
204 |
202 |
205 <dt><i>url</i> (str)</dt> |
203 <dt><i>url</i> (str)</dt> |
206 <dd> |
204 <dd> |
207 the repository URL to browser |
205 the repository URL to browser |
238 </dd> |
236 </dd> |
239 </dl> |
237 </dl> |
240 <a NAME="SvnRepoBrowserDialog.__resizeColumns" ID="SvnRepoBrowserDialog.__resizeColumns"></a> |
238 <a NAME="SvnRepoBrowserDialog.__resizeColumns" ID="SvnRepoBrowserDialog.__resizeColumns"></a> |
241 <h4>SvnRepoBrowserDialog.__resizeColumns</h4> |
239 <h4>SvnRepoBrowserDialog.__resizeColumns</h4> |
242 <b>__resizeColumns</b>(<i></i>) |
240 <b>__resizeColumns</b>(<i></i>) |
243 |
|
244 <p> |
241 <p> |
245 Private method to resize the tree columns. |
242 Private method to resize the tree columns. |
246 </p> |
243 </p> |
|
244 |
247 <a NAME="SvnRepoBrowserDialog.__resort" ID="SvnRepoBrowserDialog.__resort"></a> |
245 <a NAME="SvnRepoBrowserDialog.__resort" ID="SvnRepoBrowserDialog.__resort"></a> |
248 <h4>SvnRepoBrowserDialog.__resort</h4> |
246 <h4>SvnRepoBrowserDialog.__resort</h4> |
249 <b>__resort</b>(<i></i>) |
247 <b>__resort</b>(<i></i>) |
250 |
|
251 <p> |
248 <p> |
252 Private method to resort the tree. |
249 Private method to resort the tree. |
253 </p> |
250 </p> |
|
251 |
254 <a NAME="SvnRepoBrowserDialog.__showError" ID="SvnRepoBrowserDialog.__showError"></a> |
252 <a NAME="SvnRepoBrowserDialog.__showError" ID="SvnRepoBrowserDialog.__showError"></a> |
255 <h4>SvnRepoBrowserDialog.__showError</h4> |
253 <h4>SvnRepoBrowserDialog.__showError</h4> |
256 <b>__showError</b>(<i>msg</i>) |
254 <b>__showError</b>(<i>msg</i>) |
257 |
|
258 <p> |
255 <p> |
259 Private slot to show an error message. |
256 Private slot to show an error message. |
260 </p> |
257 </p> |
|
258 |
261 <dl> |
259 <dl> |
262 |
260 |
263 <dt><i>msg</i> (str)</dt> |
261 <dt><i>msg</i> (str)</dt> |
264 <dd> |
262 <dd> |
265 error message to show |
263 error message to show |
266 </dd> |
264 </dd> |
267 </dl> |
265 </dl> |
268 <a NAME="SvnRepoBrowserDialog.accept" ID="SvnRepoBrowserDialog.accept"></a> |
266 <a NAME="SvnRepoBrowserDialog.accept" ID="SvnRepoBrowserDialog.accept"></a> |
269 <h4>SvnRepoBrowserDialog.accept</h4> |
267 <h4>SvnRepoBrowserDialog.accept</h4> |
270 <b>accept</b>(<i></i>) |
268 <b>accept</b>(<i></i>) |
271 |
|
272 <p> |
269 <p> |
273 Public slot called when the dialog is accepted. |
270 Public slot called when the dialog is accepted. |
274 </p> |
271 </p> |
|
272 |
275 <a NAME="SvnRepoBrowserDialog.getSelectedUrl" ID="SvnRepoBrowserDialog.getSelectedUrl"></a> |
273 <a NAME="SvnRepoBrowserDialog.getSelectedUrl" ID="SvnRepoBrowserDialog.getSelectedUrl"></a> |
276 <h4>SvnRepoBrowserDialog.getSelectedUrl</h4> |
274 <h4>SvnRepoBrowserDialog.getSelectedUrl</h4> |
277 <b>getSelectedUrl</b>(<i></i>) |
275 <b>getSelectedUrl</b>(<i></i>) |
278 |
|
279 <p> |
276 <p> |
280 Public method to retrieve the selected repository URL. |
277 Public method to retrieve the selected repository URL. |
281 </p> |
278 </p> |
|
279 |
282 <dl> |
280 <dl> |
283 <dt>Return:</dt> |
281 <dt>Return:</dt> |
284 <dd> |
282 <dd> |
285 the selected repository URL |
283 the selected repository URL |
286 </dd> |
284 </dd> |
292 </dd> |
290 </dd> |
293 </dl> |
291 </dl> |
294 <a NAME="SvnRepoBrowserDialog.on_repoTree_itemCollapsed" ID="SvnRepoBrowserDialog.on_repoTree_itemCollapsed"></a> |
292 <a NAME="SvnRepoBrowserDialog.on_repoTree_itemCollapsed" ID="SvnRepoBrowserDialog.on_repoTree_itemCollapsed"></a> |
295 <h4>SvnRepoBrowserDialog.on_repoTree_itemCollapsed</h4> |
293 <h4>SvnRepoBrowserDialog.on_repoTree_itemCollapsed</h4> |
296 <b>on_repoTree_itemCollapsed</b>(<i>item</i>) |
294 <b>on_repoTree_itemCollapsed</b>(<i>item</i>) |
297 |
|
298 <p> |
295 <p> |
299 Private slot called when an item is collapsed. |
296 Private slot called when an item is collapsed. |
300 </p> |
297 </p> |
|
298 |
301 <dl> |
299 <dl> |
302 |
300 |
303 <dt><i>item</i> (QTreeWidgetItem)</dt> |
301 <dt><i>item</i> (QTreeWidgetItem)</dt> |
304 <dd> |
302 <dd> |
305 reference to the item to be collapsed |
303 reference to the item to be collapsed |
306 </dd> |
304 </dd> |
307 </dl> |
305 </dl> |
308 <a NAME="SvnRepoBrowserDialog.on_repoTree_itemExpanded" ID="SvnRepoBrowserDialog.on_repoTree_itemExpanded"></a> |
306 <a NAME="SvnRepoBrowserDialog.on_repoTree_itemExpanded" ID="SvnRepoBrowserDialog.on_repoTree_itemExpanded"></a> |
309 <h4>SvnRepoBrowserDialog.on_repoTree_itemExpanded</h4> |
307 <h4>SvnRepoBrowserDialog.on_repoTree_itemExpanded</h4> |
310 <b>on_repoTree_itemExpanded</b>(<i>item</i>) |
308 <b>on_repoTree_itemExpanded</b>(<i>item</i>) |
311 |
|
312 <p> |
309 <p> |
313 Private slot called when an item is expanded. |
310 Private slot called when an item is expanded. |
314 </p> |
311 </p> |
|
312 |
315 <dl> |
313 <dl> |
316 |
314 |
317 <dt><i>item</i> (QTreeWidgetItem)</dt> |
315 <dt><i>item</i> (QTreeWidgetItem)</dt> |
318 <dd> |
316 <dd> |
319 reference to the item to be expanded |
317 reference to the item to be expanded |
320 </dd> |
318 </dd> |
321 </dl> |
319 </dl> |
322 <a NAME="SvnRepoBrowserDialog.on_repoTree_itemSelectionChanged" ID="SvnRepoBrowserDialog.on_repoTree_itemSelectionChanged"></a> |
320 <a NAME="SvnRepoBrowserDialog.on_repoTree_itemSelectionChanged" ID="SvnRepoBrowserDialog.on_repoTree_itemSelectionChanged"></a> |
323 <h4>SvnRepoBrowserDialog.on_repoTree_itemSelectionChanged</h4> |
321 <h4>SvnRepoBrowserDialog.on_repoTree_itemSelectionChanged</h4> |
324 <b>on_repoTree_itemSelectionChanged</b>(<i></i>) |
322 <b>on_repoTree_itemSelectionChanged</b>(<i></i>) |
325 |
|
326 <p> |
323 <p> |
327 Private slot called when the selection changes. |
324 Private slot called when the selection changes. |
328 </p> |
325 </p> |
|
326 |
329 <a NAME="SvnRepoBrowserDialog.on_urlCombo_currentIndexChanged" ID="SvnRepoBrowserDialog.on_urlCombo_currentIndexChanged"></a> |
327 <a NAME="SvnRepoBrowserDialog.on_urlCombo_currentIndexChanged" ID="SvnRepoBrowserDialog.on_urlCombo_currentIndexChanged"></a> |
330 <h4>SvnRepoBrowserDialog.on_urlCombo_currentIndexChanged</h4> |
328 <h4>SvnRepoBrowserDialog.on_urlCombo_currentIndexChanged</h4> |
331 <b>on_urlCombo_currentIndexChanged</b>(<i>index</i>) |
329 <b>on_urlCombo_currentIndexChanged</b>(<i>index</i>) |
332 |
|
333 <p> |
330 <p> |
334 Private slot called, when a new repository URL is entered or selected. |
331 Private slot called, when a new repository URL is entered or selected. |
335 </p> |
332 </p> |
|
333 |
336 <dl> |
334 <dl> |
337 |
335 |
338 <dt><i>index</i> (int)</dt> |
336 <dt><i>index</i> (int)</dt> |
339 <dd> |
337 <dd> |
340 of the current item |
338 of the current item |
341 </dd> |
339 </dd> |
342 </dl> |
340 </dl> |
343 <a NAME="SvnRepoBrowserDialog.start" ID="SvnRepoBrowserDialog.start"></a> |
341 <a NAME="SvnRepoBrowserDialog.start" ID="SvnRepoBrowserDialog.start"></a> |
344 <h4>SvnRepoBrowserDialog.start</h4> |
342 <h4>SvnRepoBrowserDialog.start</h4> |
345 <b>start</b>(<i>url</i>) |
343 <b>start</b>(<i>url</i>) |
346 |
|
347 <p> |
344 <p> |
348 Public slot to start the svn info command. |
345 Public slot to start the svn info command. |
349 </p> |
346 </p> |
|
347 |
350 <dl> |
348 <dl> |
351 |
349 |
352 <dt><i>url</i> (str)</dt> |
350 <dt><i>url</i> (str)</dt> |
353 <dd> |
351 <dd> |
354 the repository URL to browser |
352 the repository URL to browser |