Class sh::ui::ActionExecutionInfoPanel

class sh::ui::ActionExecutionInfoPanel

Abstract class for a status bar info-panel for an action execution.

Subclassed by sh::ui::qt::QtActionExecutionInfoPanel, sh::ui::web::WebActionExecutionInfoPanel

Public Functions

void setLabel(QString s) = 0

Sets the label text. .

void setProgress(bool isProgressDeterminate, quint64 progressDone, quint64 progressAll) = 0

Sets the progress. .

void setForceForeground(bool v) = 0

Sets if the associated action is currently forced to be visible in foreground. .

void setPanelVisible(bool v) = 0

Sets if the panel is visible. .

void setWidth(int width) = 0

Sets the panel with (in pixels). .

void onClicked(std::function<void()> fctQObject *owner = 0, )

Sets a handler for a click on the button (optionally bound to an owner lifetime).

void onDestroyed(std::function<void()> fctQObject *owner = 0, )

Sets a handler for panel removal (optionally bound to an owner lifetime).

void onVisibilityChanged(std::function<void()> fctQObject *owner = 0, )

Sets a handler for panel visibility changes (optionally bound to an owner lifetime).

~ActionExecutionInfoPanel()