utils.gui.pyqt.main_window.Workers.Worker.Worker

class utils.gui.pyqt.main_window.Workers.Worker.Worker(name: str)

Bases: QObject

Base class for the workers

Parameters:

name – The name of the worker

Variables:
  • name – The name of the worker

  • progress_value – The current progress value

  • progress_weight – The weight of the progress bar

  • finished – The signal to emit when the worker is finished

  • progress – The signal to emit the progress value

  • status – The signal to emit the status of the worker

Methods

blockSignals

childEvent

children

connectNotify

customEvent

deleteLater

disconnect

disconnectNotify

dumpObjectInfo

dumpObjectTree

dynamicPropertyNames

event

eventFilter

findChild

findChildren

inherits

installEventFilter

isSignalConnected

isWidgetType

isWindowType

killTimer

metaObject

moveToThread

objectName

parent

property

pyqtConfigure

Each keyword argument is either the name of a Qt property or a Qt signal.

receivers

removeEventFilter

sender

senderSignalIndex

setObjectName

setParent

setProperty

set_status

Set the weight of the progress bar

set_weight

Set the weight of the progress bar

signalsBlocked

startTimer

thread

timerEvent

tr

update_progress

Update the progress bar

Attributes

destroyed

pyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

finished

pyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

objectNameChanged

pyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

progress

pyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

staticMetaObject

status

pyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

set_status(status: str)

Set the weight of the progress bar

set_weight(weight)

Set the weight of the progress bar

update_progress(percent)

Update the progress bar