7 Module implementing a dialog for entering character classes. |
7 Module implementing a dialog for entering character classes. |
8 """ |
8 """ |
9 |
9 |
10 from __future__ import unicode_literals |
10 from __future__ import unicode_literals |
11 |
11 |
12 from PyQt4.QtCore import QRegExp |
12 from PyQt5.QtCore import QRegExp |
13 from PyQt4.QtGui import QWidget, QDialog, QVBoxLayout, QHBoxLayout, \ |
13 from PyQt5.QtGui import QRegExpValidator |
14 QScrollArea, QPushButton, QSpacerItem, QSizePolicy, QComboBox, \ |
14 from PyQt5.QtWidgets import QWidget, QDialog, QVBoxLayout, QHBoxLayout, \ |
15 QRegExpValidator, QLineEdit, QLabel |
15 QScrollArea, QPushButton, QSpacerItem, QSizePolicy, QComboBox, QLineEdit, \ |
|
16 QLabel |
16 |
17 |
17 from .Ui_QRegularExpressionWizardCharactersDialog import \ |
18 from .Ui_QRegularExpressionWizardCharactersDialog import \ |
18 Ui_QRegularExpressionWizardCharactersDialog |
19 Ui_QRegularExpressionWizardCharactersDialog |
19 |
20 |
20 |
21 |