pyqt_reactive.widgets.shared.manager_status_controller

Status-label presentation and scrolling for manager widgets.

Classes

ManagerStatusController(enable_scrolling[, ...])

Owns manager status text rendering and optional marquee scrolling.

class pyqt_reactive.widgets.shared.manager_status_controller.ManagerStatusController(enable_scrolling: bool, presentation_strategy: Any = None, scroll_timer: QTimer | None = None, scroll_position: int = 0, single_message_width: int = 0, current_message: str = 'Ready')[source]

Owns manager status text rendering and optional marquee scrolling.

enable_scrolling: bool
presentation_strategy: Any = None
scroll_timer: QTimer | None = None
scroll_position: int = 0
single_message_width: int = 0
current_message: str = 'Ready'
update(*, message: str, context: Any, status_label: QLabel | None, status_scroll: Any | None) None[source]

Render a status message, starting marquee scrolling when configured.

recalculate_after_resize(*, context: Any, status_label: QLabel | None, status_scroll: Any | None) None[source]

Re-apply the current message so scroll duplication matches new width.

__init__(enable_scrolling: bool, presentation_strategy: Any = None, scroll_timer: QTimer | None = None, scroll_position: int = 0, single_message_width: int = 0, current_message: str = 'Ready') None