src/eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsGit.GitBisectLogBrowserDialog.html

branch
eric7
changeset 9209
b99e7fd55fd3
parent 8596
d64760b2da50
child 10438
4cd7e5a8b3cf
equal deleted inserted replaced
9208:3fc8dfeb6ebe 9209:b99e7fd55fd3
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.Plugins.VcsPlugins.vcsGit.GitBisectLogBrowserDialog</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.vcsGit.GitBisectLogBrowserDialog</h1>
10
11 <p>
12 Module implementing a dialog to browse the bisect log history.
13 </p>
14 <h3>Global Attributes</h3>
15
16 <table>
17 <tr><td>None</td></tr>
18 </table>
19 <h3>Classes</h3>
20
21 <table>
22
23 <tr>
24 <td><a href="#GitBisectLogBrowserDialog">GitBisectLogBrowserDialog</a></td>
25 <td>Class implementing a dialog to browse the bisect 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="GitBisectLogBrowserDialog" ID="GitBisectLogBrowserDialog"></a>
36 <h2>GitBisectLogBrowserDialog</h2>
37
38 <p>
39 Class implementing a dialog to browse the bisect log history.
40 </p>
41 <h3>Derived from</h3>
42 QWidget, Ui_GitBisectLogBrowserDialog
43 <h3>Class Attributes</h3>
44
45 <table>
46 <tr><td>CommitIdColumn</td></tr><tr><td>OperationColumn</td></tr><tr><td>SubjectColumn</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="#GitBisectLogBrowserDialog.__init__">GitBisectLogBrowserDialog</a></td>
59 <td>Constructor</td>
60 </tr>
61 <tr>
62 <td><a href="#GitBisectLogBrowserDialog.__finish">__finish</a></td>
63 <td>Private slot called when the process finished or the user pressed the button.</td>
64 </tr>
65 <tr>
66 <td><a href="#GitBisectLogBrowserDialog.__generateLogItem">__generateLogItem</a></td>
67 <td>Private method to generate a bisect log tree entry.</td>
68 </tr>
69 <tr>
70 <td><a href="#GitBisectLogBrowserDialog.__getLogEntries">__getLogEntries</a></td>
71 <td>Private method to retrieve bisect log entries from the repository.</td>
72 </tr>
73 <tr>
74 <td><a href="#GitBisectLogBrowserDialog.__initData">__initData</a></td>
75 <td>Private method to (re-)initialize some data.</td>
76 </tr>
77 <tr>
78 <td><a href="#GitBisectLogBrowserDialog.__procFinished">__procFinished</a></td>
79 <td>Private slot connected to the finished signal.</td>
80 </tr>
81 <tr>
82 <td><a href="#GitBisectLogBrowserDialog.__processBuffer">__processBuffer</a></td>
83 <td>Private method to process the buffered output of the git log command.</td>
84 </tr>
85 <tr>
86 <td><a href="#GitBisectLogBrowserDialog.__readStderr">__readStderr</a></td>
87 <td>Private slot to handle the readyReadStandardError signal.</td>
88 </tr>
89 <tr>
90 <td><a href="#GitBisectLogBrowserDialog.__readStdout">__readStdout</a></td>
91 <td>Private slot to handle the readyReadStandardOutput signal.</td>
92 </tr>
93 <tr>
94 <td><a href="#GitBisectLogBrowserDialog.__resetUI">__resetUI</a></td>
95 <td>Private method to reset the user interface.</td>
96 </tr>
97 <tr>
98 <td><a href="#GitBisectLogBrowserDialog.__resizeColumnsLog">__resizeColumnsLog</a></td>
99 <td>Private method to resize the log tree columns.</td>
100 </tr>
101 <tr>
102 <td><a href="#GitBisectLogBrowserDialog.__showError">__showError</a></td>
103 <td>Private slot to show some error.</td>
104 </tr>
105 <tr>
106 <td><a href="#GitBisectLogBrowserDialog.closeEvent">closeEvent</a></td>
107 <td>Protected slot implementing a close event handler.</td>
108 </tr>
109 <tr>
110 <td><a href="#GitBisectLogBrowserDialog.keyPressEvent">keyPressEvent</a></td>
111 <td>Protected slot to handle a key press event.</td>
112 </tr>
113 <tr>
114 <td><a href="#GitBisectLogBrowserDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
115 <td>Private slot called by a button of the button box clicked.</td>
116 </tr>
117 <tr>
118 <td><a href="#GitBisectLogBrowserDialog.on_input_returnPressed">on_input_returnPressed</a></td>
119 <td>Private slot to handle the press of the return key in the input field.</td>
120 </tr>
121 <tr>
122 <td><a href="#GitBisectLogBrowserDialog.on_passwordCheckBox_toggled">on_passwordCheckBox_toggled</a></td>
123 <td>Private slot to handle the password checkbox toggled.</td>
124 </tr>
125 <tr>
126 <td><a href="#GitBisectLogBrowserDialog.on_refreshButton_clicked">on_refreshButton_clicked</a></td>
127 <td>Private slot to refresh the log.</td>
128 </tr>
129 <tr>
130 <td><a href="#GitBisectLogBrowserDialog.on_sendButton_clicked">on_sendButton_clicked</a></td>
131 <td>Private slot to send the input to the git process.</td>
132 </tr>
133 <tr>
134 <td><a href="#GitBisectLogBrowserDialog.show">show</a></td>
135 <td>Public slot to show the dialog.</td>
136 </tr>
137 <tr>
138 <td><a href="#GitBisectLogBrowserDialog.start">start</a></td>
139 <td>Public slot to start the git bisect log command.</td>
140 </tr>
141 </table>
142 <h3>Static Methods</h3>
143
144 <table>
145 <tr><td>None</td></tr>
146 </table>
147
148 <a NAME="GitBisectLogBrowserDialog.__init__" ID="GitBisectLogBrowserDialog.__init__"></a>
149 <h4>GitBisectLogBrowserDialog (Constructor)</h4>
150 <b>GitBisectLogBrowserDialog</b>(<i>vcs, parent=None</i>)
151
152 <p>
153 Constructor
154 </p>
155 <dl>
156
157 <dt><i>vcs</i></dt>
158 <dd>
159 reference to the vcs object
160 </dd>
161 <dt><i>parent</i></dt>
162 <dd>
163 reference to the parent widget (QWidget)
164 </dd>
165 </dl>
166 <a NAME="GitBisectLogBrowserDialog.__finish" ID="GitBisectLogBrowserDialog.__finish"></a>
167 <h4>GitBisectLogBrowserDialog.__finish</h4>
168 <b>__finish</b>(<i></i>)
169
170 <p>
171 Private slot called when the process finished or the user pressed
172 the button.
173 </p>
174 <a NAME="GitBisectLogBrowserDialog.__generateLogItem" ID="GitBisectLogBrowserDialog.__generateLogItem"></a>
175 <h4>GitBisectLogBrowserDialog.__generateLogItem</h4>
176 <b>__generateLogItem</b>(<i>commitId, operation, subject</i>)
177
178 <p>
179 Private method to generate a bisect log tree entry.
180 </p>
181 <dl>
182
183 <dt><i>commitId</i></dt>
184 <dd>
185 commit id info (string)
186 </dd>
187 <dt><i>operation</i></dt>
188 <dd>
189 bisect operation (string)
190 </dd>
191 <dt><i>subject</i></dt>
192 <dd>
193 subject of the bisect log entry (string)
194 </dd>
195 </dl>
196 <dl>
197 <dt>Return:</dt>
198 <dd>
199 reference to the generated item (QTreeWidgetItem)
200 </dd>
201 </dl>
202 <a NAME="GitBisectLogBrowserDialog.__getLogEntries" ID="GitBisectLogBrowserDialog.__getLogEntries"></a>
203 <h4>GitBisectLogBrowserDialog.__getLogEntries</h4>
204 <b>__getLogEntries</b>(<i></i>)
205
206 <p>
207 Private method to retrieve bisect log entries from the repository.
208 </p>
209 <a NAME="GitBisectLogBrowserDialog.__initData" ID="GitBisectLogBrowserDialog.__initData"></a>
210 <h4>GitBisectLogBrowserDialog.__initData</h4>
211 <b>__initData</b>(<i></i>)
212
213 <p>
214 Private method to (re-)initialize some data.
215 </p>
216 <a NAME="GitBisectLogBrowserDialog.__procFinished" ID="GitBisectLogBrowserDialog.__procFinished"></a>
217 <h4>GitBisectLogBrowserDialog.__procFinished</h4>
218 <b>__procFinished</b>(<i>exitCode, exitStatus</i>)
219
220 <p>
221 Private slot connected to the finished signal.
222 </p>
223 <dl>
224
225 <dt><i>exitCode</i></dt>
226 <dd>
227 exit code of the process (integer)
228 </dd>
229 <dt><i>exitStatus</i></dt>
230 <dd>
231 exit status of the process (QProcess.ExitStatus)
232 </dd>
233 </dl>
234 <a NAME="GitBisectLogBrowserDialog.__processBuffer" ID="GitBisectLogBrowserDialog.__processBuffer"></a>
235 <h4>GitBisectLogBrowserDialog.__processBuffer</h4>
236 <b>__processBuffer</b>(<i></i>)
237
238 <p>
239 Private method to process the buffered output of the git log command.
240 </p>
241 <a NAME="GitBisectLogBrowserDialog.__readStderr" ID="GitBisectLogBrowserDialog.__readStderr"></a>
242 <h4>GitBisectLogBrowserDialog.__readStderr</h4>
243 <b>__readStderr</b>(<i></i>)
244
245 <p>
246 Private slot to handle the readyReadStandardError signal.
247 </p>
248 <p>
249 It reads the error output of the process and inserts it into the
250 error pane.
251 </p>
252 <a NAME="GitBisectLogBrowserDialog.__readStdout" ID="GitBisectLogBrowserDialog.__readStdout"></a>
253 <h4>GitBisectLogBrowserDialog.__readStdout</h4>
254 <b>__readStdout</b>(<i></i>)
255
256 <p>
257 Private slot to handle the readyReadStandardOutput signal.
258 </p>
259 <p>
260 It reads the output of the process and inserts it into a buffer.
261 </p>
262 <a NAME="GitBisectLogBrowserDialog.__resetUI" ID="GitBisectLogBrowserDialog.__resetUI"></a>
263 <h4>GitBisectLogBrowserDialog.__resetUI</h4>
264 <b>__resetUI</b>(<i></i>)
265
266 <p>
267 Private method to reset the user interface.
268 </p>
269 <a NAME="GitBisectLogBrowserDialog.__resizeColumnsLog" ID="GitBisectLogBrowserDialog.__resizeColumnsLog"></a>
270 <h4>GitBisectLogBrowserDialog.__resizeColumnsLog</h4>
271 <b>__resizeColumnsLog</b>(<i></i>)
272
273 <p>
274 Private method to resize the log tree columns.
275 </p>
276 <a NAME="GitBisectLogBrowserDialog.__showError" ID="GitBisectLogBrowserDialog.__showError"></a>
277 <h4>GitBisectLogBrowserDialog.__showError</h4>
278 <b>__showError</b>(<i>out</i>)
279
280 <p>
281 Private slot to show some error.
282 </p>
283 <dl>
284
285 <dt><i>out</i></dt>
286 <dd>
287 error to be shown (string)
288 </dd>
289 </dl>
290 <a NAME="GitBisectLogBrowserDialog.closeEvent" ID="GitBisectLogBrowserDialog.closeEvent"></a>
291 <h4>GitBisectLogBrowserDialog.closeEvent</h4>
292 <b>closeEvent</b>(<i>e</i>)
293
294 <p>
295 Protected slot implementing a close event handler.
296 </p>
297 <dl>
298
299 <dt><i>e</i></dt>
300 <dd>
301 close event (QCloseEvent)
302 </dd>
303 </dl>
304 <a NAME="GitBisectLogBrowserDialog.keyPressEvent" ID="GitBisectLogBrowserDialog.keyPressEvent"></a>
305 <h4>GitBisectLogBrowserDialog.keyPressEvent</h4>
306 <b>keyPressEvent</b>(<i>evt</i>)
307
308 <p>
309 Protected slot to handle a key press event.
310 </p>
311 <dl>
312
313 <dt><i>evt</i></dt>
314 <dd>
315 the key press event (QKeyEvent)
316 </dd>
317 </dl>
318 <a NAME="GitBisectLogBrowserDialog.on_buttonBox_clicked" ID="GitBisectLogBrowserDialog.on_buttonBox_clicked"></a>
319 <h4>GitBisectLogBrowserDialog.on_buttonBox_clicked</h4>
320 <b>on_buttonBox_clicked</b>(<i>button</i>)
321
322 <p>
323 Private slot called by a button of the button box clicked.
324 </p>
325 <dl>
326
327 <dt><i>button</i></dt>
328 <dd>
329 button that was clicked (QAbstractButton)
330 </dd>
331 </dl>
332 <a NAME="GitBisectLogBrowserDialog.on_input_returnPressed" ID="GitBisectLogBrowserDialog.on_input_returnPressed"></a>
333 <h4>GitBisectLogBrowserDialog.on_input_returnPressed</h4>
334 <b>on_input_returnPressed</b>(<i></i>)
335
336 <p>
337 Private slot to handle the press of the return key in the input field.
338 </p>
339 <a NAME="GitBisectLogBrowserDialog.on_passwordCheckBox_toggled" ID="GitBisectLogBrowserDialog.on_passwordCheckBox_toggled"></a>
340 <h4>GitBisectLogBrowserDialog.on_passwordCheckBox_toggled</h4>
341 <b>on_passwordCheckBox_toggled</b>(<i>isOn</i>)
342
343 <p>
344 Private slot to handle the password checkbox toggled.
345 </p>
346 <dl>
347
348 <dt><i>isOn</i></dt>
349 <dd>
350 flag indicating the status of the check box (boolean)
351 </dd>
352 </dl>
353 <a NAME="GitBisectLogBrowserDialog.on_refreshButton_clicked" ID="GitBisectLogBrowserDialog.on_refreshButton_clicked"></a>
354 <h4>GitBisectLogBrowserDialog.on_refreshButton_clicked</h4>
355 <b>on_refreshButton_clicked</b>(<i></i>)
356
357 <p>
358 Private slot to refresh the log.
359 </p>
360 <a NAME="GitBisectLogBrowserDialog.on_sendButton_clicked" ID="GitBisectLogBrowserDialog.on_sendButton_clicked"></a>
361 <h4>GitBisectLogBrowserDialog.on_sendButton_clicked</h4>
362 <b>on_sendButton_clicked</b>(<i></i>)
363
364 <p>
365 Private slot to send the input to the git process.
366 </p>
367 <a NAME="GitBisectLogBrowserDialog.show" ID="GitBisectLogBrowserDialog.show"></a>
368 <h4>GitBisectLogBrowserDialog.show</h4>
369 <b>show</b>(<i></i>)
370
371 <p>
372 Public slot to show the dialog.
373 </p>
374 <a NAME="GitBisectLogBrowserDialog.start" ID="GitBisectLogBrowserDialog.start"></a>
375 <h4>GitBisectLogBrowserDialog.start</h4>
376 <b>start</b>(<i>projectdir</i>)
377
378 <p>
379 Public slot to start the git bisect log command.
380 </p>
381 <dl>
382
383 <dt><i>projectdir</i></dt>
384 <dd>
385 directory name of the project (string)
386 </dd>
387 </dl>
388 <div align="right"><a href="#top">Up</a></div>
389 <hr />
390 </body></html>

eric ide

mercurial