eric6/Graphics/SvgDiagram.py

changeset 7533
88261c96484b
parent 7360
9190402e4505
child 7759
51aa6c6b66f7
--- a/eric6/Graphics/SvgDiagram.py	Sun Apr 12 18:46:08 2020 +0200
+++ b/eric6/Graphics/SvgDiagram.py	Sun Apr 12 19:07:49 2020 +0200
@@ -63,9 +63,9 @@
         self.setCentralWidget(self.svgView)
         
         self.__zoomWidget = E5ZoomWidget(
-            UI.PixmapCache.getPixmap("zoomOut.png"),
-            UI.PixmapCache.getPixmap("zoomIn.png"),
-            UI.PixmapCache.getPixmap("zoomReset.png"), self)
+            UI.PixmapCache.getPixmap("zoomOut"),
+            UI.PixmapCache.getPixmap("zoomIn"),
+            UI.PixmapCache.getPixmap("zoomReset"), self)
         self.statusBar().addPermanentWidget(self.__zoomWidget)
         self.__zoomWidget.setMapping(
             SvgDiagram.ZoomLevels, SvgDiagram.ZoomLevelDefault)
@@ -90,17 +90,17 @@
         Private method to initialize the view actions.
         """
         self.closeAct = QAction(
-            UI.PixmapCache.getIcon("close.png"),
+            UI.PixmapCache.getIcon("close"),
             self.tr("Close"), self)
         self.closeAct.triggered.connect(self.close)
         
         self.printAct = QAction(
-            UI.PixmapCache.getIcon("print.png"),
+            UI.PixmapCache.getIcon("print"),
             self.tr("Print"), self)
         self.printAct.triggered.connect(self.__printDiagram)
         
         self.printPreviewAct = QAction(
-            UI.PixmapCache.getIcon("printPreview.png"),
+            UI.PixmapCache.getIcon("printPreview"),
             self.tr("Print Preview"), self)
         self.printPreviewAct.triggered.connect(self.__printPreviewDiagram)
         

eric ide

mercurial