eric6/HexEdit/HexEditSearchReplaceWidget.py

changeset 7533
88261c96484b
parent 7360
9190402e4505
child 7628
f904d0eef264
equal deleted inserted replaced
7532:1358e9d67a1c 7533:88261c96484b
64 else: 64 else:
65 from .Ui_HexEditSearchWidget import Ui_HexEditSearchWidget 65 from .Ui_HexEditSearchWidget import Ui_HexEditSearchWidget
66 self.__ui = Ui_HexEditSearchWidget() 66 self.__ui = Ui_HexEditSearchWidget()
67 self.__ui.setupUi(self) 67 self.__ui.setupUi(self)
68 68
69 self.__ui.closeButton.setIcon(UI.PixmapCache.getIcon("close.png")) 69 self.__ui.closeButton.setIcon(UI.PixmapCache.getIcon("close"))
70 self.__ui.findPrevButton.setIcon( 70 self.__ui.findPrevButton.setIcon(
71 UI.PixmapCache.getIcon("1leftarrow.png")) 71 UI.PixmapCache.getIcon("1leftarrow"))
72 self.__ui.findNextButton.setIcon( 72 self.__ui.findNextButton.setIcon(
73 UI.PixmapCache.getIcon("1rightarrow.png")) 73 UI.PixmapCache.getIcon("1rightarrow"))
74 74
75 if replace: 75 if replace:
76 self.__ui.replaceButton.setIcon( 76 self.__ui.replaceButton.setIcon(
77 UI.PixmapCache.getIcon("editReplace.png")) 77 UI.PixmapCache.getIcon("editReplace"))
78 self.__ui.replaceSearchButton.setIcon( 78 self.__ui.replaceSearchButton.setIcon(
79 UI.PixmapCache.getIcon("editReplaceSearch.png")) 79 UI.PixmapCache.getIcon("editReplaceSearch"))
80 self.__ui.replaceAllButton.setIcon( 80 self.__ui.replaceAllButton.setIcon(
81 UI.PixmapCache.getIcon("editReplaceAll.png")) 81 UI.PixmapCache.getIcon("editReplaceAll"))
82 82
83 for dataFormat in formatOrder: 83 for dataFormat in formatOrder:
84 formatStr, validator = self.__formatAndValidators[dataFormat] 84 formatStr, validator = self.__formatAndValidators[dataFormat]
85 self.__ui.findFormatCombo.addItem(formatStr, dataFormat) 85 self.__ui.findFormatCombo.addItem(formatStr, dataFormat)
86 if replace: 86 if replace:

eric ide

mercurial