28 @param parent reference to the parent widget (QWidget) |
28 @param parent reference to the parent widget (QWidget) |
29 """ |
29 """ |
30 super(HgQueuesFoldDialog, self).__init__(parent) |
30 super(HgQueuesFoldDialog, self).__init__(parent) |
31 self.setupUi(self) |
31 self.setupUi(self) |
32 |
32 |
33 self.addButton.setIcon(UI.PixmapCache.getIcon("plus.png")) |
33 self.addButton.setIcon(UI.PixmapCache.getIcon("plus")) |
34 self.removeButton.setIcon(UI.PixmapCache.getIcon("minus.png")) |
34 self.removeButton.setIcon(UI.PixmapCache.getIcon("minus")) |
35 self.upButton.setIcon(UI.PixmapCache.getIcon("1uparrow.png")) |
35 self.upButton.setIcon(UI.PixmapCache.getIcon("1uparrow")) |
36 self.downButton.setIcon(UI.PixmapCache.getIcon("1downarrow.png")) |
36 self.downButton.setIcon(UI.PixmapCache.getIcon("1downarrow")) |
37 |
37 |
38 for patch in patchesList: |
38 for patch in patchesList: |
39 name, summary = patch.split("@@") |
39 name, summary = patch.split("@@") |
40 QTreeWidgetItem(self.sourcePatches, [name, summary]) |
40 QTreeWidgetItem(self.sourcePatches, [name, summary]) |
41 |
41 |