219 """ |
219 """ |
220 from .QRegularExpressionWizardCharactersDialog import ( |
220 from .QRegularExpressionWizardCharactersDialog import ( |
221 QRegularExpressionWizardCharactersDialog |
221 QRegularExpressionWizardCharactersDialog |
222 ) |
222 ) |
223 dlg = QRegularExpressionWizardCharactersDialog(self) |
223 dlg = QRegularExpressionWizardCharactersDialog(self) |
224 if dlg.exec_() == QDialog.Accepted: |
224 if dlg.exec() == QDialog.Accepted: |
225 self.__insertString(dlg.getCharacters()) |
225 self.__insertString(dlg.getCharacters()) |
226 |
226 |
227 @pyqtSlot() |
227 @pyqtSlot() |
228 def on_anycharButton_clicked(self): |
228 def on_anycharButton_clicked(self): |
229 """ |
229 """ |
238 """ |
238 """ |
239 from .QRegularExpressionWizardRepeatDialog import ( |
239 from .QRegularExpressionWizardRepeatDialog import ( |
240 QRegularExpressionWizardRepeatDialog |
240 QRegularExpressionWizardRepeatDialog |
241 ) |
241 ) |
242 dlg = QRegularExpressionWizardRepeatDialog(self) |
242 dlg = QRegularExpressionWizardRepeatDialog(self) |
243 if dlg.exec_() == QDialog.Accepted: |
243 if dlg.exec() == QDialog.Accepted: |
244 self.__insertString(dlg.getRepeat()) |
244 self.__insertString(dlg.getRepeat()) |
245 |
245 |
246 @pyqtSlot() |
246 @pyqtSlot() |
247 def on_nonGroupButton_clicked(self): |
247 def on_nonGroupButton_clicked(self): |
248 """ |
248 """ |