773 def __getLogEntries(self, skip=0, noEntries=0): |
773 def __getLogEntries(self, skip=0, noEntries=0): |
774 """ |
774 """ |
775 Private method to retrieve log entries from the repository. |
775 Private method to retrieve log entries from the repository. |
776 |
776 |
777 @param skip number of log entries to skip (integer) |
777 @param skip number of log entries to skip (integer) |
778 @keyparam noEntries number of entries to get (0 = default) (int) |
778 @param noEntries number of entries to get (0 = default) (int) |
779 """ |
779 """ |
780 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) |
780 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) |
781 self.buttonBox.button(QDialogButtonBox.Cancel).setEnabled(True) |
781 self.buttonBox.button(QDialogButtonBox.Cancel).setEnabled(True) |
782 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) |
782 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) |
783 QApplication.processEvents() |
783 QApplication.processEvents() |
827 def start(self, fn, isFile=False, noEntries=0): |
827 def start(self, fn, isFile=False, noEntries=0): |
828 """ |
828 """ |
829 Public slot to start the git log command. |
829 Public slot to start the git log command. |
830 |
830 |
831 @param fn filename to show the log for (string) |
831 @param fn filename to show the log for (string) |
832 @keyparam isFile flag indicating log for a file is to be shown |
832 @param isFile flag indicating log for a file is to be shown |
833 (boolean) |
833 (boolean) |
834 @keyparam noEntries number of entries to get (0 = default) (int) |
834 @param noEntries number of entries to get (0 = default) (int) |
835 """ |
835 """ |
836 self.__isFile = isFile |
836 self.__isFile = isFile |
837 |
837 |
838 self.sbsSelectLabel.clear() |
838 self.sbsSelectLabel.clear() |
839 |
839 |