49 Constructor |
51 Constructor |
50 |
52 |
51 @param project reference to the project object |
53 @param project reference to the project object |
52 @param parent parent widget of this dialog (QWidget) |
54 @param parent parent widget of this dialog (QWidget) |
53 """ |
55 """ |
54 super().__init__(parent) |
56 super(FindFileDialog, self).__init__(parent) |
55 self.setupUi(self) |
57 self.setupUi(self) |
56 self.setWindowFlags(Qt.WindowFlags(Qt.Window)) |
58 self.setWindowFlags(Qt.WindowFlags(Qt.Window)) |
57 |
59 |
58 self.__replaceMode = replaceMode |
60 self.__replaceMode = replaceMode |
59 |
61 |
180 |
182 |
181 if self.__replaceMode: |
183 if self.__replaceMode: |
182 self.findList.clear() |
184 self.findList.clear() |
183 self.replacetextCombo.setEditText("") |
185 self.replacetextCombo.setEditText("") |
184 |
186 |
185 super().show() |
187 super(FindFileDialog, self).show() |
186 |
188 |
187 def on_findtextCombo_editTextChanged(self, text): |
189 def on_findtextCombo_editTextChanged(self, text): |
188 """ |
190 """ |
189 Private slot to handle the editTextChanged signal of the find |
191 Private slot to handle the editTextChanged signal of the find |
190 text combo. |
192 text combo. |