272 """ |
272 """ |
273 Private slot to handle the repeat toolbutton. |
273 Private slot to handle the repeat toolbutton. |
274 """ |
274 """ |
275 from .PyRegExpWizardRepeatDialog import PyRegExpWizardRepeatDialog |
275 from .PyRegExpWizardRepeatDialog import PyRegExpWizardRepeatDialog |
276 |
276 |
277 dlg = PyRegExpWizardRepeatDialog(self) |
277 dlg = PyRegExpWizardRepeatDialog(parent=self) |
278 if dlg.exec() == QDialog.DialogCode.Accepted: |
278 if dlg.exec() == QDialog.DialogCode.Accepted: |
279 self.__insertString(dlg.getRepeat()) |
279 self.__insertString(dlg.getRepeat()) |
280 |
280 |
281 @pyqtSlot() |
281 @pyqtSlot() |
282 def on_charButton_clicked(self): |
282 def on_charButton_clicked(self): |
283 """ |
283 """ |
284 Private slot to handle the characters toolbutton. |
284 Private slot to handle the characters toolbutton. |
285 """ |
285 """ |
286 from .PyRegExpWizardCharactersDialog import PyRegExpWizardCharactersDialog |
286 from .PyRegExpWizardCharactersDialog import PyRegExpWizardCharactersDialog |
287 |
287 |
288 dlg = PyRegExpWizardCharactersDialog(self) |
288 dlg = PyRegExpWizardCharactersDialog(parent=self) |
289 if dlg.exec() == QDialog.DialogCode.Accepted: |
289 if dlg.exec() == QDialog.DialogCode.Accepted: |
290 self.__insertString(dlg.getCharacters()) |
290 self.__insertString(dlg.getCharacters()) |
291 |
291 |
292 @pyqtSlot() |
292 @pyqtSlot() |
293 def on_undoButton_clicked(self): |
293 def on_undoButton_clicked(self): |