283 """<p>Closes all icon editor windows except the first one.</p>""" |
283 """<p>Closes all icon editor windows except the first one.</p>""" |
284 )) |
284 )) |
285 self.closeAllAct.triggered.connect(self.__closeAll) |
285 self.closeAllAct.triggered.connect(self.__closeAll) |
286 self.__actions.append(self.closeAllAct) |
286 self.__actions.append(self.closeAllAct) |
287 |
287 |
|
288 # TODO: add action to close all other windows |
|
289 |
288 self.exitAct = E5Action( |
290 self.exitAct = E5Action( |
289 self.tr('Quit'), |
291 self.tr('Quit'), |
290 UI.PixmapCache.getIcon("exit.png"), |
292 UI.PixmapCache.getIcon("exit.png"), |
291 self.tr('&Quit'), |
293 self.tr('&Quit'), |
292 QKeySequence(self.tr("Ctrl+Q", "File|Quit")), |
294 QKeySequence(self.tr("Ctrl+Q", "File|Quit")), |