src/eric7/QScintilla/ShellWindow.py

branch
eric7
changeset 9573
9960d19d66b5
parent 9473
3f23dbf37dbe
child 9576
be9f8e7e42e0
equal deleted inserted replaced
9572:3b46c662a004 9573:9960d19d66b5
226 "quit", 226 "quit",
227 ) 227 )
228 self.exitAct.setStatusTip(self.tr("Quit the Shell")) 228 self.exitAct.setStatusTip(self.tr("Quit the Shell"))
229 self.exitAct.setWhatsThis( 229 self.exitAct.setWhatsThis(
230 self.tr( 230 self.tr(
231 """<b>Quit the Shell</b>""" """<p>This quits the Shell window.</p>""" 231 """<b>Quit the Shell</b><p>This quits the Shell window.</p>"""
232 ) 232 )
233 ) 233 )
234 self.exitAct.triggered.connect(self.quit) 234 self.exitAct.triggered.connect(self.quit)
235 self.exitAct.setMenuRole(QAction.MenuRole.QuitRole) 235 self.exitAct.setMenuRole(QAction.MenuRole.QuitRole)
236 self.fileActions.append(self.exitAct) 236 self.fileActions.append(self.exitAct)
343 self.cutAct.setStatusTip( 343 self.cutAct.setStatusTip(
344 QCoreApplication.translate("ViewManager", "Cut the selection") 344 QCoreApplication.translate("ViewManager", "Cut the selection")
345 ) 345 )
346 self.cutAct.setWhatsThis( 346 self.cutAct.setWhatsThis(
347 self.tr( 347 self.tr(
348 """<b>Cut</b>""" """<p>Cut the selected text to the clipboard.</p>""" 348 """<b>Cut</b><p>Cut the selected text to the clipboard.</p>"""
349 ) 349 )
350 ) 350 )
351 self.cutAct.triggered.connect(self.__shell.cut) 351 self.cutAct.triggered.connect(self.__shell.cut)
352 self.editActions.append(self.cutAct) 352 self.editActions.append(self.cutAct)
353 353
367 self.copyAct.setStatusTip( 367 self.copyAct.setStatusTip(
368 QCoreApplication.translate("ViewManager", "Copy the selection") 368 QCoreApplication.translate("ViewManager", "Copy the selection")
369 ) 369 )
370 self.copyAct.setWhatsThis( 370 self.copyAct.setWhatsThis(
371 self.tr( 371 self.tr(
372 """<b>Copy</b>""" """<p>Copy the selected text to the clipboard.</p>""" 372 """<b>Copy</b><p>Copy the selected text to the clipboard.</p>"""
373 ) 373 )
374 ) 374 )
375 self.copyAct.triggered.connect(self.__shell.copy) 375 self.copyAct.triggered.connect(self.__shell.copy)
376 self.editActions.append(self.copyAct) 376 self.editActions.append(self.copyAct)
377 377
413 ) 413 )
414 self.clearAct.setStatusTip( 414 self.clearAct.setStatusTip(
415 QCoreApplication.translate("ViewManager", "Clear all text") 415 QCoreApplication.translate("ViewManager", "Clear all text")
416 ) 416 )
417 self.clearAct.setWhatsThis( 417 self.clearAct.setWhatsThis(
418 self.tr("""<b>Clear</b>""" """<p>Delete all text.</p>""") 418 self.tr("""<b>Clear</b><p>Delete all text.</p>""")
419 ) 419 )
420 self.clearAct.triggered.connect(self.__shell.clear) 420 self.clearAct.triggered.connect(self.__shell.clear)
421 self.editActions.append(self.clearAct) 421 self.editActions.append(self.clearAct)
422 422
423 self.cutAct.setEnabled(False) 423 self.cutAct.setEnabled(False)

eric ide

mercurial