24 Constructor |
24 Constructor |
25 |
25 |
26 @param patchesList list of patches to select from (list of strings) |
26 @param patchesList list of patches to select from (list of strings) |
27 @param parent reference to the parent widget (QWidget) |
27 @param parent reference to the parent widget (QWidget) |
28 """ |
28 """ |
29 QDialog.__init__(self, parent) |
29 super().__init__(parent) |
30 self.setupUi(self) |
30 self.setupUi(self) |
31 |
31 |
32 self.addButton.setIcon(UI.PixmapCache.getIcon("1downarrow.png")) |
32 self.addButton.setIcon(UI.PixmapCache.getIcon("1downarrow.png")) |
33 self.removeButton.setIcon(UI.PixmapCache.getIcon("1uparrow.png")) |
33 self.removeButton.setIcon(UI.PixmapCache.getIcon("1uparrow.png")) |
34 self.upButton.setIcon(UI.PixmapCache.getIcon("1uparrow.png")) |
34 self.upButton.setIcon(UI.PixmapCache.getIcon("1uparrow.png")) |