5 |
5 |
6 """ |
6 """ |
7 Module implementing the QRegularExpression wizard dialog. |
7 Module implementing the QRegularExpression wizard dialog. |
8 """ |
8 """ |
9 |
9 |
|
10 import json |
10 import os |
11 import os |
11 import pathlib |
12 import pathlib |
12 import re |
13 import re |
13 import json |
14 |
14 |
15 from PyQt6.QtCore import QByteArray, QProcess, pyqtSlot |
15 from PyQt6.QtCore import pyqtSlot, QProcess, QByteArray |
|
16 from PyQt6.QtGui import QClipboard, QTextCursor |
16 from PyQt6.QtGui import QClipboard, QTextCursor |
17 from PyQt6.QtWidgets import ( |
17 from PyQt6.QtWidgets import ( |
|
18 QApplication, |
|
19 QDialog, |
|
20 QDialogButtonBox, |
|
21 QInputDialog, |
|
22 QTableWidgetItem, |
|
23 QVBoxLayout, |
18 QWidget, |
24 QWidget, |
19 QDialog, |
|
20 QInputDialog, |
|
21 QApplication, |
|
22 QDialogButtonBox, |
|
23 QVBoxLayout, |
|
24 QTableWidgetItem, |
|
25 ) |
25 ) |
26 |
26 |
27 from eric7.EricWidgets import EricMessageBox, EricFileDialog |
27 from eric7 import Globals, Preferences, Utilities |
|
28 from eric7.EricGui import EricPixmapCache |
|
29 from eric7.EricWidgets import EricFileDialog, EricMessageBox |
28 from eric7.EricWidgets.EricMainWindow import EricMainWindow |
30 from eric7.EricWidgets.EricMainWindow import EricMainWindow |
29 |
31 |
30 from .Ui_QRegularExpressionWizardDialog import Ui_QRegularExpressionWizardDialog |
32 from .Ui_QRegularExpressionWizardDialog import Ui_QRegularExpressionWizardDialog |
31 |
|
32 from eric7.EricGui import EricPixmapCache |
|
33 |
|
34 from eric7 import Globals, Preferences, Utilities |
|
35 |
33 |
36 |
34 |
37 class QRegularExpressionWizardWidget(QWidget, Ui_QRegularExpressionWizardDialog): |
35 class QRegularExpressionWizardWidget(QWidget, Ui_QRegularExpressionWizardDialog): |
38 """ |
36 """ |
39 Class implementing the QRegularExpression wizard dialog. |
37 Class implementing the QRegularExpression wizard dialog. |