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')) |