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.vcsSubversion.SvnRepoBrowserDialog</h1> |
9 <h1>eric7.Plugins.VcsPlugins.vcsSubversion.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 |
|
16 <table> |
15 <table> |
17 <tr><td>None</td></tr> |
16 <tr><td>None</td></tr> |
18 </table> |
17 </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 |
|
30 <table> |
28 <table> |
31 <tr><td>None</td></tr> |
29 <tr><td>None</td></tr> |
32 </table> |
30 </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, Ui_SvnRepoBrowserDialog |
41 QDialog, Ui_SvnRepoBrowserDialog |
43 <h3>Class Attributes</h3> |
42 <h3>Class Attributes</h3> |
44 |
|
45 <table> |
43 <table> |
46 <tr><td>None</td></tr> |
44 <tr><td>None</td></tr> |
47 </table> |
45 </table> |
|
46 |
48 <h3>Class Methods</h3> |
47 <h3>Class Methods</h3> |
49 |
|
50 <table> |
48 <table> |
51 <tr><td>None</td></tr> |
49 <tr><td>None</td></tr> |
52 </table> |
50 </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> |
176 </dd> |
174 </dd> |
177 </dl> |
175 </dl> |
178 <a NAME="SvnRepoBrowserDialog.__finish" ID="SvnRepoBrowserDialog.__finish"></a> |
176 <a NAME="SvnRepoBrowserDialog.__finish" ID="SvnRepoBrowserDialog.__finish"></a> |
179 <h4>SvnRepoBrowserDialog.__finish</h4> |
177 <h4>SvnRepoBrowserDialog.__finish</h4> |
180 <b>__finish</b>(<i></i>) |
178 <b>__finish</b>(<i></i>) |
181 |
|
182 <p> |
179 <p> |
183 Private slot called when the process finished or the user pressed the |
180 Private slot called when the process finished or the user pressed the |
184 button. |
181 button. |
185 </p> |
182 </p> |
|
183 |
186 <a NAME="SvnRepoBrowserDialog.__generateItem" ID="SvnRepoBrowserDialog.__generateItem"></a> |
184 <a NAME="SvnRepoBrowserDialog.__generateItem" ID="SvnRepoBrowserDialog.__generateItem"></a> |
187 <h4>SvnRepoBrowserDialog.__generateItem</h4> |
185 <h4>SvnRepoBrowserDialog.__generateItem</h4> |
188 <b>__generateItem</b>(<i>repopath, revision, author, size, date, nodekind, url</i>) |
186 <b>__generateItem</b>(<i>repopath, revision, author, size, date, nodekind, url</i>) |
189 |
|
190 <p> |
187 <p> |
191 Private method to generate a tree item in the repository tree. |
188 Private method to generate a tree item in the repository tree. |
192 </p> |
189 </p> |
|
190 |
193 <dl> |
191 <dl> |
194 |
192 |
195 <dt><i>repopath</i> (str)</dt> |
193 <dt><i>repopath</i> (str)</dt> |
196 <dd> |
194 <dd> |
197 path of the item |
195 path of the item |
296 </dd> |
294 </dd> |
297 </dl> |
295 </dl> |
298 <a NAME="SvnRepoBrowserDialog.__readStderr" ID="SvnRepoBrowserDialog.__readStderr"></a> |
296 <a NAME="SvnRepoBrowserDialog.__readStderr" ID="SvnRepoBrowserDialog.__readStderr"></a> |
299 <h4>SvnRepoBrowserDialog.__readStderr</h4> |
297 <h4>SvnRepoBrowserDialog.__readStderr</h4> |
300 <b>__readStderr</b>(<i></i>) |
298 <b>__readStderr</b>(<i></i>) |
301 |
|
302 <p> |
299 <p> |
303 Private slot to handle the readyReadStandardError signal. |
300 Private slot to handle the readyReadStandardError signal. |
304 </p> |
301 </p> |
305 <p> |
302 <p> |
306 It reads the error output of the process and inserts it into the |
303 It reads the error output of the process and inserts it into the |
307 error pane. |
304 error pane. |
308 </p> |
305 </p> |
|
306 |
309 <a NAME="SvnRepoBrowserDialog.__readStdout" ID="SvnRepoBrowserDialog.__readStdout"></a> |
307 <a NAME="SvnRepoBrowserDialog.__readStdout" ID="SvnRepoBrowserDialog.__readStdout"></a> |
310 <h4>SvnRepoBrowserDialog.__readStdout</h4> |
308 <h4>SvnRepoBrowserDialog.__readStdout</h4> |
311 <b>__readStdout</b>(<i></i>) |
309 <b>__readStdout</b>(<i></i>) |
312 |
|
313 <p> |
310 <p> |
314 Private slot to handle the readyReadStandardOutput signal. |
311 Private slot to handle the readyReadStandardOutput signal. |
315 </p> |
312 </p> |
316 <p> |
313 <p> |
317 It reads the output of the process, formats it and inserts it into |
314 It reads the output of the process, formats it and inserts it into |
318 the contents pane. |
315 the contents pane. |
319 </p> |
316 </p> |
|
317 |
320 <a NAME="SvnRepoBrowserDialog.__repoRoot" ID="SvnRepoBrowserDialog.__repoRoot"></a> |
318 <a NAME="SvnRepoBrowserDialog.__repoRoot" ID="SvnRepoBrowserDialog.__repoRoot"></a> |
321 <h4>SvnRepoBrowserDialog.__repoRoot</h4> |
319 <h4>SvnRepoBrowserDialog.__repoRoot</h4> |
322 <b>__repoRoot</b>(<i>url</i>) |
320 <b>__repoRoot</b>(<i>url</i>) |
323 |
|
324 <p> |
321 <p> |
325 Private method to get the repository root using the svn info command. |
322 Private method to get the repository root using the svn info command. |
326 </p> |
323 </p> |
|
324 |
327 <dl> |
325 <dl> |
328 |
326 |
329 <dt><i>url</i> (str)</dt> |
327 <dt><i>url</i> (str)</dt> |
330 <dd> |
328 <dd> |
331 the repository URL to browser |
329 the repository URL to browser |
344 </dd> |
342 </dd> |
345 </dl> |
343 </dl> |
346 <a NAME="SvnRepoBrowserDialog.__resizeColumns" ID="SvnRepoBrowserDialog.__resizeColumns"></a> |
344 <a NAME="SvnRepoBrowserDialog.__resizeColumns" ID="SvnRepoBrowserDialog.__resizeColumns"></a> |
347 <h4>SvnRepoBrowserDialog.__resizeColumns</h4> |
345 <h4>SvnRepoBrowserDialog.__resizeColumns</h4> |
348 <b>__resizeColumns</b>(<i></i>) |
346 <b>__resizeColumns</b>(<i></i>) |
349 |
|
350 <p> |
347 <p> |
351 Private method to resize the tree columns. |
348 Private method to resize the tree columns. |
352 </p> |
349 </p> |
|
350 |
353 <a NAME="SvnRepoBrowserDialog.__resort" ID="SvnRepoBrowserDialog.__resort"></a> |
351 <a NAME="SvnRepoBrowserDialog.__resort" ID="SvnRepoBrowserDialog.__resort"></a> |
354 <h4>SvnRepoBrowserDialog.__resort</h4> |
352 <h4>SvnRepoBrowserDialog.__resort</h4> |
355 <b>__resort</b>(<i></i>) |
353 <b>__resort</b>(<i></i>) |
356 |
|
357 <p> |
354 <p> |
358 Private method to resort the tree. |
355 Private method to resort the tree. |
359 </p> |
356 </p> |
|
357 |
360 <a NAME="SvnRepoBrowserDialog.accept" ID="SvnRepoBrowserDialog.accept"></a> |
358 <a NAME="SvnRepoBrowserDialog.accept" ID="SvnRepoBrowserDialog.accept"></a> |
361 <h4>SvnRepoBrowserDialog.accept</h4> |
359 <h4>SvnRepoBrowserDialog.accept</h4> |
362 <b>accept</b>(<i></i>) |
360 <b>accept</b>(<i></i>) |
363 |
|
364 <p> |
361 <p> |
365 Public slot called when the dialog is accepted. |
362 Public slot called when the dialog is accepted. |
366 </p> |
363 </p> |
|
364 |
367 <a NAME="SvnRepoBrowserDialog.closeEvent" ID="SvnRepoBrowserDialog.closeEvent"></a> |
365 <a NAME="SvnRepoBrowserDialog.closeEvent" ID="SvnRepoBrowserDialog.closeEvent"></a> |
368 <h4>SvnRepoBrowserDialog.closeEvent</h4> |
366 <h4>SvnRepoBrowserDialog.closeEvent</h4> |
369 <b>closeEvent</b>(<i>e</i>) |
367 <b>closeEvent</b>(<i>e</i>) |
370 |
|
371 <p> |
368 <p> |
372 Protected slot implementing a close event handler. |
369 Protected slot implementing a close event handler. |
373 </p> |
370 </p> |
|
371 |
374 <dl> |
372 <dl> |
375 |
373 |
376 <dt><i>e</i> (QCloseEvent)</dt> |
374 <dt><i>e</i> (QCloseEvent)</dt> |
377 <dd> |
375 <dd> |
378 close event |
376 close event |
379 </dd> |
377 </dd> |
380 </dl> |
378 </dl> |
381 <a NAME="SvnRepoBrowserDialog.getSelectedUrl" ID="SvnRepoBrowserDialog.getSelectedUrl"></a> |
379 <a NAME="SvnRepoBrowserDialog.getSelectedUrl" ID="SvnRepoBrowserDialog.getSelectedUrl"></a> |
382 <h4>SvnRepoBrowserDialog.getSelectedUrl</h4> |
380 <h4>SvnRepoBrowserDialog.getSelectedUrl</h4> |
383 <b>getSelectedUrl</b>(<i></i>) |
381 <b>getSelectedUrl</b>(<i></i>) |
384 |
|
385 <p> |
382 <p> |
386 Public method to retrieve the selected repository URL. |
383 Public method to retrieve the selected repository URL. |
387 </p> |
384 </p> |
|
385 |
388 <dl> |
386 <dl> |
389 <dt>Return:</dt> |
387 <dt>Return:</dt> |
390 <dd> |
388 <dd> |
391 the selected repository URL |
389 the selected repository URL |
392 </dd> |
390 </dd> |
398 </dd> |
396 </dd> |
399 </dl> |
397 </dl> |
400 <a NAME="SvnRepoBrowserDialog.keyPressEvent" ID="SvnRepoBrowserDialog.keyPressEvent"></a> |
398 <a NAME="SvnRepoBrowserDialog.keyPressEvent" ID="SvnRepoBrowserDialog.keyPressEvent"></a> |
401 <h4>SvnRepoBrowserDialog.keyPressEvent</h4> |
399 <h4>SvnRepoBrowserDialog.keyPressEvent</h4> |
402 <b>keyPressEvent</b>(<i>evt</i>) |
400 <b>keyPressEvent</b>(<i>evt</i>) |
403 |
|
404 <p> |
401 <p> |
405 Protected slot to handle a key press event. |
402 Protected slot to handle a key press event. |
406 </p> |
403 </p> |
|
404 |
407 <dl> |
405 <dl> |
408 |
406 |
409 <dt><i>evt</i> (QKeyEvent)</dt> |
407 <dt><i>evt</i> (QKeyEvent)</dt> |
410 <dd> |
408 <dd> |
411 the key press event |
409 the key press event |
412 </dd> |
410 </dd> |
413 </dl> |
411 </dl> |
414 <a NAME="SvnRepoBrowserDialog.on_input_returnPressed" ID="SvnRepoBrowserDialog.on_input_returnPressed"></a> |
412 <a NAME="SvnRepoBrowserDialog.on_input_returnPressed" ID="SvnRepoBrowserDialog.on_input_returnPressed"></a> |
415 <h4>SvnRepoBrowserDialog.on_input_returnPressed</h4> |
413 <h4>SvnRepoBrowserDialog.on_input_returnPressed</h4> |
416 <b>on_input_returnPressed</b>(<i></i>) |
414 <b>on_input_returnPressed</b>(<i></i>) |
417 |
|
418 <p> |
415 <p> |
419 Private slot to handle the press of the return key in the input field. |
416 Private slot to handle the press of the return key in the input field. |
420 </p> |
417 </p> |
|
418 |
421 <a NAME="SvnRepoBrowserDialog.on_passwordCheckBox_toggled" ID="SvnRepoBrowserDialog.on_passwordCheckBox_toggled"></a> |
419 <a NAME="SvnRepoBrowserDialog.on_passwordCheckBox_toggled" ID="SvnRepoBrowserDialog.on_passwordCheckBox_toggled"></a> |
422 <h4>SvnRepoBrowserDialog.on_passwordCheckBox_toggled</h4> |
420 <h4>SvnRepoBrowserDialog.on_passwordCheckBox_toggled</h4> |
423 <b>on_passwordCheckBox_toggled</b>(<i>isOn</i>) |
421 <b>on_passwordCheckBox_toggled</b>(<i>isOn</i>) |
424 |
|
425 <p> |
422 <p> |
426 Private slot to handle the password checkbox toggled. |
423 Private slot to handle the password checkbox toggled. |
427 </p> |
424 </p> |
|
425 |
428 <dl> |
426 <dl> |
429 |
427 |
430 <dt><i>isOn</i> (bool)</dt> |
428 <dt><i>isOn</i> (bool)</dt> |
431 <dd> |
429 <dd> |
432 flag indicating the status of the check box |
430 flag indicating the status of the check box |
433 </dd> |
431 </dd> |
434 </dl> |
432 </dl> |
435 <a NAME="SvnRepoBrowserDialog.on_repoTree_itemCollapsed" ID="SvnRepoBrowserDialog.on_repoTree_itemCollapsed"></a> |
433 <a NAME="SvnRepoBrowserDialog.on_repoTree_itemCollapsed" ID="SvnRepoBrowserDialog.on_repoTree_itemCollapsed"></a> |
436 <h4>SvnRepoBrowserDialog.on_repoTree_itemCollapsed</h4> |
434 <h4>SvnRepoBrowserDialog.on_repoTree_itemCollapsed</h4> |
437 <b>on_repoTree_itemCollapsed</b>(<i>item</i>) |
435 <b>on_repoTree_itemCollapsed</b>(<i>item</i>) |
438 |
|
439 <p> |
436 <p> |
440 Private slot called when an item is collapsed. |
437 Private slot called when an item is collapsed. |
441 </p> |
438 </p> |
|
439 |
442 <dl> |
440 <dl> |
443 |
441 |
444 <dt><i>item</i> (QTreeWidgetItem)</dt> |
442 <dt><i>item</i> (QTreeWidgetItem)</dt> |
445 <dd> |
443 <dd> |
446 reference to the item to be collapsed |
444 reference to the item to be collapsed |
447 </dd> |
445 </dd> |
448 </dl> |
446 </dl> |
449 <a NAME="SvnRepoBrowserDialog.on_repoTree_itemExpanded" ID="SvnRepoBrowserDialog.on_repoTree_itemExpanded"></a> |
447 <a NAME="SvnRepoBrowserDialog.on_repoTree_itemExpanded" ID="SvnRepoBrowserDialog.on_repoTree_itemExpanded"></a> |
450 <h4>SvnRepoBrowserDialog.on_repoTree_itemExpanded</h4> |
448 <h4>SvnRepoBrowserDialog.on_repoTree_itemExpanded</h4> |
451 <b>on_repoTree_itemExpanded</b>(<i>item</i>) |
449 <b>on_repoTree_itemExpanded</b>(<i>item</i>) |
452 |
|
453 <p> |
450 <p> |
454 Private slot called when an item is expanded. |
451 Private slot called when an item is expanded. |
455 </p> |
452 </p> |
|
453 |
456 <dl> |
454 <dl> |
457 |
455 |
458 <dt><i>item</i> (QTreeWidgetItem)</dt> |
456 <dt><i>item</i> (QTreeWidgetItem)</dt> |
459 <dd> |
457 <dd> |
460 reference to the item to be expanded |
458 reference to the item to be expanded |
461 </dd> |
459 </dd> |
462 </dl> |
460 </dl> |
463 <a NAME="SvnRepoBrowserDialog.on_repoTree_itemSelectionChanged" ID="SvnRepoBrowserDialog.on_repoTree_itemSelectionChanged"></a> |
461 <a NAME="SvnRepoBrowserDialog.on_repoTree_itemSelectionChanged" ID="SvnRepoBrowserDialog.on_repoTree_itemSelectionChanged"></a> |
464 <h4>SvnRepoBrowserDialog.on_repoTree_itemSelectionChanged</h4> |
462 <h4>SvnRepoBrowserDialog.on_repoTree_itemSelectionChanged</h4> |
465 <b>on_repoTree_itemSelectionChanged</b>(<i></i>) |
463 <b>on_repoTree_itemSelectionChanged</b>(<i></i>) |
466 |
|
467 <p> |
464 <p> |
468 Private slot called when the selection changes. |
465 Private slot called when the selection changes. |
469 </p> |
466 </p> |
|
467 |
470 <a NAME="SvnRepoBrowserDialog.on_sendButton_clicked" ID="SvnRepoBrowserDialog.on_sendButton_clicked"></a> |
468 <a NAME="SvnRepoBrowserDialog.on_sendButton_clicked" ID="SvnRepoBrowserDialog.on_sendButton_clicked"></a> |
471 <h4>SvnRepoBrowserDialog.on_sendButton_clicked</h4> |
469 <h4>SvnRepoBrowserDialog.on_sendButton_clicked</h4> |
472 <b>on_sendButton_clicked</b>(<i></i>) |
470 <b>on_sendButton_clicked</b>(<i></i>) |
473 |
|
474 <p> |
471 <p> |
475 Private slot to send the input to the subversion process. |
472 Private slot to send the input to the subversion process. |
476 </p> |
473 </p> |
|
474 |
477 <a NAME="SvnRepoBrowserDialog.on_urlCombo_currentIndexChanged" ID="SvnRepoBrowserDialog.on_urlCombo_currentIndexChanged"></a> |
475 <a NAME="SvnRepoBrowserDialog.on_urlCombo_currentIndexChanged" ID="SvnRepoBrowserDialog.on_urlCombo_currentIndexChanged"></a> |
478 <h4>SvnRepoBrowserDialog.on_urlCombo_currentIndexChanged</h4> |
476 <h4>SvnRepoBrowserDialog.on_urlCombo_currentIndexChanged</h4> |
479 <b>on_urlCombo_currentIndexChanged</b>(<i>index</i>) |
477 <b>on_urlCombo_currentIndexChanged</b>(<i>index</i>) |
480 |
|
481 <p> |
478 <p> |
482 Private slot called, when a new repository URL is entered or selected. |
479 Private slot called, when a new repository URL is entered or selected. |
483 </p> |
480 </p> |
|
481 |
484 <dl> |
482 <dl> |
485 |
483 |
486 <dt><i>index</i> (int)</dt> |
484 <dt><i>index</i> (int)</dt> |
487 <dd> |
485 <dd> |
488 index of the current item |
486 index of the current item |
489 </dd> |
487 </dd> |
490 </dl> |
488 </dl> |
491 <a NAME="SvnRepoBrowserDialog.start" ID="SvnRepoBrowserDialog.start"></a> |
489 <a NAME="SvnRepoBrowserDialog.start" ID="SvnRepoBrowserDialog.start"></a> |
492 <h4>SvnRepoBrowserDialog.start</h4> |
490 <h4>SvnRepoBrowserDialog.start</h4> |
493 <b>start</b>(<i>url</i>) |
491 <b>start</b>(<i>url</i>) |
494 |
|
495 <p> |
492 <p> |
496 Public slot to start the svn info command. |
493 Public slot to start the svn info command. |
497 </p> |
494 </p> |
|
495 |
498 <dl> |
496 <dl> |
499 |
497 |
500 <dt><i>url</i> (str)</dt> |
498 <dt><i>url</i> (str)</dt> |
501 <dd> |
499 <dd> |
502 the repository URL to browser |
500 the repository URL to browser |