Snapshot/SnapWidget.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2409
df3820f08247
child 2791
a9577f248f04
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
4 # 4 #
5 5
6 """ 6 """
7 Module implementing the snapshot widget. 7 Module implementing the snapshot widget.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
9 11
10 # 12 #
11 # SnapWidget and it's associated modules are PyQt4 ports of Ksnapshot. 13 # SnapWidget and it's associated modules are PyQt4 ports of Ksnapshot.
12 # 14 #
13 15
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"))

eric ide

mercurial