def make_progress_bar(self, parent):
horizontalLayout_2 = QtWidgets.QHBoxLayout()
horizontalLayout_2.setObjectName("horizontalLayout_2")
self.loading_stat = QtWidgets.QLabel(parent)
horizontalLayout_2.addWidget(self.loading_stat)
self.progressbar_loading = QtWidgets.QProgressBar(parent)
horizontalLayout_2.addWidget(self.progressbar_loading)
self.stop_button = QtWidgets.QPushButton(parent)
self.stop_button.setMaximumSize(QtCore.QSize(50, 30))
self.stop_button.setText("stop")
horizontalLayout_2.addWidget(self.stop_button)
self.stop_button.clicked.connect(self.stop_button_clicked)
return horizontalLayout_2
评论列表
文章目录