Helpviewer/HelpWindow.py

changeset 1520
25d97c7ea897
parent 1509
c0b5e693b0eb
child 1562
1e9a236987d8
child 1579
6a9a44a74031
equal deleted inserted replaced
1519:16c718397dd7 1520:25d97c7ea897
781 781
782 self.zoomInAct = E5Action(self.trUtf8('Zoom in'), 782 self.zoomInAct = E5Action(self.trUtf8('Zoom in'),
783 UI.PixmapCache.getIcon("zoomIn.png"), 783 UI.PixmapCache.getIcon("zoomIn.png"),
784 self.trUtf8('Zoom &in'), 784 self.trUtf8('Zoom &in'),
785 QKeySequence(self.trUtf8("Ctrl++", "View|Zoom in")), 785 QKeySequence(self.trUtf8("Ctrl++", "View|Zoom in")),
786 0, self, 'help_view_zoom_in') 786 QKeySequence(self.trUtf8("Zoom In", "View|Zoom in")),
787 self, 'help_view_zoom_in')
787 self.zoomInAct.setStatusTip(self.trUtf8('Zoom in on the text')) 788 self.zoomInAct.setStatusTip(self.trUtf8('Zoom in on the text'))
788 self.zoomInAct.setWhatsThis(self.trUtf8( 789 self.zoomInAct.setWhatsThis(self.trUtf8(
789 """<b>Zoom in</b>""" 790 """<b>Zoom in</b>"""
790 """<p>Zoom in on the text. This makes the text bigger.</p>""" 791 """<p>Zoom in on the text. This makes the text bigger.</p>"""
791 )) 792 ))
795 796
796 self.zoomOutAct = E5Action(self.trUtf8('Zoom out'), 797 self.zoomOutAct = E5Action(self.trUtf8('Zoom out'),
797 UI.PixmapCache.getIcon("zoomOut.png"), 798 UI.PixmapCache.getIcon("zoomOut.png"),
798 self.trUtf8('Zoom &out'), 799 self.trUtf8('Zoom &out'),
799 QKeySequence(self.trUtf8("Ctrl+-", "View|Zoom out")), 800 QKeySequence(self.trUtf8("Ctrl+-", "View|Zoom out")),
800 0, self, 'help_view_zoom_out') 801 QKeySequence(self.trUtf8("Zoom Out", "View|Zoom out")),
802 self, 'help_view_zoom_out')
801 self.zoomOutAct.setStatusTip(self.trUtf8('Zoom out on the text')) 803 self.zoomOutAct.setStatusTip(self.trUtf8('Zoom out on the text'))
802 self.zoomOutAct.setWhatsThis(self.trUtf8( 804 self.zoomOutAct.setWhatsThis(self.trUtf8(
803 """<b>Zoom out</b>""" 805 """<b>Zoom out</b>"""
804 """<p>Zoom out on the text. This makes the text smaller.</p>""" 806 """<p>Zoom out on the text. This makes the text smaller.</p>"""
805 )) 807 ))

eric ide

mercurial