StatusIndicator#

class StatusIndicator(main_window)[source]#

Bases: object

Methods

StatusIndicator.clear_persistent_task()

Drop the persistent message and clear the label.

StatusIndicator.connect_signals()

Connect all BackgroundTaskManager signals to StatusIndicator and TaskMonitorDialog.

StatusIndicator.hide(*args, **kwargs)

StatusIndicator.hide_progress()

Hide the center progress bar.

StatusIndicator.instance()

StatusIndicator.show(*args, **kwargs)

StatusIndicator.show_progress(title, total)

Show the center progress bar for a foreground operation.

StatusIndicator.show_task(prefix[, path, ...])

Show a status message, optionally with a path and warning color.

StatusIndicator.update_progress(current, total)

Update the center progress bar.

StatusIndicator.update_status([interaction, ...])

clear_persistent_task()[source]#

Drop the persistent message and clear the label.

connect_signals()[source]#

Connect all BackgroundTaskManager signals to StatusIndicator and TaskMonitorDialog.

hide_progress()[source]#

Hide the center progress bar.

show_progress(title, total)[source]#

Show the center progress bar for a foreground operation.

show_task(prefix, path=None, warning=False, persist=False)[source]#

Show a status message, optionally with a path and warning color.

Parameters:
prefixstr

Message text, placed before path.

pathstr, optional

Path shown with middle elision and a full-text tooltip.

warningbool, optional

Use the warning color. Defaults to False.

persistbool, optional

Keep the message until cleared and restore it after transient messages. Defaults to False.

update_progress(current, total)[source]#

Update the center progress bar.