eric6/ViewManager/ViewManager.py

branch
maintenance
changeset 7560
343db73c4842
parent 7362
028bf21bb5a2
parent 7533
88261c96484b
child 7737
5371a22cf2aa
--- a/eric6/ViewManager/ViewManager.py	Sun Apr 05 18:17:08 2020 +0200
+++ b/eric6/ViewManager/ViewManager.py	Sat May 02 13:51:07 2020 +0200
@@ -628,7 +628,7 @@
         """
         self.newAct = E5Action(
             QCoreApplication.translate('ViewManager', 'New'),
-            UI.PixmapCache.getIcon("new.png"),
+            UI.PixmapCache.getIcon("new"),
             QCoreApplication.translate('ViewManager', '&New'),
             QKeySequence(
                 QCoreApplication.translate('ViewManager', "Ctrl+N",
@@ -647,7 +647,7 @@
         
         self.openAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Open'),
-            UI.PixmapCache.getIcon("open.png"),
+            UI.PixmapCache.getIcon("open"),
             QCoreApplication.translate('ViewManager', '&Open...'),
             QKeySequence(
                 QCoreApplication.translate('ViewManager', "Ctrl+O",
@@ -668,7 +668,7 @@
         
         self.closeAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Close'),
-            UI.PixmapCache.getIcon("closeEditor.png"),
+            UI.PixmapCache.getIcon("closeEditor"),
             QCoreApplication.translate('ViewManager', '&Close'),
             QKeySequence(
                 QCoreApplication.translate('ViewManager', "Ctrl+W",
@@ -706,7 +706,7 @@
         
         self.saveAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Save'),
-            UI.PixmapCache.getIcon("fileSave.png"),
+            UI.PixmapCache.getIcon("fileSave"),
             QCoreApplication.translate('ViewManager', '&Save'),
             QKeySequence(QCoreApplication.translate(
                 'ViewManager', "Ctrl+S", "File|Save")),
@@ -723,7 +723,7 @@
         
         self.saveAsAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Save as'),
-            UI.PixmapCache.getIcon("fileSaveAs.png"),
+            UI.PixmapCache.getIcon("fileSaveAs"),
             QCoreApplication.translate('ViewManager', 'Save &as...'),
             QKeySequence(QCoreApplication.translate(
                 'ViewManager', "Shift+Ctrl+S", "File|Save As")),
@@ -741,7 +741,7 @@
         
         self.saveCopyAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Save Copy'),
-            UI.PixmapCache.getIcon("fileSaveCopy.png"),
+            UI.PixmapCache.getIcon("fileSaveCopy"),
             QCoreApplication.translate('ViewManager', 'Save &Copy...'),
             0, 0, self.saveActGrp, 'vm_file_save_copy')
         self.saveCopyAct.setStatusTip(QCoreApplication.translate(
@@ -757,7 +757,7 @@
         
         self.saveAllAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Save all'),
-            UI.PixmapCache.getIcon("fileSaveAll.png"),
+            UI.PixmapCache.getIcon("fileSaveAll"),
             QCoreApplication.translate('ViewManager', 'Save a&ll'),
             0, 0, self.saveActGrp, 'vm_file_save_all')
         self.saveAllAct.setStatusTip(QCoreApplication.translate(
@@ -774,7 +774,7 @@
 
         self.printAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Print'),
-            UI.PixmapCache.getIcon("print.png"),
+            UI.PixmapCache.getIcon("print"),
             QCoreApplication.translate('ViewManager', '&Print'),
             QKeySequence(QCoreApplication.translate(
                 'ViewManager', "Ctrl+P", "File|Print")),
@@ -792,7 +792,7 @@
         
         self.printPreviewAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Print Preview'),
-            UI.PixmapCache.getIcon("printPreview.png"),
+            UI.PixmapCache.getIcon("printPreview"),
             QCoreApplication.translate('ViewManager', 'Print Preview'),
             0, 0, self, 'vm_file_print_preview')
         self.printPreviewAct.setStatusTip(QCoreApplication.translate(
@@ -931,7 +931,7 @@
         
         self.undoAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Undo'),
-            UI.PixmapCache.getIcon("editUndo.png"),
+            UI.PixmapCache.getIcon("editUndo"),
             QCoreApplication.translate('ViewManager', '&Undo'),
             QKeySequence(QCoreApplication.translate(
                 'ViewManager', "Ctrl+Z", "Edit|Undo")),
@@ -950,7 +950,7 @@
         
         self.redoAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Redo'),
-            UI.PixmapCache.getIcon("editRedo.png"),
+            UI.PixmapCache.getIcon("editRedo"),
             QCoreApplication.translate('ViewManager', '&Redo'),
             QKeySequence(QCoreApplication.translate(
                 'ViewManager', "Ctrl+Shift+Z", "Edit|Redo")),
@@ -990,7 +990,7 @@
         
         self.cutAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Cut'),
-            UI.PixmapCache.getIcon("editCut.png"),
+            UI.PixmapCache.getIcon("editCut"),
             QCoreApplication.translate('ViewManager', 'Cu&t'),
             QKeySequence(QCoreApplication.translate(
                 'ViewManager', "Ctrl+X", "Edit|Cut")),
@@ -1010,7 +1010,7 @@
         
         self.copyAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Copy'),
-            UI.PixmapCache.getIcon("editCopy.png"),
+            UI.PixmapCache.getIcon("editCopy"),
             QCoreApplication.translate('ViewManager', '&Copy'),
             QKeySequence(QCoreApplication.translate(
                 'ViewManager', "Ctrl+C", "Edit|Copy")),
@@ -1030,7 +1030,7 @@
         
         self.pasteAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Paste'),
-            UI.PixmapCache.getIcon("editPaste.png"),
+            UI.PixmapCache.getIcon("editPaste"),
             QCoreApplication.translate('ViewManager', '&Paste'),
             QKeySequence(QCoreApplication.translate(
                 'ViewManager', "Ctrl+V", "Edit|Paste")),
@@ -1050,7 +1050,7 @@
         
         self.deleteAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Clear'),
-            UI.PixmapCache.getIcon("editDelete.png"),
+            UI.PixmapCache.getIcon("editDelete"),
             QCoreApplication.translate('ViewManager', 'Clear'),
             QKeySequence(QCoreApplication.translate(
                 'ViewManager', "Alt+Shift+C", "Edit|Clear")),
@@ -1085,7 +1085,7 @@
         
         self.indentAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Indent'),
-            UI.PixmapCache.getIcon("editIndent.png"),
+            UI.PixmapCache.getIcon("editIndent"),
             QCoreApplication.translate('ViewManager', '&Indent'),
             QKeySequence(QCoreApplication.translate(
                 'ViewManager', "Ctrl+I", "Edit|Indent")),
@@ -1104,7 +1104,7 @@
         
         self.unindentAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Unindent'),
-            UI.PixmapCache.getIcon("editUnindent.png"),
+            UI.PixmapCache.getIcon("editUnindent"),
             QCoreApplication.translate('ViewManager', 'U&nindent'),
             QKeySequence(QCoreApplication.translate(
                 'ViewManager', "Ctrl+Shift+I", "Edit|Unindent")),
@@ -1123,7 +1123,7 @@
         
         self.smartIndentAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Smart indent'),
-            UI.PixmapCache.getIcon("editSmartIndent.png"),
+            UI.PixmapCache.getIcon("editSmartIndent"),
             QCoreApplication.translate('ViewManager', 'Smart indent'),
             0, 0,
             self.editActGrp, 'vm_edit_smart_indent')
@@ -1140,7 +1140,7 @@
         
         self.commentAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Comment'),
-            UI.PixmapCache.getIcon("editComment.png"),
+            UI.PixmapCache.getIcon("editComment"),
             QCoreApplication.translate('ViewManager', 'C&omment'),
             QKeySequence(QCoreApplication.translate(
                 'ViewManager', "Ctrl+M", "Edit|Comment")),
@@ -1159,7 +1159,7 @@
         
         self.uncommentAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Uncomment'),
-            UI.PixmapCache.getIcon("editUncomment.png"),
+            UI.PixmapCache.getIcon("editUncomment"),
             QCoreApplication.translate('ViewManager', 'Unco&mment'),
             QKeySequence(QCoreApplication.translate(
                 'ViewManager', "Alt+Ctrl+M", "Edit|Uncomment")),
@@ -1178,7 +1178,7 @@
         
         self.toggleCommentAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Toggle Comment'),
-            UI.PixmapCache.getIcon("editToggleComment.png"),
+            UI.PixmapCache.getIcon("editToggleComment"),
             QCoreApplication.translate('ViewManager', 'Toggle Comment'),
             QKeySequence(QCoreApplication.translate(
                 'ViewManager', "Ctrl+Shift+M", "Edit|Toggle Comment")),
@@ -1251,7 +1251,7 @@
         
         self.selectAllAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Select all'),
-            UI.PixmapCache.getIcon("editSelectAll.png"),
+            UI.PixmapCache.getIcon("editSelectAll"),
             QCoreApplication.translate('ViewManager', '&Select all'),
             QKeySequence(QCoreApplication.translate(
                 'ViewManager', "Ctrl+A", "Edit|Select all")),
@@ -1425,7 +1425,7 @@
         
         self.codeInfoAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Code Info'),
-            UI.PixmapCache.getIcon("codeDocuViewer.png"),
+            UI.PixmapCache.getIcon("codeDocuViewer"),
             QCoreApplication.translate('ViewManager', 'Code Info'),
             QKeySequence(QCoreApplication.translate(
                 'ViewManager', "Ctrl+Alt+I", "Edit|Code Info")),
@@ -2870,7 +2870,7 @@
         
         self.searchAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Search'),
-            UI.PixmapCache.getIcon("find.png"),
+            UI.PixmapCache.getIcon("find"),
             QCoreApplication.translate('ViewManager', '&Search...'),
             QKeySequence(QCoreApplication.translate(
                 'ViewManager', "Ctrl+F", "Search|Search")),
@@ -2891,7 +2891,7 @@
         self.searchNextAct = E5Action(
             QCoreApplication.translate(
                 'ViewManager', 'Search next'),
-            UI.PixmapCache.getIcon("findNext.png"),
+            UI.PixmapCache.getIcon("findNext"),
             QCoreApplication.translate('ViewManager', 'Search &next'),
             QKeySequence(QCoreApplication.translate(
                 'ViewManager', "F3", "Search|Search next")),
@@ -2911,7 +2911,7 @@
         
         self.searchPrevAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Search previous'),
-            UI.PixmapCache.getIcon("findPrev.png"),
+            UI.PixmapCache.getIcon("findPrev"),
             QCoreApplication.translate('ViewManager', 'Search &previous'),
             QKeySequence(QCoreApplication.translate(
                 'ViewManager', "Shift+F3", "Search|Search previous")),
@@ -2931,7 +2931,7 @@
         
         self.searchClearMarkersAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Clear search markers'),
-            UI.PixmapCache.getIcon("findClear.png"),
+            UI.PixmapCache.getIcon("findClear"),
             QCoreApplication.translate('ViewManager', 'Clear search markers'),
             QKeySequence(QCoreApplication.translate(
                 'ViewManager', "Ctrl+3", "Search|Clear search markers")),
@@ -2951,7 +2951,7 @@
         self.searchNextWordAct = E5Action(
             QCoreApplication.translate(
                 'ViewManager', 'Search current word forward'),
-            UI.PixmapCache.getIcon("findWordNext.png"),
+            UI.PixmapCache.getIcon("findWordNext"),
             QCoreApplication.translate(
                 'ViewManager', 'Search current word forward'),
             QKeySequence(QCoreApplication.translate(
@@ -2974,7 +2974,7 @@
         self.searchPrevWordAct = E5Action(
             QCoreApplication.translate(
                 'ViewManager', 'Search current word backward'),
-            UI.PixmapCache.getIcon("findWordPrev.png"),
+            UI.PixmapCache.getIcon("findWordPrev"),
             QCoreApplication.translate(
                 'ViewManager', 'Search current word backward'),
             QKeySequence(QCoreApplication.translate(
@@ -3016,7 +3016,7 @@
         self.replaceAndSearchAct = E5Action(
             QCoreApplication.translate(
                 'ViewManager', 'Replace and Search'),
-            UI.PixmapCache.getIcon("editReplaceSearch.png"),
+            UI.PixmapCache.getIcon("editReplaceSearch"),
             QCoreApplication.translate(
                 'ViewManager', 'Replace and Search'),
             QKeySequence(QCoreApplication.translate(
@@ -3040,7 +3040,7 @@
         self.replaceSelectionAct = E5Action(
             QCoreApplication.translate(
                 'ViewManager', 'Replace Occurrence'),
-            UI.PixmapCache.getIcon("editReplace.png"),
+            UI.PixmapCache.getIcon("editReplace"),
             QCoreApplication.translate(
                 'ViewManager', 'Replace Occurrence'),
             QKeySequence(QCoreApplication.translate(
@@ -3062,7 +3062,7 @@
         self.replaceAllAct = E5Action(
             QCoreApplication.translate(
                 'ViewManager', 'Replace All'),
-            UI.PixmapCache.getIcon("editReplaceAll.png"),
+            UI.PixmapCache.getIcon("editReplaceAll"),
             QCoreApplication.translate(
                 'ViewManager', 'Replace All'),
             QKeySequence(QCoreApplication.translate(
@@ -3083,7 +3083,7 @@
         
         self.quickSearchAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Quicksearch'),
-            UI.PixmapCache.getIcon("quickFindNext.png"),
+            UI.PixmapCache.getIcon("quickFindNext"),
             QCoreApplication.translate('ViewManager', '&Quicksearch'),
             QKeySequence(QCoreApplication.translate(
                 'ViewManager', "Ctrl+Shift+K", "Search|Quicksearch")),
@@ -3105,7 +3105,7 @@
         self.quickSearchBackAct = E5Action(
             QCoreApplication.translate(
                 'ViewManager', 'Quicksearch backwards'),
-            UI.PixmapCache.getIcon("quickFindPrev.png"),
+            UI.PixmapCache.getIcon("quickFindPrev"),
             QCoreApplication.translate(
                 'ViewManager', 'Quicksearch &backwards'),
             QKeySequence(QCoreApplication.translate(
@@ -3126,7 +3126,7 @@
         
         self.quickSearchExtendAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Quicksearch extend'),
-            UI.PixmapCache.getIcon("quickFindExtend.png"),
+            UI.PixmapCache.getIcon("quickFindExtend"),
             QCoreApplication.translate('ViewManager', 'Quicksearch e&xtend'),
             QKeySequence(QCoreApplication.translate(
                 'ViewManager', "Ctrl+Shift+H", "Search|Quicksearch extend")),
@@ -3147,7 +3147,7 @@
         
         self.gotoAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Goto Line'),
-            UI.PixmapCache.getIcon("goto.png"),
+            UI.PixmapCache.getIcon("goto"),
             QCoreApplication.translate('ViewManager', '&Goto Line...'),
             QKeySequence(QCoreApplication.translate(
                 'ViewManager', "Ctrl+G", "Search|Goto Line")),
@@ -3166,7 +3166,7 @@
         
         self.gotoBraceAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Goto Brace'),
-            UI.PixmapCache.getIcon("gotoBrace.png"),
+            UI.PixmapCache.getIcon("gotoBrace"),
             QCoreApplication.translate('ViewManager', 'Goto &Brace'),
             QKeySequence(QCoreApplication.translate(
                 'ViewManager', "Ctrl+L", "Search|Goto Brace")),
@@ -3185,7 +3185,7 @@
         self.gotoLastEditAct = E5Action(
             QCoreApplication.translate(
                 'ViewManager', 'Goto Last Edit Location'),
-            UI.PixmapCache.getIcon("gotoLastEditPosition.png"),
+            UI.PixmapCache.getIcon("gotoLastEditPosition"),
             QCoreApplication.translate(
                 'ViewManager', 'Goto Last &Edit Location'),
             QKeySequence(QCoreApplication.translate(
@@ -3254,7 +3254,7 @@
         
         self.searchFilesAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Search in Files'),
-            UI.PixmapCache.getIcon("projectFind.png"),
+            UI.PixmapCache.getIcon("projectFind"),
             QCoreApplication.translate('ViewManager', 'Search in &Files...'),
             QKeySequence(QCoreApplication.translate(
                 'ViewManager', "Shift+Ctrl+F", "Search|Search Files")),
@@ -3295,7 +3295,7 @@
         self.searchOpenFilesAct = E5Action(
             QCoreApplication.translate(
                 'ViewManager', 'Search in Open Files'),
-            UI.PixmapCache.getIcon("documentFind.png"),
+            UI.PixmapCache.getIcon("documentFind"),
             QCoreApplication.translate(
                 'ViewManager', 'Search in Open Files...'),
             QKeySequence(QCoreApplication.translate(
@@ -3482,7 +3482,7 @@
         
         self.zoomInAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Zoom in'),
-            UI.PixmapCache.getIcon("zoomIn.png"),
+            UI.PixmapCache.getIcon("zoomIn"),
             QCoreApplication.translate('ViewManager', 'Zoom &in'),
             QKeySequence(QCoreApplication.translate(
                 'ViewManager', "Ctrl++", "View|Zoom in")),
@@ -3501,7 +3501,7 @@
         
         self.zoomOutAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Zoom out'),
-            UI.PixmapCache.getIcon("zoomOut.png"),
+            UI.PixmapCache.getIcon("zoomOut"),
             QCoreApplication.translate('ViewManager', 'Zoom &out'),
             QKeySequence(QCoreApplication.translate(
                 'ViewManager', "Ctrl+-", "View|Zoom out")),
@@ -3520,7 +3520,7 @@
         
         self.zoomResetAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Zoom reset'),
-            UI.PixmapCache.getIcon("zoomReset.png"),
+            UI.PixmapCache.getIcon("zoomReset"),
             QCoreApplication.translate('ViewManager', 'Zoom &reset'),
             QKeySequence(QCoreApplication.translate(
                 'ViewManager', "Ctrl+0", "View|Zoom reset")),
@@ -3539,7 +3539,7 @@
         
         self.zoomToAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Zoom'),
-            UI.PixmapCache.getIcon("zoomTo.png"),
+            UI.PixmapCache.getIcon("zoomTo"),
             QCoreApplication.translate('ViewManager', '&Zoom'),
             QKeySequence(QCoreApplication.translate(
                 'ViewManager', "Ctrl+#", "View|Zoom")),
@@ -3620,7 +3620,7 @@
         
         self.unhighlightAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Remove all highlights'),
-            UI.PixmapCache.getIcon("unhighlight.png"),
+            UI.PixmapCache.getIcon("unhighlight"),
             QCoreApplication.translate('ViewManager', 'Remove all highlights'),
             0, 0,
             self, 'vm_view_unhighlight')
@@ -3636,7 +3636,7 @@
         
         self.newDocumentViewAct = E5Action(
             QCoreApplication.translate('ViewManager', 'New Document View'),
-            UI.PixmapCache.getIcon("documentNewView.png"),
+            UI.PixmapCache.getIcon("documentNewView"),
             QCoreApplication.translate('ViewManager', 'New &Document View'),
             0, 0, self, 'vm_view_new_document_view')
         self.newDocumentViewAct.setStatusTip(QCoreApplication.translate(
@@ -3654,7 +3654,7 @@
         self.newDocumentSplitViewAct = E5Action(
             QCoreApplication.translate(
                 'ViewManager', 'New Document View (with new split)'),
-            UI.PixmapCache.getIcon("splitVertical.png"),
+            UI.PixmapCache.getIcon("splitVertical"),
             QCoreApplication.translate(
                 'ViewManager', 'New Document View (with new split)'),
             0, 0, self, 'vm_view_new_document_split_view')
@@ -3674,7 +3674,7 @@
         
         self.splitViewAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Split view'),
-            UI.PixmapCache.getIcon("splitVertical.png"),
+            UI.PixmapCache.getIcon("splitVertical"),
             QCoreApplication.translate('ViewManager', '&Split view'),
             0, 0, self, 'vm_view_split_view')
         self.splitViewAct.setStatusTip(QCoreApplication.translate(
@@ -3704,7 +3704,7 @@
         
         self.splitRemoveAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Remove split'),
-            UI.PixmapCache.getIcon("remsplitVertical.png"),
+            UI.PixmapCache.getIcon("remsplitVertical"),
             QCoreApplication.translate('ViewManager', '&Remove split'),
             0, 0, self, 'vm_view_remove_split')
         self.splitRemoveAct.setStatusTip(QCoreApplication.translate(
@@ -3752,7 +3752,7 @@
         
         self.previewAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Preview'),
-            UI.PixmapCache.getIcon("previewer.png"),
+            UI.PixmapCache.getIcon("previewer"),
             QCoreApplication.translate('ViewManager', 'Preview'),
             0, 0, self, 'vm_preview', True)
         self.previewAct.setStatusTip(QCoreApplication.translate(
@@ -3985,7 +3985,7 @@
 
         self.bookmarkToggleAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Toggle Bookmark'),
-            UI.PixmapCache.getIcon("bookmarkToggle.png"),
+            UI.PixmapCache.getIcon("bookmarkToggle"),
             QCoreApplication.translate('ViewManager', '&Toggle Bookmark'),
             QKeySequence(QCoreApplication.translate(
                 'ViewManager', "Alt+Ctrl+T", "Bookmark|Toggle")),
@@ -4004,7 +4004,7 @@
         
         self.bookmarkNextAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Next Bookmark'),
-            UI.PixmapCache.getIcon("bookmarkNext.png"),
+            UI.PixmapCache.getIcon("bookmarkNext"),
             QCoreApplication.translate('ViewManager', '&Next Bookmark'),
             QKeySequence(QCoreApplication.translate(
                 'ViewManager', "Ctrl+PgDown", "Bookmark|Next")),
@@ -4022,7 +4022,7 @@
         
         self.bookmarkPreviousAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Previous Bookmark'),
-            UI.PixmapCache.getIcon("bookmarkPrevious.png"),
+            UI.PixmapCache.getIcon("bookmarkPrevious"),
             QCoreApplication.translate('ViewManager', '&Previous Bookmark'),
             QKeySequence(QCoreApplication.translate(
                 'ViewManager', "Ctrl+PgUp", "Bookmark|Previous")),
@@ -4057,7 +4057,7 @@
         
         self.syntaxErrorGotoAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Goto Syntax Error'),
-            UI.PixmapCache.getIcon("syntaxErrorGoto.png"),
+            UI.PixmapCache.getIcon("syntaxErrorGoto"),
             QCoreApplication.translate('ViewManager', '&Goto Syntax Error'),
             0, 0,
             self.bookmarkActGrp, 'vm_syntaxerror_goto')
@@ -4089,7 +4089,7 @@
         
         self.warningsNextAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Next warning message'),
-            UI.PixmapCache.getIcon("warningNext.png"),
+            UI.PixmapCache.getIcon("warningNext"),
             QCoreApplication.translate('ViewManager', '&Next warning message'),
             0, 0,
             self.bookmarkActGrp, 'vm_warning_next')
@@ -4107,7 +4107,7 @@
         self.warningsPreviousAct = E5Action(
             QCoreApplication.translate(
                 'ViewManager', 'Previous warning message'),
-            UI.PixmapCache.getIcon("warningPrev.png"),
+            UI.PixmapCache.getIcon("warningPrev"),
             QCoreApplication.translate(
                 'ViewManager', '&Previous warning message'),
             0, 0,
@@ -4142,7 +4142,7 @@
         
         self.notcoveredNextAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Next uncovered line'),
-            UI.PixmapCache.getIcon("notcoveredNext.png"),
+            UI.PixmapCache.getIcon("notcoveredNext"),
             QCoreApplication.translate('ViewManager', '&Next uncovered line'),
             0, 0,
             self.bookmarkActGrp, 'vm_uncovered_next')
@@ -4160,7 +4160,7 @@
         self.notcoveredPreviousAct = E5Action(
             QCoreApplication.translate(
                 'ViewManager', 'Previous uncovered line'),
-            UI.PixmapCache.getIcon("notcoveredPrev.png"),
+            UI.PixmapCache.getIcon("notcoveredPrev"),
             QCoreApplication.translate(
                 'ViewManager', '&Previous uncovered line'),
             0, 0,
@@ -4179,7 +4179,7 @@
         
         self.taskNextAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Next Task'),
-            UI.PixmapCache.getIcon("taskNext.png"),
+            UI.PixmapCache.getIcon("taskNext"),
             QCoreApplication.translate('ViewManager', '&Next Task'),
             0, 0,
             self.bookmarkActGrp, 'vm_task_next')
@@ -4195,7 +4195,7 @@
         
         self.taskPreviousAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Previous Task'),
-            UI.PixmapCache.getIcon("taskPrev.png"),
+            UI.PixmapCache.getIcon("taskPrev"),
             QCoreApplication.translate(
                 'ViewManager', '&Previous Task'),
             0, 0,
@@ -4213,7 +4213,7 @@
         
         self.changeNextAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Next Change'),
-            UI.PixmapCache.getIcon("changeNext.png"),
+            UI.PixmapCache.getIcon("changeNext"),
             QCoreApplication.translate('ViewManager', '&Next Change'),
             0, 0,
             self.bookmarkActGrp, 'vm_change_next')
@@ -4230,7 +4230,7 @@
         
         self.changePreviousAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Previous Change'),
-            UI.PixmapCache.getIcon("changePrev.png"),
+            UI.PixmapCache.getIcon("changePrev"),
             QCoreApplication.translate(
                 'ViewManager', '&Previous Change'),
             0, 0,
@@ -4337,7 +4337,7 @@
         
         self.spellCheckAct = E5Action(
             QCoreApplication.translate('ViewManager', 'Check spelling'),
-            UI.PixmapCache.getIcon("spellchecking.png"),
+            UI.PixmapCache.getIcon("spellchecking"),
             QCoreApplication.translate(
                 'ViewManager', 'Check &spelling...'),
             QKeySequence(QCoreApplication.translate(
@@ -4357,7 +4357,7 @@
         self.autoSpellCheckAct = E5Action(
             QCoreApplication.translate(
                 'ViewManager', 'Automatic spell checking'),
-            UI.PixmapCache.getIcon("autospellchecking.png"),
+            UI.PixmapCache.getIcon("autospellchecking"),
             QCoreApplication.translate(
                 'ViewManager', '&Automatic spell checking'),
             0, 0,
@@ -4914,7 +4914,7 @@
         if language is None:
             pixmap = QPixmap()
         elif language == "":
-            pixmap = UI.PixmapCache.getPixmap("fileText.png")
+            pixmap = UI.PixmapCache.getPixmap("fileText")
         else:
             import QScintilla.Lexers
             pixmap = QScintilla.Lexers.getLanguageIcon(language, True)
@@ -4953,11 +4953,11 @@
         @return pixmap for the eol indicator (QPixmap)
         """
         if eolIndicator == "LF":
