代码拉取完成,页面将自动刷新
# -*- coding: utf-8 -*-
################################################################################
## Form generated from reading UI file 'Converter.ui'
##
## Created by: Qt User Interface Compiler version 6.4.2
##
## 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 (QApplication, QComboBox, QGridLayout, QLabel,
QLineEdit, QPushButton, QSizePolicy, QWidget)
class Ui_Form(object):
def setupUi(self, Form):
if not Form.objectName():
Form.setObjectName(u"Form")
Form.resize(354, 245)
font = QFont()
font.setFamilies([u"Microsoft JhengHei UI"])
Form.setFont(font)
Form.setStyleSheet(u".QComboBox {\n"
" border-radius: 5%;\n"
"}\n"
"\n"
".QLineEdit {\n"
" border-radius: 5%;\n"
"}\n"
"\n"
".QComboBox:hover {\n"
" background-color: rgb(170, 255, 255);\n"
"}\n"
"\n"
".QLineEdit:hover {\n"
" background-color: rgb(170, 255, 255);\n"
"}")
self.gridLayout_2 = QGridLayout(Form)
self.gridLayout_2.setObjectName(u"gridLayout_2")
self.gridLayout = QGridLayout()
self.gridLayout.setObjectName(u"gridLayout")
self.twoInputEditLine = QLineEdit(Form)
self.twoInputEditLine.setObjectName(u"twoInputEditLine")
self.twoInputEditLine.setMinimumSize(QSize(100, 30))
self.gridLayout.addWidget(self.twoInputEditLine, 4, 0, 1, 1)
self.dataTypeComboBox = QComboBox(Form)
self.dataTypeComboBox.setObjectName(u"dataTypeComboBox")
self.dataTypeComboBox.setMinimumSize(QSize(0, 30))
self.dataTypeComboBox.setMaximumSize(QSize(16777215, 16777215))
self.gridLayout.addWidget(self.dataTypeComboBox, 2, 0, 1, 2)
self.transNumLabel = QLabel(Form)
self.transNumLabel.setObjectName(u"transNumLabel")
self.transNumLabel.setMaximumSize(QSize(16777215, 40))
font1 = QFont()
font1.setPointSize(30)
self.transNumLabel.setFont(font1)
self.gridLayout.addWidget(self.transNumLabel, 1, 0, 1, 1)
self.oneInputEditLine = QLineEdit(Form)
self.oneInputEditLine.setObjectName(u"oneInputEditLine")
self.oneInputEditLine.setMinimumSize(QSize(100, 30))
self.gridLayout.addWidget(self.oneInputEditLine, 3, 0, 1, 1)
self.originNumLabel = QLabel(Form)
self.originNumLabel.setObjectName(u"originNumLabel")
self.originNumLabel.setMaximumSize(QSize(100, 25))
font2 = QFont()
font2.setFamilies([u"\u963f\u91cc\u5df4\u5df4\u666e\u60e0\u4f53 Medium"])
font2.setPointSize(16)
self.originNumLabel.setFont(font2)
self.originNumLabel.setStyleSheet(u"color: rgb(155, 155, 155);")
self.gridLayout.addWidget(self.originNumLabel, 0, 0, 1, 1)
self.oneComboBox = QComboBox(Form)
self.oneComboBox.setObjectName(u"oneComboBox")
self.oneComboBox.setMinimumSize(QSize(150, 30))
self.oneComboBox.setMaximumSize(QSize(16777215, 16777215))
self.gridLayout.addWidget(self.oneComboBox, 3, 1, 1, 1)
self.twoComboBox = QComboBox(Form)
self.twoComboBox.setObjectName(u"twoComboBox")
self.twoComboBox.setMinimumSize(QSize(150, 30))
self.twoComboBox.setMaximumSize(QSize(16777215, 16777215))
self.gridLayout.addWidget(self.twoComboBox, 4, 1, 1, 1)
self.gridLayout_2.addLayout(self.gridLayout, 0, 0, 1, 1)
self.pushButton = QPushButton(Form)
self.pushButton.setObjectName(u"pushButton")
self.pushButton.setMinimumSize(QSize(100, 40))
self.pushButton.setMaximumSize(QSize(16777215, 40))
self.gridLayout_2.addWidget(self.pushButton, 1, 0, 1, 1)
self.retranslateUi(Form)
QMetaObject.connectSlotsByName(Form)
# setupUi
def retranslateUi(self, Form):
Form.setWindowTitle(QCoreApplication.translate("Form", u"\u5355\u4f4d\u8f6c\u6362\u5668", None))
self.transNumLabel.setText(QCoreApplication.translate("Form", u"TextLabel", None))
self.originNumLabel.setText(QCoreApplication.translate("Form", u"TextLabel", None))
self.pushButton.setText(QCoreApplication.translate("Form", u"\u8ba1\u7b97", None))
# retranslateUi
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。