14 Star 82 Fork 40

Gitee 极速下载/DeepCreamPy

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/deeppomf/DeepCreamPy
克隆/下载
signals.py 1.43 KB
一键复制 编辑 原始数据 按行查看 历史
from PySide2 import QtCore
# Signals used for sharing status between threads(IPC, InterProcess Connection)
class Signals(QtCore.QObject):
# usage example in other class(thread) :
# → self.signals.<method_name>.emit(<parameters - type strict>)
# str : String to update label
# direct connect to decensorButton.setText(str)
update_decensorButton_Text = QtCore.Signal(str)
# bool : set QPushButton Enabled (True or False)
# direct connect to decensorButton.setEnabled(bool)
update_decensorButton_Enabled = QtCore.Signal(bool)
# direct connect to progressMessage.clear(None)
clear_progressMessage = QtCore.Signal()
# str : text to change
# direct connect to statusLabel.setText
update_statusLabel_Text = QtCore.Signal(str)
# int : value to change
# direct connect to progressBar.setValue(int)
update_ProgressBar_SET_VALUE = QtCore.Signal(int)
# int : value to change
# direct connect to progressBar.setMaximum(int)
update_ProgressBar_MAX_VALUE = QtCore.Signal(int)
# int : value to change
# direct connect to self.progressBar.setMinimum(int)
update_ProgressBar_MIN_VALUE = QtCore.Signal(int)
# str : value to change
# direct connect to self.progressCursor.insertText(str)
insertText_progressCursor = QtCore.Signal(str)
# str : value to change
# direct connect to self.progressMessage.append(str)
appendText_progressMessage = QtCore.Signal(str)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/mirrors/DeepCreamPy.git
git@gitee.com:mirrors/DeepCreamPy.git
mirrors
DeepCreamPy
DeepCreamPy
master

搜索帮助