|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.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><a NAME="top" ID="top"></a> |
|
22 <h1>eric6.Plugins.VcsPlugins.vcsGit.GitLogBrowserDialog</h1> |
|
23 <p> |
|
24 Module implementing a dialog to browse the log history. |
|
25 </p> |
|
26 <h3>Global Attributes</h3> |
|
27 <table> |
|
28 <tr><td>COLORNAMES</td></tr><tr><td>COLORS</td></tr> |
|
29 </table> |
|
30 <h3>Classes</h3> |
|
31 <table> |
|
32 <tr> |
|
33 <td><a href="#GitLogBrowserDialog">GitLogBrowserDialog</a></td> |
|
34 <td>Class implementing a dialog to browse the log history.</td> |
|
35 </tr> |
|
36 </table> |
|
37 <h3>Functions</h3> |
|
38 <table> |
|
39 <tr><td>None</td></tr> |
|
40 </table> |
|
41 <hr /><hr /> |
|
42 <a NAME="GitLogBrowserDialog" ID="GitLogBrowserDialog"></a> |
|
43 <h2>GitLogBrowserDialog</h2> |
|
44 <p> |
|
45 Class implementing a dialog to browse the log history. |
|
46 </p> |
|
47 <h3>Derived from</h3> |
|
48 QWidget, Ui_GitLogBrowserDialog |
|
49 <h3>Class Attributes</h3> |
|
50 <table> |
|
51 <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> |
|
52 </table> |
|
53 <h3>Class Methods</h3> |
|
54 <table> |
|
55 <tr><td>None</td></tr> |
|
56 </table> |
|
57 <h3>Methods</h3> |
|
58 <table> |
|
59 <tr> |
|
60 <td><a href="#GitLogBrowserDialog.__init__">GitLogBrowserDialog</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#GitLogBrowserDialog.__actionMode">__actionMode</a></td> |
|
64 <td>Private method to get the selected action mode.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#GitLogBrowserDialog.__actionsMenuHovered">__actionsMenuHovered</a></td> |
|
67 <td>Private slot to show the tooltip for an action menu entry.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#GitLogBrowserDialog.__addFinishCallback">__addFinishCallback</a></td> |
|
70 <td>Private method to add a method to be called once the process finished.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#GitLogBrowserDialog.__branchActTriggered">__branchActTriggered</a></td> |
|
73 <td>Private slot to create a new branch starting at the selected commit.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#GitLogBrowserDialog.__branchSwitchActTriggered">__branchSwitchActTriggered</a></td> |
|
76 <td>Private slot to create a new branch starting at the selected commit and switch the work tree to it.</td> |
|
77 </tr><tr> |
|
78 <td><a href="#GitLogBrowserDialog.__cherryActTriggered">__cherryActTriggered</a></td> |
|
79 <td>Private slot to handle the Copy Commits action.</td> |
|
80 </tr><tr> |
|
81 <td><a href="#GitLogBrowserDialog.__commitIdClicked">__commitIdClicked</a></td> |
|
82 <td>Private slot to handle the anchorClicked signal of the changeset details pane.</td> |
|
83 </tr><tr> |
|
84 <td><a href="#GitLogBrowserDialog.__describeActTriggered">__describeActTriggered</a></td> |
|
85 <td>Private slot to show the most recent tag reachable from a commit.</td> |
|
86 </tr><tr> |
|
87 <td><a href="#GitLogBrowserDialog.__filterLogs">__filterLogs</a></td> |
|
88 <td>Private method to filter the log entries.</td> |
|
89 </tr><tr> |
|
90 <td><a href="#GitLogBrowserDialog.__findItem">__findItem</a></td> |
|
91 <td>Private slot to find an item matching the entered criteria.</td> |
|
92 </tr><tr> |
|
93 <td><a href="#GitLogBrowserDialog.__finish">__finish</a></td> |
|
94 <td>Private slot called when the process finished or the user pressed the button.</td> |
|
95 </tr><tr> |
|
96 <td><a href="#GitLogBrowserDialog.__generateDetailsTableText">__generateDetailsTableText</a></td> |
|
97 <td>Private method to generate an HTML table with the details of the given changeset.</td> |
|
98 </tr><tr> |
|
99 <td><a href="#GitLogBrowserDialog.__generateDiffs">__generateDiffs</a></td> |
|
100 <td>Private slot to generate diff outputs for the selected item.</td> |
|
101 </tr><tr> |
|
102 <td><a href="#GitLogBrowserDialog.__generateEdges">__generateEdges</a></td> |
|
103 <td>Private method to generate edge info for the give data.</td> |
|
104 </tr><tr> |
|
105 <td><a href="#GitLogBrowserDialog.__generateFileItem">__generateFileItem</a></td> |
|
106 <td>Private method to generate a changed files tree entry.</td> |
|
107 </tr><tr> |
|
108 <td><a href="#GitLogBrowserDialog.__generateIcon">__generateIcon</a></td> |
|
109 <td>Private method to generate an icon containing the revision tree for the given data.</td> |
|
110 </tr><tr> |
|
111 <td><a href="#GitLogBrowserDialog.__generateLogItem">__generateLogItem</a></td> |
|
112 <td>Private method to generate a log tree entry.</td> |
|
113 </tr><tr> |
|
114 <td><a href="#GitLogBrowserDialog.__generatorFinished">__generatorFinished</a></td> |
|
115 <td>Private slot connected to the finished signal of the diff generator.</td> |
|
116 </tr><tr> |
|
117 <td><a href="#GitLogBrowserDialog.__getBranchesForCommit">__getBranchesForCommit</a></td> |
|
118 <td>Private method to get all branches reachable from a commit ID.</td> |
|
119 </tr><tr> |
|
120 <td><a href="#GitLogBrowserDialog.__getColor">__getColor</a></td> |
|
121 <td>Private method to get the (rotating) name of the color given an index.</td> |
|
122 </tr><tr> |
|
123 <td><a href="#GitLogBrowserDialog.__getCommitForTag">__getCommitForTag</a></td> |
|
124 <td>Private method to get the commit id for a tag.</td> |
|
125 </tr><tr> |
|
126 <td><a href="#GitLogBrowserDialog.__getLogEntries">__getLogEntries</a></td> |
|
127 <td>Private method to retrieve log entries from the repository.</td> |
|
128 </tr><tr> |
|
129 <td><a href="#GitLogBrowserDialog.__getTagsForCommit">__getTagsForCommit</a></td> |
|
130 <td>Private method to get all tags reachable from a commit ID.</td> |
|
131 </tr><tr> |
|
132 <td><a href="#GitLogBrowserDialog.__identifyProject">__identifyProject</a></td> |
|
133 <td>Private method to determine the revision of the project directory.</td> |
|
134 </tr><tr> |
|
135 <td><a href="#GitLogBrowserDialog.__initActionsMenu">__initActionsMenu</a></td> |
|
136 <td>Private method to initialize the actions menu.</td> |
|
137 </tr><tr> |
|
138 <td><a href="#GitLogBrowserDialog.__initData">__initData</a></td> |
|
139 <td>Private method to (re-)initialize some data.</td> |
|
140 </tr><tr> |
|
141 <td><a href="#GitLogBrowserDialog.__initLogTreeContextMenu">__initLogTreeContextMenu</a></td> |
|
142 <td>Private method to initialize the log tree context menu.</td> |
|
143 </tr><tr> |
|
144 <td><a href="#GitLogBrowserDialog.__mergeFileSeparators">__mergeFileSeparators</a></td> |
|
145 <td>Private method to merge the file separator entries.</td> |
|
146 </tr><tr> |
|
147 <td><a href="#GitLogBrowserDialog.__prepareFieldSearch">__prepareFieldSearch</a></td> |
|
148 <td>Private slot to prepare the filed search data.</td> |
|
149 </tr><tr> |
|
150 <td><a href="#GitLogBrowserDialog.__procFinished">__procFinished</a></td> |
|
151 <td>Private slot connected to the finished signal.</td> |
|
152 </tr><tr> |
|
153 <td><a href="#GitLogBrowserDialog.__processBuffer">__processBuffer</a></td> |
|
154 <td>Private method to process the buffered output of the git log command.</td> |
|
155 </tr><tr> |
|
156 <td><a href="#GitLogBrowserDialog.__processBufferItem">__processBufferItem</a></td> |
|
157 <td>Private method to process a log entry.</td> |
|
158 </tr><tr> |
|
159 <td><a href="#GitLogBrowserDialog.__readStderr">__readStderr</a></td> |
|
160 <td>Private slot to handle the readyReadStandardError signal.</td> |
|
161 </tr><tr> |
|
162 <td><a href="#GitLogBrowserDialog.__readStdout">__readStdout</a></td> |
|
163 <td>Private slot to handle the readyReadStandardOutput signal.</td> |
|
164 </tr><tr> |
|
165 <td><a href="#GitLogBrowserDialog.__reloadGeometry">__reloadGeometry</a></td> |
|
166 <td>Private method to restore the geometry.</td> |
|
167 </tr><tr> |
|
168 <td><a href="#GitLogBrowserDialog.__resetUI">__resetUI</a></td> |
|
169 <td>Private method to reset the user interface.</td> |
|
170 </tr><tr> |
|
171 <td><a href="#GitLogBrowserDialog.__resizeColumnsFiles">__resizeColumnsFiles</a></td> |
|
172 <td>Private method to resize the changed files tree columns.</td> |
|
173 </tr><tr> |
|
174 <td><a href="#GitLogBrowserDialog.__resizeColumnsLog">__resizeColumnsLog</a></td> |
|
175 <td>Private method to resize the log tree columns.</td> |
|
176 </tr><tr> |
|
177 <td><a href="#GitLogBrowserDialog.__resortFiles">__resortFiles</a></td> |
|
178 <td>Private method to resort the changed files tree.</td> |
|
179 </tr><tr> |
|
180 <td><a href="#GitLogBrowserDialog.__restoreSplitterStates">__restoreSplitterStates</a></td> |
|
181 <td>Private method to restore the state of the various splitters.</td> |
|
182 </tr><tr> |
|
183 <td><a href="#GitLogBrowserDialog.__shortlogActTriggered">__shortlogActTriggered</a></td> |
|
184 <td>Private slot to show a short log suitable for release announcements.</td> |
|
185 </tr><tr> |
|
186 <td><a href="#GitLogBrowserDialog.__showAuthorColumns">__showAuthorColumns</a></td> |
|
187 <td>Private slot to show/hide the committer columns.</td> |
|
188 </tr><tr> |
|
189 <td><a href="#GitLogBrowserDialog.__showBranchesColumn">__showBranchesColumn</a></td> |
|
190 <td>Private slot to show/hide the branches column.</td> |
|
191 </tr><tr> |
|
192 <td><a href="#GitLogBrowserDialog.__showCommitIdColumn">__showCommitIdColumn</a></td> |
|
193 <td>Private slot to show/hide the commit ID column.</td> |
|
194 </tr><tr> |
|
195 <td><a href="#GitLogBrowserDialog.__showCommitterColumns">__showCommitterColumns</a></td> |
|
196 <td>Private slot to show/hide the committer columns.</td> |
|
197 </tr><tr> |
|
198 <td><a href="#GitLogBrowserDialog.__showError">__showError</a></td> |
|
199 <td>Private slot to show some error.</td> |
|
200 </tr><tr> |
|
201 <td><a href="#GitLogBrowserDialog.__showTagsColumn">__showTagsColumn</a></td> |
|
202 <td>Private slot to show/hide the tags column.</td> |
|
203 </tr><tr> |
|
204 <td><a href="#GitLogBrowserDialog.__switchActTriggered">__switchActTriggered</a></td> |
|
205 <td>Private slot to switch the working directory to the selected commit.</td> |
|
206 </tr><tr> |
|
207 <td><a href="#GitLogBrowserDialog.__tagActTriggered">__tagActTriggered</a></td> |
|
208 <td>Private slot to tag the selected commit.</td> |
|
209 </tr><tr> |
|
210 <td><a href="#GitLogBrowserDialog.__updateDetailsAndFiles">__updateDetailsAndFiles</a></td> |
|
211 <td>Private slot to update the details and file changes panes.</td> |
|
212 </tr><tr> |
|
213 <td><a href="#GitLogBrowserDialog.__updateFilesTree">__updateFilesTree</a></td> |
|
214 <td>Private method to update the files tree with changes of the given item.</td> |
|
215 </tr><tr> |
|
216 <td><a href="#GitLogBrowserDialog.__updateSbsSelectLabel">__updateSbsSelectLabel</a></td> |
|
217 <td>Private slot to update the enabled status of the diff buttons.</td> |
|
218 </tr><tr> |
|
219 <td><a href="#GitLogBrowserDialog.__updateToolMenuActions">__updateToolMenuActions</a></td> |
|
220 <td>Private slot to update the status of the tool menu actions and the tool menu button.</td> |
|
221 </tr><tr> |
|
222 <td><a href="#GitLogBrowserDialog.closeEvent">closeEvent</a></td> |
|
223 <td>Protected slot implementing a close event handler.</td> |
|
224 </tr><tr> |
|
225 <td><a href="#GitLogBrowserDialog.col2x">col2x</a></td> |
|
226 <td>Local function to calculate a x-position for a column.</td> |
|
227 </tr><tr> |
|
228 <td><a href="#GitLogBrowserDialog.keyPressEvent">keyPressEvent</a></td> |
|
229 <td>Protected slot to handle a key press event.</td> |
|
230 </tr><tr> |
|
231 <td><a href="#GitLogBrowserDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
|
232 <td>Private slot called by a button of the button box clicked.</td> |
|
233 </tr><tr> |
|
234 <td><a href="#GitLogBrowserDialog.on_diffSelectLabel_linkActivated">on_diffSelectLabel_linkActivated</a></td> |
|
235 <td>Private slot to handle the selection of a diff target.</td> |
|
236 </tr><tr> |
|
237 <td><a href="#GitLogBrowserDialog.on_downButton_clicked">on_downButton_clicked</a></td> |
|
238 <td>Private slot to move the current item down one entry.</td> |
|
239 </tr><tr> |
|
240 <td><a href="#GitLogBrowserDialog.on_fieldCombo_activated">on_fieldCombo_activated</a></td> |
|
241 <td>Private slot called, when a new filter field is selected.</td> |
|
242 </tr><tr> |
|
243 <td><a href="#GitLogBrowserDialog.on_filesTree_currentItemChanged">on_filesTree_currentItemChanged</a></td> |
|
244 <td>Private slot called, when the current item of the files tree changes.</td> |
|
245 </tr><tr> |
|
246 <td><a href="#GitLogBrowserDialog.on_findNextButton_clicked">on_findNextButton_clicked</a></td> |
|
247 <td>Private slot to find the next item matching the entered criteria.</td> |
|
248 </tr><tr> |
|
249 <td><a href="#GitLogBrowserDialog.on_findPrevButton_clicked">on_findPrevButton_clicked</a></td> |
|
250 <td>Private slot to find the previous item matching the entered criteria.</td> |
|
251 </tr><tr> |
|
252 <td><a href="#GitLogBrowserDialog.on_fromDate_dateChanged">on_fromDate_dateChanged</a></td> |
|
253 <td>Private slot called, when the from date changes.</td> |
|
254 </tr><tr> |
|
255 <td><a href="#GitLogBrowserDialog.on_input_returnPressed">on_input_returnPressed</a></td> |
|
256 <td>Private slot to handle the press of the return key in the input field.</td> |
|
257 </tr><tr> |
|
258 <td><a href="#GitLogBrowserDialog.on_logTree_currentItemChanged">on_logTree_currentItemChanged</a></td> |
|
259 <td>Private slot called, when the current item of the log tree changes.</td> |
|
260 </tr><tr> |
|
261 <td><a href="#GitLogBrowserDialog.on_logTree_customContextMenuRequested">on_logTree_customContextMenuRequested</a></td> |
|
262 <td>Private slot to show the context menu of the log tree.</td> |
|
263 </tr><tr> |
|
264 <td><a href="#GitLogBrowserDialog.on_logTree_itemSelectionChanged">on_logTree_itemSelectionChanged</a></td> |
|
265 <td>Private slot called, when the selection has changed.</td> |
|
266 </tr><tr> |
|
267 <td><a href="#GitLogBrowserDialog.on_modeComboBox_currentIndexChanged">on_modeComboBox_currentIndexChanged</a></td> |
|
268 <td>Private slot to react on mode changes.</td> |
|
269 </tr><tr> |
|
270 <td><a href="#GitLogBrowserDialog.on_nextButton_clicked">on_nextButton_clicked</a></td> |
|
271 <td>Private slot to handle the Next button.</td> |
|
272 </tr><tr> |
|
273 <td><a href="#GitLogBrowserDialog.on_passwordCheckBox_toggled">on_passwordCheckBox_toggled</a></td> |
|
274 <td>Private slot to handle the password checkbox toggled.</td> |
|
275 </tr><tr> |
|
276 <td><a href="#GitLogBrowserDialog.on_refreshButton_clicked">on_refreshButton_clicked</a></td> |
|
277 <td>Private slot to refresh the log.</td> |
|
278 </tr><tr> |
|
279 <td><a href="#GitLogBrowserDialog.on_rxEdit_returnPressed">on_rxEdit_returnPressed</a></td> |
|
280 <td>Private slot handling a press of the Return key in the rxEdit input.</td> |
|
281 </tr><tr> |
|
282 <td><a href="#GitLogBrowserDialog.on_rxEdit_textChanged">on_rxEdit_textChanged</a></td> |
|
283 <td>Private slot called, when a filter expression is entered.</td> |
|
284 </tr><tr> |
|
285 <td><a href="#GitLogBrowserDialog.on_saveLabel_linkActivated">on_saveLabel_linkActivated</a></td> |
|
286 <td>Private slot to handle the selection of the save link.</td> |
|
287 </tr><tr> |
|
288 <td><a href="#GitLogBrowserDialog.on_sbsSelectLabel_linkActivated">on_sbsSelectLabel_linkActivated</a></td> |
|
289 <td>Private slot to handle selection of a side-by-side link.</td> |
|
290 </tr><tr> |
|
291 <td><a href="#GitLogBrowserDialog.on_sendButton_clicked">on_sendButton_clicked</a></td> |
|
292 <td>Private slot to send the input to the git process.</td> |
|
293 </tr><tr> |
|
294 <td><a href="#GitLogBrowserDialog.on_stopCheckBox_clicked">on_stopCheckBox_clicked</a></td> |
|
295 <td>Private slot called, when the stop on copy/move checkbox is clicked.</td> |
|
296 </tr><tr> |
|
297 <td><a href="#GitLogBrowserDialog.on_toDate_dateChanged">on_toDate_dateChanged</a></td> |
|
298 <td>Private slot called, when the from date changes.</td> |
|
299 </tr><tr> |
|
300 <td><a href="#GitLogBrowserDialog.on_upButton_clicked">on_upButton_clicked</a></td> |
|
301 <td>Private slot to move the current item up one entry.</td> |
|
302 </tr><tr> |
|
303 <td><a href="#GitLogBrowserDialog.show">show</a></td> |
|
304 <td>Public slot to show the dialog.</td> |
|
305 </tr><tr> |
|
306 <td><a href="#GitLogBrowserDialog.start">start</a></td> |
|
307 <td>Public slot to start the git log command.</td> |
|
308 </tr> |
|
309 </table> |
|
310 <h3>Static Methods</h3> |
|
311 <table> |
|
312 <tr><td>None</td></tr> |
|
313 </table> |
|
314 <a NAME="GitLogBrowserDialog.__init__" ID="GitLogBrowserDialog.__init__"></a> |
|
315 <h4>GitLogBrowserDialog (Constructor)</h4> |
|
316 <b>GitLogBrowserDialog</b>(<i>vcs, parent=None</i>) |
|
317 <p> |
|
318 Constructor |
|
319 </p><dl> |
|
320 <dt><i>vcs</i></dt> |
|
321 <dd> |
|
322 reference to the vcs object |
|
323 </dd><dt><i>parent</i></dt> |
|
324 <dd> |
|
325 parent widget (QWidget) |
|
326 </dd> |
|
327 </dl><a NAME="GitLogBrowserDialog.__actionMode" ID="GitLogBrowserDialog.__actionMode"></a> |
|
328 <h4>GitLogBrowserDialog.__actionMode</h4> |
|
329 <b>__actionMode</b>(<i></i>) |
|
330 <p> |
|
331 Private method to get the selected action mode. |
|
332 </p><dl> |
|
333 <dt>Returns:</dt> |
|
334 <dd> |
|
335 selected action mode (string, one of filter or find) |
|
336 </dd> |
|
337 </dl><a NAME="GitLogBrowserDialog.__actionsMenuHovered" ID="GitLogBrowserDialog.__actionsMenuHovered"></a> |
|
338 <h4>GitLogBrowserDialog.__actionsMenuHovered</h4> |
|
339 <b>__actionsMenuHovered</b>(<i>action</i>) |
|
340 <p> |
|
341 Private slot to show the tooltip for an action menu entry. |
|
342 </p><dl> |
|
343 <dt><i>action</i> (QAction)</dt> |
|
344 <dd> |
|
345 action to show tooltip for |
|
346 </dd> |
|
347 </dl><a NAME="GitLogBrowserDialog.__addFinishCallback" ID="GitLogBrowserDialog.__addFinishCallback"></a> |
|
348 <h4>GitLogBrowserDialog.__addFinishCallback</h4> |
|
349 <b>__addFinishCallback</b>(<i>callback</i>) |
|
350 <p> |
|
351 Private method to add a method to be called once the process finished. |
|
352 </p><p> |
|
353 The callback methods are invoke in a FIFO style and are consumed. If |
|
354 a callback method needs to be called again, it must be added again. |
|
355 </p><dl> |
|
356 <dt><i>callback</i> (function)</dt> |
|
357 <dd> |
|
358 callback method |
|
359 </dd> |
|
360 </dl><a NAME="GitLogBrowserDialog.__branchActTriggered" ID="GitLogBrowserDialog.__branchActTriggered"></a> |
|
361 <h4>GitLogBrowserDialog.__branchActTriggered</h4> |
|
362 <b>__branchActTriggered</b>(<i></i>) |
|
363 <p> |
|
364 Private slot to create a new branch starting at the selected commit. |
|
365 </p><a NAME="GitLogBrowserDialog.__branchSwitchActTriggered" ID="GitLogBrowserDialog.__branchSwitchActTriggered"></a> |
|
366 <h4>GitLogBrowserDialog.__branchSwitchActTriggered</h4> |
|
367 <b>__branchSwitchActTriggered</b>(<i></i>) |
|
368 <p> |
|
369 Private slot to create a new branch starting at the selected commit |
|
370 and switch the work tree to it. |
|
371 </p><a NAME="GitLogBrowserDialog.__cherryActTriggered" ID="GitLogBrowserDialog.__cherryActTriggered"></a> |
|
372 <h4>GitLogBrowserDialog.__cherryActTriggered</h4> |
|
373 <b>__cherryActTriggered</b>(<i></i>) |
|
374 <p> |
|
375 Private slot to handle the Copy Commits action. |
|
376 </p><a NAME="GitLogBrowserDialog.__commitIdClicked" ID="GitLogBrowserDialog.__commitIdClicked"></a> |
|
377 <h4>GitLogBrowserDialog.__commitIdClicked</h4> |
|
378 <b>__commitIdClicked</b>(<i>url</i>) |
|
379 <p> |
|
380 Private slot to handle the anchorClicked signal of the changeset |
|
381 details pane. |
|
382 </p><dl> |
|
383 <dt><i>url</i> (QUrl)</dt> |
|
384 <dd> |
|
385 URL that was clicked |
|
386 </dd> |
|
387 </dl><a NAME="GitLogBrowserDialog.__describeActTriggered" ID="GitLogBrowserDialog.__describeActTriggered"></a> |
|
388 <h4>GitLogBrowserDialog.__describeActTriggered</h4> |
|
389 <b>__describeActTriggered</b>(<i></i>) |
|
390 <p> |
|
391 Private slot to show the most recent tag reachable from a commit. |
|
392 </p><a NAME="GitLogBrowserDialog.__filterLogs" ID="GitLogBrowserDialog.__filterLogs"></a> |
|
393 <h4>GitLogBrowserDialog.__filterLogs</h4> |
|
394 <b>__filterLogs</b>(<i></i>) |
|
395 <p> |
|
396 Private method to filter the log entries. |
|
397 </p><a NAME="GitLogBrowserDialog.__findItem" ID="GitLogBrowserDialog.__findItem"></a> |
|
398 <h4>GitLogBrowserDialog.__findItem</h4> |
|
399 <b>__findItem</b>(<i>backwards=False, interactive=False</i>) |
|
400 <p> |
|
401 Private slot to find an item matching the entered criteria. |
|
402 </p><dl> |
|
403 <dt><i>backwards</i></dt> |
|
404 <dd> |
|
405 flag indicating to search backwards (boolean) |
|
406 </dd><dt><i>interactive</i></dt> |
|
407 <dd> |
|
408 flag indicating an interactive search (boolean) |
|
409 </dd> |
|
410 </dl><a NAME="GitLogBrowserDialog.__finish" ID="GitLogBrowserDialog.__finish"></a> |
|
411 <h4>GitLogBrowserDialog.__finish</h4> |
|
412 <b>__finish</b>(<i></i>) |
|
413 <p> |
|
414 Private slot called when the process finished or the user pressed |
|
415 the button. |
|
416 </p><a NAME="GitLogBrowserDialog.__generateDetailsTableText" ID="GitLogBrowserDialog.__generateDetailsTableText"></a> |
|
417 <h4>GitLogBrowserDialog.__generateDetailsTableText</h4> |
|
418 <b>__generateDetailsTableText</b>(<i>itm</i>) |
|
419 <p> |
|
420 Private method to generate an HTML table with the details of the given |
|
421 changeset. |
|
422 </p><dl> |
|
423 <dt><i>itm</i> (QTreeWidgetItem)</dt> |
|
424 <dd> |
|
425 reference to the item the table should be based on |
|
426 </dd> |
|
427 </dl><dl> |
|
428 <dt>Returns:</dt> |
|
429 <dd> |
|
430 HTML table containing details |
|
431 </dd> |
|
432 </dl><dl> |
|
433 <dt>Return Type:</dt> |
|
434 <dd> |
|
435 str |
|
436 </dd> |
|
437 </dl><a NAME="GitLogBrowserDialog.__generateDiffs" ID="GitLogBrowserDialog.__generateDiffs"></a> |
|
438 <h4>GitLogBrowserDialog.__generateDiffs</h4> |
|
439 <b>__generateDiffs</b>(<i>parent=1</i>) |
|
440 <p> |
|
441 Private slot to generate diff outputs for the selected item. |
|
442 </p><dl> |
|
443 <dt><i>parent</i> (int)</dt> |
|
444 <dd> |
|
445 number of parent to diff against |
|
446 </dd> |
|
447 </dl><a NAME="GitLogBrowserDialog.__generateEdges" ID="GitLogBrowserDialog.__generateEdges"></a> |
|
448 <h4>GitLogBrowserDialog.__generateEdges</h4> |
|
449 <b>__generateEdges</b>(<i>commitId, parents</i>) |
|
450 <p> |
|
451 Private method to generate edge info for the give data. |
|
452 </p><dl> |
|
453 <dt><i>commitId</i></dt> |
|
454 <dd> |
|
455 commit id to calculate edge info for (string) |
|
456 </dd><dt><i>parents</i></dt> |
|
457 <dd> |
|
458 list of parent commits (list of strings) |
|
459 </dd> |
|
460 </dl><dl> |
|
461 <dt>Returns:</dt> |
|
462 <dd> |
|
463 tuple containing the column and color index for |
|
464 the given node and a list of tuples indicating the edges |
|
465 between the given node and its parents |
|
466 (integer, integer, [(integer, integer, integer), ...]) |
|
467 </dd> |
|
468 </dl><a NAME="GitLogBrowserDialog.__generateFileItem" ID="GitLogBrowserDialog.__generateFileItem"></a> |
|
469 <h4>GitLogBrowserDialog.__generateFileItem</h4> |
|
470 <b>__generateFileItem</b>(<i>action, path, copyfrom, additions, deletions</i>) |
|
471 <p> |
|
472 Private method to generate a changed files tree entry. |
|
473 </p><dl> |
|
474 <dt><i>action</i></dt> |
|
475 <dd> |
|
476 indicator for the change action ("A", "C", "D", "M", |
|
477 "R", "T", "U", "X") |
|
478 </dd><dt><i>path</i></dt> |
|
479 <dd> |
|
480 path of the file in the repository (string) |
|
481 </dd><dt><i>copyfrom</i></dt> |
|
482 <dd> |
|
483 path the file was copied from (string) |
|
484 </dd><dt><i>additions</i></dt> |
|
485 <dd> |
|
486 number of added lines (int) |
|
487 </dd><dt><i>deletions</i></dt> |
|
488 <dd> |
|
489 number of deleted lines (int) |
|
490 </dd> |
|
491 </dl><dl> |
|
492 <dt>Returns:</dt> |
|
493 <dd> |
|
494 reference to the generated item (QTreeWidgetItem) |
|
495 </dd> |
|
496 </dl><a NAME="GitLogBrowserDialog.__generateIcon" ID="GitLogBrowserDialog.__generateIcon"></a> |
|
497 <h4>GitLogBrowserDialog.__generateIcon</h4> |
|
498 <b>__generateIcon</b>(<i>column, color, bottomedges, topedges, dotColor, currentCommit</i>) |
|
499 <p> |
|
500 Private method to generate an icon containing the revision tree for the |
|
501 given data. |
|
502 </p><dl> |
|
503 <dt><i>column</i></dt> |
|
504 <dd> |
|
505 column index of the revision (integer) |
|
506 </dd><dt><i>color</i></dt> |
|
507 <dd> |
|
508 color of the node (integer) |
|
509 </dd><dt><i>bottomedges</i></dt> |
|
510 <dd> |
|
511 list of edges for the bottom of the node |
|
512 (list of tuples of three integers) |
|
513 </dd><dt><i>topedges</i></dt> |
|
514 <dd> |
|
515 list of edges for the top of the node |
|
516 (list of tuples of three integers) |
|
517 </dd><dt><i>dotColor</i></dt> |
|
518 <dd> |
|
519 color to be used for the dot (QColor) |
|
520 </dd><dt><i>currentCommit</i></dt> |
|
521 <dd> |
|
522 flag indicating to draw the icon for the |
|
523 current commit (boolean) |
|
524 </dd> |
|
525 </dl><dl> |
|
526 <dt>Returns:</dt> |
|
527 <dd> |
|
528 icon for the node (QIcon) |
|
529 </dd> |
|
530 </dl><a NAME="GitLogBrowserDialog.__generateLogItem" ID="GitLogBrowserDialog.__generateLogItem"></a> |
|
531 <h4>GitLogBrowserDialog.__generateLogItem</h4> |
|
532 <b>__generateLogItem</b>(<i>author, date, committer, commitDate, subject, message, commitId, changedPaths, parents, refnames, authorMail, committerMail</i>) |
|
533 <p> |
|
534 Private method to generate a log tree entry. |
|
535 </p><dl> |
|
536 <dt><i>author</i></dt> |
|
537 <dd> |
|
538 author info (string) |
|
539 </dd><dt><i>date</i></dt> |
|
540 <dd> |
|
541 date info (string) |
|
542 </dd><dt><i>committer</i></dt> |
|
543 <dd> |
|
544 committer info (string) |
|
545 </dd><dt><i>commitDate</i></dt> |
|
546 <dd> |
|
547 commit date info (string) |
|
548 </dd><dt><i>subject</i></dt> |
|
549 <dd> |
|
550 subject of the log entry (string) |
|
551 </dd><dt><i>message</i></dt> |
|
552 <dd> |
|
553 text of the log message (list of strings) |
|
554 </dd><dt><i>commitId</i></dt> |
|
555 <dd> |
|
556 commit id info (string) |
|
557 </dd><dt><i>changedPaths</i></dt> |
|
558 <dd> |
|
559 list of dictionary objects containing |
|
560 info about the changed files/directories |
|
561 </dd><dt><i>parents</i></dt> |
|
562 <dd> |
|
563 list of parent revisions (list of integers) |
|
564 </dd><dt><i>refnames</i></dt> |
|
565 <dd> |
|
566 tags and branches of the commit (string) |
|
567 </dd><dt><i>authorMail</i></dt> |
|
568 <dd> |
|
569 author's email address (string) |
|
570 </dd><dt><i>committerMail</i></dt> |
|
571 <dd> |
|
572 committer's email address (string) |
|
573 </dd> |
|
574 </dl><dl> |
|
575 <dt>Returns:</dt> |
|
576 <dd> |
|
577 reference to the generated item (QTreeWidgetItem) |
|
578 </dd> |
|
579 </dl><a NAME="GitLogBrowserDialog.__generatorFinished" ID="GitLogBrowserDialog.__generatorFinished"></a> |
|
580 <h4>GitLogBrowserDialog.__generatorFinished</h4> |
|
581 <b>__generatorFinished</b>(<i></i>) |
|
582 <p> |
|
583 Private slot connected to the finished signal of the diff generator. |
|
584 </p><a NAME="GitLogBrowserDialog.__getBranchesForCommit" ID="GitLogBrowserDialog.__getBranchesForCommit"></a> |
|
585 <h4>GitLogBrowserDialog.__getBranchesForCommit</h4> |
|
586 <b>__getBranchesForCommit</b>(<i>commitId</i>) |
|
587 <p> |
|
588 Private method to get all branches reachable from a commit ID. |
|
589 </p><dl> |
|
590 <dt><i>commitId</i> (str)</dt> |
|
591 <dd> |
|
592 commit ID to get the branches for |
|
593 </dd> |
|
594 </dl><dl> |
|
595 <dt>Returns:</dt> |
|
596 <dd> |
|
597 list of tuples containing the branch name and the associated |
|
598 commit ID of its branch head |
|
599 </dd> |
|
600 </dl><dl> |
|
601 <dt>Return Type:</dt> |
|
602 <dd> |
|
603 tuple of (str, str) |
|
604 </dd> |
|
605 </dl><a NAME="GitLogBrowserDialog.__getColor" ID="GitLogBrowserDialog.__getColor"></a> |
|
606 <h4>GitLogBrowserDialog.__getColor</h4> |
|
607 <b>__getColor</b>(<i>n</i>) |
|
608 <p> |
|
609 Private method to get the (rotating) name of the color given an index. |
|
610 </p><dl> |
|
611 <dt><i>n</i></dt> |
|
612 <dd> |
|
613 color index (integer) |
|
614 </dd> |
|
615 </dl><dl> |
|
616 <dt>Returns:</dt> |
|
617 <dd> |
|
618 color name (string) |
|
619 </dd> |
|
620 </dl><a NAME="GitLogBrowserDialog.__getCommitForTag" ID="GitLogBrowserDialog.__getCommitForTag"></a> |
|
621 <h4>GitLogBrowserDialog.__getCommitForTag</h4> |
|
622 <b>__getCommitForTag</b>(<i>tag</i>) |
|
623 <p> |
|
624 Private method to get the commit id for a tag. |
|
625 </p><dl> |
|
626 <dt><i>tag</i></dt> |
|
627 <dd> |
|
628 tag name (string) |
|
629 </dd> |
|
630 </dl><dl> |
|
631 <dt>Returns:</dt> |
|
632 <dd> |
|
633 commit id shortened to 10 characters (string) |
|
634 </dd> |
|
635 </dl><a NAME="GitLogBrowserDialog.__getLogEntries" ID="GitLogBrowserDialog.__getLogEntries"></a> |
|
636 <h4>GitLogBrowserDialog.__getLogEntries</h4> |
|
637 <b>__getLogEntries</b>(<i>skip=0, noEntries=0</i>) |
|
638 <p> |
|
639 Private method to retrieve log entries from the repository. |
|
640 </p><dl> |
|
641 <dt><i>skip</i></dt> |
|
642 <dd> |
|
643 number of log entries to skip (integer) |
|
644 </dd><dt><i>noEntries=</i></dt> |
|
645 <dd> |
|
646 number of entries to get (0 = default) (int) |
|
647 </dd> |
|
648 </dl><a NAME="GitLogBrowserDialog.__getTagsForCommit" ID="GitLogBrowserDialog.__getTagsForCommit"></a> |
|
649 <h4>GitLogBrowserDialog.__getTagsForCommit</h4> |
|
650 <b>__getTagsForCommit</b>(<i>commitId</i>) |
|
651 <p> |
|
652 Private method to get all tags reachable from a commit ID. |
|
653 </p><dl> |
|
654 <dt><i>commitId</i> (str)</dt> |
|
655 <dd> |
|
656 commit ID to get the tags for |
|
657 </dd> |
|
658 </dl><dl> |
|
659 <dt>Returns:</dt> |
|
660 <dd> |
|
661 list of tuples containing the tag name and the associated |
|
662 commit ID |
|
663 </dd> |
|
664 </dl><dl> |
|
665 <dt>Return Type:</dt> |
|
666 <dd> |
|
667 tuple of (str, str) |
|
668 </dd> |
|
669 </dl><a NAME="GitLogBrowserDialog.__identifyProject" ID="GitLogBrowserDialog.__identifyProject"></a> |
|
670 <h4>GitLogBrowserDialog.__identifyProject</h4> |
|
671 <b>__identifyProject</b>(<i></i>) |
|
672 <p> |
|
673 Private method to determine the revision of the project directory. |
|
674 </p><a NAME="GitLogBrowserDialog.__initActionsMenu" ID="GitLogBrowserDialog.__initActionsMenu"></a> |
|
675 <h4>GitLogBrowserDialog.__initActionsMenu</h4> |
|
676 <b>__initActionsMenu</b>(<i></i>) |
|
677 <p> |
|
678 Private method to initialize the actions menu. |
|
679 </p><a NAME="GitLogBrowserDialog.__initData" ID="GitLogBrowserDialog.__initData"></a> |
|
680 <h4>GitLogBrowserDialog.__initData</h4> |
|
681 <b>__initData</b>(<i></i>) |
|
682 <p> |
|
683 Private method to (re-)initialize some data. |
|
684 </p><a NAME="GitLogBrowserDialog.__initLogTreeContextMenu" ID="GitLogBrowserDialog.__initLogTreeContextMenu"></a> |
|
685 <h4>GitLogBrowserDialog.__initLogTreeContextMenu</h4> |
|
686 <b>__initLogTreeContextMenu</b>(<i></i>) |
|
687 <p> |
|
688 Private method to initialize the log tree context menu. |
|
689 </p><a NAME="GitLogBrowserDialog.__mergeFileSeparators" ID="GitLogBrowserDialog.__mergeFileSeparators"></a> |
|
690 <h4>GitLogBrowserDialog.__mergeFileSeparators</h4> |
|
691 <b>__mergeFileSeparators</b>(<i>fileSeparators</i>) |
|
692 <p> |
|
693 Private method to merge the file separator entries. |
|
694 </p><dl> |
|
695 <dt><i>fileSeparators</i></dt> |
|
696 <dd> |
|
697 list of file separator entries to be merged |
|
698 </dd> |
|
699 </dl><dl> |
|
700 <dt>Returns:</dt> |
|
701 <dd> |
|
702 merged list of file separator entries |
|
703 </dd> |
|
704 </dl><a NAME="GitLogBrowserDialog.__prepareFieldSearch" ID="GitLogBrowserDialog.__prepareFieldSearch"></a> |
|
705 <h4>GitLogBrowserDialog.__prepareFieldSearch</h4> |
|
706 <b>__prepareFieldSearch</b>(<i></i>) |
|
707 <p> |
|
708 Private slot to prepare the filed search data. |
|
709 </p><dl> |
|
710 <dt>Returns:</dt> |
|
711 <dd> |
|
712 tuple of field index, search expression and flag indicating |
|
713 that the field index is a data role (integer, string, boolean) |
|
714 </dd> |
|
715 </dl><a NAME="GitLogBrowserDialog.__procFinished" ID="GitLogBrowserDialog.__procFinished"></a> |
|
716 <h4>GitLogBrowserDialog.__procFinished</h4> |
|
717 <b>__procFinished</b>(<i>exitCode, exitStatus</i>) |
|
718 <p> |
|
719 Private slot connected to the finished signal. |
|
720 </p><dl> |
|
721 <dt><i>exitCode</i></dt> |
|
722 <dd> |
|
723 exit code of the process (integer) |
|
724 </dd><dt><i>exitStatus</i></dt> |
|
725 <dd> |
|
726 exit status of the process (QProcess.ExitStatus) |
|
727 </dd> |
|
728 </dl><a NAME="GitLogBrowserDialog.__processBuffer" ID="GitLogBrowserDialog.__processBuffer"></a> |
|
729 <h4>GitLogBrowserDialog.__processBuffer</h4> |
|
730 <b>__processBuffer</b>(<i></i>) |
|
731 <p> |
|
732 Private method to process the buffered output of the git log command. |
|
733 </p><a NAME="GitLogBrowserDialog.__processBufferItem" ID="GitLogBrowserDialog.__processBufferItem"></a> |
|
734 <h4>GitLogBrowserDialog.__processBufferItem</h4> |
|
735 <b>__processBufferItem</b>(<i>logEntry</i>) |
|
736 <p> |
|
737 Private method to process a log entry. |
|
738 </p><dl> |
|
739 <dt><i>logEntry</i></dt> |
|
740 <dd> |
|
741 dictionary as generated by __processBuffer |
|
742 </dd> |
|
743 </dl><a NAME="GitLogBrowserDialog.__readStderr" ID="GitLogBrowserDialog.__readStderr"></a> |
|
744 <h4>GitLogBrowserDialog.__readStderr</h4> |
|
745 <b>__readStderr</b>(<i></i>) |
|
746 <p> |
|
747 Private slot to handle the readyReadStandardError signal. |
|
748 </p><p> |
|
749 It reads the error output of the process and inserts it into the |
|
750 error pane. |
|
751 </p><a NAME="GitLogBrowserDialog.__readStdout" ID="GitLogBrowserDialog.__readStdout"></a> |
|
752 <h4>GitLogBrowserDialog.__readStdout</h4> |
|
753 <b>__readStdout</b>(<i></i>) |
|
754 <p> |
|
755 Private slot to handle the readyReadStandardOutput signal. |
|
756 </p><p> |
|
757 It reads the output of the process and inserts it into a buffer. |
|
758 </p><a NAME="GitLogBrowserDialog.__reloadGeometry" ID="GitLogBrowserDialog.__reloadGeometry"></a> |
|
759 <h4>GitLogBrowserDialog.__reloadGeometry</h4> |
|
760 <b>__reloadGeometry</b>(<i></i>) |
|
761 <p> |
|
762 Private method to restore the geometry. |
|
763 </p><a NAME="GitLogBrowserDialog.__resetUI" ID="GitLogBrowserDialog.__resetUI"></a> |
|
764 <h4>GitLogBrowserDialog.__resetUI</h4> |
|
765 <b>__resetUI</b>(<i></i>) |
|
766 <p> |
|
767 Private method to reset the user interface. |
|
768 </p><a NAME="GitLogBrowserDialog.__resizeColumnsFiles" ID="GitLogBrowserDialog.__resizeColumnsFiles"></a> |
|
769 <h4>GitLogBrowserDialog.__resizeColumnsFiles</h4> |
|
770 <b>__resizeColumnsFiles</b>(<i></i>) |
|
771 <p> |
|
772 Private method to resize the changed files tree columns. |
|
773 </p><a NAME="GitLogBrowserDialog.__resizeColumnsLog" ID="GitLogBrowserDialog.__resizeColumnsLog"></a> |
|
774 <h4>GitLogBrowserDialog.__resizeColumnsLog</h4> |
|
775 <b>__resizeColumnsLog</b>(<i></i>) |
|
776 <p> |
|
777 Private method to resize the log tree columns. |
|
778 </p><a NAME="GitLogBrowserDialog.__resortFiles" ID="GitLogBrowserDialog.__resortFiles"></a> |
|
779 <h4>GitLogBrowserDialog.__resortFiles</h4> |
|
780 <b>__resortFiles</b>(<i></i>) |
|
781 <p> |
|
782 Private method to resort the changed files tree. |
|
783 </p><a NAME="GitLogBrowserDialog.__restoreSplitterStates" ID="GitLogBrowserDialog.__restoreSplitterStates"></a> |
|
784 <h4>GitLogBrowserDialog.__restoreSplitterStates</h4> |
|
785 <b>__restoreSplitterStates</b>(<i></i>) |
|
786 <p> |
|
787 Private method to restore the state of the various splitters. |
|
788 </p><a NAME="GitLogBrowserDialog.__shortlogActTriggered" ID="GitLogBrowserDialog.__shortlogActTriggered"></a> |
|
789 <h4>GitLogBrowserDialog.__shortlogActTriggered</h4> |
|
790 <b>__shortlogActTriggered</b>(<i></i>) |
|
791 <p> |
|
792 Private slot to show a short log suitable for release announcements. |
|
793 </p><a NAME="GitLogBrowserDialog.__showAuthorColumns" ID="GitLogBrowserDialog.__showAuthorColumns"></a> |
|
794 <h4>GitLogBrowserDialog.__showAuthorColumns</h4> |
|
795 <b>__showAuthorColumns</b>(<i>on</i>) |
|
796 <p> |
|
797 Private slot to show/hide the committer columns. |
|
798 </p><dl> |
|
799 <dt><i>on</i></dt> |
|
800 <dd> |
|
801 flag indicating the selection state (boolean) |
|
802 </dd> |
|
803 </dl><a NAME="GitLogBrowserDialog.__showBranchesColumn" ID="GitLogBrowserDialog.__showBranchesColumn"></a> |
|
804 <h4>GitLogBrowserDialog.__showBranchesColumn</h4> |
|
805 <b>__showBranchesColumn</b>(<i>on</i>) |
|
806 <p> |
|
807 Private slot to show/hide the branches column. |
|
808 </p><dl> |
|
809 <dt><i>on</i></dt> |
|
810 <dd> |
|
811 flag indicating the selection state (boolean) |
|
812 </dd> |
|
813 </dl><a NAME="GitLogBrowserDialog.__showCommitIdColumn" ID="GitLogBrowserDialog.__showCommitIdColumn"></a> |
|
814 <h4>GitLogBrowserDialog.__showCommitIdColumn</h4> |
|
815 <b>__showCommitIdColumn</b>(<i>on</i>) |
|
816 <p> |
|
817 Private slot to show/hide the commit ID column. |
|
818 </p><dl> |
|
819 <dt><i>on</i></dt> |
|
820 <dd> |
|
821 flag indicating the selection state (boolean) |
|
822 </dd> |
|
823 </dl><a NAME="GitLogBrowserDialog.__showCommitterColumns" ID="GitLogBrowserDialog.__showCommitterColumns"></a> |
|
824 <h4>GitLogBrowserDialog.__showCommitterColumns</h4> |
|
825 <b>__showCommitterColumns</b>(<i>on</i>) |
|
826 <p> |
|
827 Private slot to show/hide the committer columns. |
|
828 </p><dl> |
|
829 <dt><i>on</i></dt> |
|
830 <dd> |
|
831 flag indicating the selection state (boolean) |
|
832 </dd> |
|
833 </dl><a NAME="GitLogBrowserDialog.__showError" ID="GitLogBrowserDialog.__showError"></a> |
|
834 <h4>GitLogBrowserDialog.__showError</h4> |
|
835 <b>__showError</b>(<i>out</i>) |
|
836 <p> |
|
837 Private slot to show some error. |
|
838 </p><dl> |
|
839 <dt><i>out</i></dt> |
|
840 <dd> |
|
841 error to be shown (string) |
|
842 </dd> |
|
843 </dl><a NAME="GitLogBrowserDialog.__showTagsColumn" ID="GitLogBrowserDialog.__showTagsColumn"></a> |
|
844 <h4>GitLogBrowserDialog.__showTagsColumn</h4> |
|
845 <b>__showTagsColumn</b>(<i>on</i>) |
|
846 <p> |
|
847 Private slot to show/hide the tags column. |
|
848 </p><dl> |
|
849 <dt><i>on</i></dt> |
|
850 <dd> |
|
851 flag indicating the selection state (boolean) |
|
852 </dd> |
|
853 </dl><a NAME="GitLogBrowserDialog.__switchActTriggered" ID="GitLogBrowserDialog.__switchActTriggered"></a> |
|
854 <h4>GitLogBrowserDialog.__switchActTriggered</h4> |
|
855 <b>__switchActTriggered</b>(<i></i>) |
|
856 <p> |
|
857 Private slot to switch the working directory to the |
|
858 selected commit. |
|
859 </p><a NAME="GitLogBrowserDialog.__tagActTriggered" ID="GitLogBrowserDialog.__tagActTriggered"></a> |
|
860 <h4>GitLogBrowserDialog.__tagActTriggered</h4> |
|
861 <b>__tagActTriggered</b>(<i></i>) |
|
862 <p> |
|
863 Private slot to tag the selected commit. |
|
864 </p><a NAME="GitLogBrowserDialog.__updateDetailsAndFiles" ID="GitLogBrowserDialog.__updateDetailsAndFiles"></a> |
|
865 <h4>GitLogBrowserDialog.__updateDetailsAndFiles</h4> |
|
866 <b>__updateDetailsAndFiles</b>(<i></i>) |
|
867 <p> |
|
868 Private slot to update the details and file changes panes. |
|
869 </p><a NAME="GitLogBrowserDialog.__updateFilesTree" ID="GitLogBrowserDialog.__updateFilesTree"></a> |
|
870 <h4>GitLogBrowserDialog.__updateFilesTree</h4> |
|
871 <b>__updateFilesTree</b>(<i>parent, itm</i>) |
|
872 <p> |
|
873 Private method to update the files tree with changes of the given item. |
|
874 </p><dl> |
|
875 <dt><i>parent</i> (QTreeWidget or QTreeWidgetItem)</dt> |
|
876 <dd> |
|
877 parent for the items to be added |
|
878 </dd><dt><i>itm</i> (QTreeWidgetItem)</dt> |
|
879 <dd> |
|
880 reference to the item the update should be based on |
|
881 </dd> |
|
882 </dl><a NAME="GitLogBrowserDialog.__updateSbsSelectLabel" ID="GitLogBrowserDialog.__updateSbsSelectLabel"></a> |
|
883 <h4>GitLogBrowserDialog.__updateSbsSelectLabel</h4> |
|
884 <b>__updateSbsSelectLabel</b>(<i></i>) |
|
885 <p> |
|
886 Private slot to update the enabled status of the diff buttons. |
|
887 </p><a NAME="GitLogBrowserDialog.__updateToolMenuActions" ID="GitLogBrowserDialog.__updateToolMenuActions"></a> |
|
888 <h4>GitLogBrowserDialog.__updateToolMenuActions</h4> |
|
889 <b>__updateToolMenuActions</b>(<i></i>) |
|
890 <p> |
|
891 Private slot to update the status of the tool menu actions and |
|
892 the tool menu button. |
|
893 </p><a NAME="GitLogBrowserDialog.closeEvent" ID="GitLogBrowserDialog.closeEvent"></a> |
|
894 <h4>GitLogBrowserDialog.closeEvent</h4> |
|
895 <b>closeEvent</b>(<i>e</i>) |
|
896 <p> |
|
897 Protected slot implementing a close event handler. |
|
898 </p><dl> |
|
899 <dt><i>e</i></dt> |
|
900 <dd> |
|
901 close event (QCloseEvent) |
|
902 </dd> |
|
903 </dl><a NAME="GitLogBrowserDialog.col2x" ID="GitLogBrowserDialog.col2x"></a> |
|
904 <h4>GitLogBrowserDialog.col2x</h4> |
|
905 <b>col2x</b>(<i>radius</i>) |
|
906 <p> |
|
907 Local function to calculate a x-position for a column. |
|
908 </p><dl> |
|
909 <dt><i>col</i></dt> |
|
910 <dd> |
|
911 column number (integer) |
|
912 </dd><dt><i>radius</i></dt> |
|
913 <dd> |
|
914 radius of the indicator circle (integer) |
|
915 </dd> |
|
916 </dl><a NAME="GitLogBrowserDialog.keyPressEvent" ID="GitLogBrowserDialog.keyPressEvent"></a> |
|
917 <h4>GitLogBrowserDialog.keyPressEvent</h4> |
|
918 <b>keyPressEvent</b>(<i>evt</i>) |
|
919 <p> |
|
920 Protected slot to handle a key press event. |
|
921 </p><dl> |
|
922 <dt><i>evt</i></dt> |
|
923 <dd> |
|
924 the key press event (QKeyEvent) |
|
925 </dd> |
|
926 </dl><a NAME="GitLogBrowserDialog.on_buttonBox_clicked" ID="GitLogBrowserDialog.on_buttonBox_clicked"></a> |
|
927 <h4>GitLogBrowserDialog.on_buttonBox_clicked</h4> |
|
928 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
929 <p> |
|
930 Private slot called by a button of the button box clicked. |
|
931 </p><dl> |
|
932 <dt><i>button</i></dt> |
|
933 <dd> |
|
934 button that was clicked (QAbstractButton) |
|
935 </dd> |
|
936 </dl><a NAME="GitLogBrowserDialog.on_diffSelectLabel_linkActivated" ID="GitLogBrowserDialog.on_diffSelectLabel_linkActivated"></a> |
|
937 <h4>GitLogBrowserDialog.on_diffSelectLabel_linkActivated</h4> |
|
938 <b>on_diffSelectLabel_linkActivated</b>(<i>link</i>) |
|
939 <p> |
|
940 Private slot to handle the selection of a diff target. |
|
941 </p><dl> |
|
942 <dt><i>link</i> (str)</dt> |
|
943 <dd> |
|
944 activated link |
|
945 </dd> |
|
946 </dl><a NAME="GitLogBrowserDialog.on_downButton_clicked" ID="GitLogBrowserDialog.on_downButton_clicked"></a> |
|
947 <h4>GitLogBrowserDialog.on_downButton_clicked</h4> |
|
948 <b>on_downButton_clicked</b>(<i></i>) |
|
949 <p> |
|
950 Private slot to move the current item down one entry. |
|
951 </p><a NAME="GitLogBrowserDialog.on_fieldCombo_activated" ID="GitLogBrowserDialog.on_fieldCombo_activated"></a> |
|
952 <h4>GitLogBrowserDialog.on_fieldCombo_activated</h4> |
|
953 <b>on_fieldCombo_activated</b>(<i>txt</i>) |
|
954 <p> |
|
955 Private slot called, when a new filter field is selected. |
|
956 </p><dl> |
|
957 <dt><i>txt</i></dt> |
|
958 <dd> |
|
959 text of the selected field (string) |
|
960 </dd> |
|
961 </dl><a NAME="GitLogBrowserDialog.on_filesTree_currentItemChanged" ID="GitLogBrowserDialog.on_filesTree_currentItemChanged"></a> |
|
962 <h4>GitLogBrowserDialog.on_filesTree_currentItemChanged</h4> |
|
963 <b>on_filesTree_currentItemChanged</b>(<i>current, previous</i>) |
|
964 <p> |
|
965 Private slot called, when the current item of the files tree changes. |
|
966 </p><dl> |
|
967 <dt><i>current</i></dt> |
|
968 <dd> |
|
969 reference to the new current item (QTreeWidgetItem) |
|
970 </dd><dt><i>previous</i></dt> |
|
971 <dd> |
|
972 reference to the old current item (QTreeWidgetItem) |
|
973 </dd> |
|
974 </dl><a NAME="GitLogBrowserDialog.on_findNextButton_clicked" ID="GitLogBrowserDialog.on_findNextButton_clicked"></a> |
|
975 <h4>GitLogBrowserDialog.on_findNextButton_clicked</h4> |
|
976 <b>on_findNextButton_clicked</b>(<i></i>) |
|
977 <p> |
|
978 Private slot to find the next item matching the entered criteria. |
|
979 </p><a NAME="GitLogBrowserDialog.on_findPrevButton_clicked" ID="GitLogBrowserDialog.on_findPrevButton_clicked"></a> |
|
980 <h4>GitLogBrowserDialog.on_findPrevButton_clicked</h4> |
|
981 <b>on_findPrevButton_clicked</b>(<i></i>) |
|
982 <p> |
|
983 Private slot to find the previous item matching the entered criteria. |
|
984 </p><a NAME="GitLogBrowserDialog.on_fromDate_dateChanged" ID="GitLogBrowserDialog.on_fromDate_dateChanged"></a> |
|
985 <h4>GitLogBrowserDialog.on_fromDate_dateChanged</h4> |
|
986 <b>on_fromDate_dateChanged</b>(<i>date</i>) |
|
987 <p> |
|
988 Private slot called, when the from date changes. |
|
989 </p><dl> |
|
990 <dt><i>date</i></dt> |
|
991 <dd> |
|
992 new date (QDate) |
|
993 </dd> |
|
994 </dl><a NAME="GitLogBrowserDialog.on_input_returnPressed" ID="GitLogBrowserDialog.on_input_returnPressed"></a> |
|
995 <h4>GitLogBrowserDialog.on_input_returnPressed</h4> |
|
996 <b>on_input_returnPressed</b>(<i></i>) |
|
997 <p> |
|
998 Private slot to handle the press of the return key in the input field. |
|
999 </p><a NAME="GitLogBrowserDialog.on_logTree_currentItemChanged" ID="GitLogBrowserDialog.on_logTree_currentItemChanged"></a> |
|
1000 <h4>GitLogBrowserDialog.on_logTree_currentItemChanged</h4> |
|
1001 <b>on_logTree_currentItemChanged</b>(<i>current, previous</i>) |
|
1002 <p> |
|
1003 Private slot called, when the current item of the log tree changes. |
|
1004 </p><dl> |
|
1005 <dt><i>current</i></dt> |
|
1006 <dd> |
|
1007 reference to the new current item (QTreeWidgetItem) |
|
1008 </dd><dt><i>previous</i></dt> |
|
1009 <dd> |
|
1010 reference to the old current item (QTreeWidgetItem) |
|
1011 </dd> |
|
1012 </dl><a NAME="GitLogBrowserDialog.on_logTree_customContextMenuRequested" ID="GitLogBrowserDialog.on_logTree_customContextMenuRequested"></a> |
|
1013 <h4>GitLogBrowserDialog.on_logTree_customContextMenuRequested</h4> |
|
1014 <b>on_logTree_customContextMenuRequested</b>(<i>pos</i>) |
|
1015 <p> |
|
1016 Private slot to show the context menu of the log tree. |
|
1017 </p><dl> |
|
1018 <dt><i>pos</i></dt> |
|
1019 <dd> |
|
1020 position of the mouse pointer (QPoint) |
|
1021 </dd> |
|
1022 </dl><a NAME="GitLogBrowserDialog.on_logTree_itemSelectionChanged" ID="GitLogBrowserDialog.on_logTree_itemSelectionChanged"></a> |
|
1023 <h4>GitLogBrowserDialog.on_logTree_itemSelectionChanged</h4> |
|
1024 <b>on_logTree_itemSelectionChanged</b>(<i></i>) |
|
1025 <p> |
|
1026 Private slot called, when the selection has changed. |
|
1027 </p><a NAME="GitLogBrowserDialog.on_modeComboBox_currentIndexChanged" ID="GitLogBrowserDialog.on_modeComboBox_currentIndexChanged"></a> |
|
1028 <h4>GitLogBrowserDialog.on_modeComboBox_currentIndexChanged</h4> |
|
1029 <b>on_modeComboBox_currentIndexChanged</b>(<i>index</i>) |
|
1030 <p> |
|
1031 Private slot to react on mode changes. |
|
1032 </p><dl> |
|
1033 <dt><i>index</i></dt> |
|
1034 <dd> |
|
1035 index of the selected entry (integer) |
|
1036 </dd> |
|
1037 </dl><a NAME="GitLogBrowserDialog.on_nextButton_clicked" ID="GitLogBrowserDialog.on_nextButton_clicked"></a> |
|
1038 <h4>GitLogBrowserDialog.on_nextButton_clicked</h4> |
|
1039 <b>on_nextButton_clicked</b>(<i></i>) |
|
1040 <p> |
|
1041 Private slot to handle the Next button. |
|
1042 </p><a NAME="GitLogBrowserDialog.on_passwordCheckBox_toggled" ID="GitLogBrowserDialog.on_passwordCheckBox_toggled"></a> |
|
1043 <h4>GitLogBrowserDialog.on_passwordCheckBox_toggled</h4> |
|
1044 <b>on_passwordCheckBox_toggled</b>(<i>isOn</i>) |
|
1045 <p> |
|
1046 Private slot to handle the password checkbox toggled. |
|
1047 </p><dl> |
|
1048 <dt><i>isOn</i></dt> |
|
1049 <dd> |
|
1050 flag indicating the status of the check box (boolean) |
|
1051 </dd> |
|
1052 </dl><a NAME="GitLogBrowserDialog.on_refreshButton_clicked" ID="GitLogBrowserDialog.on_refreshButton_clicked"></a> |
|
1053 <h4>GitLogBrowserDialog.on_refreshButton_clicked</h4> |
|
1054 <b>on_refreshButton_clicked</b>(<i></i>) |
|
1055 <p> |
|
1056 Private slot to refresh the log. |
|
1057 </p><a NAME="GitLogBrowserDialog.on_rxEdit_returnPressed" ID="GitLogBrowserDialog.on_rxEdit_returnPressed"></a> |
|
1058 <h4>GitLogBrowserDialog.on_rxEdit_returnPressed</h4> |
|
1059 <b>on_rxEdit_returnPressed</b>(<i></i>) |
|
1060 <p> |
|
1061 Private slot handling a press of the Return key in the rxEdit input. |
|
1062 </p><a NAME="GitLogBrowserDialog.on_rxEdit_textChanged" ID="GitLogBrowserDialog.on_rxEdit_textChanged"></a> |
|
1063 <h4>GitLogBrowserDialog.on_rxEdit_textChanged</h4> |
|
1064 <b>on_rxEdit_textChanged</b>(<i>txt</i>) |
|
1065 <p> |
|
1066 Private slot called, when a filter expression is entered. |
|
1067 </p><dl> |
|
1068 <dt><i>txt</i></dt> |
|
1069 <dd> |
|
1070 filter expression (string) |
|
1071 </dd> |
|
1072 </dl><a NAME="GitLogBrowserDialog.on_saveLabel_linkActivated" ID="GitLogBrowserDialog.on_saveLabel_linkActivated"></a> |
|
1073 <h4>GitLogBrowserDialog.on_saveLabel_linkActivated</h4> |
|
1074 <b>on_saveLabel_linkActivated</b>(<i>link</i>) |
|
1075 <p> |
|
1076 Private slot to handle the selection of the save link. |
|
1077 </p><dl> |
|
1078 <dt><i>link</i> (str)</dt> |
|
1079 <dd> |
|
1080 activated link |
|
1081 </dd> |
|
1082 </dl><a NAME="GitLogBrowserDialog.on_sbsSelectLabel_linkActivated" ID="GitLogBrowserDialog.on_sbsSelectLabel_linkActivated"></a> |
|
1083 <h4>GitLogBrowserDialog.on_sbsSelectLabel_linkActivated</h4> |
|
1084 <b>on_sbsSelectLabel_linkActivated</b>(<i>link</i>) |
|
1085 <p> |
|
1086 Private slot to handle selection of a side-by-side link. |
|
1087 </p><dl> |
|
1088 <dt><i>link</i> (str)</dt> |
|
1089 <dd> |
|
1090 text of the selected link |
|
1091 </dd> |
|
1092 </dl><a NAME="GitLogBrowserDialog.on_sendButton_clicked" ID="GitLogBrowserDialog.on_sendButton_clicked"></a> |
|
1093 <h4>GitLogBrowserDialog.on_sendButton_clicked</h4> |
|
1094 <b>on_sendButton_clicked</b>(<i></i>) |
|
1095 <p> |
|
1096 Private slot to send the input to the git process. |
|
1097 </p><a NAME="GitLogBrowserDialog.on_stopCheckBox_clicked" ID="GitLogBrowserDialog.on_stopCheckBox_clicked"></a> |
|
1098 <h4>GitLogBrowserDialog.on_stopCheckBox_clicked</h4> |
|
1099 <b>on_stopCheckBox_clicked</b>(<i>checked</i>) |
|
1100 <p> |
|
1101 Private slot called, when the stop on copy/move checkbox is clicked. |
|
1102 </p><dl> |
|
1103 <dt><i>checked</i></dt> |
|
1104 <dd> |
|
1105 flag indicating the state of the check box (boolean) |
|
1106 </dd> |
|
1107 </dl><a NAME="GitLogBrowserDialog.on_toDate_dateChanged" ID="GitLogBrowserDialog.on_toDate_dateChanged"></a> |
|
1108 <h4>GitLogBrowserDialog.on_toDate_dateChanged</h4> |
|
1109 <b>on_toDate_dateChanged</b>(<i>date</i>) |
|
1110 <p> |
|
1111 Private slot called, when the from date changes. |
|
1112 </p><dl> |
|
1113 <dt><i>date</i></dt> |
|
1114 <dd> |
|
1115 new date (QDate) |
|
1116 </dd> |
|
1117 </dl><a NAME="GitLogBrowserDialog.on_upButton_clicked" ID="GitLogBrowserDialog.on_upButton_clicked"></a> |
|
1118 <h4>GitLogBrowserDialog.on_upButton_clicked</h4> |
|
1119 <b>on_upButton_clicked</b>(<i></i>) |
|
1120 <p> |
|
1121 Private slot to move the current item up one entry. |
|
1122 </p><a NAME="GitLogBrowserDialog.show" ID="GitLogBrowserDialog.show"></a> |
|
1123 <h4>GitLogBrowserDialog.show</h4> |
|
1124 <b>show</b>(<i></i>) |
|
1125 <p> |
|
1126 Public slot to show the dialog. |
|
1127 </p><a NAME="GitLogBrowserDialog.start" ID="GitLogBrowserDialog.start"></a> |
|
1128 <h4>GitLogBrowserDialog.start</h4> |
|
1129 <b>start</b>(<i>fn, isFile=False, noEntries=0</i>) |
|
1130 <p> |
|
1131 Public slot to start the git log command. |
|
1132 </p><dl> |
|
1133 <dt><i>fn</i></dt> |
|
1134 <dd> |
|
1135 filename to show the log for (string) |
|
1136 </dd><dt><i>isFile=</i></dt> |
|
1137 <dd> |
|
1138 flag indicating log for a file is to be shown |
|
1139 (boolean) |
|
1140 </dd><dt><i>noEntries=</i></dt> |
|
1141 <dd> |
|
1142 number of entries to get (0 = default) (int) |
|
1143 </dd> |
|
1144 </dl> |
|
1145 <div align="right"><a href="#top">Up</a></div> |
|
1146 <hr /> |
|
1147 </body></html> |