pyqt_reactive.widgets.status_bar
Status Bar Widget for PyQt6
Status display with system information and current operation status. Uses hybrid approach: extracted business logic + clean PyQt6 UI.
Classes
|
PyQt6 Status Bar Widget. |
- class pyqt_reactive.widgets.status_bar.StatusBarWidget(color_scheme: ColorScheme | None = None, parent=None)[source]
PyQt6 Status Bar Widget.
Displays current status, progress, and system information. Preserves all business logic from Textual version with clean PyQt6 UI.
- status_updated
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- __init__(color_scheme: ColorScheme | None = None, parent=None)[source]
Initialize the status bar widget.
- Parameters:
color_scheme – Color scheme for styling (optional, uses default if None)
parent – Parent widget
- create_status_section() QWidget[source]
Create the status message section.
- Returns:
Widget containing status information
- create_progress_section() QWidget[source]
Create the progress section.
- Returns:
Widget containing progress information
- create_time_section() QWidget[source]
Create the time display section.
- Returns:
Widget containing time information
- set_status(message: str, status_type: str = 'info')[source]
Set status message with type.
- Parameters:
message – Status message
status_type – Type of status (info, warning, error, success)
- set_operation(operation: str)[source]
Set current operation description.
- Parameters:
operation – Operation description
- show_progress(value: int = 0, maximum: int = 100)[source]
Show progress bar with value.
- Parameters:
value – Current progress value
maximum – Maximum progress value