40 """ |
40 """ |
41 Constructor |
41 Constructor |
42 |
42 |
43 @param parent reference to the parent widget (QWidget) |
43 @param parent reference to the parent widget (QWidget) |
44 """ |
44 """ |
45 super(SnapWidget, self).__init__(parent) |
45 super().__init__(parent) |
46 self.setupUi(self) |
46 self.setupUi(self) |
47 |
47 |
48 self.saveButton.setIcon(UI.PixmapCache.getIcon("fileSaveAs")) |
48 self.saveButton.setIcon(UI.PixmapCache.getIcon("fileSaveAs")) |
49 self.takeButton.setIcon(UI.PixmapCache.getIcon("cameraPhoto")) |
49 self.takeButton.setIcon(UI.PixmapCache.getIcon("cameraPhoto")) |
50 self.copyButton.setIcon(UI.PixmapCache.getIcon("editCopy")) |
50 self.copyButton.setIcon(UI.PixmapCache.getIcon("editCopy")) |