eric6/Plugins/WizardPlugins/QRegExpWizard/QRegExpWizardDialog.py

changeset 7533
88261c96484b
parent 7360
9190402e4505
child 7759
51aa6c6b66f7
--- a/eric6/Plugins/WizardPlugins/QRegExpWizard/QRegExpWizardDialog.py	Sun Apr 12 18:46:08 2020 +0200
+++ b/eric6/Plugins/WizardPlugins/QRegExpWizard/QRegExpWizardDialog.py	Sun Apr 12 19:07:49 2020 +0200
@@ -44,36 +44,36 @@
         
         # initialize icons of the tool buttons
         # regexp tool buttons
-        self.charButton.setIcon(UI.PixmapCache.getIcon("characters.png"))
-        self.anycharButton.setIcon(UI.PixmapCache.getIcon("anychar.png"))
-        self.repeatButton.setIcon(UI.PixmapCache.getIcon("repeat.png"))
-        self.nonGroupButton.setIcon(UI.PixmapCache.getIcon("nongroup.png"))
-        self.groupButton.setIcon(UI.PixmapCache.getIcon("group.png"))
-        self.altnButton.setIcon(UI.PixmapCache.getIcon("altn.png"))
-        self.beglineButton.setIcon(UI.PixmapCache.getIcon("begline.png"))
-        self.endlineButton.setIcon(UI.PixmapCache.getIcon("endline.png"))
+        self.charButton.setIcon(UI.PixmapCache.getIcon("characters"))
+        self.anycharButton.setIcon(UI.PixmapCache.getIcon("anychar"))
+        self.repeatButton.setIcon(UI.PixmapCache.getIcon("repeat"))
+        self.nonGroupButton.setIcon(UI.PixmapCache.getIcon("nongroup"))
+        self.groupButton.setIcon(UI.PixmapCache.getIcon("group"))
+        self.altnButton.setIcon(UI.PixmapCache.getIcon("altn"))
+        self.beglineButton.setIcon(UI.PixmapCache.getIcon("begline"))
+        self.endlineButton.setIcon(UI.PixmapCache.getIcon("endline"))
         self.wordboundButton.setIcon(
-            UI.PixmapCache.getIcon("wordboundary.png"))
+            UI.PixmapCache.getIcon("wordboundary"))
         self.nonwordboundButton.setIcon(
-            UI.PixmapCache.getIcon("nonwordboundary.png"))
+            UI.PixmapCache.getIcon("nonwordboundary"))
         self.poslookaheadButton.setIcon(
-            UI.PixmapCache.getIcon("poslookahead.png"))
+            UI.PixmapCache.getIcon("poslookahead"))
         self.neglookaheadButton.setIcon(
-            UI.PixmapCache.getIcon("neglookahead.png"))
-        self.undoButton.setIcon(UI.PixmapCache.getIcon("editUndo.png"))
-        self.redoButton.setIcon(UI.PixmapCache.getIcon("editRedo.png"))
+            UI.PixmapCache.getIcon("neglookahead"))
+        self.undoButton.setIcon(UI.PixmapCache.getIcon("editUndo"))
+        self.redoButton.setIcon(UI.PixmapCache.getIcon("editRedo"))
         # wildcard tool buttons
         self.wildcardCharButton.setIcon(
-            UI.PixmapCache.getIcon("characters.png"))
+            UI.PixmapCache.getIcon("characters"))
         self.wildcardAnycharButton.setIcon(
-            UI.PixmapCache.getIcon("anychar.png"))
-        self.wildcardRepeatButton.setIcon(UI.PixmapCache.getIcon("repeat.png"))
+            UI.PixmapCache.getIcon("anychar"))
+        self.wildcardRepeatButton.setIcon(UI.PixmapCache.getIcon("repeat"))
         # W3C tool buttons
-        self.w3cCharButton.setIcon(UI.PixmapCache.getIcon("characters.png"))
-        self.w3cAnycharButton.setIcon(UI.PixmapCache.getIcon("anychar.png"))
-        self.w3cRepeatButton.setIcon(UI.PixmapCache.getIcon("repeat.png"))
-        self.w3cGroupButton.setIcon(UI.PixmapCache.getIcon("group.png"))
-        self.w3cAltnButton.setIcon(UI.PixmapCache.getIcon("altn.png"))
+        self.w3cCharButton.setIcon(UI.PixmapCache.getIcon("characters"))
+        self.w3cAnycharButton.setIcon(UI.PixmapCache.getIcon("anychar"))
+        self.w3cRepeatButton.setIcon(UI.PixmapCache.getIcon("repeat"))
+        self.w3cGroupButton.setIcon(UI.PixmapCache.getIcon("group"))
+        self.w3cAltnButton.setIcon(UI.PixmapCache.getIcon("altn"))
         
         # initialize the syntax pattern combo
         self.syntaxCombo.addItem("RegExp", QRegExp.RegExp)

eric ide

mercurial