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 QSizePolicy, QSpacerItem, QWidget, QHBoxLayout, \ |
13 from PyQt5.QtGui import QRegExpValidator |
|
14 from PyQt5.QtWidgets import QSizePolicy, QSpacerItem, QWidget, QHBoxLayout, \ |
14 QLineEdit, QPushButton, QDialog, QScrollArea, QComboBox, QVBoxLayout, \ |
15 QLineEdit, QPushButton, QDialog, QScrollArea, QComboBox, QVBoxLayout, \ |
15 QRegExpValidator, QLabel |
16 QLabel |
16 |
17 |
17 from .Ui_QRegExpWizardCharactersDialog import Ui_QRegExpWizardCharactersDialog |
18 from .Ui_QRegExpWizardCharactersDialog import Ui_QRegExpWizardCharactersDialog |
18 |
19 |
19 |
20 |
20 class QRegExpWizardCharactersDialog(QDialog, Ui_QRegExpWizardCharactersDialog): |
21 class QRegExpWizardCharactersDialog(QDialog, Ui_QRegExpWizardCharactersDialog): |