-            pixmap = UI.PixmapCache.getPixmap("eolLinux.png")
+            pixmap = UI.PixmapCache.getPixmap("eolLinux")
         elif eolIndicator == "CR":
-            pixmap = UI.PixmapCache.getPixmap("eolMac.png")
+            pixmap = UI.PixmapCache.getPixmap("eolMac")
         elif eolIndicator == "CRLF":
-            pixmap = UI.PixmapCache.getPixmap("eolWindows.png")
+            pixmap = UI.PixmapCache.getPixmap("eolWindows")
         else:
             pixmap = QPixmap()
         return pixmap
@@ -6179,19 +6179,19 @@
         if checked:
             self.setSplitOrientation(Qt.Horizontal)
             self.splitViewAct.setIcon(
-                UI.PixmapCache.getIcon("splitHorizontal.png"))
+                UI.PixmapCache.getIcon("splitHorizontal"))
             self.splitRemoveAct.setIcon(
-                UI.PixmapCache.getIcon("remsplitHorizontal.png"))
+                UI.PixmapCache.getIcon("remsplitHorizontal"))
             self.newDocumentSplitViewAct.setIcon(
-                UI.PixmapCache.getIcon("splitHorizontal.png"))
+                UI.PixmapCache.getIcon("splitHorizontal"))
         else:
             self.setSplitOrientation(Qt.Vertical)
             self.splitViewAct.setIcon(
-                UI.PixmapCache.getIcon("splitVertical.png"))
+                UI.PixmapCache.getIcon("splitVertical"))
             self.splitRemoveAct.setIcon(
-                UI.PixmapCache.getIcon("remsplitVertical.png"))
+                UI.PixmapCache.getIcon("remsplitVertical"))
             self.newDocumentSplitViewAct.setIcon(
-                UI.PixmapCache.getIcon("splitVertical.png"))
+                UI.PixmapCache.getIcon("splitVertical"))
         Preferences.setUI("SplitOrientationVertical", checked)
     
     def __previewEditor(self, checked):
@@ -6601,7 +6601,7 @@
                 
                 if self.ui.notificationsEnabled():
                     self.ui.showNotification(
-                        UI.PixmapCache.getPixmap("spellchecking48.png"),
+                        UI.PixmapCache.getPixmap("spellchecking48"),
                         QCoreApplication.translate(
                             'ViewManager', "Edit Spelling Dictionary"),
                         QCoreApplication.translate(

eric ide

mercurial