Tools/UIPreviewer.py

changeset 457
608a9c14f4c9
parent 456
d766de2ccbc7
child 500
c3abc7895a01
equal deleted inserted replaced
456:d766de2ccbc7 457:608a9c14f4c9
158 self.exitAct.setStatusTip(self.trUtf8('Quit the application')) 158 self.exitAct.setStatusTip(self.trUtf8('Quit the application'))
159 self.exitAct.setWhatsThis(self.trUtf8( 159 self.exitAct.setWhatsThis(self.trUtf8(
160 """<b>Quit</b>""" 160 """<b>Quit</b>"""
161 """<p>Quit the application.</p>""" 161 """<p>Quit the application.</p>"""
162 )) 162 ))
163 self.exitAct.triggered.connect(qApp.closeAllWindows) 163 self.exitAct.triggered[()].connect(qApp.closeAllWindows)
164 164
165 self.copyAct = QAction(UI.PixmapCache.getIcon("editCopy.png"), 165 self.copyAct = QAction(UI.PixmapCache.getIcon("editCopy.png"),
166 self.trUtf8('&Copy'), self) 166 self.trUtf8('&Copy'), self)
167 self.copyAct.setShortcut(QKeySequence(self.trUtf8("Ctrl+C", "Edit|Copy"))) 167 self.copyAct.setShortcut(QKeySequence(self.trUtf8("Ctrl+C", "Edit|Copy")))
168 self.copyAct.setStatusTip(self.trUtf8('Copy screen capture to clipboard')) 168 self.copyAct.setStatusTip(self.trUtf8('Copy screen capture to clipboard'))

eric ide

mercurial