eric6/Debugger/DebugUI.py

branch
multi_processing
changeset 7564
787684e6f2f3
parent 7421
4a9900aef04e
parent 7533
88261c96484b
child 7646
39e3db2b4936
--- a/eric6/Debugger/DebugUI.py	Sat May 02 14:35:03 2020 +0200
+++ b/eric6/Debugger/DebugUI.py	Sat May 02 14:45:06 2020 +0200
@@ -180,7 +180,7 @@
         
         self.runAct = E5Action(
             self.tr('Run Script'),
-            UI.PixmapCache.getIcon("runScript.png"),
+            UI.PixmapCache.getIcon("runScript"),
             self.tr('&Run Script...'),
             Qt.Key_F2, 0, self, 'dbg_run_script')
         self.runAct.setStatusTip(self.tr('Run the current Script'))
@@ -195,7 +195,7 @@
 
         self.runProjectAct = E5Action(
             self.tr('Run Project'),
-            UI.PixmapCache.getIcon("runProject.png"),
+            UI.PixmapCache.getIcon("runProject"),
             self.tr('Run &Project...'), Qt.SHIFT + Qt.Key_F2, 0, self,
             'dbg_run_project')
         self.runProjectAct.setStatusTip(self.tr('Run the current Project'))
@@ -211,7 +211,7 @@
 
         self.coverageAct = E5Action(
             self.tr('Coverage run of Script'),
-            UI.PixmapCache.getIcon("coverageScript.png"),
+            UI.PixmapCache.getIcon("coverageScript"),
             self.tr('Coverage run of Script...'), 0, 0, self,
             'dbg_coverage_script')
         self.coverageAct.setStatusTip(
@@ -227,7 +227,7 @@
 
         self.coverageProjectAct = E5Action(
             self.tr('Coverage run of Project'),
-            UI.PixmapCache.getIcon("coverageProject.png"),
+            UI.PixmapCache.getIcon("coverageProject"),
             self.tr('Coverage run of Project...'), 0, 0, self,
             'dbg_coverage_project')
         self.coverageProjectAct.setStatusTip(
@@ -244,7 +244,7 @@
 
         self.profileAct = E5Action(
             self.tr('Profile Script'),
-            UI.PixmapCache.getIcon("profileScript.png"),
+            UI.PixmapCache.getIcon("profileScript"),
             self.tr('Profile Script...'), 0, 0, self, 'dbg_profile_script')
         self.profileAct.setStatusTip(self.tr('Profile the current Script'))
         self.profileAct.setWhatsThis(self.tr(
@@ -257,7 +257,7 @@
 
         self.profileProjectAct = E5Action(
             self.tr('Profile Project'),
-            UI.PixmapCache.getIcon("profileProject.png"),
+            UI.PixmapCache.getIcon("profileProject"),
             self.tr('Profile Project...'), 0, 0, self,
             'dbg_profile_project')
         self.profileProjectAct.setStatusTip(
@@ -273,7 +273,7 @@
 
         self.debugAct = E5Action(
             self.tr('Debug Script'),
-            UI.PixmapCache.getIcon("debugScript.png"),
+            UI.PixmapCache.getIcon("debugScript"),
             self.tr('&Debug Script...'), Qt.Key_F5, 0, self,
             'dbg_debug_script')
         self.debugAct.setStatusTip(self.tr('Debug the current Script'))
@@ -289,7 +289,7 @@
 
         self.debugProjectAct = E5Action(
             self.tr('Debug Project'),
-            UI.PixmapCache.getIcon("debugProject.png"),
+            UI.PixmapCache.getIcon("debugProject"),
             self.tr('Debug &Project...'), Qt.SHIFT + Qt.Key_F5, 0, self,
             'dbg_debug_project')
         self.debugProjectAct.setStatusTip(self.tr(
@@ -306,7 +306,7 @@
 
         self.restartAct = E5Action(
             self.tr('Restart'),
-            UI.PixmapCache.getIcon("debugRestart.png"),
+            UI.PixmapCache.getIcon("debugRestart"),
             self.tr('Restart'), Qt.Key_F4, 0, self, 'dbg_restart_script')
         self.restartAct.setStatusTip(self.tr(
             'Restart the last debugged script'))
@@ -322,7 +322,7 @@
 
         self.stopAct = E5Action(
             self.tr('Stop'),
-            UI.PixmapCache.getIcon("stopScript.png"),
+            UI.PixmapCache.getIcon("stopScript"),
             self.tr('Stop'), Qt.SHIFT + Qt.Key_F10, 0,
             self, 'dbg_stop_script')
         self.stopAct.setStatusTip(self.tr("""Stop the running script."""))
@@ -337,7 +337,7 @@
 
         act = E5Action(
             self.tr('Continue'),
-            UI.PixmapCache.getIcon("continue.png"),
+            UI.PixmapCache.getIcon("continue"),
             self.tr('&Continue'), Qt.Key_F6, 0,
             self.debugActGrp, 'dbg_continue')
         act.setStatusTip(
@@ -353,7 +353,7 @@
 
         act = E5Action(
             self.tr('Continue to Cursor'),
-            UI.PixmapCache.getIcon("continueToCursor.png"),
+            UI.PixmapCache.getIcon("continueToCursor"),
             self.tr('Continue &To Cursor'), Qt.SHIFT + Qt.Key_F6, 0,
             self.debugActGrp, 'dbg_continue_to_cursor')
         act.setStatusTip(self.tr(
@@ -369,7 +369,7 @@
         
         act = E5Action(
             self.tr('Move Instruction Pointer to Cursor'),
-            UI.PixmapCache.getIcon("moveInstructionPointer.png"),
+            UI.PixmapCache.getIcon("moveInstructionPointer"),
             self.tr('&Jump To Cursor'), Qt.Key_F12, 0,
             self.debugActGrp, 'dbg_jump_to_cursor')
         act.setStatusTip(self.tr(
@@ -389,7 +389,7 @@
 
         act = E5Action(
             self.tr('Single Step'),
-            UI.PixmapCache.getIcon("step.png"),
+            UI.PixmapCache.getIcon("step"),
             self.tr('Sin&gle Step'), Qt.Key_F7, 0,
             self.debugActGrp, 'dbg_single_step')
         act.setStatusTip(self.tr('Execute a single Python statement'))
@@ -405,7 +405,7 @@
 
         act = E5Action(
             self.tr('Step Over'),
-            UI.PixmapCache.getIcon("stepOver.png"),
+            UI.PixmapCache.getIcon("stepOver"),
             self.tr('Step &Over'), Qt.Key_F8, 0,
             self.debugActGrp, 'dbg_step_over')
         act.setStatusTip(self.tr(
@@ -424,7 +424,7 @@
 
         act = E5Action(
             self.tr('Step Out'),
-            UI.PixmapCache.getIcon("stepOut.png"),
+            UI.PixmapCache.getIcon("stepOut"),
             self.tr('Step Ou&t'), Qt.Key_F9, 0,
             self.debugActGrp, 'dbg_step_out')
         act.setStatusTip(self.tr(
@@ -443,7 +443,7 @@
 
         act = E5Action(
             self.tr('Stop'),
-            UI.PixmapCache.getIcon("stepQuit.png"),
+            UI.PixmapCache.getIcon("stepQuit"),
             self.tr('&Stop'), Qt.Key_F10, 0,
             self.debugActGrp, 'dbg_stop')
         act.setStatusTip(self.tr('Stop debugging'))
@@ -508,7 +508,7 @@
 
         self.dbgToggleBpAct = E5Action(
             self.tr('Toggle Breakpoint'),
-            UI.PixmapCache.getIcon("breakpointToggle.png"),
+            UI.PixmapCache.getIcon("breakpointToggle"),
             self.tr('Toggle Breakpoint'),
             QKeySequence(self.tr("Shift+F11", "Debug|Toggle Breakpoint")),
             0, self.dbgSetBpActGrp, 'dbg_toggle_breakpoint')
@@ -523,7 +523,7 @@
         
         self.dbgEditBpAct = E5Action(
             self.tr('Edit Breakpoint'),
-            UI.PixmapCache.getIcon("cBreakpointToggle.png"),
+            UI.PixmapCache.getIcon("cBreakpointToggle"),
             self.tr('Edit Breakpoint...'),
             QKeySequence(self.tr("Shift+F12", "Debug|Edit Breakpoint")), 0,
             self.dbgSetBpActGrp, 'dbg_edit_breakpoint')
@@ -538,7 +538,7 @@
 
         self.dbgNextBpAct = E5Action(
             self.tr('Next Breakpoint'),
-            UI.PixmapCache.getIcon("breakpointNext.png"),
+            UI.PixmapCache.getIcon("breakpointNext"),
             self.tr('Next Breakpoint'),
             QKeySequence(
                 self.tr("Ctrl+Shift+PgDown", "Debug|Next Breakpoint")), 0,
@@ -553,7 +553,7 @@
 
         self.dbgPrevBpAct = E5Action(
             self.tr('Previous Breakpoint'),
-            UI.PixmapCache.getIcon("breakpointPrevious.png"),
+            UI.PixmapCache.getIcon("breakpointPrevious"),
             self.tr('Previous Breakpoint'),
             QKeySequence(
                 self.tr("Ctrl+Shift+PgUp", "Debug|Previous Breakpoint")),
@@ -1090,7 +1090,7 @@
                             ' {1}.\n{2}').format(
                             os.path.basename(program), status, info)
                     self.ui.showNotification(
-                        UI.PixmapCache.getPixmap("debug48.png"),
+                        UI.PixmapCache.getPixmap("debug48"),
                         self.tr("Program terminated"), msg)
                 else:
                     if program is None:

eric ide

mercurial