mirror of
https://github.com/Deepshift/DeepCreamPy.git
synced 2025-01-05 21:55:57 +00:00
signals update used only for main.py UI (widget)
This commit is contained in:
parent
82f0d883f4
commit
17c5c4cadd
37
signals.py
37
signals.py
@ -16,3 +16,40 @@ class Signals(QtCore.QObject):
|
||||
# str : tells status (print in cmd for debug)
|
||||
# str : String to update label
|
||||
update_progress_LABEL = QtCore.Signal(str, str)
|
||||
|
||||
############ new ############
|
||||
|
||||
# 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…
Reference in New Issue
Block a user