123 @param revision revision string (string) |
123 @param revision revision string (string) |
124 @param author author of the change (string) |
124 @param author author of the change (string) |
125 @param lineno linenumber (string) |
125 @param lineno linenumber (string) |
126 @param text line of text from the annotated file (string) |
126 @param text line of text from the annotated file (string) |
127 """ |
127 """ |
128 itm = QTreeWidgetItem(self.blameList, |
128 itm = QTreeWidgetItem( |
|
129 self.blameList, |
129 ["{0:d}".format(revision), author, "{0:d}".format(lineno), text]) |
130 ["{0:d}".format(revision), author, "{0:d}".format(lineno), text]) |
130 itm.setTextAlignment(0, Qt.AlignRight) |
131 itm.setTextAlignment(0, Qt.AlignRight) |
131 itm.setTextAlignment(2, Qt.AlignRight) |
132 itm.setTextAlignment(2, Qt.AlignRight) |
132 |
133 |
133 def __showError(self, msg): |
134 def __showError(self, msg): |