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