eric6/UI/FindFileDialog.py

changeset 8218
7c09585bd960
parent 8149
3fefc0c430f2
child 8220
006ee31b4835
equal deleted inserted replaced
8217:385f60c94548 8218:7c09585bd960
53 53
54 @param project reference to the project object 54 @param project reference to the project object
55 @param replaceMode flag indicating the replace dialog mode (boolean) 55 @param replaceMode flag indicating the replace dialog mode (boolean)
56 @param parent parent widget of this dialog (QWidget) 56 @param parent parent widget of this dialog (QWidget)
57 """ 57 """
58 super(FindFileDialog, self).__init__(parent) 58 super().__init__(parent)
59 self.setupUi(self) 59 self.setupUi(self)
60 self.setWindowFlags(Qt.WindowType.Window) 60 self.setWindowFlags(Qt.WindowType.Window)
61 61
62 self.dirPicker.setMode(E5PathPickerModes.DirectoryMode) 62 self.dirPicker.setMode(E5PathPickerModes.DirectoryMode)
63 self.dirPicker.setInsertPolicy(QComboBox.InsertPolicy.InsertAtTop) 63 self.dirPicker.setInsertPolicy(QComboBox.InsertPolicy.InsertAtTop)
195 195
196 if self.__replaceMode: 196 if self.__replaceMode:
197 self.findList.clear() 197 self.findList.clear()
198 self.replacetextCombo.setEditText("") 198 self.replacetextCombo.setEditText("")
199 199
200 super(FindFileDialog, self).show() 200 super().show()
201 201
202 def on_findtextCombo_editTextChanged(self, text): 202 def on_findtextCombo_editTextChanged(self, text):
203 """ 203 """
204 Private slot to handle the editTextChanged signal of the find 204 Private slot to handle the editTextChanged signal of the find
205 text combo. 205 text combo.

eric ide

mercurial