163 |
163 |
164 @param revision revision string (string) |
164 @param revision revision string (string) |
165 @param author author of the change (string) |
165 @param author author of the change (string) |
166 @param text line of text from the annotated file (string) |
166 @param text line of text from the annotated file (string) |
167 """ |
167 """ |
168 itm = QTreeWidgetItem(self.blameList, |
168 itm = QTreeWidgetItem( |
|
169 self.blameList, |
169 [revision, author, "{0:d}".format(self.lineno), text]) |
170 [revision, author, "{0:d}".format(self.lineno), text]) |
170 self.lineno += 1 |
171 self.lineno += 1 |
171 itm.setTextAlignment(0, Qt.AlignRight) |
172 itm.setTextAlignment(0, Qt.AlignRight) |
172 itm.setTextAlignment(2, Qt.AlignRight) |
173 itm.setTextAlignment(2, Qt.AlignRight) |
173 |
174 |