90 """ |
90 """ |
91 self.repoTree.header().resizeSections(QHeaderView.ResizeToContents) |
91 self.repoTree.header().resizeSections(QHeaderView.ResizeToContents) |
92 self.repoTree.header().setStretchLastSection(True) |
92 self.repoTree.header().setStretchLastSection(True) |
93 |
93 |
94 def __generateItem(self, repopath, revision, author, size, date, |
94 def __generateItem(self, repopath, revision, author, size, date, |
95 nodekind, url): |
95 nodekind, url): |
96 """ |
96 """ |
97 Private method to generate a tree item in the repository tree. |
97 Private method to generate a tree item in the repository tree. |
98 |
98 |
99 @param parent parent of the item to be created (QTreeWidget or QTreeWidgetItem) |
|
100 @param repopath path of the item (string) |
99 @param repopath path of the item (string) |
101 @param revision revision info (string) |
100 @param revision revision info (string) |
102 @param author author info (string) |
101 @param author author info (string) |
103 @param size size info (string) |
102 @param size size info (string) |
104 @param date date info (string) |
103 @param date date info (string) |