192 <p> |
192 <p> |
193 Constructor |
193 Constructor |
194 </p> |
194 </p> |
195 <dl> |
195 <dl> |
196 |
196 |
197 <dt><i>vcs</i></dt> |
197 <dt><i>vcs</i> (Subversion)</dt> |
198 <dd> |
198 <dd> |
199 reference to the vcs object |
199 reference to the vcs object |
200 </dd> |
200 </dd> |
201 <dt><i>parent</i></dt> |
201 <dt><i>parent</i> (QWidget)</dt> |
202 <dd> |
202 <dd> |
203 parent widget (QWidget) |
203 parent widget |
204 </dd> |
204 </dd> |
205 </dl> |
205 </dl> |
206 <a NAME="SvnLogBrowserDialog.__diffRevisions" ID="SvnLogBrowserDialog.__diffRevisions"></a> |
206 <a NAME="SvnLogBrowserDialog.__diffRevisions" ID="SvnLogBrowserDialog.__diffRevisions"></a> |
207 <h4>SvnLogBrowserDialog.__diffRevisions</h4> |
207 <h4>SvnLogBrowserDialog.__diffRevisions</h4> |
208 <b>__diffRevisions</b>(<i>rev1, rev2, peg_rev</i>) |
208 <b>__diffRevisions</b>(<i>rev1, rev2, peg_rev</i>) |
210 <p> |
210 <p> |
211 Private method to do a diff of two revisions. |
211 Private method to do a diff of two revisions. |
212 </p> |
212 </p> |
213 <dl> |
213 <dl> |
214 |
214 |
215 <dt><i>rev1</i></dt> |
215 <dt><i>rev1</i> (int)</dt> |
216 <dd> |
216 <dd> |
217 first revision number (integer) |
217 first revision number |
218 </dd> |
218 </dd> |
219 <dt><i>rev2</i></dt> |
219 <dt><i>rev2</i> (int)</dt> |
220 <dd> |
220 <dd> |
221 second revision number (integer) |
221 second revision number |
222 </dd> |
222 </dd> |
223 <dt><i>peg_rev</i></dt> |
223 <dt><i>peg_rev</i> (int)</dt> |
224 <dd> |
224 <dd> |
225 revision number to use as a reference (integer) |
225 revision number to use as a reference |
226 </dd> |
226 </dd> |
227 </dl> |
227 </dl> |
228 <a NAME="SvnLogBrowserDialog.__filterLogs" ID="SvnLogBrowserDialog.__filterLogs"></a> |
228 <a NAME="SvnLogBrowserDialog.__filterLogs" ID="SvnLogBrowserDialog.__filterLogs"></a> |
229 <h4>SvnLogBrowserDialog.__filterLogs</h4> |
229 <h4>SvnLogBrowserDialog.__filterLogs</h4> |
230 <b>__filterLogs</b>(<i></i>) |
230 <b>__filterLogs</b>(<i></i>) |
246 <p> |
246 <p> |
247 Private method to generate a changed files tree entry. |
247 Private method to generate a changed files tree entry. |
248 </p> |
248 </p> |
249 <dl> |
249 <dl> |
250 |
250 |
251 <dt><i>action</i></dt> |
251 <dt><i>action</i> (str)</dt> |
252 <dd> |
252 <dd> |
253 indicator for the change action ("A", "D" or "M") |
253 indicator for the change action ("A", "D" or "M") |
254 </dd> |
254 </dd> |
255 <dt><i>path</i></dt> |
255 <dt><i>path</i> (str)</dt> |
256 <dd> |
256 <dd> |
257 path of the file in the repository (string) |
257 path of the file in the repository |
258 </dd> |
258 </dd> |
259 <dt><i>copyFrom</i></dt> |
259 <dt><i>copyFrom</i> (str)</dt> |
260 <dd> |
260 <dd> |
261 path the file was copied from (None, string) |
261 path the file was copied from |
262 </dd> |
262 </dd> |
263 <dt><i>copyRev</i></dt> |
263 <dt><i>copyRev</i> (str)</dt> |
264 <dd> |
264 <dd> |
265 revision the file was copied from (None, string) |
265 revision the file was copied from |
266 </dd> |
266 </dd> |
267 </dl> |
267 </dl> |
268 <dl> |
268 <dl> |
269 <dt>Return:</dt> |
269 <dt>Return:</dt> |
270 <dd> |
270 <dd> |
271 reference to the generated item (QTreeWidgetItem) |
271 reference to the generated item |
|
272 </dd> |
|
273 </dl> |
|
274 <dl> |
|
275 <dt>Return Type:</dt> |
|
276 <dd> |
|
277 QTreeWidgetItem |
272 </dd> |
278 </dd> |
273 </dl> |
279 </dl> |
274 <a NAME="SvnLogBrowserDialog.__generateLogItem" ID="SvnLogBrowserDialog.__generateLogItem"></a> |
280 <a NAME="SvnLogBrowserDialog.__generateLogItem" ID="SvnLogBrowserDialog.__generateLogItem"></a> |
275 <h4>SvnLogBrowserDialog.__generateLogItem</h4> |
281 <h4>SvnLogBrowserDialog.__generateLogItem</h4> |
276 <b>__generateLogItem</b>(<i>author, date, message, revision, changedPaths</i>) |
282 <b>__generateLogItem</b>(<i>author, date, message, revision, changedPaths</i>) |
278 <p> |
284 <p> |
279 Private method to generate a log tree entry. |
285 Private method to generate a log tree entry. |
280 </p> |
286 </p> |
281 <dl> |
287 <dl> |
282 |
288 |
283 <dt><i>author</i></dt> |
289 <dt><i>author</i> (str)</dt> |
284 <dd> |
290 <dd> |
285 author info (string) |
291 author info |
286 </dd> |
292 </dd> |
287 <dt><i>date</i></dt> |
293 <dt><i>date</i> (int)</dt> |
288 <dd> |
294 <dd> |
289 date info (integer) |
295 date info |
290 </dd> |
296 </dd> |
291 <dt><i>message</i></dt> |
297 <dt><i>message</i> (str)</dt> |
292 <dd> |
298 <dd> |
293 text of the log message (string) |
299 text of the log message |
294 </dd> |
300 </dd> |
295 <dt><i>revision</i></dt> |
301 <dt><i>revision</i> (str or pysvn.opt_revision_kind)</dt> |
296 <dd> |
302 <dd> |
297 revision info (string or pysvn.opt_revision_kind) |
303 revision info |
298 </dd> |
304 </dd> |
299 <dt><i>changedPaths</i></dt> |
305 <dt><i>changedPaths</i> (dict like)</dt> |
300 <dd> |
306 <dd> |
301 list of pysvn dictionary like objects containing |
307 list of pysvn dictionary like objects containing |
302 info about the changed files/directories |
308 info about the changed files/directories |
303 </dd> |
309 </dd> |
304 </dl> |
310 </dl> |
305 <dl> |
311 <dl> |
306 <dt>Return:</dt> |
312 <dt>Return:</dt> |
307 <dd> |
313 <dd> |
308 reference to the generated item (QTreeWidgetItem) |
314 reference to the generated item |
|
315 </dd> |
|
316 </dl> |
|
317 <dl> |
|
318 <dt>Return Type:</dt> |
|
319 <dd> |
|
320 QTreeWidgetItem |
309 </dd> |
321 </dd> |
310 </dl> |
322 </dl> |
311 <a NAME="SvnLogBrowserDialog.__getLogEntries" ID="SvnLogBrowserDialog.__getLogEntries"></a> |
323 <a NAME="SvnLogBrowserDialog.__getLogEntries" ID="SvnLogBrowserDialog.__getLogEntries"></a> |
312 <h4>SvnLogBrowserDialog.__getLogEntries</h4> |
324 <h4>SvnLogBrowserDialog.__getLogEntries</h4> |
313 <b>__getLogEntries</b>(<i>startRev=None</i>) |
325 <b>__getLogEntries</b>(<i>startRev=None</i>) |
315 <p> |
327 <p> |
316 Private method to retrieve log entries from the repository. |
328 Private method to retrieve log entries from the repository. |
317 </p> |
329 </p> |
318 <dl> |
330 <dl> |
319 |
331 |
320 <dt><i>startRev</i></dt> |
332 <dt><i>startRev</i> (tuple of (int, str))</dt> |
321 <dd> |
333 <dd> |
322 revision number to start from (integer, string) |
334 revision number to start from |
323 </dd> |
335 </dd> |
324 </dl> |
336 </dl> |
325 <a NAME="SvnLogBrowserDialog.__initData" ID="SvnLogBrowserDialog.__initData"></a> |
337 <a NAME="SvnLogBrowserDialog.__initData" ID="SvnLogBrowserDialog.__initData"></a> |
326 <h4>SvnLogBrowserDialog.__initData</h4> |
338 <h4>SvnLogBrowserDialog.__initData</h4> |
327 <b>__initData</b>(<i></i>) |
339 <b>__initData</b>(<i></i>) |
371 <p> |
383 <p> |
372 Private slot to show an error message. |
384 Private slot to show an error message. |
373 </p> |
385 </p> |
374 <dl> |
386 <dl> |
375 |
387 |
376 <dt><i>msg</i></dt> |
388 <dt><i>msg</i> (str)</dt> |
377 <dd> |
389 <dd> |
378 error message to show (string) |
390 error message to show |
379 </dd> |
391 </dd> |
380 </dl> |
392 </dl> |
381 <a NAME="SvnLogBrowserDialog._reset" ID="SvnLogBrowserDialog._reset"></a> |
393 <a NAME="SvnLogBrowserDialog._reset" ID="SvnLogBrowserDialog._reset"></a> |
382 <h4>SvnLogBrowserDialog._reset</h4> |
394 <h4>SvnLogBrowserDialog._reset</h4> |
383 <b>_reset</b>(<i></i>) |
395 <b>_reset</b>(<i></i>) |
392 <p> |
404 <p> |
393 Protected slot implementing a close event handler. |
405 Protected slot implementing a close event handler. |
394 </p> |
406 </p> |
395 <dl> |
407 <dl> |
396 |
408 |
397 <dt><i>e</i></dt> |
409 <dt><i>e</i> (QCloseEvent)</dt> |
398 <dd> |
410 <dd> |
399 close event (QCloseEvent) |
411 close event |
400 </dd> |
412 </dd> |
401 </dl> |
413 </dl> |
402 <a NAME="SvnLogBrowserDialog.on_buttonBox_clicked" ID="SvnLogBrowserDialog.on_buttonBox_clicked"></a> |
414 <a NAME="SvnLogBrowserDialog.on_buttonBox_clicked" ID="SvnLogBrowserDialog.on_buttonBox_clicked"></a> |
403 <h4>SvnLogBrowserDialog.on_buttonBox_clicked</h4> |
415 <h4>SvnLogBrowserDialog.on_buttonBox_clicked</h4> |
404 <b>on_buttonBox_clicked</b>(<i>button</i>) |
416 <b>on_buttonBox_clicked</b>(<i>button</i>) |
406 <p> |
418 <p> |
407 Private slot called by a button of the button box clicked. |
419 Private slot called by a button of the button box clicked. |
408 </p> |
420 </p> |
409 <dl> |
421 <dl> |
410 |
422 |
411 <dt><i>button</i></dt> |
423 <dt><i>button</i> (QAbstractButton)</dt> |
412 <dd> |
424 <dd> |
413 button that was clicked (QAbstractButton) |
425 button that was clicked |
414 </dd> |
426 </dd> |
415 </dl> |
427 </dl> |
416 <a NAME="SvnLogBrowserDialog.on_diffPreviousButton_clicked" ID="SvnLogBrowserDialog.on_diffPreviousButton_clicked"></a> |
428 <a NAME="SvnLogBrowserDialog.on_diffPreviousButton_clicked" ID="SvnLogBrowserDialog.on_diffPreviousButton_clicked"></a> |
417 <h4>SvnLogBrowserDialog.on_diffPreviousButton_clicked</h4> |
429 <h4>SvnLogBrowserDialog.on_diffPreviousButton_clicked</h4> |
418 <b>on_diffPreviousButton_clicked</b>(<i></i>) |
430 <b>on_diffPreviousButton_clicked</b>(<i></i>) |
455 <p> |
467 <p> |
456 Private slot called, when the from date changes. |
468 Private slot called, when the from date changes. |
457 </p> |
469 </p> |
458 <dl> |
470 <dl> |
459 |
471 |
460 <dt><i>date</i></dt> |
472 <dt><i>date</i> (QDate)</dt> |
461 <dd> |
473 <dd> |
462 new date (QDate) |
474 new date |
463 </dd> |
475 </dd> |
464 </dl> |
476 </dl> |
465 <a NAME="SvnLogBrowserDialog.on_logTree_currentItemChanged" ID="SvnLogBrowserDialog.on_logTree_currentItemChanged"></a> |
477 <a NAME="SvnLogBrowserDialog.on_logTree_currentItemChanged" ID="SvnLogBrowserDialog.on_logTree_currentItemChanged"></a> |
466 <h4>SvnLogBrowserDialog.on_logTree_currentItemChanged</h4> |
478 <h4>SvnLogBrowserDialog.on_logTree_currentItemChanged</h4> |
467 <b>on_logTree_currentItemChanged</b>(<i>current, previous</i>) |
479 <b>on_logTree_currentItemChanged</b>(<i>current, previous</i>) |
469 <p> |
481 <p> |
470 Private slot called, when the current item of the log tree changes. |
482 Private slot called, when the current item of the log tree changes. |
471 </p> |
483 </p> |
472 <dl> |
484 <dl> |
473 |
485 |
474 <dt><i>current</i></dt> |
486 <dt><i>current</i> (QTreeWidgetItem)</dt> |
475 <dd> |
487 <dd> |
476 reference to the new current item (QTreeWidgetItem) |
488 reference to the new current item |
477 </dd> |
489 </dd> |
478 <dt><i>previous</i></dt> |
490 <dt><i>previous</i> (QTreeWidgetItem)</dt> |
479 <dd> |
491 <dd> |
480 reference to the old current item (QTreeWidgetItem) |
492 reference to the old current item |
481 </dd> |
493 </dd> |
482 </dl> |
494 </dl> |
483 <a NAME="SvnLogBrowserDialog.on_logTree_itemSelectionChanged" ID="SvnLogBrowserDialog.on_logTree_itemSelectionChanged"></a> |
495 <a NAME="SvnLogBrowserDialog.on_logTree_itemSelectionChanged" ID="SvnLogBrowserDialog.on_logTree_itemSelectionChanged"></a> |
484 <h4>SvnLogBrowserDialog.on_logTree_itemSelectionChanged</h4> |
496 <h4>SvnLogBrowserDialog.on_logTree_itemSelectionChanged</h4> |
485 <b>on_logTree_itemSelectionChanged</b>(<i></i>) |
497 <b>on_logTree_itemSelectionChanged</b>(<i></i>) |
501 <p> |
513 <p> |
502 Private slot called, when a filter expression is entered. |
514 Private slot called, when a filter expression is entered. |
503 </p> |
515 </p> |
504 <dl> |
516 <dl> |
505 |
517 |
506 <dt><i>txt</i></dt> |
518 <dt><i>txt</i> (str)</dt> |
507 <dd> |
519 <dd> |
508 filter expression (string) |
520 filter expression |
509 </dd> |
521 </dd> |
510 </dl> |
522 </dl> |
511 <a NAME="SvnLogBrowserDialog.on_stopCheckBox_clicked" ID="SvnLogBrowserDialog.on_stopCheckBox_clicked"></a> |
523 <a NAME="SvnLogBrowserDialog.on_stopCheckBox_clicked" ID="SvnLogBrowserDialog.on_stopCheckBox_clicked"></a> |
512 <h4>SvnLogBrowserDialog.on_stopCheckBox_clicked</h4> |
524 <h4>SvnLogBrowserDialog.on_stopCheckBox_clicked</h4> |
513 <b>on_stopCheckBox_clicked</b>(<i>checked</i>) |
525 <b>on_stopCheckBox_clicked</b>(<i>checked</i>) |
515 <p> |
527 <p> |
516 Private slot called, when the stop on copy/move checkbox is clicked. |
528 Private slot called, when the stop on copy/move checkbox is clicked. |
517 </p> |
529 </p> |
518 <dl> |
530 <dl> |
519 |
531 |
520 <dt><i>checked</i></dt> |
532 <dt><i>checked</i> (bool)</dt> |
521 <dd> |
533 <dd> |
522 flag indicating the check box state (boolean) |
534 flag indicating the check box state |
523 </dd> |
535 </dd> |
524 </dl> |
536 </dl> |
525 <a NAME="SvnLogBrowserDialog.on_toDate_dateChanged" ID="SvnLogBrowserDialog.on_toDate_dateChanged"></a> |
537 <a NAME="SvnLogBrowserDialog.on_toDate_dateChanged" ID="SvnLogBrowserDialog.on_toDate_dateChanged"></a> |
526 <h4>SvnLogBrowserDialog.on_toDate_dateChanged</h4> |
538 <h4>SvnLogBrowserDialog.on_toDate_dateChanged</h4> |
527 <b>on_toDate_dateChanged</b>(<i>date</i>) |
539 <b>on_toDate_dateChanged</b>(<i>date</i>) |
529 <p> |
541 <p> |
530 Private slot called, when the from date changes. |
542 Private slot called, when the from date changes. |
531 </p> |
543 </p> |
532 <dl> |
544 <dl> |
533 |
545 |
534 <dt><i>date</i></dt> |
546 <dt><i>date</i> (QDate)</dt> |
535 <dd> |
547 <dd> |
536 new date (QDate) |
548 new date |
537 </dd> |
549 </dd> |
538 </dl> |
550 </dl> |
539 <a NAME="SvnLogBrowserDialog.on_upButton_clicked" ID="SvnLogBrowserDialog.on_upButton_clicked"></a> |
551 <a NAME="SvnLogBrowserDialog.on_upButton_clicked" ID="SvnLogBrowserDialog.on_upButton_clicked"></a> |
540 <h4>SvnLogBrowserDialog.on_upButton_clicked</h4> |
552 <h4>SvnLogBrowserDialog.on_upButton_clicked</h4> |
541 <b>on_upButton_clicked</b>(<i></i>) |
553 <b>on_upButton_clicked</b>(<i></i>) |
557 <p> |
569 <p> |
558 Public slot to start the svn log command. |
570 Public slot to start the svn log command. |
559 </p> |
571 </p> |
560 <dl> |
572 <dl> |
561 |
573 |
562 <dt><i>fn</i></dt> |
574 <dt><i>fn</i> (str)</dt> |
563 <dd> |
575 <dd> |
564 filename to show the log for (string) |
576 filename to show the log for |
565 </dd> |
577 </dd> |
566 <dt><i>isFile</i></dt> |
578 <dt><i>isFile</i> (bool)</dt> |
567 <dd> |
579 <dd> |
568 flag indicating log for a file is to be shown |
580 flag indicating log for a file is to be shown |
569 (boolean) |
|
570 </dd> |
581 </dd> |
571 </dl> |
582 </dl> |
572 <div align="right"><a href="#top">Up</a></div> |
583 <div align="right"><a href="#top">Up</a></div> |
573 <hr /> |
584 <hr /> |
574 </body></html> |
585 </body></html> |