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