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