|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.VcsPlugins.vcsSubversion.SvnStatusDialog</title> |
|
4 <meta charset="UTF-8"> |
|
5 <style> |
|
6 body { |
|
7 background: #EDECE6; |
|
8 margin: 0em 1em 10em 1em; |
|
9 color: black; |
|
10 } |
|
11 |
|
12 h1 { color: white; background: #85774A; } |
|
13 h2 { color: white; background: #85774A; } |
|
14 h3 { color: white; background: #9D936E; } |
|
15 h4 { color: white; background: #9D936E; } |
|
16 |
|
17 a { color: #BA6D36; } |
|
18 |
|
19 </style> |
|
20 </head> |
|
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
|
23 <h1>eric7.Plugins.VcsPlugins.vcsSubversion.SvnStatusDialog</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing a dialog to show the output of the svn status command |
|
27 process. |
|
28 </p> |
|
29 <h3>Global Attributes</h3> |
|
30 |
|
31 <table> |
|
32 <tr><td>None</td></tr> |
|
33 </table> |
|
34 <h3>Classes</h3> |
|
35 |
|
36 <table> |
|
37 |
|
38 <tr> |
|
39 <td><a href="#SvnStatusDialog">SvnStatusDialog</a></td> |
|
40 <td>Class implementing a dialog to show the output of the svn status command process.</td> |
|
41 </tr> |
|
42 </table> |
|
43 <h3>Functions</h3> |
|
44 |
|
45 <table> |
|
46 <tr><td>None</td></tr> |
|
47 </table> |
|
48 <hr /> |
|
49 <hr /> |
|
50 <a NAME="SvnStatusDialog" ID="SvnStatusDialog"></a> |
|
51 <h2>SvnStatusDialog</h2> |
|
52 |
|
53 <p> |
|
54 Class implementing a dialog to show the output of the svn status command |
|
55 process. |
|
56 </p> |
|
57 <h3>Derived from</h3> |
|
58 QWidget, Ui_SvnStatusDialog |
|
59 <h3>Class Attributes</h3> |
|
60 |
|
61 <table> |
|
62 <tr><td>None</td></tr> |
|
63 </table> |
|
64 <h3>Class Methods</h3> |
|
65 |
|
66 <table> |
|
67 <tr><td>None</td></tr> |
|
68 </table> |
|
69 <h3>Methods</h3> |
|
70 |
|
71 <table> |
|
72 |
|
73 <tr> |
|
74 <td><a href="#SvnStatusDialog.__init__">SvnStatusDialog</a></td> |
|
75 <td>Constructor</td> |
|
76 </tr> |
|
77 <tr> |
|
78 <td><a href="#SvnStatusDialog.__add">__add</a></td> |
|
79 <td>Private slot to handle the Add context menu entry.</td> |
|
80 </tr> |
|
81 <tr> |
|
82 <td><a href="#SvnStatusDialog.__addToChangelist">__addToChangelist</a></td> |
|
83 <td>Private slot to add entries to a changelist.</td> |
|
84 </tr> |
|
85 <tr> |
|
86 <td><a href="#SvnStatusDialog.__breakLock">__breakLock</a></td> |
|
87 <td>Private slot to handle the Break Lock context menu entry.</td> |
|
88 </tr> |
|
89 <tr> |
|
90 <td><a href="#SvnStatusDialog.__commit">__commit</a></td> |
|
91 <td>Private slot to handle the Commit context menu entry.</td> |
|
92 </tr> |
|
93 <tr> |
|
94 <td><a href="#SvnStatusDialog.__commitDeselectAll">__commitDeselectAll</a></td> |
|
95 <td>Private slot to deselect all entries from commit.</td> |
|
96 </tr> |
|
97 <tr> |
|
98 <td><a href="#SvnStatusDialog.__commitSelect">__commitSelect</a></td> |
|
99 <td>Private slot to select or deselect all entries.</td> |
|
100 </tr> |
|
101 <tr> |
|
102 <td><a href="#SvnStatusDialog.__commitSelectAll">__commitSelectAll</a></td> |
|
103 <td>Private slot to select all entries for commit.</td> |
|
104 </tr> |
|
105 <tr> |
|
106 <td><a href="#SvnStatusDialog.__committed">__committed</a></td> |
|
107 <td>Private slot called after the commit has finished.</td> |
|
108 </tr> |
|
109 <tr> |
|
110 <td><a href="#SvnStatusDialog.__diff">__diff</a></td> |
|
111 <td>Private slot to handle the Diff context menu entry.</td> |
|
112 </tr> |
|
113 <tr> |
|
114 <td><a href="#SvnStatusDialog.__finish">__finish</a></td> |
|
115 <td>Private slot called when the process finished or the user pressed the button.</td> |
|
116 </tr> |
|
117 <tr> |
|
118 <td><a href="#SvnStatusDialog.__generateItem">__generateItem</a></td> |
|
119 <td>Private method to generate a status item in the status list.</td> |
|
120 </tr> |
|
121 <tr> |
|
122 <td><a href="#SvnStatusDialog.__getChangelistItems">__getChangelistItems</a></td> |
|
123 <td>Private method to retrieve all entries, that are members of a changelist.</td> |
|
124 </tr> |
|
125 <tr> |
|
126 <td><a href="#SvnStatusDialog.__getCommitableItems">__getCommitableItems</a></td> |
|
127 <td>Private method to retrieve all entries the user wants to commit.</td> |
|
128 </tr> |
|
129 <tr> |
|
130 <td><a href="#SvnStatusDialog.__getLockActionItems">__getLockActionItems</a></td> |
|
131 <td>Private method to retrieve all emtries, that have a locked status.</td> |
|
132 </tr> |
|
133 <tr> |
|
134 <td><a href="#SvnStatusDialog.__getMissingItems">__getMissingItems</a></td> |
|
135 <td>Private method to retrieve all entries, that have a missing status.</td> |
|
136 </tr> |
|
137 <tr> |
|
138 <td><a href="#SvnStatusDialog.__getModifiedItems">__getModifiedItems</a></td> |
|
139 <td>Private method to retrieve all entries, that have a modified status.</td> |
|
140 </tr> |
|
141 <tr> |
|
142 <td><a href="#SvnStatusDialog.__getNonChangelistItems">__getNonChangelistItems</a></td> |
|
143 <td>Private method to retrieve all entries, that are not members of a changelist.</td> |
|
144 </tr> |
|
145 <tr> |
|
146 <td><a href="#SvnStatusDialog.__getUnversionedItems">__getUnversionedItems</a></td> |
|
147 <td>Private method to retrieve all entries, that have an unversioned status.</td> |
|
148 </tr> |
|
149 <tr> |
|
150 <td><a href="#SvnStatusDialog.__lock">__lock</a></td> |
|
151 <td>Private slot to handle the Lock context menu entry.</td> |
|
152 </tr> |
|
153 <tr> |
|
154 <td><a href="#SvnStatusDialog.__procFinished">__procFinished</a></td> |
|
155 <td>Private slot connected to the finished signal.</td> |
|
156 </tr> |
|
157 <tr> |
|
158 <td><a href="#SvnStatusDialog.__readStderr">__readStderr</a></td> |
|
159 <td>Private slot to handle the readyReadStandardError signal.</td> |
|
160 </tr> |
|
161 <tr> |
|
162 <td><a href="#SvnStatusDialog.__readStdout">__readStdout</a></td> |
|
163 <td>Private slot to handle the readyReadStandardOutput signal.</td> |
|
164 </tr> |
|
165 <tr> |
|
166 <td><a href="#SvnStatusDialog.__removeFromChangelist">__removeFromChangelist</a></td> |
|
167 <td>Private slot to remove entries from their changelists.</td> |
|
168 </tr> |
|
169 <tr> |
|
170 <td><a href="#SvnStatusDialog.__resizeColumns">__resizeColumns</a></td> |
|
171 <td>Private method to resize the list columns.</td> |
|
172 </tr> |
|
173 <tr> |
|
174 <td><a href="#SvnStatusDialog.__resort">__resort</a></td> |
|
175 <td>Private method to resort the tree.</td> |
|
176 </tr> |
|
177 <tr> |
|
178 <td><a href="#SvnStatusDialog.__restoreMissing">__restoreMissing</a></td> |
|
179 <td>Private slot to handle the Restore Missing context menu entry.</td> |
|
180 </tr> |
|
181 <tr> |
|
182 <td><a href="#SvnStatusDialog.__revert">__revert</a></td> |
|
183 <td>Private slot to handle the Revert context menu entry.</td> |
|
184 </tr> |
|
185 <tr> |
|
186 <td><a href="#SvnStatusDialog.__sbsDiff">__sbsDiff</a></td> |
|
187 <td>Private slot to handle the Side-by-Side Diff context menu entry.</td> |
|
188 </tr> |
|
189 <tr> |
|
190 <td><a href="#SvnStatusDialog.__showContextMenu">__showContextMenu</a></td> |
|
191 <td>Private slot to show the context menu of the status list.</td> |
|
192 </tr> |
|
193 <tr> |
|
194 <td><a href="#SvnStatusDialog.__stealLock">__stealLock</a></td> |
|
195 <td>Private slot to handle the Break Lock context menu entry.</td> |
|
196 </tr> |
|
197 <tr> |
|
198 <td><a href="#SvnStatusDialog.__unlock">__unlock</a></td> |
|
199 <td>Private slot to handle the Unlock context menu entry.</td> |
|
200 </tr> |
|
201 <tr> |
|
202 <td><a href="#SvnStatusDialog.__updateButtons">__updateButtons</a></td> |
|
203 <td>Private method to update the VCS buttons status.</td> |
|
204 </tr> |
|
205 <tr> |
|
206 <td><a href="#SvnStatusDialog.__updateCommitButton">__updateCommitButton</a></td> |
|
207 <td>Private method to update the Commit button status.</td> |
|
208 </tr> |
|
209 <tr> |
|
210 <td><a href="#SvnStatusDialog.closeEvent">closeEvent</a></td> |
|
211 <td>Protected slot implementing a close event handler.</td> |
|
212 </tr> |
|
213 <tr> |
|
214 <td><a href="#SvnStatusDialog.keyPressEvent">keyPressEvent</a></td> |
|
215 <td>Protected slot to handle a key press event.</td> |
|
216 </tr> |
|
217 <tr> |
|
218 <td><a href="#SvnStatusDialog.on_addButton_clicked">on_addButton_clicked</a></td> |
|
219 <td>Private slot to handle the press of the Add button.</td> |
|
220 </tr> |
|
221 <tr> |
|
222 <td><a href="#SvnStatusDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
|
223 <td>Private slot called by a button of the button box clicked.</td> |
|
224 </tr> |
|
225 <tr> |
|
226 <td><a href="#SvnStatusDialog.on_commitButton_clicked">on_commitButton_clicked</a></td> |
|
227 <td>Private slot to handle the press of the Commit button.</td> |
|
228 </tr> |
|
229 <tr> |
|
230 <td><a href="#SvnStatusDialog.on_diffButton_clicked">on_diffButton_clicked</a></td> |
|
231 <td>Private slot to handle the press of the Differences button.</td> |
|
232 </tr> |
|
233 <tr> |
|
234 <td><a href="#SvnStatusDialog.on_input_returnPressed">on_input_returnPressed</a></td> |
|
235 <td>Private slot to handle the press of the return key in the input field.</td> |
|
236 </tr> |
|
237 <tr> |
|
238 <td><a href="#SvnStatusDialog.on_passwordCheckBox_toggled">on_passwordCheckBox_toggled</a></td> |
|
239 <td>Private slot to handle the password checkbox toggled.</td> |
|
240 </tr> |
|
241 <tr> |
|
242 <td><a href="#SvnStatusDialog.on_refreshButton_clicked">on_refreshButton_clicked</a></td> |
|
243 <td>Private slot to refresh the status display.</td> |
|
244 </tr> |
|
245 <tr> |
|
246 <td><a href="#SvnStatusDialog.on_restoreButton_clicked">on_restoreButton_clicked</a></td> |
|
247 <td>Private slot to handle the press of the Restore button.</td> |
|
248 </tr> |
|
249 <tr> |
|
250 <td><a href="#SvnStatusDialog.on_revertButton_clicked">on_revertButton_clicked</a></td> |
|
251 <td>Private slot to handle the press of the Revert button.</td> |
|
252 </tr> |
|
253 <tr> |
|
254 <td><a href="#SvnStatusDialog.on_sbsDiffButton_clicked">on_sbsDiffButton_clicked</a></td> |
|
255 <td>Private slot to handle the press of the Side-by-Side Diff button.</td> |
|
256 </tr> |
|
257 <tr> |
|
258 <td><a href="#SvnStatusDialog.on_sendButton_clicked">on_sendButton_clicked</a></td> |
|
259 <td>Private slot to send the input to the subversion process.</td> |
|
260 </tr> |
|
261 <tr> |
|
262 <td><a href="#SvnStatusDialog.on_statusFilterCombo_activated">on_statusFilterCombo_activated</a></td> |
|
263 <td>Private slot to react to the selection of a status filter.</td> |
|
264 </tr> |
|
265 <tr> |
|
266 <td><a href="#SvnStatusDialog.on_statusList_itemChanged">on_statusList_itemChanged</a></td> |
|
267 <td>Private slot to act upon item changes.</td> |
|
268 </tr> |
|
269 <tr> |
|
270 <td><a href="#SvnStatusDialog.on_statusList_itemSelectionChanged">on_statusList_itemSelectionChanged</a></td> |
|
271 <td>Private slot to act upon changes of selected items.</td> |
|
272 </tr> |
|
273 <tr> |
|
274 <td><a href="#SvnStatusDialog.start">start</a></td> |
|
275 <td>Public slot to start the svn status command.</td> |
|
276 </tr> |
|
277 </table> |
|
278 <h3>Static Methods</h3> |
|
279 |
|
280 <table> |
|
281 <tr><td>None</td></tr> |
|
282 </table> |
|
283 |
|
284 <a NAME="SvnStatusDialog.__init__" ID="SvnStatusDialog.__init__"></a> |
|
285 <h4>SvnStatusDialog (Constructor)</h4> |
|
286 <b>SvnStatusDialog</b>(<i>vcs, parent=None</i>) |
|
287 |
|
288 <p> |
|
289 Constructor |
|
290 </p> |
|
291 <dl> |
|
292 |
|
293 <dt><i>vcs</i></dt> |
|
294 <dd> |
|
295 reference to the vcs object |
|
296 </dd> |
|
297 <dt><i>parent</i></dt> |
|
298 <dd> |
|
299 parent widget (QWidget) |
|
300 </dd> |
|
301 </dl> |
|
302 <a NAME="SvnStatusDialog.__add" ID="SvnStatusDialog.__add"></a> |
|
303 <h4>SvnStatusDialog.__add</h4> |
|
304 <b>__add</b>(<i></i>) |
|
305 |
|
306 <p> |
|
307 Private slot to handle the Add context menu entry. |
|
308 </p> |
|
309 <a NAME="SvnStatusDialog.__addToChangelist" ID="SvnStatusDialog.__addToChangelist"></a> |
|
310 <h4>SvnStatusDialog.__addToChangelist</h4> |
|
311 <b>__addToChangelist</b>(<i></i>) |
|
312 |
|
313 <p> |
|
314 Private slot to add entries to a changelist. |
|
315 </p> |
|
316 <a NAME="SvnStatusDialog.__breakLock" ID="SvnStatusDialog.__breakLock"></a> |
|
317 <h4>SvnStatusDialog.__breakLock</h4> |
|
318 <b>__breakLock</b>(<i></i>) |
|
319 |
|
320 <p> |
|
321 Private slot to handle the Break Lock context menu entry. |
|
322 </p> |
|
323 <a NAME="SvnStatusDialog.__commit" ID="SvnStatusDialog.__commit"></a> |
|
324 <h4>SvnStatusDialog.__commit</h4> |
|
325 <b>__commit</b>(<i></i>) |
|
326 |
|
327 <p> |
|
328 Private slot to handle the Commit context menu entry. |
|
329 </p> |
|
330 <a NAME="SvnStatusDialog.__commitDeselectAll" ID="SvnStatusDialog.__commitDeselectAll"></a> |
|
331 <h4>SvnStatusDialog.__commitDeselectAll</h4> |
|
332 <b>__commitDeselectAll</b>(<i></i>) |
|
333 |
|
334 <p> |
|
335 Private slot to deselect all entries from commit. |
|
336 </p> |
|
337 <a NAME="SvnStatusDialog.__commitSelect" ID="SvnStatusDialog.__commitSelect"></a> |
|
338 <h4>SvnStatusDialog.__commitSelect</h4> |
|
339 <b>__commitSelect</b>(<i>selected</i>) |
|
340 |
|
341 <p> |
|
342 Private slot to select or deselect all entries. |
|
343 </p> |
|
344 <dl> |
|
345 |
|
346 <dt><i>selected</i></dt> |
|
347 <dd> |
|
348 commit selection state to be set (boolean) |
|
349 </dd> |
|
350 </dl> |
|
351 <a NAME="SvnStatusDialog.__commitSelectAll" ID="SvnStatusDialog.__commitSelectAll"></a> |
|
352 <h4>SvnStatusDialog.__commitSelectAll</h4> |
|
353 <b>__commitSelectAll</b>(<i></i>) |
|
354 |
|
355 <p> |
|
356 Private slot to select all entries for commit. |
|
357 </p> |
|
358 <a NAME="SvnStatusDialog.__committed" ID="SvnStatusDialog.__committed"></a> |
|
359 <h4>SvnStatusDialog.__committed</h4> |
|
360 <b>__committed</b>(<i></i>) |
|
361 |
|
362 <p> |
|
363 Private slot called after the commit has finished. |
|
364 </p> |
|
365 <a NAME="SvnStatusDialog.__diff" ID="SvnStatusDialog.__diff"></a> |
|
366 <h4>SvnStatusDialog.__diff</h4> |
|
367 <b>__diff</b>(<i></i>) |
|
368 |
|
369 <p> |
|
370 Private slot to handle the Diff context menu entry. |
|
371 </p> |
|
372 <a NAME="SvnStatusDialog.__finish" ID="SvnStatusDialog.__finish"></a> |
|
373 <h4>SvnStatusDialog.__finish</h4> |
|
374 <b>__finish</b>(<i></i>) |
|
375 |
|
376 <p> |
|
377 Private slot called when the process finished or the user pressed |
|
378 the button. |
|
379 </p> |
|
380 <a NAME="SvnStatusDialog.__generateItem" ID="SvnStatusDialog.__generateItem"></a> |
|
381 <h4>SvnStatusDialog.__generateItem</h4> |
|
382 <b>__generateItem</b>(<i>status, propStatus, locked, history, switched, lockinfo, uptodate, revision, change, author, path</i>) |
|
383 |
|
384 <p> |
|
385 Private method to generate a status item in the status list. |
|
386 </p> |
|
387 <dl> |
|
388 |
|
389 <dt><i>status</i></dt> |
|
390 <dd> |
|
391 status indicator (string) |
|
392 </dd> |
|
393 <dt><i>propStatus</i></dt> |
|
394 <dd> |
|
395 property status indicator (string) |
|
396 </dd> |
|
397 <dt><i>locked</i></dt> |
|
398 <dd> |
|
399 locked indicator (string) |
|
400 </dd> |
|
401 <dt><i>history</i></dt> |
|
402 <dd> |
|
403 history indicator (string) |
|
404 </dd> |
|
405 <dt><i>switched</i></dt> |
|
406 <dd> |
|
407 switched indicator (string) |
|
408 </dd> |
|
409 <dt><i>lockinfo</i></dt> |
|
410 <dd> |
|
411 lock indicator (string) |
|
412 </dd> |
|
413 <dt><i>uptodate</i></dt> |
|
414 <dd> |
|
415 up to date indicator (string) |
|
416 </dd> |
|
417 <dt><i>revision</i></dt> |
|
418 <dd> |
|
419 revision string (string) |
|
420 </dd> |
|
421 <dt><i>change</i></dt> |
|
422 <dd> |
|
423 revision of last change (string) |
|
424 </dd> |
|
425 <dt><i>author</i></dt> |
|
426 <dd> |
|
427 author of the last change (string) |
|
428 </dd> |
|
429 <dt><i>path</i></dt> |
|
430 <dd> |
|
431 path of the file or directory (string) |
|
432 </dd> |
|
433 </dl> |
|
434 <a NAME="SvnStatusDialog.__getChangelistItems" ID="SvnStatusDialog.__getChangelistItems"></a> |
|
435 <h4>SvnStatusDialog.__getChangelistItems</h4> |
|
436 <b>__getChangelistItems</b>(<i></i>) |
|
437 |
|
438 <p> |
|
439 Private method to retrieve all entries, that are members of |
|
440 a changelist. |
|
441 </p> |
|
442 <dl> |
|
443 <dt>Return:</dt> |
|
444 <dd> |
|
445 list of all items belonging to a changelist |
|
446 </dd> |
|
447 </dl> |
|
448 <a NAME="SvnStatusDialog.__getCommitableItems" ID="SvnStatusDialog.__getCommitableItems"></a> |
|
449 <h4>SvnStatusDialog.__getCommitableItems</h4> |
|
450 <b>__getCommitableItems</b>(<i></i>) |
|
451 |
|
452 <p> |
|
453 Private method to retrieve all entries the user wants to commit. |
|
454 </p> |
|
455 <dl> |
|
456 <dt>Return:</dt> |
|
457 <dd> |
|
458 list of all items, the user has checked |
|
459 </dd> |
|
460 </dl> |
|
461 <a NAME="SvnStatusDialog.__getLockActionItems" ID="SvnStatusDialog.__getLockActionItems"></a> |
|
462 <h4>SvnStatusDialog.__getLockActionItems</h4> |
|
463 <b>__getLockActionItems</b>(<i>indicators</i>) |
|
464 |
|
465 <p> |
|
466 Private method to retrieve all emtries, that have a locked status. |
|
467 </p> |
|
468 <dl> |
|
469 |
|
470 <dt><i>indicators</i></dt> |
|
471 <dd> |
|
472 list of indicators to check against (list of strings) |
|
473 </dd> |
|
474 </dl> |
|
475 <dl> |
|
476 <dt>Return:</dt> |
|
477 <dd> |
|
478 list of all items with a locked status |
|
479 </dd> |
|
480 </dl> |
|
481 <a NAME="SvnStatusDialog.__getMissingItems" ID="SvnStatusDialog.__getMissingItems"></a> |
|
482 <h4>SvnStatusDialog.__getMissingItems</h4> |
|
483 <b>__getMissingItems</b>(<i></i>) |
|
484 |
|
485 <p> |
|
486 Private method to retrieve all entries, that have a missing status. |
|
487 </p> |
|
488 <dl> |
|
489 <dt>Return:</dt> |
|
490 <dd> |
|
491 list of all items with a missing status |
|
492 </dd> |
|
493 </dl> |
|
494 <a NAME="SvnStatusDialog.__getModifiedItems" ID="SvnStatusDialog.__getModifiedItems"></a> |
|
495 <h4>SvnStatusDialog.__getModifiedItems</h4> |
|
496 <b>__getModifiedItems</b>(<i></i>) |
|
497 |
|
498 <p> |
|
499 Private method to retrieve all entries, that have a modified status. |
|
500 </p> |
|
501 <dl> |
|
502 <dt>Return:</dt> |
|
503 <dd> |
|
504 list of all items with a modified status |
|
505 </dd> |
|
506 </dl> |
|
507 <a NAME="SvnStatusDialog.__getNonChangelistItems" ID="SvnStatusDialog.__getNonChangelistItems"></a> |
|
508 <h4>SvnStatusDialog.__getNonChangelistItems</h4> |
|
509 <b>__getNonChangelistItems</b>(<i></i>) |
|
510 |
|
511 <p> |
|
512 Private method to retrieve all entries, that are not members of |
|
513 a changelist. |
|
514 </p> |
|
515 <dl> |
|
516 <dt>Return:</dt> |
|
517 <dd> |
|
518 list of all items not belonging to a changelist |
|
519 </dd> |
|
520 </dl> |
|
521 <a NAME="SvnStatusDialog.__getUnversionedItems" ID="SvnStatusDialog.__getUnversionedItems"></a> |
|
522 <h4>SvnStatusDialog.__getUnversionedItems</h4> |
|
523 <b>__getUnversionedItems</b>(<i></i>) |
|
524 |
|
525 <p> |
|
526 Private method to retrieve all entries, that have an unversioned |
|
527 status. |
|
528 </p> |
|
529 <dl> |
|
530 <dt>Return:</dt> |
|
531 <dd> |
|
532 list of all items with an unversioned status |
|
533 </dd> |
|
534 </dl> |
|
535 <a NAME="SvnStatusDialog.__lock" ID="SvnStatusDialog.__lock"></a> |
|
536 <h4>SvnStatusDialog.__lock</h4> |
|
537 <b>__lock</b>(<i></i>) |
|
538 |
|
539 <p> |
|
540 Private slot to handle the Lock context menu entry. |
|
541 </p> |
|
542 <a NAME="SvnStatusDialog.__procFinished" ID="SvnStatusDialog.__procFinished"></a> |
|
543 <h4>SvnStatusDialog.__procFinished</h4> |
|
544 <b>__procFinished</b>(<i>exitCode, exitStatus</i>) |
|
545 |
|
546 <p> |
|
547 Private slot connected to the finished signal. |
|
548 </p> |
|
549 <dl> |
|
550 |
|
551 <dt><i>exitCode</i></dt> |
|
552 <dd> |
|
553 exit code of the process (integer) |
|
554 </dd> |
|
555 <dt><i>exitStatus</i></dt> |
|
556 <dd> |
|
557 exit status of the process (QProcess.ExitStatus) |
|
558 </dd> |
|
559 </dl> |
|
560 <a NAME="SvnStatusDialog.__readStderr" ID="SvnStatusDialog.__readStderr"></a> |
|
561 <h4>SvnStatusDialog.__readStderr</h4> |
|
562 <b>__readStderr</b>(<i></i>) |
|
563 |
|
564 <p> |
|
565 Private slot to handle the readyReadStandardError signal. |
|
566 </p> |
|
567 <p> |
|
568 It reads the error output of the process and inserts it into the |
|
569 error pane. |
|
570 </p> |
|
571 <a NAME="SvnStatusDialog.__readStdout" ID="SvnStatusDialog.__readStdout"></a> |
|
572 <h4>SvnStatusDialog.__readStdout</h4> |
|
573 <b>__readStdout</b>(<i></i>) |
|
574 |
|
575 <p> |
|
576 Private slot to handle the readyReadStandardOutput signal. |
|
577 </p> |
|
578 <p> |
|
579 It reads the output of the process, formats it and inserts it into |
|
580 the contents pane. |
|
581 </p> |
|
582 <a NAME="SvnStatusDialog.__removeFromChangelist" ID="SvnStatusDialog.__removeFromChangelist"></a> |
|
583 <h4>SvnStatusDialog.__removeFromChangelist</h4> |
|
584 <b>__removeFromChangelist</b>(<i></i>) |
|
585 |
|
586 <p> |
|
587 Private slot to remove entries from their changelists. |
|
588 </p> |
|
589 <a NAME="SvnStatusDialog.__resizeColumns" ID="SvnStatusDialog.__resizeColumns"></a> |
|
590 <h4>SvnStatusDialog.__resizeColumns</h4> |
|
591 <b>__resizeColumns</b>(<i></i>) |
|
592 |
|
593 <p> |
|
594 Private method to resize the list columns. |
|
595 </p> |
|
596 <a NAME="SvnStatusDialog.__resort" ID="SvnStatusDialog.__resort"></a> |
|
597 <h4>SvnStatusDialog.__resort</h4> |
|
598 <b>__resort</b>(<i></i>) |
|
599 |
|
600 <p> |
|
601 Private method to resort the tree. |
|
602 </p> |
|
603 <a NAME="SvnStatusDialog.__restoreMissing" ID="SvnStatusDialog.__restoreMissing"></a> |
|
604 <h4>SvnStatusDialog.__restoreMissing</h4> |
|
605 <b>__restoreMissing</b>(<i></i>) |
|
606 |
|
607 <p> |
|
608 Private slot to handle the Restore Missing context menu entry. |
|
609 </p> |
|
610 <a NAME="SvnStatusDialog.__revert" ID="SvnStatusDialog.__revert"></a> |
|
611 <h4>SvnStatusDialog.__revert</h4> |
|
612 <b>__revert</b>(<i></i>) |
|
613 |
|
614 <p> |
|
615 Private slot to handle the Revert context menu entry. |
|
616 </p> |
|
617 <a NAME="SvnStatusDialog.__sbsDiff" ID="SvnStatusDialog.__sbsDiff"></a> |
|
618 <h4>SvnStatusDialog.__sbsDiff</h4> |
|
619 <b>__sbsDiff</b>(<i></i>) |
|
620 |
|
621 <p> |
|
622 Private slot to handle the Side-by-Side Diff context menu entry. |
|
623 </p> |
|
624 <a NAME="SvnStatusDialog.__showContextMenu" ID="SvnStatusDialog.__showContextMenu"></a> |
|
625 <h4>SvnStatusDialog.__showContextMenu</h4> |
|
626 <b>__showContextMenu</b>(<i>coord</i>) |
|
627 |
|
628 <p> |
|
629 Private slot to show the context menu of the status list. |
|
630 </p> |
|
631 <dl> |
|
632 |
|
633 <dt><i>coord</i></dt> |
|
634 <dd> |
|
635 the position of the mouse pointer (QPoint) |
|
636 </dd> |
|
637 </dl> |
|
638 <a NAME="SvnStatusDialog.__stealLock" ID="SvnStatusDialog.__stealLock"></a> |
|
639 <h4>SvnStatusDialog.__stealLock</h4> |
|
640 <b>__stealLock</b>(<i></i>) |
|
641 |
|
642 <p> |
|
643 Private slot to handle the Break Lock context menu entry. |
|
644 </p> |
|
645 <a NAME="SvnStatusDialog.__unlock" ID="SvnStatusDialog.__unlock"></a> |
|
646 <h4>SvnStatusDialog.__unlock</h4> |
|
647 <b>__unlock</b>(<i></i>) |
|
648 |
|
649 <p> |
|
650 Private slot to handle the Unlock context menu entry. |
|
651 </p> |
|
652 <a NAME="SvnStatusDialog.__updateButtons" ID="SvnStatusDialog.__updateButtons"></a> |
|
653 <h4>SvnStatusDialog.__updateButtons</h4> |
|
654 <b>__updateButtons</b>(<i></i>) |
|
655 |
|
656 <p> |
|
657 Private method to update the VCS buttons status. |
|
658 </p> |
|
659 <a NAME="SvnStatusDialog.__updateCommitButton" ID="SvnStatusDialog.__updateCommitButton"></a> |
|
660 <h4>SvnStatusDialog.__updateCommitButton</h4> |
|
661 <b>__updateCommitButton</b>(<i></i>) |
|
662 |
|
663 <p> |
|
664 Private method to update the Commit button status. |
|
665 </p> |
|
666 <a NAME="SvnStatusDialog.closeEvent" ID="SvnStatusDialog.closeEvent"></a> |
|
667 <h4>SvnStatusDialog.closeEvent</h4> |
|
668 <b>closeEvent</b>(<i>e</i>) |
|
669 |
|
670 <p> |
|
671 Protected slot implementing a close event handler. |
|
672 </p> |
|
673 <dl> |
|
674 |
|
675 <dt><i>e</i></dt> |
|
676 <dd> |
|
677 close event (QCloseEvent) |
|
678 </dd> |
|
679 </dl> |
|
680 <a NAME="SvnStatusDialog.keyPressEvent" ID="SvnStatusDialog.keyPressEvent"></a> |
|
681 <h4>SvnStatusDialog.keyPressEvent</h4> |
|
682 <b>keyPressEvent</b>(<i>evt</i>) |
|
683 |
|
684 <p> |
|
685 Protected slot to handle a key press event. |
|
686 </p> |
|
687 <dl> |
|
688 |
|
689 <dt><i>evt</i></dt> |
|
690 <dd> |
|
691 the key press event (QKeyEvent) |
|
692 </dd> |
|
693 </dl> |
|
694 <a NAME="SvnStatusDialog.on_addButton_clicked" ID="SvnStatusDialog.on_addButton_clicked"></a> |
|
695 <h4>SvnStatusDialog.on_addButton_clicked</h4> |
|
696 <b>on_addButton_clicked</b>(<i></i>) |
|
697 |
|
698 <p> |
|
699 Private slot to handle the press of the Add button. |
|
700 </p> |
|
701 <a NAME="SvnStatusDialog.on_buttonBox_clicked" ID="SvnStatusDialog.on_buttonBox_clicked"></a> |
|
702 <h4>SvnStatusDialog.on_buttonBox_clicked</h4> |
|
703 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
704 |
|
705 <p> |
|
706 Private slot called by a button of the button box clicked. |
|
707 </p> |
|
708 <dl> |
|
709 |
|
710 <dt><i>button</i></dt> |
|
711 <dd> |
|
712 button that was clicked (QAbstractButton) |
|
713 </dd> |
|
714 </dl> |
|
715 <a NAME="SvnStatusDialog.on_commitButton_clicked" ID="SvnStatusDialog.on_commitButton_clicked"></a> |
|
716 <h4>SvnStatusDialog.on_commitButton_clicked</h4> |
|
717 <b>on_commitButton_clicked</b>(<i></i>) |
|
718 |
|
719 <p> |
|
720 Private slot to handle the press of the Commit button. |
|
721 </p> |
|
722 <a NAME="SvnStatusDialog.on_diffButton_clicked" ID="SvnStatusDialog.on_diffButton_clicked"></a> |
|
723 <h4>SvnStatusDialog.on_diffButton_clicked</h4> |
|
724 <b>on_diffButton_clicked</b>(<i></i>) |
|
725 |
|
726 <p> |
|
727 Private slot to handle the press of the Differences button. |
|
728 </p> |
|
729 <a NAME="SvnStatusDialog.on_input_returnPressed" ID="SvnStatusDialog.on_input_returnPressed"></a> |
|
730 <h4>SvnStatusDialog.on_input_returnPressed</h4> |
|
731 <b>on_input_returnPressed</b>(<i></i>) |
|
732 |
|
733 <p> |
|
734 Private slot to handle the press of the return key in the input field. |
|
735 </p> |
|
736 <a NAME="SvnStatusDialog.on_passwordCheckBox_toggled" ID="SvnStatusDialog.on_passwordCheckBox_toggled"></a> |
|
737 <h4>SvnStatusDialog.on_passwordCheckBox_toggled</h4> |
|
738 <b>on_passwordCheckBox_toggled</b>(<i>isOn</i>) |
|
739 |
|
740 <p> |
|
741 Private slot to handle the password checkbox toggled. |
|
742 </p> |
|
743 <dl> |
|
744 |
|
745 <dt><i>isOn</i></dt> |
|
746 <dd> |
|
747 flag indicating the status of the check box (boolean) |
|
748 </dd> |
|
749 </dl> |
|
750 <a NAME="SvnStatusDialog.on_refreshButton_clicked" ID="SvnStatusDialog.on_refreshButton_clicked"></a> |
|
751 <h4>SvnStatusDialog.on_refreshButton_clicked</h4> |
|
752 <b>on_refreshButton_clicked</b>(<i></i>) |
|
753 |
|
754 <p> |
|
755 Private slot to refresh the status display. |
|
756 </p> |
|
757 <a NAME="SvnStatusDialog.on_restoreButton_clicked" ID="SvnStatusDialog.on_restoreButton_clicked"></a> |
|
758 <h4>SvnStatusDialog.on_restoreButton_clicked</h4> |
|
759 <b>on_restoreButton_clicked</b>(<i></i>) |
|
760 |
|
761 <p> |
|
762 Private slot to handle the press of the Restore button. |
|
763 </p> |
|
764 <a NAME="SvnStatusDialog.on_revertButton_clicked" ID="SvnStatusDialog.on_revertButton_clicked"></a> |
|
765 <h4>SvnStatusDialog.on_revertButton_clicked</h4> |
|
766 <b>on_revertButton_clicked</b>(<i></i>) |
|
767 |
|
768 <p> |
|
769 Private slot to handle the press of the Revert button. |
|
770 </p> |
|
771 <a NAME="SvnStatusDialog.on_sbsDiffButton_clicked" ID="SvnStatusDialog.on_sbsDiffButton_clicked"></a> |
|
772 <h4>SvnStatusDialog.on_sbsDiffButton_clicked</h4> |
|
773 <b>on_sbsDiffButton_clicked</b>(<i></i>) |
|
774 |
|
775 <p> |
|
776 Private slot to handle the press of the Side-by-Side Diff button. |
|
777 </p> |
|
778 <a NAME="SvnStatusDialog.on_sendButton_clicked" ID="SvnStatusDialog.on_sendButton_clicked"></a> |
|
779 <h4>SvnStatusDialog.on_sendButton_clicked</h4> |
|
780 <b>on_sendButton_clicked</b>(<i></i>) |
|
781 |
|
782 <p> |
|
783 Private slot to send the input to the subversion process. |
|
784 </p> |
|
785 <a NAME="SvnStatusDialog.on_statusFilterCombo_activated" ID="SvnStatusDialog.on_statusFilterCombo_activated"></a> |
|
786 <h4>SvnStatusDialog.on_statusFilterCombo_activated</h4> |
|
787 <b>on_statusFilterCombo_activated</b>(<i>index</i>) |
|
788 |
|
789 <p> |
|
790 Private slot to react to the selection of a status filter. |
|
791 </p> |
|
792 <dl> |
|
793 |
|
794 <dt><i>index</i> (int)</dt> |
|
795 <dd> |
|
796 index of the selected entry |
|
797 </dd> |
|
798 </dl> |
|
799 <a NAME="SvnStatusDialog.on_statusList_itemChanged" ID="SvnStatusDialog.on_statusList_itemChanged"></a> |
|
800 <h4>SvnStatusDialog.on_statusList_itemChanged</h4> |
|
801 <b>on_statusList_itemChanged</b>(<i>item, column</i>) |
|
802 |
|
803 <p> |
|
804 Private slot to act upon item changes. |
|
805 </p> |
|
806 <dl> |
|
807 |
|
808 <dt><i>item</i></dt> |
|
809 <dd> |
|
810 reference to the changed item (QTreeWidgetItem) |
|
811 </dd> |
|
812 <dt><i>column</i></dt> |
|
813 <dd> |
|
814 index of column that changed (integer) |
|
815 </dd> |
|
816 </dl> |
|
817 <a NAME="SvnStatusDialog.on_statusList_itemSelectionChanged" ID="SvnStatusDialog.on_statusList_itemSelectionChanged"></a> |
|
818 <h4>SvnStatusDialog.on_statusList_itemSelectionChanged</h4> |
|
819 <b>on_statusList_itemSelectionChanged</b>(<i></i>) |
|
820 |
|
821 <p> |
|
822 Private slot to act upon changes of selected items. |
|
823 </p> |
|
824 <a NAME="SvnStatusDialog.start" ID="SvnStatusDialog.start"></a> |
|
825 <h4>SvnStatusDialog.start</h4> |
|
826 <b>start</b>(<i>fn</i>) |
|
827 |
|
828 <p> |
|
829 Public slot to start the svn status command. |
|
830 </p> |
|
831 <dl> |
|
832 |
|
833 <dt><i>fn</i></dt> |
|
834 <dd> |
|
835 filename(s)/directoryname(s) to show the status of |
|
836 (string or list of strings) |
|
837 </dd> |
|
838 </dl> |
|
839 <div align="right"><a href="#top">Up</a></div> |
|
840 <hr /> |
|
841 </body></html> |