|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.Plugins.VcsPlugins.vcsMercurial.HgStatusDialog</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.HgStatusDialog</h1> |
|
23 <p> |
|
24 Module implementing a dialog to show the output of the hg status command |
|
25 process. |
|
26 </p> |
|
27 <h3>Global Attributes</h3> |
|
28 <table> |
|
29 <tr><td>None</td></tr> |
|
30 </table> |
|
31 <h3>Classes</h3> |
|
32 <table> |
|
33 <tr> |
|
34 <td><a href="#HgStatusDialog">HgStatusDialog</a></td> |
|
35 <td>Class implementing a dialog to show the output of the hg status command process.</td> |
|
36 </tr> |
|
37 </table> |
|
38 <h3>Functions</h3> |
|
39 <table> |
|
40 <tr><td>None</td></tr> |
|
41 </table> |
|
42 <hr /><hr /> |
|
43 <a NAME="HgStatusDialog" ID="HgStatusDialog"></a> |
|
44 <h2>HgStatusDialog</h2> |
|
45 <p> |
|
46 Class implementing a dialog to show the output of the hg status command |
|
47 process. |
|
48 </p> |
|
49 <h3>Derived from</h3> |
|
50 QWidget, Ui_HgStatusDialog |
|
51 <h3>Class Attributes</h3> |
|
52 <table> |
|
53 <tr><td>None</td></tr> |
|
54 </table> |
|
55 <h3>Class Methods</h3> |
|
56 <table> |
|
57 <tr><td>None</td></tr> |
|
58 </table> |
|
59 <h3>Methods</h3> |
|
60 <table> |
|
61 <tr> |
|
62 <td><a href="#HgStatusDialog.__init__">HgStatusDialog</a></td> |
|
63 <td>Constructor</td> |
|
64 </tr><tr> |
|
65 <td><a href="#HgStatusDialog.__add">__add</a></td> |
|
66 <td>Private slot to handle the Add context menu entry.</td> |
|
67 </tr><tr> |
|
68 <td><a href="#HgStatusDialog.__commit">__commit</a></td> |
|
69 <td>Private slot to handle the Commit context menu entry.</td> |
|
70 </tr><tr> |
|
71 <td><a href="#HgStatusDialog.__commitDeselectAll">__commitDeselectAll</a></td> |
|
72 <td>Private slot to deselect all entries from commit.</td> |
|
73 </tr><tr> |
|
74 <td><a href="#HgStatusDialog.__commitSelect">__commitSelect</a></td> |
|
75 <td>Private slot to select or deselect all entries.</td> |
|
76 </tr><tr> |
|
77 <td><a href="#HgStatusDialog.__commitSelectAll">__commitSelectAll</a></td> |
|
78 <td>Private slot to select all entries for commit.</td> |
|
79 </tr><tr> |
|
80 <td><a href="#HgStatusDialog.__committed">__committed</a></td> |
|
81 <td>Private slot called after the commit has finished.</td> |
|
82 </tr><tr> |
|
83 <td><a href="#HgStatusDialog.__diff">__diff</a></td> |
|
84 <td>Private slot to handle the Diff context menu entry.</td> |
|
85 </tr><tr> |
|
86 <td><a href="#HgStatusDialog.__finish">__finish</a></td> |
|
87 <td>Private slot called when the process finished or the user pressed the button.</td> |
|
88 </tr><tr> |
|
89 <td><a href="#HgStatusDialog.__forget">__forget</a></td> |
|
90 <td>Private slot to handle the Remove context menu entry.</td> |
|
91 </tr><tr> |
|
92 <td><a href="#HgStatusDialog.__generateItem">__generateItem</a></td> |
|
93 <td>Private method to generate a status item in the status list.</td> |
|
94 </tr><tr> |
|
95 <td><a href="#HgStatusDialog.__getCommitableItems">__getCommitableItems</a></td> |
|
96 <td>Private method to retrieve all entries the user wants to commit.</td> |
|
97 </tr><tr> |
|
98 <td><a href="#HgStatusDialog.__getMissingItems">__getMissingItems</a></td> |
|
99 <td>Private method to retrieve all entries, that have a missing status.</td> |
|
100 </tr><tr> |
|
101 <td><a href="#HgStatusDialog.__getModifiedItems">__getModifiedItems</a></td> |
|
102 <td>Private method to retrieve all entries, that have a modified status.</td> |
|
103 </tr><tr> |
|
104 <td><a href="#HgStatusDialog.__getUnversionedItems">__getUnversionedItems</a></td> |
|
105 <td>Private method to retrieve all entries, that have an unversioned status.</td> |
|
106 </tr><tr> |
|
107 <td><a href="#HgStatusDialog.__lfAdd">__lfAdd</a></td> |
|
108 <td>Private slot to add a file to the repository.</td> |
|
109 </tr><tr> |
|
110 <td><a href="#HgStatusDialog.__procFinished">__procFinished</a></td> |
|
111 <td>Private slot connected to the finished signal.</td> |
|
112 </tr><tr> |
|
113 <td><a href="#HgStatusDialog.__processOutputLine">__processOutputLine</a></td> |
|
114 <td>Private method to process the lines of output.</td> |
|
115 </tr><tr> |
|
116 <td><a href="#HgStatusDialog.__readStderr">__readStderr</a></td> |
|
117 <td>Private slot to handle the readyReadStandardError signal.</td> |
|
118 </tr><tr> |
|
119 <td><a href="#HgStatusDialog.__readStdout">__readStdout</a></td> |
|
120 <td>Private slot to handle the readyReadStandardOutput signal.</td> |
|
121 </tr><tr> |
|
122 <td><a href="#HgStatusDialog.__resizeColumns">__resizeColumns</a></td> |
|
123 <td>Private method to resize the list columns.</td> |
|
124 </tr><tr> |
|
125 <td><a href="#HgStatusDialog.__resort">__resort</a></td> |
|
126 <td>Private method to resort the tree.</td> |
|
127 </tr><tr> |
|
128 <td><a href="#HgStatusDialog.__restoreMissing">__restoreMissing</a></td> |
|
129 <td>Private slot to handle the Restore Missing context menu entry.</td> |
|
130 </tr><tr> |
|
131 <td><a href="#HgStatusDialog.__revert">__revert</a></td> |
|
132 <td>Private slot to handle the Revert context menu entry.</td> |
|
133 </tr><tr> |
|
134 <td><a href="#HgStatusDialog.__sbsDiff">__sbsDiff</a></td> |
|
135 <td>Private slot to handle the Diff context menu entry.</td> |
|
136 </tr><tr> |
|
137 <td><a href="#HgStatusDialog.__showAddMenu">__showAddMenu</a></td> |
|
138 <td>Private slot to prepare the Add button menu before it is shown.</td> |
|
139 </tr><tr> |
|
140 <td><a href="#HgStatusDialog.__showContextMenu">__showContextMenu</a></td> |
|
141 <td>Private slot to show the context menu of the status list.</td> |
|
142 </tr><tr> |
|
143 <td><a href="#HgStatusDialog.__showError">__showError</a></td> |
|
144 <td>Private slot to show some error.</td> |
|
145 </tr><tr> |
|
146 <td><a href="#HgStatusDialog.__updateButtons">__updateButtons</a></td> |
|
147 <td>Private method to update the VCS buttons status.</td> |
|
148 </tr><tr> |
|
149 <td><a href="#HgStatusDialog.__updateCommitButton">__updateCommitButton</a></td> |
|
150 <td>Private method to update the Commit button status.</td> |
|
151 </tr><tr> |
|
152 <td><a href="#HgStatusDialog.closeEvent">closeEvent</a></td> |
|
153 <td>Protected slot implementing a close event handler.</td> |
|
154 </tr><tr> |
|
155 <td><a href="#HgStatusDialog.keyPressEvent">keyPressEvent</a></td> |
|
156 <td>Protected slot to handle a key press event.</td> |
|
157 </tr><tr> |
|
158 <td><a href="#HgStatusDialog.on_addButton_clicked">on_addButton_clicked</a></td> |
|
159 <td>Private slot to handle the press of the Add button.</td> |
|
160 </tr><tr> |
|
161 <td><a href="#HgStatusDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
|
162 <td>Private slot called by a button of the button box clicked.</td> |
|
163 </tr><tr> |
|
164 <td><a href="#HgStatusDialog.on_commitButton_clicked">on_commitButton_clicked</a></td> |
|
165 <td>Private slot to handle the press of the Commit button.</td> |
|
166 </tr><tr> |
|
167 <td><a href="#HgStatusDialog.on_diffButton_clicked">on_diffButton_clicked</a></td> |
|
168 <td>Private slot to handle the press of the Differences button.</td> |
|
169 </tr><tr> |
|
170 <td><a href="#HgStatusDialog.on_forgetButton_clicked">on_forgetButton_clicked</a></td> |
|
171 <td>Private slot to handle the press of the Forget button.</td> |
|
172 </tr><tr> |
|
173 <td><a href="#HgStatusDialog.on_input_returnPressed">on_input_returnPressed</a></td> |
|
174 <td>Private slot to handle the press of the return key in the input field.</td> |
|
175 </tr><tr> |
|
176 <td><a href="#HgStatusDialog.on_passwordCheckBox_toggled">on_passwordCheckBox_toggled</a></td> |
|
177 <td>Private slot to handle the password checkbox toggled.</td> |
|
178 </tr><tr> |
|
179 <td><a href="#HgStatusDialog.on_refreshButton_clicked">on_refreshButton_clicked</a></td> |
|
180 <td>Private slot to refresh the status display.</td> |
|
181 </tr><tr> |
|
182 <td><a href="#HgStatusDialog.on_restoreButton_clicked">on_restoreButton_clicked</a></td> |
|
183 <td>Private slot to handle the press of the Restore button.</td> |
|
184 </tr><tr> |
|
185 <td><a href="#HgStatusDialog.on_revertButton_clicked">on_revertButton_clicked</a></td> |
|
186 <td>Private slot to handle the press of the Revert button.</td> |
|
187 </tr><tr> |
|
188 <td><a href="#HgStatusDialog.on_sbsDiffButton_clicked">on_sbsDiffButton_clicked</a></td> |
|
189 <td>Private slot to handle the press of the Side-by-Side Diff button.</td> |
|
190 </tr><tr> |
|
191 <td><a href="#HgStatusDialog.on_sendButton_clicked">on_sendButton_clicked</a></td> |
|
192 <td>Private slot to send the input to the subversion process.</td> |
|
193 </tr><tr> |
|
194 <td><a href="#HgStatusDialog.on_statusFilterCombo_activated">on_statusFilterCombo_activated</a></td> |
|
195 <td>Private slot to react to the selection of a status filter.</td> |
|
196 </tr><tr> |
|
197 <td><a href="#HgStatusDialog.on_statusList_itemChanged">on_statusList_itemChanged</a></td> |
|
198 <td>Private slot to act upon item changes.</td> |
|
199 </tr><tr> |
|
200 <td><a href="#HgStatusDialog.on_statusList_itemSelectionChanged">on_statusList_itemSelectionChanged</a></td> |
|
201 <td>Private slot to act upon changes of selected items.</td> |
|
202 </tr><tr> |
|
203 <td><a href="#HgStatusDialog.start">start</a></td> |
|
204 <td>Public slot to start the hg status command.</td> |
|
205 </tr> |
|
206 </table> |
|
207 <h3>Static Methods</h3> |
|
208 <table> |
|
209 <tr><td>None</td></tr> |
|
210 </table> |
|
211 <a NAME="HgStatusDialog.__init__" ID="HgStatusDialog.__init__"></a> |
|
212 <h4>HgStatusDialog (Constructor)</h4> |
|
213 <b>HgStatusDialog</b>(<i>vcs, mq=False, parent=None</i>) |
|
214 <p> |
|
215 Constructor |
|
216 </p><dl> |
|
217 <dt><i>vcs</i></dt> |
|
218 <dd> |
|
219 reference to the vcs object |
|
220 </dd><dt><i>mq</i></dt> |
|
221 <dd> |
|
222 flag indicating to show a queue repo status (boolean) |
|
223 </dd><dt><i>parent</i></dt> |
|
224 <dd> |
|
225 parent widget (QWidget) |
|
226 </dd> |
|
227 </dl><a NAME="HgStatusDialog.__add" ID="HgStatusDialog.__add"></a> |
|
228 <h4>HgStatusDialog.__add</h4> |
|
229 <b>__add</b>(<i></i>) |
|
230 <p> |
|
231 Private slot to handle the Add context menu entry. |
|
232 </p><a NAME="HgStatusDialog.__commit" ID="HgStatusDialog.__commit"></a> |
|
233 <h4>HgStatusDialog.__commit</h4> |
|
234 <b>__commit</b>(<i></i>) |
|
235 <p> |
|
236 Private slot to handle the Commit context menu entry. |
|
237 </p><a NAME="HgStatusDialog.__commitDeselectAll" ID="HgStatusDialog.__commitDeselectAll"></a> |
|
238 <h4>HgStatusDialog.__commitDeselectAll</h4> |
|
239 <b>__commitDeselectAll</b>(<i></i>) |
|
240 <p> |
|
241 Private slot to deselect all entries from commit. |
|
242 </p><a NAME="HgStatusDialog.__commitSelect" ID="HgStatusDialog.__commitSelect"></a> |
|
243 <h4>HgStatusDialog.__commitSelect</h4> |
|
244 <b>__commitSelect</b>(<i>selected</i>) |
|
245 <p> |
|
246 Private slot to select or deselect all entries. |
|
247 </p><dl> |
|
248 <dt><i>selected</i></dt> |
|
249 <dd> |
|
250 commit selection state to be set (boolean) |
|
251 </dd> |
|
252 </dl><a NAME="HgStatusDialog.__commitSelectAll" ID="HgStatusDialog.__commitSelectAll"></a> |
|
253 <h4>HgStatusDialog.__commitSelectAll</h4> |
|
254 <b>__commitSelectAll</b>(<i></i>) |
|
255 <p> |
|
256 Private slot to select all entries for commit. |
|
257 </p><a NAME="HgStatusDialog.__committed" ID="HgStatusDialog.__committed"></a> |
|
258 <h4>HgStatusDialog.__committed</h4> |
|
259 <b>__committed</b>(<i></i>) |
|
260 <p> |
|
261 Private slot called after the commit has finished. |
|
262 </p><a NAME="HgStatusDialog.__diff" ID="HgStatusDialog.__diff"></a> |
|
263 <h4>HgStatusDialog.__diff</h4> |
|
264 <b>__diff</b>(<i></i>) |
|
265 <p> |
|
266 Private slot to handle the Diff context menu entry. |
|
267 </p><a NAME="HgStatusDialog.__finish" ID="HgStatusDialog.__finish"></a> |
|
268 <h4>HgStatusDialog.__finish</h4> |
|
269 <b>__finish</b>(<i></i>) |
|
270 <p> |
|
271 Private slot called when the process finished or the user pressed |
|
272 the button. |
|
273 </p><a NAME="HgStatusDialog.__forget" ID="HgStatusDialog.__forget"></a> |
|
274 <h4>HgStatusDialog.__forget</h4> |
|
275 <b>__forget</b>(<i></i>) |
|
276 <p> |
|
277 Private slot to handle the Remove context menu entry. |
|
278 </p><a NAME="HgStatusDialog.__generateItem" ID="HgStatusDialog.__generateItem"></a> |
|
279 <h4>HgStatusDialog.__generateItem</h4> |
|
280 <b>__generateItem</b>(<i>status, path</i>) |
|
281 <p> |
|
282 Private method to generate a status item in the status list. |
|
283 </p><dl> |
|
284 <dt><i>status</i></dt> |
|
285 <dd> |
|
286 status indicator (string) |
|
287 </dd><dt><i>path</i></dt> |
|
288 <dd> |
|
289 path of the file or directory (string) |
|
290 </dd> |
|
291 </dl><a NAME="HgStatusDialog.__getCommitableItems" ID="HgStatusDialog.__getCommitableItems"></a> |
|
292 <h4>HgStatusDialog.__getCommitableItems</h4> |
|
293 <b>__getCommitableItems</b>(<i></i>) |
|
294 <p> |
|
295 Private method to retrieve all entries the user wants to commit. |
|
296 </p><dl> |
|
297 <dt>Returns:</dt> |
|
298 <dd> |
|
299 list of all items, the user has checked |
|
300 </dd> |
|
301 </dl><a NAME="HgStatusDialog.__getMissingItems" ID="HgStatusDialog.__getMissingItems"></a> |
|
302 <h4>HgStatusDialog.__getMissingItems</h4> |
|
303 <b>__getMissingItems</b>(<i></i>) |
|
304 <p> |
|
305 Private method to retrieve all entries, that have a missing status. |
|
306 </p><dl> |
|
307 <dt>Returns:</dt> |
|
308 <dd> |
|
309 list of all items with a missing status |
|
310 </dd> |
|
311 </dl><a NAME="HgStatusDialog.__getModifiedItems" ID="HgStatusDialog.__getModifiedItems"></a> |
|
312 <h4>HgStatusDialog.__getModifiedItems</h4> |
|
313 <b>__getModifiedItems</b>(<i></i>) |
|
314 <p> |
|
315 Private method to retrieve all entries, that have a modified status. |
|
316 </p><dl> |
|
317 <dt>Returns:</dt> |
|
318 <dd> |
|
319 list of all items with a modified status |
|
320 </dd> |
|
321 </dl><a NAME="HgStatusDialog.__getUnversionedItems" ID="HgStatusDialog.__getUnversionedItems"></a> |
|
322 <h4>HgStatusDialog.__getUnversionedItems</h4> |
|
323 <b>__getUnversionedItems</b>(<i></i>) |
|
324 <p> |
|
325 Private method to retrieve all entries, that have an unversioned |
|
326 status. |
|
327 </p><dl> |
|
328 <dt>Returns:</dt> |
|
329 <dd> |
|
330 list of all items with an unversioned status |
|
331 </dd> |
|
332 </dl><a NAME="HgStatusDialog.__lfAdd" ID="HgStatusDialog.__lfAdd"></a> |
|
333 <h4>HgStatusDialog.__lfAdd</h4> |
|
334 <b>__lfAdd</b>(<i>mode</i>) |
|
335 <p> |
|
336 Private slot to add a file to the repository. |
|
337 </p><dl> |
|
338 <dt><i>mode</i></dt> |
|
339 <dd> |
|
340 add mode (string one of 'normal' or 'large') |
|
341 </dd> |
|
342 </dl><a NAME="HgStatusDialog.__procFinished" ID="HgStatusDialog.__procFinished"></a> |
|
343 <h4>HgStatusDialog.__procFinished</h4> |
|
344 <b>__procFinished</b>(<i>exitCode, exitStatus</i>) |
|
345 <p> |
|
346 Private slot connected to the finished signal. |
|
347 </p><dl> |
|
348 <dt><i>exitCode</i></dt> |
|
349 <dd> |
|
350 exit code of the process (integer) |
|
351 </dd><dt><i>exitStatus</i></dt> |
|
352 <dd> |
|
353 exit status of the process (QProcess.ExitStatus) |
|
354 </dd> |
|
355 </dl><a NAME="HgStatusDialog.__processOutputLine" ID="HgStatusDialog.__processOutputLine"></a> |
|
356 <h4>HgStatusDialog.__processOutputLine</h4> |
|
357 <b>__processOutputLine</b>(<i>line</i>) |
|
358 <p> |
|
359 Private method to process the lines of output. |
|
360 </p><dl> |
|
361 <dt><i>line</i></dt> |
|
362 <dd> |
|
363 output line to be processed (string) |
|
364 </dd> |
|
365 </dl><a NAME="HgStatusDialog.__readStderr" ID="HgStatusDialog.__readStderr"></a> |
|
366 <h4>HgStatusDialog.__readStderr</h4> |
|
367 <b>__readStderr</b>(<i></i>) |
|
368 <p> |
|
369 Private slot to handle the readyReadStandardError signal. |
|
370 </p><p> |
|
371 It reads the error output of the process and inserts it into the |
|
372 error pane. |
|
373 </p><a NAME="HgStatusDialog.__readStdout" ID="HgStatusDialog.__readStdout"></a> |
|
374 <h4>HgStatusDialog.__readStdout</h4> |
|
375 <b>__readStdout</b>(<i></i>) |
|
376 <p> |
|
377 Private slot to handle the readyReadStandardOutput signal. |
|
378 </p><p> |
|
379 It reads the output of the process, formats it and inserts it into |
|
380 the contents pane. |
|
381 </p><a NAME="HgStatusDialog.__resizeColumns" ID="HgStatusDialog.__resizeColumns"></a> |
|
382 <h4>HgStatusDialog.__resizeColumns</h4> |
|
383 <b>__resizeColumns</b>(<i></i>) |
|
384 <p> |
|
385 Private method to resize the list columns. |
|
386 </p><a NAME="HgStatusDialog.__resort" ID="HgStatusDialog.__resort"></a> |
|
387 <h4>HgStatusDialog.__resort</h4> |
|
388 <b>__resort</b>(<i></i>) |
|
389 <p> |
|
390 Private method to resort the tree. |
|
391 </p><a NAME="HgStatusDialog.__restoreMissing" ID="HgStatusDialog.__restoreMissing"></a> |
|
392 <h4>HgStatusDialog.__restoreMissing</h4> |
|
393 <b>__restoreMissing</b>(<i></i>) |
|
394 <p> |
|
395 Private slot to handle the Restore Missing context menu entry. |
|
396 </p><a NAME="HgStatusDialog.__revert" ID="HgStatusDialog.__revert"></a> |
|
397 <h4>HgStatusDialog.__revert</h4> |
|
398 <b>__revert</b>(<i></i>) |
|
399 <p> |
|
400 Private slot to handle the Revert context menu entry. |
|
401 </p><a NAME="HgStatusDialog.__sbsDiff" ID="HgStatusDialog.__sbsDiff"></a> |
|
402 <h4>HgStatusDialog.__sbsDiff</h4> |
|
403 <b>__sbsDiff</b>(<i></i>) |
|
404 <p> |
|
405 Private slot to handle the Diff context menu entry. |
|
406 </p><a NAME="HgStatusDialog.__showAddMenu" ID="HgStatusDialog.__showAddMenu"></a> |
|
407 <h4>HgStatusDialog.__showAddMenu</h4> |
|
408 <b>__showAddMenu</b>(<i></i>) |
|
409 <p> |
|
410 Private slot to prepare the Add button menu before it is shown. |
|
411 </p><a NAME="HgStatusDialog.__showContextMenu" ID="HgStatusDialog.__showContextMenu"></a> |
|
412 <h4>HgStatusDialog.__showContextMenu</h4> |
|
413 <b>__showContextMenu</b>(<i>coord</i>) |
|
414 <p> |
|
415 Private slot to show the context menu of the status list. |
|
416 </p><dl> |
|
417 <dt><i>coord</i></dt> |
|
418 <dd> |
|
419 the position of the mouse pointer (QPoint) |
|
420 </dd> |
|
421 </dl><a NAME="HgStatusDialog.__showError" ID="HgStatusDialog.__showError"></a> |
|
422 <h4>HgStatusDialog.__showError</h4> |
|
423 <b>__showError</b>(<i>out</i>) |
|
424 <p> |
|
425 Private slot to show some error. |
|
426 </p><dl> |
|
427 <dt><i>out</i></dt> |
|
428 <dd> |
|
429 error to be shown (string) |
|
430 </dd> |
|
431 </dl><a NAME="HgStatusDialog.__updateButtons" ID="HgStatusDialog.__updateButtons"></a> |
|
432 <h4>HgStatusDialog.__updateButtons</h4> |
|
433 <b>__updateButtons</b>(<i></i>) |
|
434 <p> |
|
435 Private method to update the VCS buttons status. |
|
436 </p><a NAME="HgStatusDialog.__updateCommitButton" ID="HgStatusDialog.__updateCommitButton"></a> |
|
437 <h4>HgStatusDialog.__updateCommitButton</h4> |
|
438 <b>__updateCommitButton</b>(<i></i>) |
|
439 <p> |
|
440 Private method to update the Commit button status. |
|
441 </p><a NAME="HgStatusDialog.closeEvent" ID="HgStatusDialog.closeEvent"></a> |
|
442 <h4>HgStatusDialog.closeEvent</h4> |
|
443 <b>closeEvent</b>(<i>e</i>) |
|
444 <p> |
|
445 Protected slot implementing a close event handler. |
|
446 </p><dl> |
|
447 <dt><i>e</i></dt> |
|
448 <dd> |
|
449 close event (QCloseEvent) |
|
450 </dd> |
|
451 </dl><a NAME="HgStatusDialog.keyPressEvent" ID="HgStatusDialog.keyPressEvent"></a> |
|
452 <h4>HgStatusDialog.keyPressEvent</h4> |
|
453 <b>keyPressEvent</b>(<i>evt</i>) |
|
454 <p> |
|
455 Protected slot to handle a key press event. |
|
456 </p><dl> |
|
457 <dt><i>evt</i></dt> |
|
458 <dd> |
|
459 the key press event (QKeyEvent) |
|
460 </dd> |
|
461 </dl><a NAME="HgStatusDialog.on_addButton_clicked" ID="HgStatusDialog.on_addButton_clicked"></a> |
|
462 <h4>HgStatusDialog.on_addButton_clicked</h4> |
|
463 <b>on_addButton_clicked</b>(<i></i>) |
|
464 <p> |
|
465 Private slot to handle the press of the Add button. |
|
466 </p><a NAME="HgStatusDialog.on_buttonBox_clicked" ID="HgStatusDialog.on_buttonBox_clicked"></a> |
|
467 <h4>HgStatusDialog.on_buttonBox_clicked</h4> |
|
468 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
469 <p> |
|
470 Private slot called by a button of the button box clicked. |
|
471 </p><dl> |
|
472 <dt><i>button</i></dt> |
|
473 <dd> |
|
474 button that was clicked (QAbstractButton) |
|
475 </dd> |
|
476 </dl><a NAME="HgStatusDialog.on_commitButton_clicked" ID="HgStatusDialog.on_commitButton_clicked"></a> |
|
477 <h4>HgStatusDialog.on_commitButton_clicked</h4> |
|
478 <b>on_commitButton_clicked</b>(<i></i>) |
|
479 <p> |
|
480 Private slot to handle the press of the Commit button. |
|
481 </p><a NAME="HgStatusDialog.on_diffButton_clicked" ID="HgStatusDialog.on_diffButton_clicked"></a> |
|
482 <h4>HgStatusDialog.on_diffButton_clicked</h4> |
|
483 <b>on_diffButton_clicked</b>(<i></i>) |
|
484 <p> |
|
485 Private slot to handle the press of the Differences button. |
|
486 </p><a NAME="HgStatusDialog.on_forgetButton_clicked" ID="HgStatusDialog.on_forgetButton_clicked"></a> |
|
487 <h4>HgStatusDialog.on_forgetButton_clicked</h4> |
|
488 <b>on_forgetButton_clicked</b>(<i></i>) |
|
489 <p> |
|
490 Private slot to handle the press of the Forget button. |
|
491 </p><a NAME="HgStatusDialog.on_input_returnPressed" ID="HgStatusDialog.on_input_returnPressed"></a> |
|
492 <h4>HgStatusDialog.on_input_returnPressed</h4> |
|
493 <b>on_input_returnPressed</b>(<i></i>) |
|
494 <p> |
|
495 Private slot to handle the press of the return key in the input field. |
|
496 </p><a NAME="HgStatusDialog.on_passwordCheckBox_toggled" ID="HgStatusDialog.on_passwordCheckBox_toggled"></a> |
|
497 <h4>HgStatusDialog.on_passwordCheckBox_toggled</h4> |
|
498 <b>on_passwordCheckBox_toggled</b>(<i>isOn</i>) |
|
499 <p> |
|
500 Private slot to handle the password checkbox toggled. |
|
501 </p><dl> |
|
502 <dt><i>isOn</i></dt> |
|
503 <dd> |
|
504 flag indicating the status of the check box (boolean) |
|
505 </dd> |
|
506 </dl><a NAME="HgStatusDialog.on_refreshButton_clicked" ID="HgStatusDialog.on_refreshButton_clicked"></a> |
|
507 <h4>HgStatusDialog.on_refreshButton_clicked</h4> |
|
508 <b>on_refreshButton_clicked</b>(<i></i>) |
|
509 <p> |
|
510 Private slot to refresh the status display. |
|
511 </p><a NAME="HgStatusDialog.on_restoreButton_clicked" ID="HgStatusDialog.on_restoreButton_clicked"></a> |
|
512 <h4>HgStatusDialog.on_restoreButton_clicked</h4> |
|
513 <b>on_restoreButton_clicked</b>(<i></i>) |
|
514 <p> |
|
515 Private slot to handle the press of the Restore button. |
|
516 </p><a NAME="HgStatusDialog.on_revertButton_clicked" ID="HgStatusDialog.on_revertButton_clicked"></a> |
|
517 <h4>HgStatusDialog.on_revertButton_clicked</h4> |
|
518 <b>on_revertButton_clicked</b>(<i></i>) |
|
519 <p> |
|
520 Private slot to handle the press of the Revert button. |
|
521 </p><a NAME="HgStatusDialog.on_sbsDiffButton_clicked" ID="HgStatusDialog.on_sbsDiffButton_clicked"></a> |
|
522 <h4>HgStatusDialog.on_sbsDiffButton_clicked</h4> |
|
523 <b>on_sbsDiffButton_clicked</b>(<i></i>) |
|
524 <p> |
|
525 Private slot to handle the press of the Side-by-Side Diff button. |
|
526 </p><a NAME="HgStatusDialog.on_sendButton_clicked" ID="HgStatusDialog.on_sendButton_clicked"></a> |
|
527 <h4>HgStatusDialog.on_sendButton_clicked</h4> |
|
528 <b>on_sendButton_clicked</b>(<i></i>) |
|
529 <p> |
|
530 Private slot to send the input to the subversion process. |
|
531 </p><a NAME="HgStatusDialog.on_statusFilterCombo_activated" ID="HgStatusDialog.on_statusFilterCombo_activated"></a> |
|
532 <h4>HgStatusDialog.on_statusFilterCombo_activated</h4> |
|
533 <b>on_statusFilterCombo_activated</b>(<i>txt</i>) |
|
534 <p> |
|
535 Private slot to react to the selection of a status filter. |
|
536 </p><dl> |
|
537 <dt><i>txt</i></dt> |
|
538 <dd> |
|
539 selected status filter (string) |
|
540 </dd> |
|
541 </dl><a NAME="HgStatusDialog.on_statusList_itemChanged" ID="HgStatusDialog.on_statusList_itemChanged"></a> |
|
542 <h4>HgStatusDialog.on_statusList_itemChanged</h4> |
|
543 <b>on_statusList_itemChanged</b>(<i>item, column</i>) |
|
544 <p> |
|
545 Private slot to act upon item changes. |
|
546 </p><dl> |
|
547 <dt><i>item</i></dt> |
|
548 <dd> |
|
549 reference to the changed item (QTreeWidgetItem) |
|
550 </dd><dt><i>column</i></dt> |
|
551 <dd> |
|
552 index of column that changed (integer) |
|
553 </dd> |
|
554 </dl><a NAME="HgStatusDialog.on_statusList_itemSelectionChanged" ID="HgStatusDialog.on_statusList_itemSelectionChanged"></a> |
|
555 <h4>HgStatusDialog.on_statusList_itemSelectionChanged</h4> |
|
556 <b>on_statusList_itemSelectionChanged</b>(<i></i>) |
|
557 <p> |
|
558 Private slot to act upon changes of selected items. |
|
559 </p><a NAME="HgStatusDialog.start" ID="HgStatusDialog.start"></a> |
|
560 <h4>HgStatusDialog.start</h4> |
|
561 <b>start</b>(<i>fn</i>) |
|
562 <p> |
|
563 Public slot to start the hg status command. |
|
564 </p><dl> |
|
565 <dt><i>fn</i></dt> |
|
566 <dd> |
|
567 filename(s)/directoryname(s) to show the status of |
|
568 (string or list of strings) |
|
569 </dd> |
|
570 </dl> |
|
571 <div align="right"><a href="#top">Up</a></div> |
|
572 <hr /> |
|
573 </body></html> |