This commit is contained in:
Luke Campagnola 2012-04-15 12:33:56 -04:00
parent dc29a9060e
commit c44887e531

View File

@ -103,11 +103,11 @@ class ViewBox(GraphicsWidget):
}
self.exportMethods = collections.OrderedDict([
('SVG', self.saveSvg),
('Image', self.saveImage),
('Print', self.savePrint),
])
#self.exportMethods = collections.OrderedDict([
#('SVG', self.saveSvg),
#('Image', self.saveImage),
#('Print', self.savePrint),
#])
self.setFlag(self.ItemClipsChildrenToShape)
self.setFlag(self.ItemIsFocusable, True) ## so we can receive key presses