eric6/HexEdit/HexEditGotoWidget.py

changeset 8218
7c09585bd960
parent 8143
2c730d5fd177
equal deleted inserted replaced
8217:385f60c94548 8218:7c09585bd960
28 @param editor reference to the hex editor widget 28 @param editor reference to the hex editor widget
29 @type HexEditWidget 29 @type HexEditWidget
30 @param parent reference to the parent widget 30 @param parent reference to the parent widget
31 @type QWidget 31 @type QWidget
32 """ 32 """
33 super(HexEditGotoWidget, self).__init__(parent) 33 super().__init__(parent)
34 self.setupUi(self) 34 self.setupUi(self)
35 35
36 self.__editor = editor 36 self.__editor = editor
37 37
38 # keep this in sync with the logic in on_gotoButton_clicked() 38 # keep this in sync with the logic in on_gotoButton_clicked()
118 """ 118 """
119 Public slot to show the widget. 119 Public slot to show the widget.
120 """ 120 """
121 self.offsetEdit.selectAll() 121 self.offsetEdit.selectAll()
122 self.offsetEdit.setFocus() 122 self.offsetEdit.setFocus()
123 super(HexEditGotoWidget, self).show() 123 super().show()
124 124
125 def reset(self): 125 def reset(self):
126 """ 126 """
127 Public slot to reset the input widgets. 127 Public slot to reset the input widgets.
128 """ 128 """

eric ide

mercurial