# -*- coding: utf-8 -*- ################################################################################ ## Form generated from reading UI file 'RegexSettings.ui' ## ## Created by: Qt User Interface Compiler version 6.2.3 ## ## WARNING! All changes made in this file will be lost when recompiling UI file! ################################################################################ from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale, QMetaObject, QObject, QPoint, QRect, QSize, QTime, QUrl, Qt) from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor, QFont, QFontDatabase, QGradient, QIcon, QImage, QKeySequence, QLinearGradient, QPainter, QPalette, QPixmap, QRadialGradient, QTransform) from PySide6.QtWidgets import (QAbstractButton, QApplication, QComboBox, QDialog, QDialogButtonBox, QFontComboBox, QFormLayout, QGridLayout, QGroupBox, QLabel, QLineEdit, QPushButton, QSizePolicy, QSpacerItem, QToolButton, QVBoxLayout, QWidget) class Ui_RegexSettings(object): def setupUi(self, RegexSettings): if not RegexSettings.objectName(): RegexSettings.setObjectName(u"RegexSettings") RegexSettings.setWindowModality(Qt.ApplicationModal) RegexSettings.resize(463, 269) self.verticalLayout = QVBoxLayout(RegexSettings) self.verticalLayout.setObjectName(u"verticalLayout") self.formLayout = QFormLayout() self.formLayout.setObjectName(u"formLayout") self.formLayout.setFieldGrowthPolicy(QFormLayout.AllNonFixedFieldsGrow) self.formLayout.setContentsMargins(9, -1, 10, -1) self.le_regexName = QLineEdit(RegexSettings) self.le_regexName.setObjectName(u"le_regexName") self.formLayout.setWidget(1, QFormLayout.FieldRole, self.le_regexName) self.le_regexPattern = QLineEdit(RegexSettings) self.le_regexPattern.setObjectName(u"le_regexPattern") self.formLayout.setWidget(2, QFormLayout.FieldRole, self.le_regexPattern) self.lbl_regexName = QLabel(RegexSettings) self.lbl_regexName.setObjectName(u"lbl_regexName") self.formLayout.setWidget(1, QFormLayout.LabelRole, self.lbl_regexName) self.lbl_regexPattern = QLabel(RegexSettings) self.lbl_regexPattern.setObjectName(u"lbl_regexPattern") self.formLayout.setWidget(2, QFormLayout.LabelRole, self.lbl_regexPattern) self.verticalLayout.addLayout(self.formLayout) self.gbox_font = QGroupBox(RegexSettings) self.gbox_font.setObjectName(u"gbox_font") self.gbox_font.setEnabled(True) self.gbox_font.setChecked(False) self.gridLayout_3 = QGridLayout(self.gbox_font) self.gridLayout_3.setObjectName(u"gridLayout_3") self.lbl_echoFont = QLabel(self.gbox_font) self.lbl_echoFont.setObjectName(u"lbl_echoFont") self.gridLayout_3.addWidget(self.lbl_echoFont, 0, 0, 1, 1) self.lbl_echoStyle = QLabel(self.gbox_font) self.lbl_echoStyle.setObjectName(u"lbl_echoStyle") self.lbl_echoStyle.setMaximumSize(QSize(16777215, 20)) self.gridLayout_3.addWidget(self.lbl_echoStyle, 2, 0, 1, 1) self.cb_regexFont = QFontComboBox(self.gbox_font) self.cb_regexFont.setObjectName(u"cb_regexFont") self.cb_regexFont.setEditable(False) self.cb_regexFont.setFrame(True) self.gridLayout_3.addWidget(self.cb_regexFont, 0, 1, 1, 4) self.cb_regexFontSize = QComboBox(self.gbox_font) self.cb_regexFontSize.setObjectName(u"cb_regexFontSize") self.gridLayout_3.addWidget(self.cb_regexFontSize, 1, 1, 1, 4) self.lbl_echoFontSize = QLabel(self.gbox_font) self.lbl_echoFontSize.setObjectName(u"lbl_echoFontSize") self.gridLayout_3.addWidget(self.lbl_echoFontSize, 1, 0, 1, 1) self.btn_regexFontBold = QToolButton(self.gbox_font) self.btn_regexFontBold.setObjectName(u"btn_regexFontBold") font = QFont() font.setPointSize(10) font.setBold(True) self.btn_regexFontBold.setFont(font) self.btn_regexFontBold.setCheckable(True) self.gridLayout_3.addWidget(self.btn_regexFontBold, 2, 1, 1, 1) self.btn_regexFontColor = QPushButton(self.gbox_font) self.btn_regexFontColor.setObjectName(u"btn_regexFontColor") self.gridLayout_3.addWidget(self.btn_regexFontColor, 2, 4, 1, 1) self.btn_regexFontItalic = QToolButton(self.gbox_font) self.btn_regexFontItalic.setObjectName(u"btn_regexFontItalic") font1 = QFont() font1.setPointSize(10) font1.setItalic(True) self.btn_regexFontItalic.setFont(font1) self.btn_regexFontItalic.setCheckable(True) self.gridLayout_3.addWidget(self.btn_regexFontItalic, 2, 2, 1, 1) self.btn_regexFontUnderline = QToolButton(self.gbox_font) self.btn_regexFontUnderline.setObjectName(u"btn_regexFontUnderline") font2 = QFont() font2.setPointSize(10) font2.setUnderline(True) self.btn_regexFontUnderline.setFont(font2) self.btn_regexFontUnderline.setCheckable(True) self.gridLayout_3.addWidget(self.btn_regexFontUnderline, 2, 3, 1, 1) self.gridLayout_3.setColumnStretch(1, 1) self.gridLayout_3.setColumnStretch(2, 1) self.gridLayout_3.setColumnStretch(3, 1) self.gridLayout_3.setColumnStretch(4, 1) self.gridLayout_3.setColumnMinimumWidth(0, 100) self.verticalLayout.addWidget(self.gbox_font) self.verticalSpacer = QSpacerItem(20, 40, QSizePolicy.Minimum, QSizePolicy.Expanding) self.verticalLayout.addItem(self.verticalSpacer) self.buttonBox = QDialogButtonBox(RegexSettings) self.buttonBox.setObjectName(u"buttonBox") self.buttonBox.setOrientation(Qt.Horizontal) self.buttonBox.setStandardButtons(QDialogButtonBox.Cancel|QDialogButtonBox.Ok) self.verticalLayout.addWidget(self.buttonBox) self.verticalLayout.setStretch(2, 1) self.retranslateUi(RegexSettings) self.buttonBox.accepted.connect(RegexSettings.accept) self.buttonBox.rejected.connect(RegexSettings.reject) QMetaObject.connectSlotsByName(RegexSettings) # setupUi def retranslateUi(self, RegexSettings): RegexSettings.setWindowTitle(QCoreApplication.translate("RegexSettings", u"Regex Settings", None)) self.lbl_regexName.setText(QCoreApplication.translate("RegexSettings", u"Name", None)) self.lbl_regexPattern.setText(QCoreApplication.translate("RegexSettings", u"Pattern", None)) self.gbox_font.setTitle(QCoreApplication.translate("RegexSettings", u"Font", None)) self.lbl_echoFont.setText(QCoreApplication.translate("RegexSettings", u"Family:", None)) self.lbl_echoStyle.setText(QCoreApplication.translate("RegexSettings", u"Style:", None)) self.lbl_echoFontSize.setText(QCoreApplication.translate("RegexSettings", u"Size:", None)) self.btn_regexFontBold.setText(QCoreApplication.translate("RegexSettings", u"B", None)) self.btn_regexFontColor.setText(QCoreApplication.translate("RegexSettings", u"Color", None)) self.btn_regexFontItalic.setText(QCoreApplication.translate("RegexSettings", u"I", None)) self.btn_regexFontUnderline.setText(QCoreApplication.translate("RegexSettings", u"U", None)) # retranslateUi