UI/UserInterface.py

changeset 1486
1ca38aa46ae7
parent 1481
eebaadaee21e
child 1490
ed6f2208297d
equal deleted inserted replaced
1482:10c46dea5fcf 1486:1ca38aa46ae7
1319 """<p>This quits the IDE. Any unsaved changes may be saved first.""" 1319 """<p>This quits the IDE. Any unsaved changes may be saved first."""
1320 """ Any Python program being debugged will be stopped and the""" 1320 """ Any Python program being debugged will be stopped and the"""
1321 """ preferences will be written to disc.</p>""" 1321 """ preferences will be written to disc.</p>"""
1322 )) 1322 ))
1323 self.exitAct.triggered[()].connect(self.__quit) 1323 self.exitAct.triggered[()].connect(self.__quit)
1324 self.exitAct.setMenuRole(QAction.QuitRole)
1324 self.actions.append(self.exitAct) 1325 self.actions.append(self.exitAct)
1325 1326
1326 self.newWindowAct = E5Action(self.trUtf8('New Window'), 1327 self.newWindowAct = E5Action(self.trUtf8('New Window'),
1327 UI.PixmapCache.getIcon("newWindow.png"), 1328 UI.PixmapCache.getIcon("newWindow.png"),
1328 self.trUtf8('New &Window'), 1329 self.trUtf8('New &Window'),
1956 """<b>Preferences</b>""" 1957 """<b>Preferences</b>"""
1957 """<p>Set the configuration items of the application""" 1958 """<p>Set the configuration items of the application"""
1958 """ with your prefered values.</p>""" 1959 """ with your prefered values.</p>"""
1959 )) 1960 ))
1960 self.prefAct.triggered[()].connect(self.showPreferences) 1961 self.prefAct.triggered[()].connect(self.showPreferences)
1962 self.prefAct.setMenuRole(QAction.PreferencesRole)
1961 self.actions.append(self.prefAct) 1963 self.actions.append(self.prefAct)
1962 1964
1963 self.prefExportAct = E5Action(self.trUtf8('Export Preferences'), 1965 self.prefExportAct = E5Action(self.trUtf8('Export Preferences'),
1964 UI.PixmapCache.getIcon("configureExport.png"), 1966 UI.PixmapCache.getIcon("configureExport.png"),
1965 self.trUtf8('E&xport Preferences...'), 0, 0, self, 'export_preferences') 1967 self.trUtf8('E&xport Preferences...'), 0, 0, self, 'export_preferences')

eric ide

mercurial