src/eric7/ViewManager/ViewManager.py

branch
eric7
changeset 9573
9960d19d66b5
parent 9540
6bc76f2c80aa
child 9576
be9f8e7e42e0
equal deleted inserted replaced
9572:3b46c662a004 9573:9960d19d66b5
600 QCoreApplication.translate("ViewManager", "Open an empty editor window") 600 QCoreApplication.translate("ViewManager", "Open an empty editor window")
601 ) 601 )
602 self.newAct.setWhatsThis( 602 self.newAct.setWhatsThis(
603 QCoreApplication.translate( 603 QCoreApplication.translate(
604 "ViewManager", 604 "ViewManager",
605 """<b>New</b>""" """<p>An empty editor window will be created.</p>""", 605 """<b>New</b><p>An empty editor window will be created.</p>""",
606 ) 606 )
607 ) 607 )
608 self.newAct.triggered.connect(self.newEditor) 608 self.newAct.triggered.connect(self.newEditor)
609 self.fileActions.append(self.newAct) 609 self.fileActions.append(self.newAct)
610 610
650 QCoreApplication.translate("ViewManager", "Close the current window") 650 QCoreApplication.translate("ViewManager", "Close the current window")
651 ) 651 )
652 self.closeAct.setWhatsThis( 652 self.closeAct.setWhatsThis(
653 QCoreApplication.translate( 653 QCoreApplication.translate(
654 "ViewManager", 654 "ViewManager",
655 """<b>Close Window</b>""" """<p>Close the current window.</p>""", 655 """<b>Close Window</b><p>Close the current window.</p>""",
656 ) 656 )
657 ) 657 )
658 self.closeAct.triggered.connect(self.closeCurrentWindow) 658 self.closeAct.triggered.connect(self.closeCurrentWindow)
659 self.fileActions.append(self.closeAct) 659 self.fileActions.append(self.closeAct)
660 660
670 QCoreApplication.translate("ViewManager", "Close all editor windows") 670 QCoreApplication.translate("ViewManager", "Close all editor windows")
671 ) 671 )
672 self.closeAllAct.setWhatsThis( 672 self.closeAllAct.setWhatsThis(
673 QCoreApplication.translate( 673 QCoreApplication.translate(
674 "ViewManager", 674 "ViewManager",
675 """<b>Close All Windows</b>""" """<p>Close all editor windows.</p>""", 675 """<b>Close All Windows</b><p>Close all editor windows.</p>""",
676 ) 676 )
677 ) 677 )
678 self.closeAllAct.triggered.connect(self.closeAllWindows) 678 self.closeAllAct.triggered.connect(self.closeAllWindows)
679 self.fileActions.append(self.closeAllAct) 679 self.fileActions.append(self.closeAllAct)
680 680
1134 QCoreApplication.translate("ViewManager", "Clear all text") 1134 QCoreApplication.translate("ViewManager", "Clear all text")
1135 ) 1135 )
1136 self.deleteAct.setWhatsThis( 1136 self.deleteAct.setWhatsThis(
1137 QCoreApplication.translate( 1137 QCoreApplication.translate(
1138 "ViewManager", 1138 "ViewManager",
1139 """<b>Clear</b>""" """<p>Delete all text of the current editor.</p>""", 1139 """<b>Clear</b><p>Delete all text of the current editor.</p>""",
1140 ) 1140 )
1141 ) 1141 )
1142 self.deleteAct.triggered.connect(self.__editDelete) 1142 self.deleteAct.triggered.connect(self.__editDelete)
1143 self.editActions.append(self.deleteAct) 1143 self.editActions.append(self.deleteAct)
1144 1144
4355 QCoreApplication.translate("ViewManager", "Add a split to the view") 4355 QCoreApplication.translate("ViewManager", "Add a split to the view")
4356 ) 4356 )
4357 self.splitViewAct.setWhatsThis( 4357 self.splitViewAct.setWhatsThis(
4358 QCoreApplication.translate( 4358 QCoreApplication.translate(
4359 "ViewManager", 4359 "ViewManager",
4360 """<b>Split view</b>""" """<p>Add a split to the view.</p>""", 4360 """<b>Split view</b><p>Add a split to the view.</p>""",
4361 ) 4361 )
4362 ) 4362 )
4363 self.splitViewAct.triggered.connect(self.__splitView) 4363 self.splitViewAct.triggered.connect(self.__splitView)
4364 self.viewActions.append(self.splitViewAct) 4364 self.viewActions.append(self.splitViewAct)
4365 4365
4401 QCoreApplication.translate("ViewManager", "Remove the current split") 4401 QCoreApplication.translate("ViewManager", "Remove the current split")
4402 ) 4402 )
4403 self.splitRemoveAct.setWhatsThis( 4403 self.splitRemoveAct.setWhatsThis(
4404 QCoreApplication.translate( 4404 QCoreApplication.translate(
4405 "ViewManager", 4405 "ViewManager",
4406 """<b>Remove split</b>""" """<p>Remove the current split.</p>""", 4406 """<b>Remove split</b><p>Remove the current split.</p>""",
4407 ) 4407 )
4408 ) 4408 )
4409 self.splitRemoveAct.triggered.connect(self.removeSplit) 4409 self.splitRemoveAct.triggered.connect(self.removeSplit)
4410 self.viewActions.append(self.splitRemoveAct) 4410 self.viewActions.append(self.splitRemoveAct)
4411 4411
4425 QCoreApplication.translate("ViewManager", "Move to the next split") 4425 QCoreApplication.translate("ViewManager", "Move to the next split")
4426 ) 4426 )
4427 self.nextSplitAct.setWhatsThis( 4427 self.nextSplitAct.setWhatsThis(
4428 QCoreApplication.translate( 4428 QCoreApplication.translate(
4429 "ViewManager", 4429 "ViewManager",
4430 """<b>Next split</b>""" """<p>Move to the next split.</p>""", 4430 """<b>Next split</b><p>Move to the next split.</p>""",
4431 ) 4431 )
4432 ) 4432 )
4433 self.nextSplitAct.triggered.connect(self.nextSplit) 4433 self.nextSplitAct.triggered.connect(self.nextSplit)
4434 self.viewActions.append(self.nextSplitAct) 4434 self.viewActions.append(self.nextSplitAct)
4435 4435
4449 QCoreApplication.translate("ViewManager", "Move to the previous split") 4449 QCoreApplication.translate("ViewManager", "Move to the previous split")
4450 ) 4450 )
4451 self.prevSplitAct.setWhatsThis( 4451 self.prevSplitAct.setWhatsThis(
4452 QCoreApplication.translate( 4452 QCoreApplication.translate(
4453 "ViewManager", 4453 "ViewManager",
4454 """<b>Previous split</b>""" """<p>Move to the previous split.</p>""", 4454 """<b>Previous split</b><p>Move to the previous split.</p>""",
4455 ) 4455 )
4456 ) 4456 )
4457 self.prevSplitAct.triggered.connect(self.prevSplit) 4457 self.prevSplitAct.triggered.connect(self.prevSplit)
4458 self.viewActions.append(self.prevSplitAct) 4458 self.viewActions.append(self.prevSplitAct)
4459 4459
4723 QCoreApplication.translate("ViewManager", "Load Macro") 4723 QCoreApplication.translate("ViewManager", "Load Macro")
4724 ) 4724 )
4725 self.macroLoadAct.setWhatsThis( 4725 self.macroLoadAct.setWhatsThis(
4726 QCoreApplication.translate( 4726 QCoreApplication.translate(
4727 "ViewManager", 4727 "ViewManager",
4728 """<b>Load Macro</b>""" """<p>Load an editor macro from a file.</p>""", 4728 """<b>Load Macro</b><p>Load an editor macro from a file.</p>""",
4729 ) 4729 )
4730 ) 4730 )
4731 self.macroLoadAct.triggered.connect(self.__macroLoad) 4731 self.macroLoadAct.triggered.connect(self.__macroLoad)
4732 self.macroActions.append(self.macroLoadAct) 4732 self.macroActions.append(self.macroLoadAct)
4733 4733

eric ide

mercurial