diff -r a4eb1787ea41 -r 343db73c4842 eric6/UI/UserInterface.py --- a/eric6/UI/UserInterface.py Sun Apr 05 18:17:08 2020 +0200 +++ b/eric6/UI/UserInterface.py Sat May 02 13:51:07 2020 +0200 @@ -225,8 +225,8 @@ self.capEditor = "" self.captionShowsFilename = Preferences.getUI("CaptionShowsFilename") - QApplication.setWindowIcon(UI.PixmapCache.getIcon("eric.png")) - self.setWindowIcon(UI.PixmapCache.getIcon("eric.png")) + QApplication.setWindowIcon(UI.PixmapCache.getIcon("eric")) + self.setWindowIcon(UI.PixmapCache.getIcon("eric")) self.__setWindowCaption() # load the view profiles @@ -833,7 +833,7 @@ from Project.ProjectBrowser import ProjectBrowser self.projectBrowser = ProjectBrowser(self.project) self.lToolbox.addItem(self.projectBrowser, - UI.PixmapCache.getIcon("projectViewer.png"), + UI.PixmapCache.getIcon("projectViewer"), self.tr("Project-Viewer")) # Create the multi project browser @@ -842,7 +842,7 @@ self.multiProjectBrowser = MultiProjectBrowser(self.multiProject, self.project) self.lToolbox.addItem(self.multiProjectBrowser, - UI.PixmapCache.getIcon("multiProjectViewer.png"), + UI.PixmapCache.getIcon("multiProjectViewer"), self.tr("Multiproject-Viewer")) if Preferences.getUI("ShowTemplateViewer"): @@ -852,7 +852,7 @@ self.templateViewer = TemplateViewer(None, self.viewmanager) self.lToolbox.addItem(self.templateViewer, - UI.PixmapCache.getIcon("templateViewer.png"), + UI.PixmapCache.getIcon("templateViewer"), self.tr("Template-Viewer")) #################################################### @@ -865,7 +865,7 @@ from .CodeDocumentationViewer import CodeDocumentationViewer self.codeDocumentationViewer = CodeDocumentationViewer(self) self.rToolbox.addItem(self.codeDocumentationViewer, - UI.PixmapCache.getIcon("codeDocuViewer.png"), + UI.PixmapCache.getIcon("codeDocuViewer"), self.tr("Code Documentation Viewer")) # Create the debug viewer @@ -873,7 +873,7 @@ from Debugger.DebugViewer import DebugViewer self.debugViewer = DebugViewer(debugServer) self.rToolbox.addItem(self.debugViewer, - UI.PixmapCache.getIcon("debugViewer.png"), + UI.PixmapCache.getIcon("debugViewer"), self.tr("Debug-Viewer")) if Preferences.getUI("ShowPyPIPackageManager"): @@ -891,7 +891,7 @@ from CondaInterface.CondaPackagesWidget import CondaPackagesWidget self.condaWidget = CondaPackagesWidget(self.condaInterface) self.rToolbox.addItem(self.condaWidget, - UI.PixmapCache.getIcon("miniconda.png"), + UI.PixmapCache.getIcon("miniconda"), self.tr("Conda")) if Preferences.getUI("ShowCooperation"): @@ -900,7 +900,7 @@ from Cooperation.ChatWidget import ChatWidget self.cooperation = ChatWidget(self) self.rToolbox.addItem(self.cooperation, - UI.PixmapCache.getIcon("cooperation.png"), + UI.PixmapCache.getIcon("cooperation"), self.tr("Cooperation")) if Preferences.getUI("ShowIrc"): @@ -909,7 +909,7 @@ from Network.IRC.IrcWidget import IrcWidget self.irc = IrcWidget(self) self.rToolbox.addItem(self.irc, - UI.PixmapCache.getIcon("irc.png"), + UI.PixmapCache.getIcon("irc"), self.tr("IRC")) if Preferences.getUI("ShowMicroPython"): @@ -930,7 +930,7 @@ from Tasks.TaskViewer import TaskViewer self.taskViewer = TaskViewer(None, self.project) self.hToolbox.addItem(self.taskViewer, - UI.PixmapCache.getIcon("task.png"), + UI.PixmapCache.getIcon("task"), self.tr("Task-Viewer")) # Create the log viewer part of the user interface @@ -938,7 +938,7 @@ from .LogView import LogViewer self.logViewer = LogViewer(self) self.hToolbox.addItem(self.logViewer, - UI.PixmapCache.getIcon("logViewer.png"), + UI.PixmapCache.getIcon("logViewer"), self.tr("Log-Viewer")) if Preferences.getUI("ShowFileBrowser"): @@ -947,7 +947,7 @@ from .Browser import Browser self.browser = Browser() self.lToolbox.addItem(self.browser, - UI.PixmapCache.getIcon("browser.png"), + UI.PixmapCache.getIcon("browser"), self.tr("File-Browser")) if Preferences.getUI("ShowSymbolsViewer"): @@ -956,7 +956,7 @@ from .SymbolsWidget import SymbolsWidget self.symbolsViewer = SymbolsWidget() self.lToolbox.addItem(self.symbolsViewer, - UI.PixmapCache.getIcon("symbols.png"), + UI.PixmapCache.getIcon("symbols"), self.tr("Symbols")) if Preferences.getUI("ShowNumbersViewer"): @@ -965,7 +965,7 @@ from .NumbersWidget import NumbersWidget self.numbersViewer = NumbersWidget() self.hToolbox.addItem(self.numbersViewer, - UI.PixmapCache.getIcon("numbers.png"), + UI.PixmapCache.getIcon("numbers"), self.tr("Numbers")) #################################################### @@ -986,7 +986,7 @@ debugServer, self.viewmanager, self.project, True) self.shell = self.shellAssembly.shell() self.__shellParent.widget().insertItem( - 0, self.shellAssembly, UI.PixmapCache.getIcon("shell.png"), + 0, self.shellAssembly, UI.PixmapCache.getIcon("shell"), self.tr("Shell")) #################################################### @@ -1027,7 +1027,7 @@ self.projectBrowser = ProjectBrowser(self.project) self.leftSidebar.addTab( self.projectBrowser, - UI.PixmapCache.getIcon("projectViewer.png"), + UI.PixmapCache.getIcon("projectViewer"), self.tr("Project-Viewer")) # Create the multi project browser @@ -1037,7 +1037,7 @@ self.project) self.leftSidebar.addTab( self.multiProjectBrowser, - UI.PixmapCache.getIcon("multiProjectViewer.png"), + UI.PixmapCache.getIcon("multiProjectViewer"), self.tr("Multiproject-Viewer")) if Preferences.getUI("ShowTemplateViewer"): @@ -1048,7 +1048,7 @@ self.viewmanager) self.leftSidebar.addTab( self.templateViewer, - UI.PixmapCache.getIcon("templateViewer.png"), + UI.PixmapCache.getIcon("templateViewer"), self.tr("Template-Viewer")) #################################################### @@ -1062,7 +1062,7 @@ self.codeDocumentationViewer = CodeDocumentationViewer(self) self.rightSidebar.addTab( self.codeDocumentationViewer, - UI.PixmapCache.getIcon("codeDocuViewer.png"), + UI.PixmapCache.getIcon("codeDocuViewer"), self.tr("Code Documentation Viewer")) # Create the debug viewer @@ -1070,7 +1070,7 @@ from Debugger.DebugViewer import DebugViewer self.debugViewer = DebugViewer(debugServer) self.rightSidebar.addTab( - self.debugViewer, UI.PixmapCache.getIcon("debugViewer.png"), + self.debugViewer, UI.PixmapCache.getIcon("debugViewer"), self.tr("Debug-Viewer")) if Preferences.getUI("ShowPyPIPackageManager"): @@ -1088,7 +1088,7 @@ from CondaInterface.CondaPackagesWidget import CondaPackagesWidget self.condaWidget = CondaPackagesWidget(self.condaInterface) self.rightSidebar.addTab( - self.condaWidget, UI.PixmapCache.getIcon("miniconda.png"), + self.condaWidget, UI.PixmapCache.getIcon("miniconda"), self.tr("Conda")) if Preferences.getUI("ShowCooperation"): @@ -1097,7 +1097,7 @@ from Cooperation.ChatWidget import ChatWidget self.cooperation = ChatWidget(self) self.rightSidebar.addTab( - self.cooperation, UI.PixmapCache.getIcon("cooperation.png"), + self.cooperation, UI.PixmapCache.getIcon("cooperation"), self.tr("Cooperation")) if Preferences.getUI("ShowIrc"): @@ -1106,7 +1106,7 @@ from Network.IRC.IrcWidget import IrcWidget self.irc = IrcWidget(self) self.rightSidebar.addTab( - self.irc, UI.PixmapCache.getIcon("irc.png"), + self.irc, UI.PixmapCache.getIcon("irc"), self.tr("IRC")) if Preferences.getUI("ShowMicroPython"): @@ -1127,7 +1127,7 @@ from Tasks.TaskViewer import TaskViewer self.taskViewer = TaskViewer(None, self.project) self.bottomSidebar.addTab(self.taskViewer, - UI.PixmapCache.getIcon("task.png"), + UI.PixmapCache.getIcon("task"), self.tr("Task-Viewer")) # Create the log viewer part of the user interface @@ -1135,7 +1135,7 @@ from .LogView import LogViewer self.logViewer = LogViewer(self) self.bottomSidebar.addTab(self.logViewer, - UI.PixmapCache.getIcon("logViewer.png"), + UI.PixmapCache.getIcon("logViewer"), self.tr("Log-Viewer")) if Preferences.getUI("ShowFileBrowser"): @@ -1144,7 +1144,7 @@ from .Browser import Browser self.browser = Browser() self.leftSidebar.addTab(self.browser, - UI.PixmapCache.getIcon("browser.png"), + UI.PixmapCache.getIcon("browser"), self.tr("File-Browser")) if Preferences.getUI("ShowSymbolsViewer"): @@ -1153,7 +1153,7 @@ from .SymbolsWidget import SymbolsWidget self.symbolsViewer = SymbolsWidget() self.leftSidebar.addTab(self.symbolsViewer, - UI.PixmapCache.getIcon("symbols.png"), + UI.PixmapCache.getIcon("symbols"), self.tr("Symbols")) if Preferences.getUI("ShowNumbersViewer"): @@ -1162,7 +1162,7 @@ from .NumbersWidget import NumbersWidget self.numbersViewer = NumbersWidget() self.bottomSidebar.addTab(self.numbersViewer, - UI.PixmapCache.getIcon("numbers.png"), + UI.PixmapCache.getIcon("numbers"), self.tr("Numbers")) #################################################### @@ -1183,7 +1183,7 @@ debugServer, self.viewmanager, self.project, True) self.shell = self.shellAssembly.shell() self.__shellParent.insertTab(0, self.shellAssembly, - UI.PixmapCache.getIcon("shell.png"), + UI.PixmapCache.getIcon("shell"), self.tr("Shell")) #################################################### @@ -1520,7 +1520,7 @@ self.exitAct = E5Action( self.tr('Quit'), - UI.PixmapCache.getIcon("exit.png"), + UI.PixmapCache.getIcon("exit"), self.tr('&Quit'), QKeySequence(self.tr("Ctrl+Q", "File|Quit")), 0, self, 'quit') @@ -1537,7 +1537,7 @@ self.restartAct = E5Action( self.tr('Restart'), - UI.PixmapCache.getIcon("restart.png"), + UI.PixmapCache.getIcon("restart"), self.tr('Restart'), QKeySequence(self.tr("Ctrl+Shift+Q", "File|Quit")), 0, self, 'restart_eric') @@ -1579,7 +1579,7 @@ self.newWindowAct = E5Action( self.tr('New Window'), - UI.PixmapCache.getIcon("newWindow.png"), + UI.PixmapCache.getIcon("newWindow"), self.tr('New &Window'), QKeySequence(self.tr("Ctrl+Shift+N", "File|New Window")), 0, self, 'new_window') @@ -1598,7 +1598,7 @@ self.setEditProfileAct = E5Action( self.tr('Edit Profile'), - UI.PixmapCache.getIcon("viewProfileEdit.png"), + UI.PixmapCache.getIcon("viewProfileEdit"), self.tr('Edit Profile'), 0, 0, self.viewProfileActGrp, 'edit_profile', True) @@ -1615,7 +1615,7 @@ self.setDebugProfileAct = E5Action( self.tr('Debug Profile'), - UI.PixmapCache.getIcon("viewProfileDebug.png"), + UI.PixmapCache.getIcon("viewProfileDebug"), self.tr('Debug Profile'), 0, 0, self.viewProfileActGrp, 'debug_profile', True) @@ -2004,7 +2004,7 @@ self.whatsThisAct = E5Action( self.tr('What\'s This?'), - UI.PixmapCache.getIcon("whatsThis.png"), + UI.PixmapCache.getIcon("whatsThis"), self.tr('&What\'s This?'), QKeySequence(self.tr("Shift+F1")), 0, self, 'whatsThis') @@ -2022,7 +2022,7 @@ self.helpviewerAct = E5Action( self.tr('Helpviewer'), - UI.PixmapCache.getIcon("help.png"), + UI.PixmapCache.getIcon("help"), self.tr('&Helpviewer...'), QKeySequence(self.tr("F1")), 0, self, 'helpviewer') @@ -2126,7 +2126,7 @@ self.utDialogAct = E5Action( self.tr('Unittest'), - UI.PixmapCache.getIcon("unittest.png"), + UI.PixmapCache.getIcon("unittest"), self.tr('&Unittest...'), 0, 0, self.utActGrp, 'unittest') self.utDialogAct.setStatusTip(self.tr('Start unittest dialog')) @@ -2140,7 +2140,7 @@ self.utRestartAct = E5Action( self.tr('Unittest Restart'), - UI.PixmapCache.getIcon("unittestRestart.png"), + UI.PixmapCache.getIcon("unittestRestart"), self.tr('&Restart Unittest...'), 0, 0, self.utActGrp, 'unittest_restart') self.utRestartAct.setStatusTip(self.tr('Restart last unittest')) @@ -2154,7 +2154,7 @@ self.utRerunFailedAct = E5Action( self.tr('Unittest Rerun Failed'), - UI.PixmapCache.getIcon("unittestRerunFailed.png"), + UI.PixmapCache.getIcon("unittestRerunFailed"), self.tr('Rerun Failed Tests...'), 0, 0, self.utActGrp, 'unittest_rerun_failed') self.utRerunFailedAct.setStatusTip(self.tr( @@ -2170,7 +2170,7 @@ self.utScriptAct = E5Action( self.tr('Unittest Script'), - UI.PixmapCache.getIcon("unittestScript.png"), + UI.PixmapCache.getIcon("unittestScript"), self.tr('Unittest &Script...'), 0, 0, self.utActGrp, 'unittest_script') self.utScriptAct.setStatusTip(self.tr( @@ -2185,7 +2185,7 @@ self.utProjectAct = E5Action( self.tr('Unittest Project'), - UI.PixmapCache.getIcon("unittestProject.png"), + UI.PixmapCache.getIcon("unittestProject"), self.tr('Unittest &Project...'), 0, 0, self.utActGrp, 'unittest_project') self.utProjectAct.setStatusTip(self.tr( @@ -2212,7 +2212,7 @@ if os.path.exists(designerExe): self.designer4Act = E5Action( self.tr('Qt-Designer'), - UI.PixmapCache.getIcon("designer4.png"), + UI.PixmapCache.getIcon("designer4"), self.tr('Qt-&Designer...'), 0, 0, self, 'qt_designer4') self.designer4Act.setStatusTip(self.tr('Start Qt-Designer')) @@ -2238,7 +2238,7 @@ if os.path.exists(linguistExe): self.linguist4Act = E5Action( self.tr('Qt-Linguist'), - UI.PixmapCache.getIcon("linguist4.png"), + UI.PixmapCache.getIcon("linguist4"), self.tr('Qt-&Linguist...'), 0, 0, self, 'qt_linguist4') self.linguist4Act.setStatusTip(self.tr('Start Qt-Linguist')) @@ -2253,7 +2253,7 @@ self.uipreviewerAct = E5Action( self.tr('UI Previewer'), - UI.PixmapCache.getIcon("uiPreviewer.png"), + UI.PixmapCache.getIcon("uiPreviewer"), self.tr('&UI Previewer...'), 0, 0, self, 'ui_previewer') self.uipreviewerAct.setStatusTip(self.tr('Start the UI Previewer')) @@ -2266,7 +2266,7 @@ self.trpreviewerAct = E5Action( self.tr('Translations Previewer'), - UI.PixmapCache.getIcon("trPreviewer.png"), + UI.PixmapCache.getIcon("trPreviewer"), self.tr('&Translations Previewer...'), 0, 0, self, 'tr_previewer') self.trpreviewerAct.setStatusTip(self.tr( @@ -2280,7 +2280,7 @@ self.diffAct = E5Action( self.tr('Compare Files'), - UI.PixmapCache.getIcon("diffFiles.png"), + UI.PixmapCache.getIcon("diffFiles"), self.tr('&Compare Files...'), 0, 0, self, 'diff_files') self.diffAct.setStatusTip(self.tr('Compare two files')) @@ -2293,7 +2293,7 @@ self.compareAct = E5Action( self.tr('Compare Files side by side'), - UI.PixmapCache.getIcon("compareFiles.png"), + UI.PixmapCache.getIcon("compareFiles"), self.tr('Compare &Files side by side...'), 0, 0, self, 'compare_files') self.compareAct.setStatusTip(self.tr('Compare two files')) @@ -2307,7 +2307,7 @@ self.sqlBrowserAct = E5Action( self.tr('SQL Browser'), - UI.PixmapCache.getIcon("sqlBrowser.png"), + UI.PixmapCache.getIcon("sqlBrowser"), self.tr('SQL &Browser...'), 0, 0, self, 'sql_browser') self.sqlBrowserAct.setStatusTip(self.tr('Browse a SQL database')) @@ -2320,7 +2320,7 @@ self.miniEditorAct = E5Action( self.tr('Mini Editor'), - UI.PixmapCache.getIcon("editor.png"), + UI.PixmapCache.getIcon("editor"), self.tr('Mini &Editor...'), 0, 0, self, 'mini_editor') self.miniEditorAct.setStatusTip(self.tr('Mini Editor')) @@ -2333,7 +2333,7 @@ self.hexEditorAct = E5Action( self.tr('Hex Editor'), - UI.PixmapCache.getIcon("hexEditor.png"), + UI.PixmapCache.getIcon("hexEditor"), self.tr('&Hex Editor...'), 0, 0, self, 'hex_editor') self.hexEditorAct.setStatusTip(self.tr( @@ -2348,7 +2348,7 @@ self.webBrowserAct = E5Action( self.tr('eric6 Web Browser'), - UI.PixmapCache.getIcon("ericWeb.png"), + UI.PixmapCache.getIcon("ericWeb"), self.tr('eric6 &Web Browser...'), 0, 0, self, 'web_browser') self.webBrowserAct.setStatusTip(self.tr( @@ -2364,7 +2364,7 @@ self.iconEditorAct = E5Action( self.tr('Icon Editor'), - UI.PixmapCache.getIcon("iconEditor.png"), + UI.PixmapCache.getIcon("iconEditor"), self.tr('&Icon Editor...'), 0, 0, self, 'icon_editor') self.iconEditorAct.setStatusTip(self.tr( @@ -2378,7 +2378,7 @@ self.snapshotAct = E5Action( self.tr('Snapshot'), - UI.PixmapCache.getIcon("ericSnap.png"), + UI.PixmapCache.getIcon("ericSnap"), self.tr('&Snapshot...'), 0, 0, self, 'snapshot') self.snapshotAct.setStatusTip(self.tr( @@ -2393,7 +2393,7 @@ self.prefAct = E5Action( self.tr('Preferences'), - UI.PixmapCache.getIcon("configure.png"), + UI.PixmapCache.getIcon("configure"), self.tr('&Preferences...'), 0, 0, self, 'preferences') self.prefAct.setStatusTip(self.tr( @@ -2409,7 +2409,7 @@ self.prefExportAct = E5Action( self.tr('Export Preferences'), - UI.PixmapCache.getIcon("configureExport.png"), + UI.PixmapCache.getIcon("configureExport"), self.tr('E&xport Preferences...'), 0, 0, self, 'export_preferences') self.prefExportAct.setStatusTip(self.tr( @@ -2423,7 +2423,7 @@ self.prefImportAct = E5Action( self.tr('Import Preferences'), - UI.PixmapCache.getIcon("configureImport.png"), + UI.PixmapCache.getIcon("configureImport"), self.tr('I&mport Preferences...'), 0, 0, self, 'import_preferences') self.prefImportAct.setStatusTip(self.tr( @@ -2450,7 +2450,7 @@ self.showExternalToolsAct = E5Action( self.tr('Show external tools'), - UI.PixmapCache.getIcon("showPrograms.png"), + UI.PixmapCache.getIcon("showPrograms"), self.tr('Show external &tools'), 0, 0, self, 'show_external_tools') self.showExternalToolsAct.setStatusTip(self.tr( @@ -2466,7 +2466,7 @@ self.configViewProfilesAct = E5Action( self.tr('View Profiles'), - UI.PixmapCache.getIcon("configureViewProfiles.png"), + UI.PixmapCache.getIcon("configureViewProfiles"), self.tr('&View Profiles...'), 0, 0, self, 'view_profiles') self.configViewProfilesAct.setStatusTip(self.tr( @@ -2483,7 +2483,7 @@ self.configToolBarsAct = E5Action( self.tr('Toolbars'), - UI.PixmapCache.getIcon("toolbarsConfigure.png"), + UI.PixmapCache.getIcon("toolbarsConfigure"), self.tr('Tool&bars...'), 0, 0, self, 'configure_toolbars') self.configToolBarsAct.setStatusTip(self.tr('Configure toolbars')) @@ -2498,7 +2498,7 @@ self.shortcutsAct = E5Action( self.tr('Keyboard Shortcuts'), - UI.PixmapCache.getIcon("configureShortcuts.png"), + UI.PixmapCache.getIcon("configureShortcuts"), self.tr('Keyboard &Shortcuts...'), 0, 0, self, 'keyboard_shortcuts') self.shortcutsAct.setStatusTip(self.tr( @@ -2513,7 +2513,7 @@ self.exportShortcutsAct = E5Action( self.tr('Export Keyboard Shortcuts'), - UI.PixmapCache.getIcon("exportShortcuts.png"), + UI.PixmapCache.getIcon("exportShortcuts"), self.tr('&Export Keyboard Shortcuts...'), 0, 0, self, 'export_keyboard_shortcuts') self.exportShortcutsAct.setStatusTip(self.tr( @@ -2527,7 +2527,7 @@ self.importShortcutsAct = E5Action( self.tr('Import Keyboard Shortcuts'), - UI.PixmapCache.getIcon("importShortcuts.png"), + UI.PixmapCache.getIcon("importShortcuts"), self.tr('&Import Keyboard Shortcuts...'), 0, 0, self, 'import_keyboard_shortcuts') self.importShortcutsAct.setStatusTip(self.tr( @@ -2542,7 +2542,7 @@ if SSL_AVAILABLE: self.certificatesAct = E5Action( self.tr('Manage SSL Certificates'), - UI.PixmapCache.getIcon("certificates.png"), + UI.PixmapCache.getIcon("certificates"), self.tr('Manage SSL Certificates...'), 0, 0, self, 'manage_ssl_certificates') self.certificatesAct.setStatusTip(self.tr( @@ -2558,7 +2558,7 @@ self.editMessageFilterAct = E5Action( self.tr('Edit Message Filters'), - UI.PixmapCache.getIcon("warning.png"), + UI.PixmapCache.getIcon("warning"), self.tr('Edit Message Filters...'), 0, 0, self, 'manage_message_filters') self.editMessageFilterAct.setStatusTip(self.tr( @@ -2575,7 +2575,7 @@ self.clearPrivateDataAct = E5Action( self.tr('Clear private data'), - UI.PixmapCache.getIcon("clearPrivateData.png"), + UI.PixmapCache.getIcon("clearPrivateData"), self.tr('Clear private data'), 0, 0, self, 'clear_private_data') @@ -2629,7 +2629,7 @@ self.pluginInfoAct = E5Action( self.tr('Plugin Infos'), - UI.PixmapCache.getIcon("plugin.png"), + UI.PixmapCache.getIcon("plugin"), self.tr('&Plugin Infos...'), 0, 0, self, 'plugin_infos') self.pluginInfoAct.setStatusTip(self.tr('Show Plugin Infos')) self.pluginInfoAct.setWhatsThis(self.tr( @@ -2642,7 +2642,7 @@ self.pluginInstallAct = E5Action( self.tr('Install Plugins'), - UI.PixmapCache.getIcon("pluginInstall.png"), + UI.PixmapCache.getIcon("pluginInstall"), self.tr('&Install Plugins...'), 0, 0, self, 'plugin_install') self.pluginInstallAct.setStatusTip(self.tr('Install Plugins')) @@ -2655,7 +2655,7 @@ self.pluginDeinstallAct = E5Action( self.tr('Uninstall Plugin'), - UI.PixmapCache.getIcon("pluginUninstall.png"), + UI.PixmapCache.getIcon("pluginUninstall"), self.tr('&Uninstall Plugin...'), 0, 0, self, 'plugin_deinstall') self.pluginDeinstallAct.setStatusTip(self.tr('Uninstall Plugin')) @@ -2668,7 +2668,7 @@ self.pluginRepoAct = E5Action( self.tr('Plugin Repository'), - UI.PixmapCache.getIcon("pluginRepository.png"), + UI.PixmapCache.getIcon("pluginRepository"), self.tr('Plugin &Repository...'), 0, 0, self, 'plugin_repository') self.pluginRepoAct.setStatusTip(self.tr( @@ -2683,7 +2683,7 @@ self.virtualenvManagerAct = E5Action( self.tr('Virtualenv Manager'), - UI.PixmapCache.getIcon("virtualenv.png"), + UI.PixmapCache.getIcon("virtualenv"), self.tr('&Virtualenv Manager...'), 0, 0, self, 'virtualenv_manager') @@ -2700,7 +2700,7 @@ self.virtualenvConfigAct = E5Action( self.tr('Virtualenv Configurator'), - UI.PixmapCache.getIcon("virtualenvConfig.png"), + UI.PixmapCache.getIcon("virtualenvConfig"), self.tr('Virtualenv &Configurator...'), 0, 0, self, 'virtualenv_configurator') @@ -3033,7 +3033,7 @@ ############################################################## pluginsMenu = QMenu(self.tr('P&lugins'), self) - pluginsMenu.setIcon(UI.PixmapCache.getIcon("plugin.png")) + pluginsMenu.setIcon(UI.PixmapCache.getIcon("plugin")) pluginsMenu.setTearOffEnabled(True) pluginsMenu.addAction(self.pluginInfoAct) pluginsMenu.addAction(self.pluginInstallAct) @@ -3470,9 +3470,9 @@ )) self.sbZoom = E5ZoomWidget( - UI.PixmapCache.getPixmap("zoomOut.png"), - UI.PixmapCache.getPixmap("zoomIn.png"), - UI.PixmapCache.getPixmap("zoomReset.png"), + UI.PixmapCache.getPixmap("zoomOut"), + UI.PixmapCache.getPixmap("zoomIn"), + UI.PixmapCache.getPixmap("zoomReset"), self.__statusBar) self.__statusBar.addPermanentWidget(self.sbZoom) self.sbZoom.setWhatsThis(self.tr( @@ -7331,7 +7331,7 @@ parent=self ) self.__versionsDialog.setIconPixmap( - UI.PixmapCache.getPixmap("eric.png").scaled(64, 64)) + UI.PixmapCache.getPixmap("eric").scaled(64, 64)) self.__versionsDialog.show() def __sslErrors(self, reply, errors):