Tools/TRPreviewer.py

changeset 455
9a7e0b7b801e
parent 453
a81097a85889
child 456
d766de2ccbc7
equal deleted inserted replaced
453:a81097a85889 455:9a7e0b7b801e
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.connect(self.exitAct, SIGNAL('triggered()'), 179 self.exitAct.triggered.connect(qApp.closeAllWindows)
180 qApp, SLOT('closeAllWindows()'))
181 180
182 self.whatsThisAct = QAction(UI.PixmapCache.getIcon("whatsThis.png"), 181 self.whatsThisAct = QAction(UI.PixmapCache.getIcon("whatsThis.png"),
183 self.trUtf8('&What\'s This?'), self) 182 self.trUtf8('&What\'s This?'), self)
184 self.whatsThisAct.setShortcut(QKeySequence(self.trUtf8("Shift+F1"))) 183 self.whatsThisAct.setShortcut(QKeySequence(self.trUtf8("Shift+F1")))
185 self.whatsThisAct.setStatusTip(self.trUtf8('Context sensitive help')) 184 self.whatsThisAct.setStatusTip(self.trUtf8('Context sensitive help'))

eric ide

mercurial