eric6/Plugins/WizardPlugins/QRegularExpressionWizard/QRegularExpressionWizardDialog.py

changeset 7533
88261c96484b
parent 7360
9190402e4505
child 7759
51aa6c6b66f7
equal deleted inserted replaced
7532:1358e9d67a1c 7533:88261c96484b
47 """ 47 """
48 super(QRegularExpressionWizardWidget, self).__init__(parent) 48 super(QRegularExpressionWizardWidget, self).__init__(parent)
49 self.setupUi(self) 49 self.setupUi(self)
50 50
51 # initialize icons of the tool buttons 51 # initialize icons of the tool buttons
52 self.commentButton.setIcon(UI.PixmapCache.getIcon("comment.png")) 52 self.commentButton.setIcon(UI.PixmapCache.getIcon("comment"))
53 self.charButton.setIcon(UI.PixmapCache.getIcon("characters.png")) 53 self.charButton.setIcon(UI.PixmapCache.getIcon("characters"))
54 self.anycharButton.setIcon(UI.PixmapCache.getIcon("anychar.png")) 54 self.anycharButton.setIcon(UI.PixmapCache.getIcon("anychar"))
55 self.repeatButton.setIcon(UI.PixmapCache.getIcon("repeat.png")) 55 self.repeatButton.setIcon(UI.PixmapCache.getIcon("repeat"))
56 self.nonGroupButton.setIcon(UI.PixmapCache.getIcon("nongroup.png")) 56 self.nonGroupButton.setIcon(UI.PixmapCache.getIcon("nongroup"))
57 self.atomicGroupButton.setIcon( 57 self.atomicGroupButton.setIcon(
58 UI.PixmapCache.getIcon("atomicgroup.png")) 58 UI.PixmapCache.getIcon("atomicgroup"))
59 self.groupButton.setIcon(UI.PixmapCache.getIcon("group.png")) 59 self.groupButton.setIcon(UI.PixmapCache.getIcon("group"))
60 self.namedGroupButton.setIcon(UI.PixmapCache.getIcon("namedgroup.png")) 60 self.namedGroupButton.setIcon(UI.PixmapCache.getIcon("namedgroup"))
61 self.namedReferenceButton.setIcon( 61 self.namedReferenceButton.setIcon(
62 UI.PixmapCache.getIcon("namedreference.png")) 62 UI.PixmapCache.getIcon("namedreference"))
63 self.altnButton.setIcon(UI.PixmapCache.getIcon("altn.png")) 63 self.altnButton.setIcon(UI.PixmapCache.getIcon("altn"))
64 self.beglineButton.setIcon(UI.PixmapCache.getIcon("begline.png")) 64 self.beglineButton.setIcon(UI.PixmapCache.getIcon("begline"))
65 self.endlineButton.setIcon(UI.PixmapCache.getIcon("endline.png")) 65 self.endlineButton.setIcon(UI.PixmapCache.getIcon("endline"))
66 self.wordboundButton.setIcon( 66 self.wordboundButton.setIcon(
67 UI.PixmapCache.getIcon("wordboundary.png")) 67 UI.PixmapCache.getIcon("wordboundary"))
68 self.nonwordboundButton.setIcon( 68 self.nonwordboundButton.setIcon(
69 UI.PixmapCache.getIcon("nonwordboundary.png")) 69 UI.PixmapCache.getIcon("nonwordboundary"))
70 self.poslookaheadButton.setIcon( 70 self.poslookaheadButton.setIcon(
71 UI.PixmapCache.getIcon("poslookahead.png")) 71 UI.PixmapCache.getIcon("poslookahead"))
72 self.neglookaheadButton.setIcon( 72 self.neglookaheadButton.setIcon(
73 UI.PixmapCache.getIcon("neglookahead.png")) 73 UI.PixmapCache.getIcon("neglookahead"))
74 self.poslookbehindButton.setIcon( 74 self.poslookbehindButton.setIcon(
75 UI.PixmapCache.getIcon("poslookbehind.png")) 75 UI.PixmapCache.getIcon("poslookbehind"))
76 self.neglookbehindButton.setIcon( 76 self.neglookbehindButton.setIcon(
77 UI.PixmapCache.getIcon("neglookbehind.png")) 77 UI.PixmapCache.getIcon("neglookbehind"))
78 self.undoButton.setIcon(UI.PixmapCache.getIcon("editUndo.png")) 78 self.undoButton.setIcon(UI.PixmapCache.getIcon("editUndo"))
79 self.redoButton.setIcon(UI.PixmapCache.getIcon("editRedo.png")) 79 self.redoButton.setIcon(UI.PixmapCache.getIcon("editRedo"))
80 80
81 self.namedGroups = re.compile(r"""\(?P<([^>]+)>""").findall 81 self.namedGroups = re.compile(r"""\(?P<([^>]+)>""").findall
82 82
83 # start the PyQt5 server part 83 # start the PyQt5 server part
84 self.__pyqt5Available = False 84 self.__pyqt5Available = False

eric ide

mercurial