eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsGit.GitLogBrowserDialog.html

branch
eric7
changeset 8372
e0227a7c850e
child 8596
d64760b2da50
equal deleted inserted replaced
8371:d6062691d424 8372:e0227a7c850e
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.Plugins.VcsPlugins.vcsGit.GitLogBrowserDialog</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.vcsGit.GitLogBrowserDialog</h1>
24
25 <p>
26 Module implementing a dialog to browse the log history.
27 </p>
28 <h3>Global Attributes</h3>
29
30 <table>
31 <tr><td>COLORNAMES</td></tr><tr><td>COLORS</td></tr><tr><td>LIGHTCOLORS</td></tr>
32 </table>
33 <h3>Classes</h3>
34
35 <table>
36
37 <tr>
38 <td><a href="#GitLogBrowserDialog">GitLogBrowserDialog</a></td>
39 <td>Class implementing a dialog to browse the log history.</td>
40 </tr>
41 </table>
42 <h3>Functions</h3>
43
44 <table>
45 <tr><td>None</td></tr>
46 </table>
47 <hr />
48 <hr />
49 <a NAME="GitLogBrowserDialog" ID="GitLogBrowserDialog"></a>
50 <h2>GitLogBrowserDialog</h2>
51
52 <p>
53 Class implementing a dialog to browse the log history.
54 </p>
55 <h3>Derived from</h3>
56 QWidget, Ui_GitLogBrowserDialog
57 <h3>Class Attributes</h3>
58
59 <table>
60 <tr><td>AuthorColumn</td></tr><tr><td>BranchColumn</td></tr><tr><td>CommitDateColumn</td></tr><tr><td>CommitIdColumn</td></tr><tr><td>CommitterColumn</td></tr><tr><td>DateColumn</td></tr><tr><td>IconColumn</td></tr><tr><td>SubjectColumn</td></tr><tr><td>TagsColumn</td></tr>
61 </table>
62 <h3>Class Methods</h3>
63
64 <table>
65 <tr><td>None</td></tr>
66 </table>
67 <h3>Methods</h3>
68
69 <table>
70
71 <tr>
72 <td><a href="#GitLogBrowserDialog.__init__">GitLogBrowserDialog</a></td>
73 <td>Constructor</td>
74 </tr>
75 <tr>
76 <td><a href="#GitLogBrowserDialog.__actionMode">__actionMode</a></td>
77 <td>Private method to get the selected action mode.</td>
78 </tr>
79 <tr>
80 <td><a href="#GitLogBrowserDialog.__addFinishCallback">__addFinishCallback</a></td>
81 <td>Private method to add a method to be called once the process finished.</td>
82 </tr>
83 <tr>
84 <td><a href="#GitLogBrowserDialog.__branchActTriggered">__branchActTriggered</a></td>
85 <td>Private slot to create a new branch starting at the selected commit.</td>
86 </tr>
87 <tr>
88 <td><a href="#GitLogBrowserDialog.__branchSwitchActTriggered">__branchSwitchActTriggered</a></td>
89 <td>Private slot to create a new branch starting at the selected commit and switch the work tree to it.</td>
90 </tr>
91 <tr>
92 <td><a href="#GitLogBrowserDialog.__cherryActTriggered">__cherryActTriggered</a></td>
93 <td>Private slot to handle the Copy Commits action.</td>
94 </tr>
95 <tr>
96 <td><a href="#GitLogBrowserDialog.__commitIdClicked">__commitIdClicked</a></td>
97 <td>Private slot to handle the anchorClicked signal of the changeset details pane.</td>
98 </tr>
99 <tr>
100 <td><a href="#GitLogBrowserDialog.__describeActTriggered">__describeActTriggered</a></td>
101 <td>Private slot to show the most recent tag reachable from a commit.</td>
102 </tr>
103 <tr>
104 <td><a href="#GitLogBrowserDialog.__filterLogs">__filterLogs</a></td>
105 <td>Private method to filter the log entries.</td>
106 </tr>
107 <tr>
108 <td><a href="#GitLogBrowserDialog.__findItem">__findItem</a></td>
109 <td>Private slot to find an item matching the entered criteria.</td>
110 </tr>
111 <tr>
112 <td><a href="#GitLogBrowserDialog.__finish">__finish</a></td>
113 <td>Private slot called when the process finished or the user pressed the button.</td>
114 </tr>
115 <tr>
116 <td><a href="#GitLogBrowserDialog.__generateDetailsTableText">__generateDetailsTableText</a></td>
117 <td>Private method to generate an HTML table with the details of the given changeset.</td>
118 </tr>
119 <tr>
120 <td><a href="#GitLogBrowserDialog.__generateDiffs">__generateDiffs</a></td>
121 <td>Private slot to generate diff outputs for the selected item.</td>
122 </tr>
123 <tr>
124 <td><a href="#GitLogBrowserDialog.__generateEdges">__generateEdges</a></td>
125 <td>Private method to generate edge info for the give data.</td>
126 </tr>
127 <tr>
128 <td><a href="#GitLogBrowserDialog.__generateFileItem">__generateFileItem</a></td>
129 <td>Private method to generate a changed files tree entry.</td>
130 </tr>
131 <tr>
132 <td><a href="#GitLogBrowserDialog.__generateIcon">__generateIcon</a></td>
133 <td>Private method to generate an icon containing the revision tree for the given data.</td>
134 </tr>
135 <tr>
136 <td><a href="#GitLogBrowserDialog.__generateLogItem">__generateLogItem</a></td>
137 <td>Private method to generate a log tree entry.</td>
138 </tr>
139 <tr>
140 <td><a href="#GitLogBrowserDialog.__generatorFinished">__generatorFinished</a></td>
141 <td>Private slot connected to the finished signal of the diff generator.</td>
142 </tr>
143 <tr>
144 <td><a href="#GitLogBrowserDialog.__getBranchesForCommit">__getBranchesForCommit</a></td>
145 <td>Private method to get all branches reachable from a commit ID.</td>
146 </tr>
147 <tr>
148 <td><a href="#GitLogBrowserDialog.__getColor">__getColor</a></td>
149 <td>Private method to get the (rotating) name of the color given an index.</td>
150 </tr>
151 <tr>
152 <td><a href="#GitLogBrowserDialog.__getCommitForTag">__getCommitForTag</a></td>
153 <td>Private method to get the commit id for a tag.</td>
154 </tr>
155 <tr>
156 <td><a href="#GitLogBrowserDialog.__getLogEntries">__getLogEntries</a></td>
157 <td>Private method to retrieve log entries from the repository.</td>
158 </tr>
159 <tr>
160 <td><a href="#GitLogBrowserDialog.__getTagsForCommit">__getTagsForCommit</a></td>
161 <td>Private method to get all tags reachable from a commit ID.</td>
162 </tr>
163 <tr>
164 <td><a href="#GitLogBrowserDialog.__identifyProject">__identifyProject</a></td>
165 <td>Private method to determine the revision of the project directory.</td>
166 </tr>
167 <tr>
168 <td><a href="#GitLogBrowserDialog.__initActionsMenu">__initActionsMenu</a></td>
169 <td>Private method to initialize the actions menu.</td>
170 </tr>
171 <tr>
172 <td><a href="#GitLogBrowserDialog.__initData">__initData</a></td>
173 <td>Private method to (re-)initialize some data.</td>
174 </tr>
175 <tr>
176 <td><a href="#GitLogBrowserDialog.__initLogTreeContextMenu">__initLogTreeContextMenu</a></td>
177 <td>Private method to initialize the log tree context menu.</td>
178 </tr>
179 <tr>
180 <td><a href="#GitLogBrowserDialog.__mergeFileSeparators">__mergeFileSeparators</a></td>
181 <td>Private method to merge the file separator entries.</td>
182 </tr>
183 <tr>
184 <td><a href="#GitLogBrowserDialog.__prepareFieldSearch">__prepareFieldSearch</a></td>
185 <td>Private slot to prepare the filed search data.</td>
186 </tr>
187 <tr>
188 <td><a href="#GitLogBrowserDialog.__procFinished">__procFinished</a></td>
189 <td>Private slot connected to the finished signal.</td>
190 </tr>
191 <tr>
192 <td><a href="#GitLogBrowserDialog.__processBuffer">__processBuffer</a></td>
193 <td>Private method to process the buffered output of the git log command.</td>
194 </tr>
195 <tr>
196 <td><a href="#GitLogBrowserDialog.__processBufferItem">__processBufferItem</a></td>
197 <td>Private method to process a log entry.</td>
198 </tr>
199 <tr>
200 <td><a href="#GitLogBrowserDialog.__readStderr">__readStderr</a></td>
201 <td>Private slot to handle the readyReadStandardError signal.</td>
202 </tr>
203 <tr>
204 <td><a href="#GitLogBrowserDialog.__readStdout">__readStdout</a></td>
205 <td>Private slot to handle the readyReadStandardOutput signal.</td>
206 </tr>
207 <tr>
208 <td><a href="#GitLogBrowserDialog.__reloadGeometry">__reloadGeometry</a></td>
209 <td>Private method to restore the geometry.</td>
210 </tr>
211 <tr>
212 <td><a href="#GitLogBrowserDialog.__resetUI">__resetUI</a></td>
213 <td>Private method to reset the user interface.</td>
214 </tr>
215 <tr>
216 <td><a href="#GitLogBrowserDialog.__resizeColumnsFiles">__resizeColumnsFiles</a></td>
217 <td>Private method to resize the changed files tree columns.</td>
218 </tr>
219 <tr>
220 <td><a href="#GitLogBrowserDialog.__resizeColumnsLog">__resizeColumnsLog</a></td>
221 <td>Private method to resize the log tree columns.</td>
222 </tr>
223 <tr>
224 <td><a href="#GitLogBrowserDialog.__resortFiles">__resortFiles</a></td>
225 <td>Private method to resort the changed files tree.</td>
226 </tr>
227 <tr>
228 <td><a href="#GitLogBrowserDialog.__restoreSplitterStates">__restoreSplitterStates</a></td>
229 <td>Private method to restore the state of the various splitters.</td>
230 </tr>
231 <tr>
232 <td><a href="#GitLogBrowserDialog.__shortlogActTriggered">__shortlogActTriggered</a></td>
233 <td>Private slot to show a short log suitable for release announcements.</td>
234 </tr>
235 <tr>
236 <td><a href="#GitLogBrowserDialog.__showAuthorColumns">__showAuthorColumns</a></td>
237 <td>Private slot to show/hide the committer columns.</td>
238 </tr>
239 <tr>
240 <td><a href="#GitLogBrowserDialog.__showBranchesColumn">__showBranchesColumn</a></td>
241 <td>Private slot to show/hide the branches column.</td>
242 </tr>
243 <tr>
244 <td><a href="#GitLogBrowserDialog.__showCommitIdColumn">__showCommitIdColumn</a></td>
245 <td>Private slot to show/hide the commit ID column.</td>
246 </tr>
247 <tr>
248 <td><a href="#GitLogBrowserDialog.__showCommitterColumns">__showCommitterColumns</a></td>
249 <td>Private slot to show/hide the committer columns.</td>
250 </tr>
251 <tr>
252 <td><a href="#GitLogBrowserDialog.__showError">__showError</a></td>
253 <td>Private slot to show some error.</td>
254 </tr>
255 <tr>
256 <td><a href="#GitLogBrowserDialog.__showTagsColumn">__showTagsColumn</a></td>
257 <td>Private slot to show/hide the tags column.</td>
258 </tr>
259 <tr>
260 <td><a href="#GitLogBrowserDialog.__switchActTriggered">__switchActTriggered</a></td>
261 <td>Private slot to switch the working directory to the selected commit.</td>
262 </tr>
263 <tr>
264 <td><a href="#GitLogBrowserDialog.__tagActTriggered">__tagActTriggered</a></td>
265 <td>Private slot to tag the selected commit.</td>
266 </tr>
267 <tr>
268 <td><a href="#GitLogBrowserDialog.__updateDetailsAndFiles">__updateDetailsAndFiles</a></td>
269 <td>Private slot to update the details and file changes panes.</td>
270 </tr>
271 <tr>
272 <td><a href="#GitLogBrowserDialog.__updateFilesTree">__updateFilesTree</a></td>
273 <td>Private method to update the files tree with changes of the given item.</td>
274 </tr>
275 <tr>
276 <td><a href="#GitLogBrowserDialog.__updateSbsSelectLabel">__updateSbsSelectLabel</a></td>
277 <td>Private slot to update the enabled status of the diff buttons.</td>
278 </tr>
279 <tr>
280 <td><a href="#GitLogBrowserDialog.__updateToolMenuActions">__updateToolMenuActions</a></td>
281 <td>Private slot to update the status of the tool menu actions and the tool menu button.</td>
282 </tr>
283 <tr>
284 <td><a href="#GitLogBrowserDialog.closeEvent">closeEvent</a></td>
285 <td>Protected slot implementing a close event handler.</td>
286 </tr>
287 <tr>
288 <td><a href="#GitLogBrowserDialog.col2x">col2x</a></td>
289 <td>Local function to calculate a x-position for a column.</td>
290 </tr>
291 <tr>
292 <td><a href="#GitLogBrowserDialog.keyPressEvent">keyPressEvent</a></td>
293 <td>Protected slot to handle a key press event.</td>
294 </tr>
295 <tr>
296 <td><a href="#GitLogBrowserDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
297 <td>Private slot called by a button of the button box clicked.</td>
298 </tr>
299 <tr>
300 <td><a href="#GitLogBrowserDialog.on_diffSelectLabel_linkActivated">on_diffSelectLabel_linkActivated</a></td>
301 <td>Private slot to handle the selection of a diff target.</td>
302 </tr>
303 <tr>
304 <td><a href="#GitLogBrowserDialog.on_downButton_clicked">on_downButton_clicked</a></td>
305 <td>Private slot to move the current item down one entry.</td>
306 </tr>
307 <tr>
308 <td><a href="#GitLogBrowserDialog.on_fieldCombo_activated">on_fieldCombo_activated</a></td>
309 <td>Private slot called, when a new filter field is selected.</td>
310 </tr>
311 <tr>
312 <td><a href="#GitLogBrowserDialog.on_filesTree_currentItemChanged">on_filesTree_currentItemChanged</a></td>
313 <td>Private slot called, when the current item of the files tree changes.</td>
314 </tr>
315 <tr>
316 <td><a href="#GitLogBrowserDialog.on_findNextButton_clicked">on_findNextButton_clicked</a></td>
317 <td>Private slot to find the next item matching the entered criteria.</td>
318 </tr>
319 <tr>
320 <td><a href="#GitLogBrowserDialog.on_findPrevButton_clicked">on_findPrevButton_clicked</a></td>
321 <td>Private slot to find the previous item matching the entered criteria.</td>
322 </tr>
323 <tr>
324 <td><a href="#GitLogBrowserDialog.on_fromDate_dateChanged">on_fromDate_dateChanged</a></td>
325 <td>Private slot called, when the from date changes.</td>
326 </tr>
327 <tr>
328 <td><a href="#GitLogBrowserDialog.on_input_returnPressed">on_input_returnPressed</a></td>
329 <td>Private slot to handle the press of the return key in the input field.</td>
330 </tr>
331 <tr>
332 <td><a href="#GitLogBrowserDialog.on_logTree_currentItemChanged">on_logTree_currentItemChanged</a></td>
333 <td>Private slot called, when the current item of the log tree changes.</td>
334 </tr>
335 <tr>
336 <td><a href="#GitLogBrowserDialog.on_logTree_customContextMenuRequested">on_logTree_customContextMenuRequested</a></td>
337 <td>Private slot to show the context menu of the log tree.</td>
338 </tr>
339 <tr>
340 <td><a href="#GitLogBrowserDialog.on_logTree_itemSelectionChanged">on_logTree_itemSelectionChanged</a></td>
341 <td>Private slot called, when the selection has changed.</td>
342 </tr>
343 <tr>
344 <td><a href="#GitLogBrowserDialog.on_modeComboBox_currentIndexChanged">on_modeComboBox_currentIndexChanged</a></td>
345 <td>Private slot to react on mode changes.</td>
346 </tr>
347 <tr>
348 <td><a href="#GitLogBrowserDialog.on_nextButton_clicked">on_nextButton_clicked</a></td>
349 <td>Private slot to handle the Next button.</td>
350 </tr>
351 <tr>
352 <td><a href="#GitLogBrowserDialog.on_passwordCheckBox_toggled">on_passwordCheckBox_toggled</a></td>
353 <td>Private slot to handle the password checkbox toggled.</td>
354 </tr>
355 <tr>
356 <td><a href="#GitLogBrowserDialog.on_refreshButton_clicked">on_refreshButton_clicked</a></td>
357 <td>Private slot to refresh the log.</td>
358 </tr>
359 <tr>
360 <td><a href="#GitLogBrowserDialog.on_rxEdit_returnPressed">on_rxEdit_returnPressed</a></td>
361 <td>Private slot handling a press of the Return key in the rxEdit input.</td>
362 </tr>
363 <tr>
364 <td><a href="#GitLogBrowserDialog.on_rxEdit_textChanged">on_rxEdit_textChanged</a></td>
365 <td>Private slot called, when a filter expression is entered.</td>
366 </tr>
367 <tr>
368 <td><a href="#GitLogBrowserDialog.on_saveLabel_linkActivated">on_saveLabel_linkActivated</a></td>
369 <td>Private slot to handle the selection of the save link.</td>
370 </tr>
371 <tr>
372 <td><a href="#GitLogBrowserDialog.on_sbsSelectLabel_linkActivated">on_sbsSelectLabel_linkActivated</a></td>
373 <td>Private slot to handle selection of a side-by-side link.</td>
374 </tr>
375 <tr>
376 <td><a href="#GitLogBrowserDialog.on_sendButton_clicked">on_sendButton_clicked</a></td>
377 <td>Private slot to send the input to the git process.</td>
378 </tr>
379 <tr>
380 <td><a href="#GitLogBrowserDialog.on_stopCheckBox_clicked">on_stopCheckBox_clicked</a></td>
381 <td>Private slot called, when the stop on copy/move checkbox is clicked.</td>
382 </tr>
383 <tr>
384 <td><a href="#GitLogBrowserDialog.on_toDate_dateChanged">on_toDate_dateChanged</a></td>
385 <td>Private slot called, when the from date changes.</td>
386 </tr>
387 <tr>
388 <td><a href="#GitLogBrowserDialog.on_upButton_clicked">on_upButton_clicked</a></td>
389 <td>Private slot to move the current item up one entry.</td>
390 </tr>
391 <tr>
392 <td><a href="#GitLogBrowserDialog.show">show</a></td>
393 <td>Public slot to show the dialog.</td>
394 </tr>
395 <tr>
396 <td><a href="#GitLogBrowserDialog.start">start</a></td>
397 <td>Public slot to start the git log command.</td>
398 </tr>
399 </table>
400 <h3>Static Methods</h3>
401
402 <table>
403 <tr><td>None</td></tr>
404 </table>
405
406 <a NAME="GitLogBrowserDialog.__init__" ID="GitLogBrowserDialog.__init__"></a>
407 <h4>GitLogBrowserDialog (Constructor)</h4>
408 <b>GitLogBrowserDialog</b>(<i>vcs, parent=None</i>)
409
410 <p>
411 Constructor
412 </p>
413 <dl>
414
415 <dt><i>vcs</i></dt>
416 <dd>
417 reference to the vcs object
418 </dd>
419 <dt><i>parent</i></dt>
420 <dd>
421 parent widget (QWidget)
422 </dd>
423 </dl>
424 <a NAME="GitLogBrowserDialog.__actionMode" ID="GitLogBrowserDialog.__actionMode"></a>
425 <h4>GitLogBrowserDialog.__actionMode</h4>
426 <b>__actionMode</b>(<i></i>)
427
428 <p>
429 Private method to get the selected action mode.
430 </p>
431 <dl>
432 <dt>Return:</dt>
433 <dd>
434 selected action mode (string, one of filter or find)
435 </dd>
436 </dl>
437 <a NAME="GitLogBrowserDialog.__addFinishCallback" ID="GitLogBrowserDialog.__addFinishCallback"></a>
438 <h4>GitLogBrowserDialog.__addFinishCallback</h4>
439 <b>__addFinishCallback</b>(<i>callback</i>)
440
441 <p>
442 Private method to add a method to be called once the process finished.
443 </p>
444 <p>
445 The callback methods are invoke in a FIFO style and are consumed. If
446 a callback method needs to be called again, it must be added again.
447 </p>
448 <dl>
449
450 <dt><i>callback</i> (function)</dt>
451 <dd>
452 callback method
453 </dd>
454 </dl>
455 <a NAME="GitLogBrowserDialog.__branchActTriggered" ID="GitLogBrowserDialog.__branchActTriggered"></a>
456 <h4>GitLogBrowserDialog.__branchActTriggered</h4>
457 <b>__branchActTriggered</b>(<i></i>)
458
459 <p>
460 Private slot to create a new branch starting at the selected commit.
461 </p>
462 <a NAME="GitLogBrowserDialog.__branchSwitchActTriggered" ID="GitLogBrowserDialog.__branchSwitchActTriggered"></a>
463 <h4>GitLogBrowserDialog.__branchSwitchActTriggered</h4>
464 <b>__branchSwitchActTriggered</b>(<i></i>)
465
466 <p>
467 Private slot to create a new branch starting at the selected commit
468 and switch the work tree to it.
469 </p>
470 <a NAME="GitLogBrowserDialog.__cherryActTriggered" ID="GitLogBrowserDialog.__cherryActTriggered"></a>
471 <h4>GitLogBrowserDialog.__cherryActTriggered</h4>
472 <b>__cherryActTriggered</b>(<i></i>)
473
474 <p>
475 Private slot to handle the Copy Commits action.
476 </p>
477 <a NAME="GitLogBrowserDialog.__commitIdClicked" ID="GitLogBrowserDialog.__commitIdClicked"></a>
478 <h4>GitLogBrowserDialog.__commitIdClicked</h4>
479 <b>__commitIdClicked</b>(<i>url</i>)
480
481 <p>
482 Private slot to handle the anchorClicked signal of the changeset
483 details pane.
484 </p>
485 <dl>
486
487 <dt><i>url</i> (QUrl)</dt>
488 <dd>
489 URL that was clicked
490 </dd>
491 </dl>
492 <a NAME="GitLogBrowserDialog.__describeActTriggered" ID="GitLogBrowserDialog.__describeActTriggered"></a>
493 <h4>GitLogBrowserDialog.__describeActTriggered</h4>
494 <b>__describeActTriggered</b>(<i></i>)
495
496 <p>
497 Private slot to show the most recent tag reachable from a commit.
498 </p>
499 <a NAME="GitLogBrowserDialog.__filterLogs" ID="GitLogBrowserDialog.__filterLogs"></a>
500 <h4>GitLogBrowserDialog.__filterLogs</h4>
501 <b>__filterLogs</b>(<i></i>)
502
503 <p>
504 Private method to filter the log entries.
505 </p>
506 <a NAME="GitLogBrowserDialog.__findItem" ID="GitLogBrowserDialog.__findItem"></a>
507 <h4>GitLogBrowserDialog.__findItem</h4>
508 <b>__findItem</b>(<i>backwards=False, interactive=False</i>)
509
510 <p>
511 Private slot to find an item matching the entered criteria.
512 </p>
513 <dl>
514
515 <dt><i>backwards</i></dt>
516 <dd>
517 flag indicating to search backwards (boolean)
518 </dd>
519 <dt><i>interactive</i></dt>
520 <dd>
521 flag indicating an interactive search (boolean)
522 </dd>
523 </dl>
524 <a NAME="GitLogBrowserDialog.__finish" ID="GitLogBrowserDialog.__finish"></a>
525 <h4>GitLogBrowserDialog.__finish</h4>
526 <b>__finish</b>(<i></i>)
527
528 <p>
529 Private slot called when the process finished or the user pressed
530 the button.
531 </p>
532 <a NAME="GitLogBrowserDialog.__generateDetailsTableText" ID="GitLogBrowserDialog.__generateDetailsTableText"></a>
533 <h4>GitLogBrowserDialog.__generateDetailsTableText</h4>
534 <b>__generateDetailsTableText</b>(<i>itm</i>)
535
536 <p>
537 Private method to generate an HTML table with the details of the given
538 changeset.
539 </p>
540 <dl>
541
542 <dt><i>itm</i> (QTreeWidgetItem)</dt>
543 <dd>
544 reference to the item the table should be based on
545 </dd>
546 </dl>
547 <dl>
548 <dt>Return:</dt>
549 <dd>
550 HTML table containing details
551 </dd>
552 </dl>
553 <dl>
554 <dt>Return Type:</dt>
555 <dd>
556 str
557 </dd>
558 </dl>
559 <a NAME="GitLogBrowserDialog.__generateDiffs" ID="GitLogBrowserDialog.__generateDiffs"></a>
560 <h4>GitLogBrowserDialog.__generateDiffs</h4>
561 <b>__generateDiffs</b>(<i>parent=1</i>)
562
563 <p>
564 Private slot to generate diff outputs for the selected item.
565 </p>
566 <dl>
567
568 <dt><i>parent</i> (int)</dt>
569 <dd>
570 number of parent to diff against
571 </dd>
572 </dl>
573 <a NAME="GitLogBrowserDialog.__generateEdges" ID="GitLogBrowserDialog.__generateEdges"></a>
574 <h4>GitLogBrowserDialog.__generateEdges</h4>
575 <b>__generateEdges</b>(<i>commitId, parents</i>)
576
577 <p>
578 Private method to generate edge info for the give data.
579 </p>
580 <dl>
581
582 <dt><i>commitId</i></dt>
583 <dd>
584 commit id to calculate edge info for (string)
585 </dd>
586 <dt><i>parents</i></dt>
587 <dd>
588 list of parent commits (list of strings)
589 </dd>
590 </dl>
591 <dl>
592 <dt>Return:</dt>
593 <dd>
594 tuple containing the column and color index for
595 the given node and a list of tuples indicating the edges
596 between the given node and its parents
597 (integer, integer, [(integer, integer, integer), ...])
598 </dd>
599 </dl>
600 <a NAME="GitLogBrowserDialog.__generateFileItem" ID="GitLogBrowserDialog.__generateFileItem"></a>
601 <h4>GitLogBrowserDialog.__generateFileItem</h4>
602 <b>__generateFileItem</b>(<i>action, path, copyfrom, additions, deletions</i>)
603
604 <p>
605 Private method to generate a changed files tree entry.
606 </p>
607 <dl>
608
609 <dt><i>action</i></dt>
610 <dd>
611 indicator for the change action ("A", "C", "D", "M",
612 "R", "T", "U", "X")
613 </dd>
614 <dt><i>path</i></dt>
615 <dd>
616 path of the file in the repository (string)
617 </dd>
618 <dt><i>copyfrom</i></dt>
619 <dd>
620 path the file was copied from (string)
621 </dd>
622 <dt><i>additions</i></dt>
623 <dd>
624 number of added lines (int)
625 </dd>
626 <dt><i>deletions</i></dt>
627 <dd>
628 number of deleted lines (int)
629 </dd>
630 </dl>
631 <dl>
632 <dt>Return:</dt>
633 <dd>
634 reference to the generated item (QTreeWidgetItem)
635 </dd>
636 </dl>
637 <a NAME="GitLogBrowserDialog.__generateIcon" ID="GitLogBrowserDialog.__generateIcon"></a>
638 <h4>GitLogBrowserDialog.__generateIcon</h4>
639 <b>__generateIcon</b>(<i>column, color, bottomedges, topedges, dotColor, currentCommit</i>)
640
641 <p>
642 Private method to generate an icon containing the revision tree for the
643 given data.
644 </p>
645 <dl>
646
647 <dt><i>column</i></dt>
648 <dd>
649 column index of the revision (integer)
650 </dd>
651 <dt><i>color</i></dt>
652 <dd>
653 color of the node (integer)
654 </dd>
655 <dt><i>bottomedges</i></dt>
656 <dd>
657 list of edges for the bottom of the node
658 (list of tuples of three integers)
659 </dd>
660 <dt><i>topedges</i></dt>
661 <dd>
662 list of edges for the top of the node
663 (list of tuples of three integers)
664 </dd>
665 <dt><i>dotColor</i></dt>
666 <dd>
667 color to be used for the dot (QColor)
668 </dd>
669 <dt><i>currentCommit</i></dt>
670 <dd>
671 flag indicating to draw the icon for the
672 current commit (boolean)
673 </dd>
674 </dl>
675 <dl>
676 <dt>Return:</dt>
677 <dd>
678 icon for the node (QIcon)
679 </dd>
680 </dl>
681 <a NAME="GitLogBrowserDialog.__generateLogItem" ID="GitLogBrowserDialog.__generateLogItem"></a>
682 <h4>GitLogBrowserDialog.__generateLogItem</h4>
683 <b>__generateLogItem</b>(<i>author, date, committer, commitDate, subject, message, commitId, changedPaths, parents, refnames, authorMail, committerMail</i>)
684
685 <p>
686 Private method to generate a log tree entry.
687 </p>
688 <dl>
689
690 <dt><i>author</i></dt>
691 <dd>
692 author info (string)
693 </dd>
694 <dt><i>date</i></dt>
695 <dd>
696 date info (string)
697 </dd>
698 <dt><i>committer</i></dt>
699 <dd>
700 committer info (string)
701 </dd>
702 <dt><i>commitDate</i></dt>
703 <dd>
704 commit date info (string)
705 </dd>
706 <dt><i>subject</i></dt>
707 <dd>
708 subject of the log entry (string)
709 </dd>
710 <dt><i>message</i></dt>
711 <dd>
712 text of the log message (list of strings)
713 </dd>
714 <dt><i>commitId</i></dt>
715 <dd>
716 commit id info (string)
717 </dd>
718 <dt><i>changedPaths</i></dt>
719 <dd>
720 list of dictionary objects containing
721 info about the changed files/directories
722 </dd>
723 <dt><i>parents</i></dt>
724 <dd>
725 list of parent revisions (list of integers)
726 </dd>
727 <dt><i>refnames</i></dt>
728 <dd>
729 tags and branches of the commit (string)
730 </dd>
731 <dt><i>authorMail</i></dt>
732 <dd>
733 author's email address (string)
734 </dd>
735 <dt><i>committerMail</i></dt>
736 <dd>
737 committer's email address (string)
738 </dd>
739 </dl>
740 <dl>
741 <dt>Return:</dt>
742 <dd>
743 reference to the generated item (QTreeWidgetItem)
744 </dd>
745 </dl>
746 <a NAME="GitLogBrowserDialog.__generatorFinished" ID="GitLogBrowserDialog.__generatorFinished"></a>
747 <h4>GitLogBrowserDialog.__generatorFinished</h4>
748 <b>__generatorFinished</b>(<i></i>)
749
750 <p>
751 Private slot connected to the finished signal of the diff generator.
752 </p>
753 <a NAME="GitLogBrowserDialog.__getBranchesForCommit" ID="GitLogBrowserDialog.__getBranchesForCommit"></a>
754 <h4>GitLogBrowserDialog.__getBranchesForCommit</h4>
755 <b>__getBranchesForCommit</b>(<i>commitId</i>)
756
757 <p>
758 Private method to get all branches reachable from a commit ID.
759 </p>
760 <dl>
761
762 <dt><i>commitId</i> (str)</dt>
763 <dd>
764 commit ID to get the branches for
765 </dd>
766 </dl>
767 <dl>
768 <dt>Return:</dt>
769 <dd>
770 list of tuples containing the branch name and the associated
771 commit ID of its branch head
772 </dd>
773 </dl>
774 <dl>
775 <dt>Return Type:</dt>
776 <dd>
777 tuple of (str, str)
778 </dd>
779 </dl>
780 <a NAME="GitLogBrowserDialog.__getColor" ID="GitLogBrowserDialog.__getColor"></a>
781 <h4>GitLogBrowserDialog.__getColor</h4>
782 <b>__getColor</b>(<i>n</i>)
783
784 <p>
785 Private method to get the (rotating) name of the color given an index.
786 </p>
787 <dl>
788
789 <dt><i>n</i> (int)</dt>
790 <dd>
791 color index
792 </dd>
793 </dl>
794 <dl>
795 <dt>Return:</dt>
796 <dd>
797 color name
798 </dd>
799 </dl>
800 <dl>
801 <dt>Return Type:</dt>
802 <dd>
803 str
804 </dd>
805 </dl>
806 <a NAME="GitLogBrowserDialog.__getCommitForTag" ID="GitLogBrowserDialog.__getCommitForTag"></a>
807 <h4>GitLogBrowserDialog.__getCommitForTag</h4>
808 <b>__getCommitForTag</b>(<i>tag</i>)
809
810 <p>
811 Private method to get the commit id for a tag.
812 </p>
813 <dl>
814
815 <dt><i>tag</i></dt>
816 <dd>
817 tag name (string)
818 </dd>
819 </dl>
820 <dl>
821 <dt>Return:</dt>
822 <dd>
823 commit id shortened to 10 characters (string)
824 </dd>
825 </dl>
826 <a NAME="GitLogBrowserDialog.__getLogEntries" ID="GitLogBrowserDialog.__getLogEntries"></a>
827 <h4>GitLogBrowserDialog.__getLogEntries</h4>
828 <b>__getLogEntries</b>(<i>skip=0, noEntries=0</i>)
829
830 <p>
831 Private method to retrieve log entries from the repository.
832 </p>
833 <dl>
834
835 <dt><i>skip</i></dt>
836 <dd>
837 number of log entries to skip (integer)
838 </dd>
839 <dt><i>noEntries</i></dt>
840 <dd>
841 number of entries to get (0 = default) (int)
842 </dd>
843 </dl>
844 <a NAME="GitLogBrowserDialog.__getTagsForCommit" ID="GitLogBrowserDialog.__getTagsForCommit"></a>
845 <h4>GitLogBrowserDialog.__getTagsForCommit</h4>
846 <b>__getTagsForCommit</b>(<i>commitId</i>)
847
848 <p>
849 Private method to get all tags reachable from a commit ID.
850 </p>
851 <dl>
852
853 <dt><i>commitId</i> (str)</dt>
854 <dd>
855 commit ID to get the tags for
856 </dd>
857 </dl>
858 <dl>
859 <dt>Return:</dt>
860 <dd>
861 list of tuples containing the tag name and the associated
862 commit ID
863 </dd>
864 </dl>
865 <dl>
866 <dt>Return Type:</dt>
867 <dd>
868 tuple of (str, str)
869 </dd>
870 </dl>
871 <a NAME="GitLogBrowserDialog.__identifyProject" ID="GitLogBrowserDialog.__identifyProject"></a>
872 <h4>GitLogBrowserDialog.__identifyProject</h4>
873 <b>__identifyProject</b>(<i></i>)
874
875 <p>
876 Private method to determine the revision of the project directory.
877 </p>
878 <a NAME="GitLogBrowserDialog.__initActionsMenu" ID="GitLogBrowserDialog.__initActionsMenu"></a>
879 <h4>GitLogBrowserDialog.__initActionsMenu</h4>
880 <b>__initActionsMenu</b>(<i></i>)
881
882 <p>
883 Private method to initialize the actions menu.
884 </p>
885 <a NAME="GitLogBrowserDialog.__initData" ID="GitLogBrowserDialog.__initData"></a>
886 <h4>GitLogBrowserDialog.__initData</h4>
887 <b>__initData</b>(<i></i>)
888
889 <p>
890 Private method to (re-)initialize some data.
891 </p>
892 <a NAME="GitLogBrowserDialog.__initLogTreeContextMenu" ID="GitLogBrowserDialog.__initLogTreeContextMenu"></a>
893 <h4>GitLogBrowserDialog.__initLogTreeContextMenu</h4>
894 <b>__initLogTreeContextMenu</b>(<i></i>)
895
896 <p>
897 Private method to initialize the log tree context menu.
898 </p>
899 <a NAME="GitLogBrowserDialog.__mergeFileSeparators" ID="GitLogBrowserDialog.__mergeFileSeparators"></a>
900 <h4>GitLogBrowserDialog.__mergeFileSeparators</h4>
901 <b>__mergeFileSeparators</b>(<i>fileSeparators</i>)
902
903 <p>
904 Private method to merge the file separator entries.
905 </p>
906 <dl>
907
908 <dt><i>fileSeparators</i></dt>
909 <dd>
910 list of file separator entries to be merged
911 </dd>
912 </dl>
913 <dl>
914 <dt>Return:</dt>
915 <dd>
916 merged list of file separator entries
917 </dd>
918 </dl>
919 <a NAME="GitLogBrowserDialog.__prepareFieldSearch" ID="GitLogBrowserDialog.__prepareFieldSearch"></a>
920 <h4>GitLogBrowserDialog.__prepareFieldSearch</h4>
921 <b>__prepareFieldSearch</b>(<i></i>)
922
923 <p>
924 Private slot to prepare the filed search data.
925 </p>
926 <dl>
927 <dt>Return:</dt>
928 <dd>
929 tuple of field index, search expression and flag indicating
930 that the field index is a data role (integer, string, boolean)
931 </dd>
932 </dl>
933 <a NAME="GitLogBrowserDialog.__procFinished" ID="GitLogBrowserDialog.__procFinished"></a>
934 <h4>GitLogBrowserDialog.__procFinished</h4>
935 <b>__procFinished</b>(<i>exitCode, exitStatus</i>)
936
937 <p>
938 Private slot connected to the finished signal.
939 </p>
940 <dl>
941
942 <dt><i>exitCode</i></dt>
943 <dd>
944 exit code of the process (integer)
945 </dd>
946 <dt><i>exitStatus</i></dt>
947 <dd>
948 exit status of the process (QProcess.ExitStatus)
949 </dd>
950 </dl>
951 <a NAME="GitLogBrowserDialog.__processBuffer" ID="GitLogBrowserDialog.__processBuffer"></a>
952 <h4>GitLogBrowserDialog.__processBuffer</h4>
953 <b>__processBuffer</b>(<i></i>)
954
955 <p>
956 Private method to process the buffered output of the git log command.
957 </p>
958 <a NAME="GitLogBrowserDialog.__processBufferItem" ID="GitLogBrowserDialog.__processBufferItem"></a>
959 <h4>GitLogBrowserDialog.__processBufferItem</h4>
960 <b>__processBufferItem</b>(<i>logEntry</i>)
961
962 <p>
963 Private method to process a log entry.
964 </p>
965 <dl>
966
967 <dt><i>logEntry</i></dt>
968 <dd>
969 dictionary as generated by __processBuffer
970 </dd>
971 </dl>
972 <a NAME="GitLogBrowserDialog.__readStderr" ID="GitLogBrowserDialog.__readStderr"></a>
973 <h4>GitLogBrowserDialog.__readStderr</h4>
974 <b>__readStderr</b>(<i></i>)
975
976 <p>
977 Private slot to handle the readyReadStandardError signal.
978 </p>
979 <p>
980 It reads the error output of the process and inserts it into the
981 error pane.
982 </p>
983 <a NAME="GitLogBrowserDialog.__readStdout" ID="GitLogBrowserDialog.__readStdout"></a>
984 <h4>GitLogBrowserDialog.__readStdout</h4>
985 <b>__readStdout</b>(<i></i>)
986
987 <p>
988 Private slot to handle the readyReadStandardOutput signal.
989 </p>
990 <p>
991 It reads the output of the process and inserts it into a buffer.
992 </p>
993 <a NAME="GitLogBrowserDialog.__reloadGeometry" ID="GitLogBrowserDialog.__reloadGeometry"></a>
994 <h4>GitLogBrowserDialog.__reloadGeometry</h4>
995 <b>__reloadGeometry</b>(<i></i>)
996
997 <p>
998 Private method to restore the geometry.
999 </p>
1000 <a NAME="GitLogBrowserDialog.__resetUI" ID="GitLogBrowserDialog.__resetUI"></a>
1001 <h4>GitLogBrowserDialog.__resetUI</h4>
1002 <b>__resetUI</b>(<i></i>)
1003
1004 <p>
1005 Private method to reset the user interface.
1006 </p>
1007 <a NAME="GitLogBrowserDialog.__resizeColumnsFiles" ID="GitLogBrowserDialog.__resizeColumnsFiles"></a>
1008 <h4>GitLogBrowserDialog.__resizeColumnsFiles</h4>
1009 <b>__resizeColumnsFiles</b>(<i></i>)
1010
1011 <p>
1012 Private method to resize the changed files tree columns.
1013 </p>
1014 <a NAME="GitLogBrowserDialog.__resizeColumnsLog" ID="GitLogBrowserDialog.__resizeColumnsLog"></a>
1015 <h4>GitLogBrowserDialog.__resizeColumnsLog</h4>
1016 <b>__resizeColumnsLog</b>(<i></i>)
1017
1018 <p>
1019 Private method to resize the log tree columns.
1020 </p>
1021 <a NAME="GitLogBrowserDialog.__resortFiles" ID="GitLogBrowserDialog.__resortFiles"></a>
1022 <h4>GitLogBrowserDialog.__resortFiles</h4>
1023 <b>__resortFiles</b>(<i></i>)
1024
1025 <p>
1026 Private method to resort the changed files tree.
1027 </p>
1028 <a NAME="GitLogBrowserDialog.__restoreSplitterStates" ID="GitLogBrowserDialog.__restoreSplitterStates"></a>
1029 <h4>GitLogBrowserDialog.__restoreSplitterStates</h4>
1030 <b>__restoreSplitterStates</b>(<i></i>)
1031
1032 <p>
1033 Private method to restore the state of the various splitters.
1034 </p>
1035 <a NAME="GitLogBrowserDialog.__shortlogActTriggered" ID="GitLogBrowserDialog.__shortlogActTriggered"></a>
1036 <h4>GitLogBrowserDialog.__shortlogActTriggered</h4>
1037 <b>__shortlogActTriggered</b>(<i></i>)
1038
1039 <p>
1040 Private slot to show a short log suitable for release announcements.
1041 </p>
1042 <a NAME="GitLogBrowserDialog.__showAuthorColumns" ID="GitLogBrowserDialog.__showAuthorColumns"></a>
1043 <h4>GitLogBrowserDialog.__showAuthorColumns</h4>
1044 <b>__showAuthorColumns</b>(<i>on</i>)
1045
1046 <p>
1047 Private slot to show/hide the committer columns.
1048 </p>
1049 <dl>
1050
1051 <dt><i>on</i></dt>
1052 <dd>
1053 flag indicating the selection state (boolean)
1054 </dd>
1055 </dl>
1056 <a NAME="GitLogBrowserDialog.__showBranchesColumn" ID="GitLogBrowserDialog.__showBranchesColumn"></a>
1057 <h4>GitLogBrowserDialog.__showBranchesColumn</h4>
1058 <b>__showBranchesColumn</b>(<i>on</i>)
1059
1060 <p>
1061 Private slot to show/hide the branches column.
1062 </p>
1063 <dl>
1064
1065 <dt><i>on</i></dt>
1066 <dd>
1067 flag indicating the selection state (boolean)
1068 </dd>
1069 </dl>
1070 <a NAME="GitLogBrowserDialog.__showCommitIdColumn" ID="GitLogBrowserDialog.__showCommitIdColumn"></a>
1071 <h4>GitLogBrowserDialog.__showCommitIdColumn</h4>
1072 <b>__showCommitIdColumn</b>(<i>on</i>)
1073
1074 <p>
1075 Private slot to show/hide the commit ID column.
1076 </p>
1077 <dl>
1078
1079 <dt><i>on</i></dt>
1080 <dd>
1081 flag indicating the selection state (boolean)
1082 </dd>
1083 </dl>
1084 <a NAME="GitLogBrowserDialog.__showCommitterColumns" ID="GitLogBrowserDialog.__showCommitterColumns"></a>
1085 <h4>GitLogBrowserDialog.__showCommitterColumns</h4>
1086 <b>__showCommitterColumns</b>(<i>on</i>)
1087
1088 <p>
1089 Private slot to show/hide the committer columns.
1090 </p>
1091 <dl>
1092
1093 <dt><i>on</i></dt>
1094 <dd>
1095 flag indicating the selection state (boolean)
1096 </dd>
1097 </dl>
1098 <a NAME="GitLogBrowserDialog.__showError" ID="GitLogBrowserDialog.__showError"></a>
1099 <h4>GitLogBrowserDialog.__showError</h4>
1100 <b>__showError</b>(<i>out</i>)
1101
1102 <p>
1103 Private slot to show some error.
1104 </p>
1105 <dl>
1106
1107 <dt><i>out</i></dt>
1108 <dd>
1109 error to be shown (string)
1110 </dd>
1111 </dl>
1112 <a NAME="GitLogBrowserDialog.__showTagsColumn" ID="GitLogBrowserDialog.__showTagsColumn"></a>
1113 <h4>GitLogBrowserDialog.__showTagsColumn</h4>
1114 <b>__showTagsColumn</b>(<i>on</i>)
1115
1116 <p>
1117 Private slot to show/hide the tags column.
1118 </p>
1119 <dl>
1120
1121 <dt><i>on</i></dt>
1122 <dd>
1123 flag indicating the selection state (boolean)
1124 </dd>
1125 </dl>
1126 <a NAME="GitLogBrowserDialog.__switchActTriggered" ID="GitLogBrowserDialog.__switchActTriggered"></a>
1127 <h4>GitLogBrowserDialog.__switchActTriggered</h4>
1128 <b>__switchActTriggered</b>(<i></i>)
1129
1130 <p>
1131 Private slot to switch the working directory to the
1132 selected commit.
1133 </p>
1134 <a NAME="GitLogBrowserDialog.__tagActTriggered" ID="GitLogBrowserDialog.__tagActTriggered"></a>
1135 <h4>GitLogBrowserDialog.__tagActTriggered</h4>
1136 <b>__tagActTriggered</b>(<i></i>)
1137
1138 <p>
1139 Private slot to tag the selected commit.
1140 </p>
1141 <a NAME="GitLogBrowserDialog.__updateDetailsAndFiles" ID="GitLogBrowserDialog.__updateDetailsAndFiles"></a>
1142 <h4>GitLogBrowserDialog.__updateDetailsAndFiles</h4>
1143 <b>__updateDetailsAndFiles</b>(<i></i>)
1144
1145 <p>
1146 Private slot to update the details and file changes panes.
1147 </p>
1148 <a NAME="GitLogBrowserDialog.__updateFilesTree" ID="GitLogBrowserDialog.__updateFilesTree"></a>
1149 <h4>GitLogBrowserDialog.__updateFilesTree</h4>
1150 <b>__updateFilesTree</b>(<i>parent, itm</i>)
1151
1152 <p>
1153 Private method to update the files tree with changes of the given item.
1154 </p>
1155 <dl>
1156
1157 <dt><i>parent</i> (QTreeWidget or QTreeWidgetItem)</dt>
1158 <dd>
1159 parent for the items to be added
1160 </dd>
1161 <dt><i>itm</i> (QTreeWidgetItem)</dt>
1162 <dd>
1163 reference to the item the update should be based on
1164 </dd>
1165 </dl>
1166 <a NAME="GitLogBrowserDialog.__updateSbsSelectLabel" ID="GitLogBrowserDialog.__updateSbsSelectLabel"></a>
1167 <h4>GitLogBrowserDialog.__updateSbsSelectLabel</h4>
1168 <b>__updateSbsSelectLabel</b>(<i></i>)
1169
1170 <p>
1171 Private slot to update the enabled status of the diff buttons.
1172 </p>
1173 <a NAME="GitLogBrowserDialog.__updateToolMenuActions" ID="GitLogBrowserDialog.__updateToolMenuActions"></a>
1174 <h4>GitLogBrowserDialog.__updateToolMenuActions</h4>
1175 <b>__updateToolMenuActions</b>(<i></i>)
1176
1177 <p>
1178 Private slot to update the status of the tool menu actions and
1179 the tool menu button.
1180 </p>
1181 <a NAME="GitLogBrowserDialog.closeEvent" ID="GitLogBrowserDialog.closeEvent"></a>
1182 <h4>GitLogBrowserDialog.closeEvent</h4>
1183 <b>closeEvent</b>(<i>e</i>)
1184
1185 <p>
1186 Protected slot implementing a close event handler.
1187 </p>
1188 <dl>
1189
1190 <dt><i>e</i></dt>
1191 <dd>
1192 close event (QCloseEvent)
1193 </dd>
1194 </dl>
1195 <a NAME="GitLogBrowserDialog.col2x" ID="GitLogBrowserDialog.col2x"></a>
1196 <h4>GitLogBrowserDialog.col2x</h4>
1197 <b>col2x</b>(<i>radius</i>)
1198
1199 <p>
1200 Local function to calculate a x-position for a column.
1201 </p>
1202 <dl>
1203
1204 <dt><i>col</i></dt>
1205 <dd>
1206 column number (integer)
1207 </dd>
1208 <dt><i>radius</i></dt>
1209 <dd>
1210 radius of the indicator circle (integer)
1211 </dd>
1212 </dl>
1213 <a NAME="GitLogBrowserDialog.keyPressEvent" ID="GitLogBrowserDialog.keyPressEvent"></a>
1214 <h4>GitLogBrowserDialog.keyPressEvent</h4>
1215 <b>keyPressEvent</b>(<i>evt</i>)
1216
1217 <p>
1218 Protected slot to handle a key press event.
1219 </p>
1220 <dl>
1221
1222 <dt><i>evt</i></dt>
1223 <dd>
1224 the key press event (QKeyEvent)
1225 </dd>
1226 </dl>
1227 <a NAME="GitLogBrowserDialog.on_buttonBox_clicked" ID="GitLogBrowserDialog.on_buttonBox_clicked"></a>
1228 <h4>GitLogBrowserDialog.on_buttonBox_clicked</h4>
1229 <b>on_buttonBox_clicked</b>(<i>button</i>)
1230
1231 <p>
1232 Private slot called by a button of the button box clicked.
1233 </p>
1234 <dl>
1235
1236 <dt><i>button</i></dt>
1237 <dd>
1238 button that was clicked (QAbstractButton)
1239 </dd>
1240 </dl>
1241 <a NAME="GitLogBrowserDialog.on_diffSelectLabel_linkActivated" ID="GitLogBrowserDialog.on_diffSelectLabel_linkActivated"></a>
1242 <h4>GitLogBrowserDialog.on_diffSelectLabel_linkActivated</h4>
1243 <b>on_diffSelectLabel_linkActivated</b>(<i>link</i>)
1244
1245 <p>
1246 Private slot to handle the selection of a diff target.
1247 </p>
1248 <dl>
1249
1250 <dt><i>link</i> (str)</dt>
1251 <dd>
1252 activated link
1253 </dd>
1254 </dl>
1255 <a NAME="GitLogBrowserDialog.on_downButton_clicked" ID="GitLogBrowserDialog.on_downButton_clicked"></a>
1256 <h4>GitLogBrowserDialog.on_downButton_clicked</h4>
1257 <b>on_downButton_clicked</b>(<i></i>)
1258
1259 <p>
1260 Private slot to move the current item down one entry.
1261 </p>
1262 <a NAME="GitLogBrowserDialog.on_fieldCombo_activated" ID="GitLogBrowserDialog.on_fieldCombo_activated"></a>
1263 <h4>GitLogBrowserDialog.on_fieldCombo_activated</h4>
1264 <b>on_fieldCombo_activated</b>(<i>index</i>)
1265
1266 <p>
1267 Private slot called, when a new filter field is selected.
1268 </p>
1269 <dl>
1270
1271 <dt><i>index</i> (int)</dt>
1272 <dd>
1273 index of the selected entry
1274 </dd>
1275 </dl>
1276 <a NAME="GitLogBrowserDialog.on_filesTree_currentItemChanged" ID="GitLogBrowserDialog.on_filesTree_currentItemChanged"></a>
1277 <h4>GitLogBrowserDialog.on_filesTree_currentItemChanged</h4>
1278 <b>on_filesTree_currentItemChanged</b>(<i>current, previous</i>)
1279
1280 <p>
1281 Private slot called, when the current item of the files tree changes.
1282 </p>
1283 <dl>
1284
1285 <dt><i>current</i></dt>
1286 <dd>
1287 reference to the new current item (QTreeWidgetItem)
1288 </dd>
1289 <dt><i>previous</i></dt>
1290 <dd>
1291 reference to the old current item (QTreeWidgetItem)
1292 </dd>
1293 </dl>
1294 <a NAME="GitLogBrowserDialog.on_findNextButton_clicked" ID="GitLogBrowserDialog.on_findNextButton_clicked"></a>
1295 <h4>GitLogBrowserDialog.on_findNextButton_clicked</h4>
1296 <b>on_findNextButton_clicked</b>(<i></i>)
1297
1298 <p>
1299 Private slot to find the next item matching the entered criteria.
1300 </p>
1301 <a NAME="GitLogBrowserDialog.on_findPrevButton_clicked" ID="GitLogBrowserDialog.on_findPrevButton_clicked"></a>
1302 <h4>GitLogBrowserDialog.on_findPrevButton_clicked</h4>
1303 <b>on_findPrevButton_clicked</b>(<i></i>)
1304
1305 <p>
1306 Private slot to find the previous item matching the entered criteria.
1307 </p>
1308 <a NAME="GitLogBrowserDialog.on_fromDate_dateChanged" ID="GitLogBrowserDialog.on_fromDate_dateChanged"></a>
1309 <h4>GitLogBrowserDialog.on_fromDate_dateChanged</h4>
1310 <b>on_fromDate_dateChanged</b>(<i>date</i>)
1311
1312 <p>
1313 Private slot called, when the from date changes.
1314 </p>
1315 <dl>
1316
1317 <dt><i>date</i></dt>
1318 <dd>
1319 new date (QDate)
1320 </dd>
1321 </dl>
1322 <a NAME="GitLogBrowserDialog.on_input_returnPressed" ID="GitLogBrowserDialog.on_input_returnPressed"></a>
1323 <h4>GitLogBrowserDialog.on_input_returnPressed</h4>
1324 <b>on_input_returnPressed</b>(<i></i>)
1325
1326 <p>
1327 Private slot to handle the press of the return key in the input field.
1328 </p>
1329 <a NAME="GitLogBrowserDialog.on_logTree_currentItemChanged" ID="GitLogBrowserDialog.on_logTree_currentItemChanged"></a>
1330 <h4>GitLogBrowserDialog.on_logTree_currentItemChanged</h4>
1331 <b>on_logTree_currentItemChanged</b>(<i>current, previous</i>)
1332
1333 <p>
1334 Private slot called, when the current item of the log tree changes.
1335 </p>
1336 <dl>
1337
1338 <dt><i>current</i></dt>
1339 <dd>
1340 reference to the new current item (QTreeWidgetItem)
1341 </dd>
1342 <dt><i>previous</i></dt>
1343 <dd>
1344 reference to the old current item (QTreeWidgetItem)
1345 </dd>
1346 </dl>
1347 <a NAME="GitLogBrowserDialog.on_logTree_customContextMenuRequested" ID="GitLogBrowserDialog.on_logTree_customContextMenuRequested"></a>
1348 <h4>GitLogBrowserDialog.on_logTree_customContextMenuRequested</h4>
1349 <b>on_logTree_customContextMenuRequested</b>(<i>pos</i>)
1350
1351 <p>
1352 Private slot to show the context menu of the log tree.
1353 </p>
1354 <dl>
1355
1356 <dt><i>pos</i></dt>
1357 <dd>
1358 position of the mouse pointer (QPoint)
1359 </dd>
1360 </dl>
1361 <a NAME="GitLogBrowserDialog.on_logTree_itemSelectionChanged" ID="GitLogBrowserDialog.on_logTree_itemSelectionChanged"></a>
1362 <h4>GitLogBrowserDialog.on_logTree_itemSelectionChanged</h4>
1363 <b>on_logTree_itemSelectionChanged</b>(<i></i>)
1364
1365 <p>
1366 Private slot called, when the selection has changed.
1367 </p>
1368 <a NAME="GitLogBrowserDialog.on_modeComboBox_currentIndexChanged" ID="GitLogBrowserDialog.on_modeComboBox_currentIndexChanged"></a>
1369 <h4>GitLogBrowserDialog.on_modeComboBox_currentIndexChanged</h4>
1370 <b>on_modeComboBox_currentIndexChanged</b>(<i>index</i>)
1371
1372 <p>
1373 Private slot to react on mode changes.
1374 </p>
1375 <dl>
1376
1377 <dt><i>index</i></dt>
1378 <dd>
1379 index of the selected entry (integer)
1380 </dd>
1381 </dl>
1382 <a NAME="GitLogBrowserDialog.on_nextButton_clicked" ID="GitLogBrowserDialog.on_nextButton_clicked"></a>
1383 <h4>GitLogBrowserDialog.on_nextButton_clicked</h4>
1384 <b>on_nextButton_clicked</b>(<i></i>)
1385
1386 <p>
1387 Private slot to handle the Next button.
1388 </p>
1389 <a NAME="GitLogBrowserDialog.on_passwordCheckBox_toggled" ID="GitLogBrowserDialog.on_passwordCheckBox_toggled"></a>
1390 <h4>GitLogBrowserDialog.on_passwordCheckBox_toggled</h4>
1391 <b>on_passwordCheckBox_toggled</b>(<i>isOn</i>)
1392
1393 <p>
1394 Private slot to handle the password checkbox toggled.
1395 </p>
1396 <dl>
1397
1398 <dt><i>isOn</i></dt>
1399 <dd>
1400 flag indicating the status of the check box (boolean)
1401 </dd>
1402 </dl>
1403 <a NAME="GitLogBrowserDialog.on_refreshButton_clicked" ID="GitLogBrowserDialog.on_refreshButton_clicked"></a>
1404 <h4>GitLogBrowserDialog.on_refreshButton_clicked</h4>
1405 <b>on_refreshButton_clicked</b>(<i></i>)
1406
1407 <p>
1408 Private slot to refresh the log.
1409 </p>
1410 <a NAME="GitLogBrowserDialog.on_rxEdit_returnPressed" ID="GitLogBrowserDialog.on_rxEdit_returnPressed"></a>
1411 <h4>GitLogBrowserDialog.on_rxEdit_returnPressed</h4>
1412 <b>on_rxEdit_returnPressed</b>(<i></i>)
1413
1414 <p>
1415 Private slot handling a press of the Return key in the rxEdit input.
1416 </p>
1417 <a NAME="GitLogBrowserDialog.on_rxEdit_textChanged" ID="GitLogBrowserDialog.on_rxEdit_textChanged"></a>
1418 <h4>GitLogBrowserDialog.on_rxEdit_textChanged</h4>
1419 <b>on_rxEdit_textChanged</b>(<i>txt</i>)
1420
1421 <p>
1422 Private slot called, when a filter expression is entered.
1423 </p>
1424 <dl>
1425
1426 <dt><i>txt</i></dt>
1427 <dd>
1428 filter expression (string)
1429 </dd>
1430 </dl>
1431 <a NAME="GitLogBrowserDialog.on_saveLabel_linkActivated" ID="GitLogBrowserDialog.on_saveLabel_linkActivated"></a>
1432 <h4>GitLogBrowserDialog.on_saveLabel_linkActivated</h4>
1433 <b>on_saveLabel_linkActivated</b>(<i>link</i>)
1434
1435 <p>
1436 Private slot to handle the selection of the save link.
1437 </p>
1438 <dl>
1439
1440 <dt><i>link</i> (str)</dt>
1441 <dd>
1442 activated link
1443 </dd>
1444 </dl>
1445 <a NAME="GitLogBrowserDialog.on_sbsSelectLabel_linkActivated" ID="GitLogBrowserDialog.on_sbsSelectLabel_linkActivated"></a>
1446 <h4>GitLogBrowserDialog.on_sbsSelectLabel_linkActivated</h4>
1447 <b>on_sbsSelectLabel_linkActivated</b>(<i>link</i>)
1448
1449 <p>
1450 Private slot to handle selection of a side-by-side link.
1451 </p>
1452 <dl>
1453
1454 <dt><i>link</i> (str)</dt>
1455 <dd>
1456 text of the selected link
1457 </dd>
1458 </dl>
1459 <a NAME="GitLogBrowserDialog.on_sendButton_clicked" ID="GitLogBrowserDialog.on_sendButton_clicked"></a>
1460 <h4>GitLogBrowserDialog.on_sendButton_clicked</h4>
1461 <b>on_sendButton_clicked</b>(<i></i>)
1462
1463 <p>
1464 Private slot to send the input to the git process.
1465 </p>
1466 <a NAME="GitLogBrowserDialog.on_stopCheckBox_clicked" ID="GitLogBrowserDialog.on_stopCheckBox_clicked"></a>
1467 <h4>GitLogBrowserDialog.on_stopCheckBox_clicked</h4>
1468 <b>on_stopCheckBox_clicked</b>(<i>checked</i>)
1469
1470 <p>
1471 Private slot called, when the stop on copy/move checkbox is clicked.
1472 </p>
1473 <dl>
1474
1475 <dt><i>checked</i></dt>
1476 <dd>
1477 flag indicating the state of the check box (boolean)
1478 </dd>
1479 </dl>
1480 <a NAME="GitLogBrowserDialog.on_toDate_dateChanged" ID="GitLogBrowserDialog.on_toDate_dateChanged"></a>
1481 <h4>GitLogBrowserDialog.on_toDate_dateChanged</h4>
1482 <b>on_toDate_dateChanged</b>(<i>date</i>)
1483
1484 <p>
1485 Private slot called, when the from date changes.
1486 </p>
1487 <dl>
1488
1489 <dt><i>date</i></dt>
1490 <dd>
1491 new date (QDate)
1492 </dd>
1493 </dl>
1494 <a NAME="GitLogBrowserDialog.on_upButton_clicked" ID="GitLogBrowserDialog.on_upButton_clicked"></a>
1495 <h4>GitLogBrowserDialog.on_upButton_clicked</h4>
1496 <b>on_upButton_clicked</b>(<i></i>)
1497
1498 <p>
1499 Private slot to move the current item up one entry.
1500 </p>
1501 <a NAME="GitLogBrowserDialog.show" ID="GitLogBrowserDialog.show"></a>
1502 <h4>GitLogBrowserDialog.show</h4>
1503 <b>show</b>(<i></i>)
1504
1505 <p>
1506 Public slot to show the dialog.
1507 </p>
1508 <a NAME="GitLogBrowserDialog.start" ID="GitLogBrowserDialog.start"></a>
1509 <h4>GitLogBrowserDialog.start</h4>
1510 <b>start</b>(<i>fn, isFile=False, noEntries=0</i>)
1511
1512 <p>
1513 Public slot to start the git log command.
1514 </p>
1515 <dl>
1516
1517 <dt><i>fn</i></dt>
1518 <dd>
1519 filename to show the log for (string)
1520 </dd>
1521 <dt><i>isFile</i></dt>
1522 <dd>
1523 flag indicating log for a file is to be shown
1524 (boolean)
1525 </dd>
1526 <dt><i>noEntries</i></dt>
1527 <dd>
1528 number of entries to get (0 = default) (int)
1529 </dd>
1530 </dl>
1531 <div align="right"><a href="#top">Up</a></div>
1532 <hr />
1533 </body></html>

eric ide

mercurial