utils.gui.pyqt.main_window.Workers.Worker.Worker
- class utils.gui.pyqt.main_window.Workers.Worker.Worker(name: str)
Bases:
QObjectBase 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
blockSignalschildEventchildrenconnectNotifycustomEventdeleteLaterdisconnectdisconnectNotifydumpObjectInfodumpObjectTreedynamicPropertyNameseventeventFilterfindChildfindChildreninheritsinstallEventFilterisSignalConnectedisWidgetTypeisWindowTypekillTimermetaObjectmoveToThreadobjectNameparentpropertypyqtConfigureEach keyword argument is either the name of a Qt property or a Qt signal.
receiversremoveEventFiltersendersenderSignalIndexsetObjectNamesetParentsetPropertySet the weight of the progress bar
Set the weight of the progress bar
signalsBlockedstartTimerthreadtimerEventtrUpdate the progress bar
Attributes
destroyedpyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
finishedpyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
objectNameChangedpyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
progresspyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
staticMetaObjectstatuspyqtSignal(*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