代码拉取完成,页面将自动刷新
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui.ui'
#
# Created by: PyQt5 UI code generator 5.11.3
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(839, 593)
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.widget = QtWidgets.QWidget(self.centralwidget)
self.widget.setGeometry(QtCore.QRect(30, 19, 781, 21))
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.widget.sizePolicy().hasHeightForWidth())
self.widget.setSizePolicy(sizePolicy)
self.widget.setObjectName("widget")
self.pushButton_2 = QtWidgets.QPushButton(self.widget)
self.pushButton_2.setGeometry(QtCore.QRect(700, 0, 31, 21))
self.pushButton_2.setText("")
self.pushButton_2.setObjectName("pushButton_2")
self.pushButton = QtWidgets.QPushButton(self.widget)
self.pushButton.setGeometry(QtCore.QRect(740, 0, 31, 21))
self.pushButton.setText("")
self.pushButton.setObjectName("pushButton")
self.pushButton_3 = QtWidgets.QPushButton(self.widget)
self.pushButton_3.setGeometry(QtCore.QRect(0, 0, 31, 21))
self.pushButton_3.setText("")
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap("img/btn_set_normal.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.pushButton_3.setIcon(icon)
self.pushButton_3.setObjectName("pushButton_3")
self.label = QtWidgets.QLabel(self.widget)
self.label.setGeometry(QtCore.QRect(30, 0, 61, 21))
self.label.setObjectName("label")
self.widget_2 = QtWidgets.QWidget(self.centralwidget)
self.widget_2.setGeometry(QtCore.QRect(30, 40, 781, 491))
self.widget_2.setObjectName("widget_2")
self.pushButton_4 = QtWidgets.QPushButton(self.widget_2)
self.pushButton_4.setGeometry(QtCore.QRect(60, 90, 75, 23))
self.pushButton_4.setObjectName("pushButton_4")
self.groupBox = QtWidgets.QGroupBox(self.widget_2)
self.groupBox.setGeometry(QtCore.QRect(320, 100, 120, 80))
self.groupBox.setObjectName("groupBox")
self.lineEdit = QtWidgets.QLineEdit(self.widget_2)
self.lineEdit.setGeometry(QtCore.QRect(50, 220, 113, 20))
self.lineEdit.setObjectName("lineEdit")
self.tabWidget = QtWidgets.QTabWidget(self.widget_2)
self.tabWidget.setGeometry(QtCore.QRect(370, 220, 127, 80))
self.tabWidget.setObjectName("tabWidget")
self.tab = QtWidgets.QWidget()
self.tab.setObjectName("tab")
self.tabWidget.addTab(self.tab, "")
self.tab_2 = QtWidgets.QWidget()
self.tab_2.setObjectName("tab_2")
self.tabWidget.addTab(self.tab_2, "")
self.progressBar = QtWidgets.QProgressBar(self.widget_2)
self.progressBar.setGeometry(QtCore.QRect(330, 400, 118, 23))
self.progressBar.setProperty("value", 24)
self.progressBar.setObjectName("progressBar")
self.checkBox = QtWidgets.QCheckBox(self.widget_2)
self.checkBox.setGeometry(QtCore.QRect(80, 140, 71, 16))
self.checkBox.setObjectName("checkBox")
self.radioButton = QtWidgets.QRadioButton(self.widget_2)
self.radioButton.setGeometry(QtCore.QRect(70, 180, 89, 16))
self.radioButton.setObjectName("radioButton")
self.verticalScrollBar = QtWidgets.QScrollBar(self.widget_2)
self.verticalScrollBar.setGeometry(QtCore.QRect(240, 170, 16, 160))
self.verticalScrollBar.setOrientation(QtCore.Qt.Vertical)
self.verticalScrollBar.setObjectName("verticalScrollBar")
self.treeWidget = QtWidgets.QTreeWidget(self.widget_2)
self.treeWidget.setGeometry(QtCore.QRect(510, 230, 256, 192))
self.treeWidget.setObjectName("treeWidget")
self.treeWidget.headerItem().setText(0, "1")
self.widget_3 = QtWidgets.QWidget(self.centralwidget)
self.widget_3.setGeometry(QtCore.QRect(30, 530, 781, 16))
self.widget_3.setObjectName("widget_3")
self.widget_2.raise_()
self.widget.raise_()
self.widget_3.raise_()
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 839, 23))
self.menubar.setObjectName("menubar")
MainWindow.setMenuBar(self.menubar)
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
self.label.setText(_translate("MainWindow", "PYQT测试"))
self.pushButton_4.setText(_translate("MainWindow", "PushButton"))
self.groupBox.setTitle(_translate("MainWindow", "GroupBox"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MainWindow", "Tab 1"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("MainWindow", "Tab 2"))
self.checkBox.setText(_translate("MainWindow", "CheckBox"))
self.radioButton.setText(_translate("MainWindow", "RadioButton"))
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。