Skip to content

Central Widget

Main module.

Classes:

Name Description
CentralWidget

Main application window.

CentralWidget()

Bases: QWidget

Main application window.

Initialize the main window.

Methods:

Name Description
on_start

Start the process and disable UI elements.

on_stop

Stop the process.

update_title_progress

Update window title with progress percentage.

on_finished

Handle worker finished signal.

toggle_ui

Lock or unlock UI elements.

on_start() -> None

Start the process and disable UI elements.

on_stop() -> None

Stop the process.

update_title_progress(val: int) -> None

Update window title with progress percentage.

on_finished() -> None

Handle worker finished signal.

toggle_ui(*, is_enabled: bool) -> None

Lock or unlock UI elements.