43 @pyqtSlot(str) |
44 @pyqtSlot(str) |
44 def on_badEdit_textChanged(self, txt): |
45 def on_badEdit_textChanged(self, txt): |
45 """ |
46 """ |
46 Private slot to handle a change of the bad commit. |
47 Private slot to handle a change of the bad commit. |
47 |
48 |
48 @param txt bad commit entered (string) |
49 @param txt bad commit entered |
|
50 @type str |
49 """ |
51 """ |
50 self.__updateOK() |
52 self.__updateOK() |
51 |
53 |
52 def getData(self): |
54 def getData(self): |
53 """ |
55 """ |
54 Public method to get the entered data. |
56 Public method to get the entered data. |
55 |
57 |
56 @return tuple containing a bad commit (string), a list of good |
58 @return tuple containing a bad commit, a list of good commits and |
57 commits (list of strings) and a flag indicating to not |
59 a flag indicating to not checkout the working tree |
58 checkout the working tree (boolean) |
60 @rtype tuple of (str, list of str, bool) |
59 """ |
61 """ |
60 return ( |
62 return ( |
61 self.badEdit.text().strip(), |
63 self.badEdit.text().strip(), |
62 self.goodEdit.text().strip().split(), |
64 self.goodEdit.text().strip().split(), |
63 self.noCheckoutCheckBox.isChecked(), |
65 self.noCheckoutCheckBox.isChecked(), |