175 @param author author of the change (string) |
175 @param author author of the change (string) |
176 @param date date of the tag (string) |
176 @param date date of the tag (string) |
177 @param name name (path) of the tag (string) |
177 @param name name (path) of the tag (string) |
178 """ |
178 """ |
179 itm = QTreeWidgetItem(self.annotateList, |
179 itm = QTreeWidgetItem(self.annotateList, |
180 [revision, changeset, author, date, "%d" % self.lineno, text]) |
180 [revision, changeset, author, date, "{0:d}".format(self.lineno), text]) |
181 self.lineno += 1 |
181 self.lineno += 1 |
182 itm.setTextAlignment(0, Qt.AlignRight) |
182 itm.setTextAlignment(0, Qt.AlignRight) |
183 itm.setTextAlignment(4, Qt.AlignRight) |
183 itm.setTextAlignment(4, Qt.AlignRight) |
184 |
184 |
185 def __readStdout(self): |
185 def __readStdout(self): |