263 """ |
263 """ |
264 Private slot to handle the repeat toolbutton. |
264 Private slot to handle the repeat toolbutton. |
265 """ |
265 """ |
266 from .PyRegExpWizardRepeatDialog import PyRegExpWizardRepeatDialog |
266 from .PyRegExpWizardRepeatDialog import PyRegExpWizardRepeatDialog |
267 dlg = PyRegExpWizardRepeatDialog(self) |
267 dlg = PyRegExpWizardRepeatDialog(self) |
268 if dlg.exec_() == QDialog.Accepted: |
268 if dlg.exec() == QDialog.Accepted: |
269 self.__insertString(dlg.getRepeat()) |
269 self.__insertString(dlg.getRepeat()) |
270 |
270 |
271 @pyqtSlot() |
271 @pyqtSlot() |
272 def on_charButton_clicked(self): |
272 def on_charButton_clicked(self): |
273 """ |
273 """ |
275 """ |
275 """ |
276 from .PyRegExpWizardCharactersDialog import ( |
276 from .PyRegExpWizardCharactersDialog import ( |
277 PyRegExpWizardCharactersDialog |
277 PyRegExpWizardCharactersDialog |
278 ) |
278 ) |
279 dlg = PyRegExpWizardCharactersDialog(self) |
279 dlg = PyRegExpWizardCharactersDialog(self) |
280 if dlg.exec_() == QDialog.Accepted: |
280 if dlg.exec() == QDialog.Accepted: |
281 self.__insertString(dlg.getCharacters()) |
281 self.__insertString(dlg.getCharacters()) |
282 |
282 |
283 @pyqtSlot() |
283 @pyqtSlot() |
284 def on_undoButton_clicked(self): |
284 def on_undoButton_clicked(self): |
285 """ |
285 """ |