src/eric7/Plugins/WizardPlugins/QRegularExpressionWizard/QRegularExpressionWizardDialog.py

branch
eric7
changeset 11006
a671918232f3
parent 10933
95a15b70f7bb
child 11090
f5f5f5803935
equal deleted inserted replaced
11005:b918c6c2736b 11006:a671918232f3
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):

eric ide

mercurial