Debugger/DebugUI.py

changeset 2703
910bdc75c757
parent 2622
08cc2f31c983
child 2791
a9577f248f04
child 2988
f53c03574697
equal deleted inserted replaced
2701:7904fd3bc30d 2703:910bdc75c757
265 """ be saved first.</p>""" 265 """ be saved first.</p>"""
266 )) 266 ))
267 self.debugProjectAct.triggered[()].connect(self.__debugProject) 267 self.debugProjectAct.triggered[()].connect(self.__debugProject)
268 self.actions.append(self.debugProjectAct) 268 self.actions.append(self.debugProjectAct)
269 269
270 self.restartAct = E5Action(self.trUtf8('Restart Script'), 270 self.restartAct = E5Action(self.trUtf8('Restart'),
271 UI.PixmapCache.getIcon("restart.png"), 271 UI.PixmapCache.getIcon("restart.png"),
272 self.trUtf8('Restart Script'), Qt.Key_F4, 0, self, 'dbg_restart_script') 272 self.trUtf8('Restart'), Qt.Key_F4, 0, self, 'dbg_restart_script')
273 self.restartAct.setStatusTip(self.trUtf8('Restart the last debugged script')) 273 self.restartAct.setStatusTip(self.trUtf8('Restart the last debugged script'))
274 self.restartAct.setWhatsThis(self.trUtf8( 274 self.restartAct.setWhatsThis(self.trUtf8(
275 """<b>Restart Script</b>""" 275 """<b>Restart</b>"""
276 """<p>Set the command line arguments and set the current line to be the""" 276 """<p>Set the command line arguments and set the current line to be the"""
277 """ first executable Python statement of the script that was debugged last.""" 277 """ first executable Python statement of the script that was debugged last."""
278 """ If there are unsaved changes, they may be saved first.</p>""" 278 """ If there are unsaved changes, they may be saved first.</p>"""
279 )) 279 ))
280 self.restartAct.triggered[()].connect(self.__doRestart) 280 self.restartAct.triggered[()].connect(self.__doRestart)
281 self.actions.append(self.restartAct) 281 self.actions.append(self.restartAct)
282 282
283 self.stopAct = E5Action(self.trUtf8('Stop Script'), 283 self.stopAct = E5Action(self.trUtf8('Stop'),
284 UI.PixmapCache.getIcon("stopScript.png"), 284 UI.PixmapCache.getIcon("stopScript.png"),
285 self.trUtf8('Stop Script'), Qt.SHIFT + Qt.Key_F10, 0, 285 self.trUtf8('Stop'), Qt.SHIFT + Qt.Key_F10, 0,
286 self, 'dbg_stop_script') 286 self, 'dbg_stop_script')
287 self.stopAct.setStatusTip(self.trUtf8("""Stop the running script.""")) 287 self.stopAct.setStatusTip(self.trUtf8("""Stop the running script."""))
288 self.stopAct.setWhatsThis(self.trUtf8( 288 self.stopAct.setWhatsThis(self.trUtf8(
289 """<b>Stop Script</b>""" 289 """<b>Stop</b>"""
290 """<p>This stops the script running in the debugger backend.</p>""" 290 """<p>This stops the script running in the debugger backend.</p>"""
291 )) 291 ))
292 self.stopAct.triggered[()].connect(self.__stopScript) 292 self.stopAct.triggered[()].connect(self.__stopScript)
293 self.actions.append(self.stopAct) 293 self.actions.append(self.stopAct)
294 294

eric ide

mercurial