def init_widget(self):
self.setWindowTitle("QProgressBar with QThread")
form_lbx = QBoxLayout(QBoxLayout.TopToBottom, parent=self)
self.setLayout(form_lbx)
# ??? ?? ??
self.pb.clicked.connect(self.slot_clicked_button)
self.th.change_value.connect(self.pgsb.setValue)
form_lbx.addWidget(self.pgsb)
form_lbx.addWidget(self.pb)
QProgressBar_01_thread.py 文件源码
python
阅读 24
收藏 0
点赞 0
评论 0
评论列表
文章目录