eric6/HexEdit/HexEditSearchReplaceWidget.py

changeset 8218
7c09585bd960
parent 8143
2c730d5fd177
equal deleted inserted replaced
8217:385f60c94548 8218:7c09585bd960
32 @param replace flag indicating a replace widget 32 @param replace flag indicating a replace widget
33 @type bool 33 @type bool
34 @param parent reference to the parent widget 34 @param parent reference to the parent widget
35 @type QWidget 35 @type QWidget
36 """ 36 """
37 super(HexEditSearchReplaceWidget, self).__init__(parent) 37 super().__init__(parent)
38 38
39 self.__replace = replace 39 self.__replace = replace
40 self.__editor = editor 40 self.__editor = editor
41 41
42 # keep this in sync with the logic in __getContent() 42 # keep this in sync with the logic in __getContent()
459 """ 459 """
460 if self.__replace: 460 if self.__replace:
461 self.__showReplace(text) 461 self.__showReplace(text)
462 else: 462 else:
463 self.__showFind(text) 463 self.__showFind(text)
464 super(HexEditSearchReplaceWidget, self).show() 464 super().show()
465 self.activateWindow() 465 self.activateWindow()
466 466
467 @pyqtSlot() 467 @pyqtSlot()
468 def on_closeButton_clicked(self): 468 def on_closeButton_clicked(self):
469 """ 469 """

eric ide

mercurial