361 self.logTree.clear() |
361 self.logTree.clear() |
362 self.__started = True |
362 self.__started = True |
363 self.__getLogEntries() |
363 self.__getLogEntries() |
364 |
364 |
365 @pyqtSlot(int, QProcess.ExitStatus) |
365 @pyqtSlot(int, QProcess.ExitStatus) |
366 def __procFinished(self, exitCode, exitStatus): |
366 def __procFinished(self, _exitCode, _exitStatus): |
367 """ |
367 """ |
368 Private slot connected to the finished signal. |
368 Private slot connected to the finished signal. |
369 |
369 |
370 @param exitCode exit code of the process |
370 @param _exitCode exit code of the process (unused) |
371 @type int |
371 @type int |
372 @param exitStatus exit status of the process |
372 @param _exitStatus exit status of the process (unused) |
373 @type QProcess.ExitStatus |
373 @type QProcess.ExitStatus |
374 """ |
374 """ |
375 self.__processBuffer() |
375 self.__processBuffer() |
376 self.__finish() |
376 self.__finish() |
377 |
377 |
648 rev1 = int(items[1].text(0)) |
648 rev1 = int(items[1].text(0)) |
649 |
649 |
650 self.__diffRevisions(min(rev1, rev2), max(rev1, rev2)) |
650 self.__diffRevisions(min(rev1, rev2), max(rev1, rev2)) |
651 |
651 |
652 @pyqtSlot(QDate) |
652 @pyqtSlot(QDate) |
653 def on_fromDate_dateChanged(self, date): |
653 def on_fromDate_dateChanged(self, _date): |
654 """ |
654 """ |
655 Private slot called, when the from date changes. |
655 Private slot called, when the from date changes. |
656 |
656 |
657 @param date new date |
657 @param _date new date (unused) |
658 @type QDate |
658 @type QDate |
659 """ |
659 """ |
660 self.__filterLogs() |
660 self.__filterLogs() |
661 |
661 |
662 @pyqtSlot(QDate) |
662 @pyqtSlot(QDate) |
663 def on_toDate_dateChanged(self, date): |
663 def on_toDate_dateChanged(self, _date): |
664 """ |
664 """ |
665 Private slot called, when the from date changes. |
665 Private slot called, when the from date changes. |
666 |
666 |
667 @param date new date |
667 @param _date new date (unused) |
668 @type QDate |
668 @type QDate |
669 """ |
669 """ |
670 self.__filterLogs() |
670 self.__filterLogs() |
671 |
671 |
672 @pyqtSlot(int) |
672 @pyqtSlot(int) |
673 def on_fieldCombo_activated(self, index): |
673 def on_fieldCombo_activated(self, _index): |
674 """ |
674 """ |
675 Private slot called, when a new filter field is selected. |
675 Private slot called, when a new filter field is selected. |
676 |
676 |
677 @param index index of the selected entry |
677 @param _index index of the selected entry (unused) |
678 @type int |
678 @type int |
679 """ |
679 """ |
680 self.__filterLogs() |
680 self.__filterLogs() |
681 |
681 |
682 @pyqtSlot(str) |
682 @pyqtSlot(str) |
683 def on_rxEdit_textChanged(self, txt): |
683 def on_rxEdit_textChanged(self, _txt): |
684 """ |
684 """ |
685 Private slot called, when a filter expression is entered. |
685 Private slot called, when a filter expression is entered. |
686 |
686 |
687 @param txt filter expression |
687 @param _txt filter expression |
688 @type str |
688 @type str |
689 """ |
689 """ |
690 self.__filterLogs() |
690 self.__filterLogs() |
691 |
691 |
692 def __filterLogs(self): |
692 def __filterLogs(self): |
727 if topItem is currentItem: |
727 if topItem is currentItem: |
728 self.messageEdit.clear() |
728 self.messageEdit.clear() |
729 self.filesTree.clear() |
729 self.filesTree.clear() |
730 |
730 |
731 @pyqtSlot(bool) |
731 @pyqtSlot(bool) |
732 def on_stopCheckBox_clicked(self, checked): |
732 def on_stopCheckBox_clicked(self, _checked): |
733 """ |
733 """ |
734 Private slot called, when the stop on copy/move checkbox is clicked. |
734 Private slot called, when the stop on copy/move checkbox is clicked. |
735 |
735 |
736 @param checked flag indicating the checked state |
736 @param _checked flag indicating the checked state (unused) |
737 @type bool |
737 @type bool |
738 """ |
738 """ |
739 self.vcs.getPlugin().setPreferences( |
739 self.vcs.getPlugin().setPreferences( |
740 "StopLogOnCopy", self.stopCheckBox.isChecked() |
740 "StopLogOnCopy", self.stopCheckBox.isChecked() |
741 ) |
741 ) |