import sys
from PyQt5.QtWidgets import QApplication,QWidget,QPushButton,QHBoxLayout,QLabel
from PyQt5.QtCore import pyqtSignal, QThread, QObject
import time
class ui(QWidget):
def __init__(self):
super().__init__()
wind=QWidget(self)
wind.setWindowTitle('小例子')
wind.resize(300,200)
layou=QHBoxLayout(self)
self.btn = QPushButton('开始线程',self)
self.
pyqt5 moveToThread小例子 个人笔记
最新推荐文章于 2024-01-14 19:11:57 发布