228 """ |
228 """ |
229 from .QRegularExpressionWizardCharactersDialog import ( |
229 from .QRegularExpressionWizardCharactersDialog import ( |
230 QRegularExpressionWizardCharactersDialog, |
230 QRegularExpressionWizardCharactersDialog, |
231 ) |
231 ) |
232 |
232 |
233 dlg = QRegularExpressionWizardCharactersDialog(self) |
233 dlg = QRegularExpressionWizardCharactersDialog(parent=self) |
234 if dlg.exec() == QDialog.DialogCode.Accepted: |
234 if dlg.exec() == QDialog.DialogCode.Accepted: |
235 self.__insertString(dlg.getCharacters()) |
235 self.__insertString(dlg.getCharacters()) |
236 |
236 |
237 @pyqtSlot() |
237 @pyqtSlot() |
238 def on_anycharButton_clicked(self): |
238 def on_anycharButton_clicked(self): |
248 """ |
248 """ |
249 from .QRegularExpressionWizardRepeatDialog import ( |
249 from .QRegularExpressionWizardRepeatDialog import ( |
250 QRegularExpressionWizardRepeatDialog, |
250 QRegularExpressionWizardRepeatDialog, |
251 ) |
251 ) |
252 |
252 |
253 dlg = QRegularExpressionWizardRepeatDialog(self) |
253 dlg = QRegularExpressionWizardRepeatDialog(parent=self) |
254 if dlg.exec() == QDialog.DialogCode.Accepted: |
254 if dlg.exec() == QDialog.DialogCode.Accepted: |
255 self.__insertString(dlg.getRepeat()) |
255 self.__insertString(dlg.getRepeat()) |
256 |
256 |
257 @pyqtSlot() |
257 @pyqtSlot() |
258 def on_nonGroupButton_clicked(self): |
258 def on_nonGroupButton_clicked(self): |