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