16 |
16 |
17 from E5Gui import E5MessageBox, E5FileDialog |
17 from E5Gui import E5MessageBox, E5FileDialog |
18 from E5Gui.E5MainWindow import E5MainWindow |
18 from E5Gui.E5MainWindow import E5MainWindow |
19 |
19 |
20 from .Ui_PyRegExpWizardDialog import Ui_PyRegExpWizardDialog |
20 from .Ui_PyRegExpWizardDialog import Ui_PyRegExpWizardDialog |
21 |
|
22 from .PyRegExpWizardRepeatDialog import PyRegExpWizardRepeatDialog |
|
23 from .PyRegExpWizardCharactersDialog import PyRegExpWizardCharactersDialog |
|
24 |
21 |
25 import UI.PixmapCache |
22 import UI.PixmapCache |
26 |
23 |
27 import Utilities |
24 import Utilities |
28 import Preferences |
25 import Preferences |
248 @pyqtSlot() |
245 @pyqtSlot() |
249 def on_repeatButton_clicked(self): |
246 def on_repeatButton_clicked(self): |
250 """ |
247 """ |
251 Private slot to handle the repeat toolbutton. |
248 Private slot to handle the repeat toolbutton. |
252 """ |
249 """ |
|
250 from .PyRegExpWizardRepeatDialog import PyRegExpWizardRepeatDialog |
253 dlg = PyRegExpWizardRepeatDialog(self) |
251 dlg = PyRegExpWizardRepeatDialog(self) |
254 if dlg.exec_() == QDialog.Accepted: |
252 if dlg.exec_() == QDialog.Accepted: |
255 self.__insertString(dlg.getRepeat()) |
253 self.__insertString(dlg.getRepeat()) |
256 |
254 |
257 @pyqtSlot() |
255 @pyqtSlot() |
258 def on_charButton_clicked(self): |
256 def on_charButton_clicked(self): |
259 """ |
257 """ |
260 Private slot to handle the characters toolbutton. |
258 Private slot to handle the characters toolbutton. |
261 """ |
259 """ |
|
260 from .PyRegExpWizardCharactersDialog import PyRegExpWizardCharactersDialog |
262 dlg = PyRegExpWizardCharactersDialog(self) |
261 dlg = PyRegExpWizardCharactersDialog(self) |
263 if dlg.exec_() == QDialog.Accepted: |
262 if dlg.exec_() == QDialog.Accepted: |
264 self.__insertString(dlg.getCharacters()) |
263 self.__insertString(dlg.getCharacters()) |
265 |
264 |
266 @pyqtSlot() |
265 @pyqtSlot() |