Python/Thread/code/test_Qthread_0716_ui.py

50 lines
2.1 KiB
Python
Raw Permalink Normal View History

2024-04-19 19:54:41 +08:00
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'test_Qthread_0716_ui.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(676, 465)
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.test_bt = QtWidgets.QPushButton(self.centralwidget)
self.test_bt.setGeometry(QtCore.QRect(10, 50, 81, 31))
self.test_bt.setObjectName("test_bt")
self.view_1 = QtWidgets.QLabel(self.centralwidget)
self.view_1.setGeometry(QtCore.QRect(100, 50, 251, 231))
self.view_1.setText("")
self.view_1.setObjectName("view_1")
self.view_2 = QtWidgets.QLabel(self.centralwidget)
self.view_2.setGeometry(QtCore.QRect(360, 50, 251, 231))
self.view_2.setText("")
self.view_2.setObjectName("view_2")
self.textEdit = QtWidgets.QTextEdit(self.centralwidget)
self.textEdit.setGeometry(QtCore.QRect(360, 330, 261, 71))
self.textEdit.setObjectName("textEdit")
self.view_time = QtWidgets.QLabel(self.centralwidget)
self.view_time.setGeometry(QtCore.QRect(10, 10, 251, 31))
self.view_time.setText("")
self.view_time.setObjectName("view_time")
MainWindow.setCentralWidget(self.centralwidget)
self.statusbar = QtWidgets.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
self.test_bt.setText(_translate("MainWindow", "PushButton"))