7 from Vispa.Gui.Zoomable
import Zoomable
8 from Vispa.Share.ImageExporter
import ImageExporter
15 QWidget.__init__(self, parent)
16 Zoomable.__init__(self)
19 if isinstance(self.parent(), ZoomableWidget):
20 self.
setZoom(self.parent().zoom())
23 """ Sets zoom of this widget and of it's children.
25 Zoomable.setZoom(self, zoom)
27 for child
in self.children():
28 if isinstance(child, Zoomable):
37 self._imageExporter.exportImageDialog(self)
39 self._imageExporter.exportImage(self, filename)