UI/UserInterface.py

branch
5_1_x
changeset 1487
000d35ce20b6
parent 1485
b0d0ddac7012
child 1510
e75ecf2bd9dd
equal deleted inserted replaced
1485:b0d0ddac7012 1487:000d35ce20b6
1304 """<p>This quits the IDE. Any unsaved changes may be saved first.""" 1304 """<p>This quits the IDE. Any unsaved changes may be saved first."""
1305 """ Any Python program being debugged will be stopped and the""" 1305 """ Any Python program being debugged will be stopped and the"""
1306 """ preferences will be written to disc.</p>""" 1306 """ preferences will be written to disc.</p>"""
1307 )) 1307 ))
1308 self.exitAct.triggered[()].connect(self.__quit) 1308 self.exitAct.triggered[()].connect(self.__quit)
1309 self.exitAct.setMenuRole(QAction.QuitRole)
1309 self.actions.append(self.exitAct) 1310 self.actions.append(self.exitAct)
1310 1311
1311 self.viewProfileActGrp = createActionGroup(self, "viewprofiles", True) 1312 self.viewProfileActGrp = createActionGroup(self, "viewprofiles", True)
1312 1313
1313 self.setEditProfileAct = E5Action(self.trUtf8('Edit Profile'), 1314 self.setEditProfileAct = E5Action(self.trUtf8('Edit Profile'),
1921 """<b>Preferences</b>""" 1922 """<b>Preferences</b>"""
1922 """<p>Set the configuration items of the application""" 1923 """<p>Set the configuration items of the application"""
1923 """ with your prefered values.</p>""" 1924 """ with your prefered values.</p>"""
1924 )) 1925 ))
1925 self.prefAct.triggered[()].connect(self.showPreferences) 1926 self.prefAct.triggered[()].connect(self.showPreferences)
1927 self.prefAct.setMenuRole(QAction.PreferencesRole)
1926 self.actions.append(self.prefAct) 1928 self.actions.append(self.prefAct)
1927 1929
1928 self.prefExportAct = E5Action(self.trUtf8('Export Preferences'), 1930 self.prefExportAct = E5Action(self.trUtf8('Export Preferences'),
1929 UI.PixmapCache.getIcon("configureExport.png"), 1931 UI.PixmapCache.getIcon("configureExport.png"),
1930 self.trUtf8('E&xport Preferences...'), 0, 0, self, 'export_preferences') 1932 self.trUtf8('E&xport Preferences...'), 0, 0, self, 'export_preferences')

eric ide

mercurial