--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/eric7/Plugins/WizardPlugins/QRegularExpressionWizard/Ui_QRegularExpressionWizardCharactersDialog.py Fri Jun 07 10:05:06 2024 +0200 @@ -0,0 +1,121 @@ +# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/Plugins/WizardPlugins/QRegularExpressionWizard/QRegularExpressionWizardCharactersDialog.ui' +# +# Created by: PyQt6 UI code generator 6.7.0 +# +# WARNING: Any manual changes made to this file will be lost when pyuic6 is +# run again. Do not edit this file unless you know what you are doing. + + +from PyQt6 import QtCore, QtGui, QtWidgets + + +class Ui_QRegularExpressionWizardCharactersDialog(object): + def setupUi(self, QRegularExpressionWizardCharactersDialog): + QRegularExpressionWizardCharactersDialog.setObjectName("QRegularExpressionWizardCharactersDialog") + QRegularExpressionWizardCharactersDialog.resize(850, 500) + QRegularExpressionWizardCharactersDialog.setSizeGripEnabled(True) + self.verticalLayout = QtWidgets.QVBoxLayout(QRegularExpressionWizardCharactersDialog) + self.verticalLayout.setObjectName("verticalLayout") + self.negativeCheckBox = QtWidgets.QCheckBox(parent=QRegularExpressionWizardCharactersDialog) + self.negativeCheckBox.setObjectName("negativeCheckBox") + self.verticalLayout.addWidget(self.negativeCheckBox) + self.groupBox = QtWidgets.QGroupBox(parent=QRegularExpressionWizardCharactersDialog) + self.groupBox.setObjectName("groupBox") + self.gridLayout = QtWidgets.QGridLayout(self.groupBox) + self.gridLayout.setObjectName("gridLayout") + self.wordCharCheckBox = QtWidgets.QCheckBox(parent=self.groupBox) + self.wordCharCheckBox.setObjectName("wordCharCheckBox") + self.gridLayout.addWidget(self.wordCharCheckBox, 0, 0, 1, 1) + self.digitsCheckBox = QtWidgets.QCheckBox(parent=self.groupBox) + self.digitsCheckBox.setObjectName("digitsCheckBox") + self.gridLayout.addWidget(self.digitsCheckBox, 0, 1, 1, 1) + self.newlineCheckBox = QtWidgets.QCheckBox(parent=self.groupBox) + self.newlineCheckBox.setObjectName("newlineCheckBox") + self.gridLayout.addWidget(self.newlineCheckBox, 0, 2, 1, 1) + self.nonWordCharCheckBox = QtWidgets.QCheckBox(parent=self.groupBox) + self.nonWordCharCheckBox.setObjectName("nonWordCharCheckBox") + self.gridLayout.addWidget(self.nonWordCharCheckBox, 1, 0, 1, 1) + self.nonDigitsCheckBox = QtWidgets.QCheckBox(parent=self.groupBox) + self.nonDigitsCheckBox.setObjectName("nonDigitsCheckBox") + self.gridLayout.addWidget(self.nonDigitsCheckBox, 1, 1, 1, 1) + self.nonNewlineCheckBox = QtWidgets.QCheckBox(parent=self.groupBox) + self.nonNewlineCheckBox.setObjectName("nonNewlineCheckBox") + self.gridLayout.addWidget(self.nonNewlineCheckBox, 1, 2, 1, 1) + self.whitespaceCheckBox = QtWidgets.QCheckBox(parent=self.groupBox) + self.whitespaceCheckBox.setObjectName("whitespaceCheckBox") + self.gridLayout.addWidget(self.whitespaceCheckBox, 2, 0, 1, 1) + self.horizontalWhitespaceCheckBox = QtWidgets.QCheckBox(parent=self.groupBox) + self.horizontalWhitespaceCheckBox.setObjectName("horizontalWhitespaceCheckBox") + self.gridLayout.addWidget(self.horizontalWhitespaceCheckBox, 2, 1, 1, 1) + self.verticalWhitespaceCheckBox = QtWidgets.QCheckBox(parent=self.groupBox) + self.verticalWhitespaceCheckBox.setObjectName("verticalWhitespaceCheckBox") + self.gridLayout.addWidget(self.verticalWhitespaceCheckBox, 2, 2, 1, 1) + self.nonWhitespaceCheckBox = QtWidgets.QCheckBox(parent=self.groupBox) + self.nonWhitespaceCheckBox.setObjectName("nonWhitespaceCheckBox") + self.gridLayout.addWidget(self.nonWhitespaceCheckBox, 3, 0, 1, 1) + self.nonHorizontalWhitespaceCheckBox = QtWidgets.QCheckBox(parent=self.groupBox) + self.nonHorizontalWhitespaceCheckBox.setObjectName("nonHorizontalWhitespaceCheckBox") + self.gridLayout.addWidget(self.nonHorizontalWhitespaceCheckBox, 3, 1, 1, 1) + self.nonVerticalWhitespaceCheckBox = QtWidgets.QCheckBox(parent=self.groupBox) + self.nonVerticalWhitespaceCheckBox.setObjectName("nonVerticalWhitespaceCheckBox") + self.gridLayout.addWidget(self.nonVerticalWhitespaceCheckBox, 3, 2, 1, 1) + self.verticalLayout.addWidget(self.groupBox) + self.singlesBox = QtWidgets.QGroupBox(parent=QRegularExpressionWizardCharactersDialog) + sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Expanding) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.singlesBox.sizePolicy().hasHeightForWidth()) + self.singlesBox.setSizePolicy(sizePolicy) + self.singlesBox.setObjectName("singlesBox") + self.verticalLayout.addWidget(self.singlesBox) + self.rangesBox = QtWidgets.QGroupBox(parent=QRegularExpressionWizardCharactersDialog) + sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Expanding) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.rangesBox.sizePolicy().hasHeightForWidth()) + self.rangesBox.setSizePolicy(sizePolicy) + self.rangesBox.setObjectName("rangesBox") + self.verticalLayout.addWidget(self.rangesBox) + self.buttonBox = QtWidgets.QDialogButtonBox(parent=QRegularExpressionWizardCharactersDialog) + self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) + self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) + self.buttonBox.setObjectName("buttonBox") + self.verticalLayout.addWidget(self.buttonBox) + + self.retranslateUi(QRegularExpressionWizardCharactersDialog) + self.buttonBox.accepted.connect(QRegularExpressionWizardCharactersDialog.accept) # type: ignore + self.buttonBox.rejected.connect(QRegularExpressionWizardCharactersDialog.reject) # type: ignore + QtCore.QMetaObject.connectSlotsByName(QRegularExpressionWizardCharactersDialog) + QRegularExpressionWizardCharactersDialog.setTabOrder(self.negativeCheckBox, self.wordCharCheckBox) + QRegularExpressionWizardCharactersDialog.setTabOrder(self.wordCharCheckBox, self.nonWordCharCheckBox) + QRegularExpressionWizardCharactersDialog.setTabOrder(self.nonWordCharCheckBox, self.digitsCheckBox) + QRegularExpressionWizardCharactersDialog.setTabOrder(self.digitsCheckBox, self.nonDigitsCheckBox) + QRegularExpressionWizardCharactersDialog.setTabOrder(self.nonDigitsCheckBox, self.newlineCheckBox) + QRegularExpressionWizardCharactersDialog.setTabOrder(self.newlineCheckBox, self.nonNewlineCheckBox) + QRegularExpressionWizardCharactersDialog.setTabOrder(self.nonNewlineCheckBox, self.whitespaceCheckBox) + QRegularExpressionWizardCharactersDialog.setTabOrder(self.whitespaceCheckBox, self.nonWhitespaceCheckBox) + QRegularExpressionWizardCharactersDialog.setTabOrder(self.nonWhitespaceCheckBox, self.horizontalWhitespaceCheckBox) + QRegularExpressionWizardCharactersDialog.setTabOrder(self.horizontalWhitespaceCheckBox, self.nonHorizontalWhitespaceCheckBox) + QRegularExpressionWizardCharactersDialog.setTabOrder(self.nonHorizontalWhitespaceCheckBox, self.verticalWhitespaceCheckBox) + QRegularExpressionWizardCharactersDialog.setTabOrder(self.verticalWhitespaceCheckBox, self.nonVerticalWhitespaceCheckBox) + QRegularExpressionWizardCharactersDialog.setTabOrder(self.nonVerticalWhitespaceCheckBox, self.buttonBox) + + def retranslateUi(self, QRegularExpressionWizardCharactersDialog): + _translate = QtCore.QCoreApplication.translate + QRegularExpressionWizardCharactersDialog.setWindowTitle(_translate("QRegularExpressionWizardCharactersDialog", "Editor for character sets")) + self.negativeCheckBox.setText(_translate("QRegularExpressionWizardCharactersDialog", "The defined characters should not match")) + self.groupBox.setTitle(_translate("QRegularExpressionWizardCharactersDialog", "Predefined character ranges")) + self.wordCharCheckBox.setText(_translate("QRegularExpressionWizardCharactersDialog", "Word character")) + self.digitsCheckBox.setText(_translate("QRegularExpressionWizardCharactersDialog", "Digit")) + self.newlineCheckBox.setText(_translate("QRegularExpressionWizardCharactersDialog", "Newline")) + self.nonWordCharCheckBox.setText(_translate("QRegularExpressionWizardCharactersDialog", "Non-word character")) + self.nonDigitsCheckBox.setText(_translate("QRegularExpressionWizardCharactersDialog", "Non-digit")) + self.nonNewlineCheckBox.setText(_translate("QRegularExpressionWizardCharactersDialog", "Non-newline")) + self.whitespaceCheckBox.setText(_translate("QRegularExpressionWizardCharactersDialog", "Whitespace character")) + self.horizontalWhitespaceCheckBox.setText(_translate("QRegularExpressionWizardCharactersDialog", "Horizontal whitespace character")) + self.verticalWhitespaceCheckBox.setText(_translate("QRegularExpressionWizardCharactersDialog", "Vertical whitespace character")) + self.nonWhitespaceCheckBox.setText(_translate("QRegularExpressionWizardCharactersDialog", "Non-whitespace character")) + self.nonHorizontalWhitespaceCheckBox.setText(_translate("QRegularExpressionWizardCharactersDialog", "Non-horizontal whitespace character")) + self.nonVerticalWhitespaceCheckBox.setText(_translate("QRegularExpressionWizardCharactersDialog", "Non-vertical whitespace character")) + self.singlesBox.setTitle(_translate("QRegularExpressionWizardCharactersDialog", "Single character")) + self.rangesBox.setTitle(_translate("QRegularExpressionWizardCharactersDialog", "Character ranges"))