Tools/TRPreviewer.py

changeset 457
608a9c14f4c9
parent 456
d766de2ccbc7
child 461
34528aaedf1c
equal deleted inserted replaced
456:d766de2ccbc7 457:608a9c14f4c9
174 self.exitAct.setStatusTip(self.trUtf8('Quit the application')) 174 self.exitAct.setStatusTip(self.trUtf8('Quit the application'))
175 self.exitAct.setWhatsThis(self.trUtf8( 175 self.exitAct.setWhatsThis(self.trUtf8(
176 """<b>Quit</b>""" 176 """<b>Quit</b>"""
177 """<p>Quit the application.</p>""" 177 """<p>Quit the application.</p>"""
178 )) 178 ))
179 self.exitAct.triggered.connect(qApp.closeAllWindows) 179 self.exitAct.triggered[()].connect(qApp.closeAllWindows)
180 180
181 self.whatsThisAct = QAction(UI.PixmapCache.getIcon("whatsThis.png"), 181 self.whatsThisAct = QAction(UI.PixmapCache.getIcon("whatsThis.png"),
182 self.trUtf8('&What\'s This?'), self) 182 self.trUtf8('&What\'s This?'), self)
183 self.whatsThisAct.setShortcut(QKeySequence(self.trUtf8("Shift+F1"))) 183 self.whatsThisAct.setShortcut(QKeySequence(self.trUtf8("Shift+F1")))
184 self.whatsThisAct.setStatusTip(self.trUtf8('Context sensitive help')) 184 self.whatsThisAct.setStatusTip(self.trUtf8('Context sensitive help'))

eric ide

mercurial