# -*- coding: utf-8 -*-# Form implementation generated from reading ui file 'UI1.ui'
#
# Created by: PyQt5 UI code generator 5.13.0
#
# WARNING! All changes made in this file will be lost!
#PyCharm,从 Tools -> ExternalTools -> QtDesigner 打开 QtDesigner,打开 uiDemo3.ui 文件。from PyQt5 import QtCore, QtGui, QtWidgetsclass Ui_Form(object):def setupUi(self, Form):Form.setObjectName("Form")Form.resize(1000, 680)sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)sizePolicy.setHorizontalStretch(0)sizePolicy.setVerticalStretch(0)sizePolicy.setHeightForWidth(Form.sizePolicy().hasHeightForWidth())Form.setSizePolicy(sizePolicy)Form.setMinimumSize(QtCore.QSize(1000, 680))Form.setMaximumSize(QtCore.QSize(1000, 680))self.label_11 = QtWidgets.QLabel(Form)self.label_11.setGeometry(QtCore.QRect(40, 370, 54, 12))self.label_11.setText("")self.label_11.setObjectName("label_11")self.label_2 = QtWidgets.QLabel(Form)self.label_2.setGeometry(QtCore.QRect(20, 60, 54, 16))font = QtGui.QFont()font.setFamily("3ds")font.setPointSize(10)font.setBold(True)font.setWeight(75)self.label_2.setFont(font)self.label_2.setObjectName("label_2")self.close_button = QtWidgets.QPushButton(Form)self.close_button.setGeometry(QtCore.QRect(110, 350, 75, 23))self.close_button.setObjectName("close_button")self.label_5 = QtWidgets.QLabel(Form)self.label_5.setGeometry(QtCore.QRect(20, 20, 61, 21))font = QtGui.QFont()font.setFamily("3ds")font.setPointSize(10)font.setBold(True)font.setWeight(75)self.label_5.setFont(font)self.label_5.setObjectName("label_5")self.label_10 = QtWidgets.QLabel(Form)self.label_10.setGeometry(QtCore.QRect(20, 302, 54, 20))font = QtGui.QFont()font.setFamily("3ds")font.setPointSize(10)font.setBold(True)font.setWeight(75)self.label_10.setFont(font)self.label_10.setObjectName("label_10")self.s1__box_1 = QtWidgets.QPushButton(Form)self.s1__box_1.setGeometry(QtCore.QRect(100, 50, 75, 23))self.s1__box_1.setObjectName("s1__box_1")self.label_8 = QtWidgets.QLabel(Form)self.label_8.setGeometry(QtCore.QRect(20, 220, 54, 21))font = QtGui.QFont()font.setFamily("3ds")font.setPointSize(10)font.setBold(True)font.setWeight(75)self.label_8.setFont(font)self.label_8.setObjectName("label_8")self.label_6 = QtWidgets.QLabel(Form)self.label_6.setGeometry(QtCore.QRect(20, 100, 61, 16))font = QtGui.QFont()font.setFamily("3ds")font.setPointSize(10)font.setBold(True)font.setWeight(75)self.label_6.setFont(font)self.label_6.setObjectName("label_6")self.label_12 = QtWidgets.QLabel(Form)self.label_12.setGeometry(QtCore.QRect(30, 440, 54, 12))self.label_12.setText("")self.label_12.setObjectName("label_12")self.label_7 = QtWidgets.QLabel(Form)self.label_7.setGeometry(QtCore.QRect(20, 180, 51, 20))font = QtGui.QFont()font.setFamily("3ds")font.setPointSize(10)font.setBold(True)font.setWeight(75)self.label_7.setFont(font)self.label_7.setObjectName("label_7")self.label_9 = QtWidgets.QLabel(Form)self.label_9.setGeometry(QtCore.QRect(20, 260, 54, 16))font = QtGui.QFont()font.setFamily("3ds")font.setPointSize(10)font.setBold(True)font.setWeight(75)self.label_9.setFont(font)self.label_9.setObjectName("label_9")self.state_label = QtWidgets.QLabel(Form)self.state_label.setGeometry(QtCore.QRect(23, 130, 211, 31))font = QtGui.QFont()font.setFamily("微软雅黑")font.setPointSize(11)font.setBold(True)font.setWeight(75)self.state_label.setFont(font)self.state_label.setText("")self.state_label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)self.state_label.setWordWrap(True)self.state_label.setObjectName("state_label")self.open_button = QtWidgets.QPushButton(Form)self.open_button.setGeometry(QtCore.QRect(20, 350, 75, 23))self.open_button.setObjectName("open_button")self.s1__box_2 = QtWidgets.QComboBox(Form)self.s1__box_2.s
pycharm python pyqt5
2025/1/19 10:16:29
来源:https://blog.csdn.net/qq_24158561/article/details/145185102
浏览:
次
关键词:pycharm python pyqt5
版权声明:
本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。
我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com