Class sh::ui::web::WebActionExecutionInfoPanel

class sh::ui::web::WebActionExecutionInfoPanel : public sh::ui::ActionExecutionInfoPanel

Web based action execution info panel.

Public Functions

WebActionExecutionInfoPanel(sh::actions::ActionExecutionInfo *info, QColor color)
~WebActionExecutionInfoPanel()
void setLabel(QString s)

Sets the label text. .

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

Sets the progress. .

void setForceForeground(bool v)

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

void setPanelVisible(bool v)

Sets if the panel is visible. .

void setWidth(int width)

Sets the panel with (in pixels). .

qint64 id()
QString label()
bool isProgressDeterminate()
quint64 progressDone()
quint64 progressAll()
bool forceForeground()
bool panelVisible()
int width()
QColor color()
sh::actions::ActionExecutionInfo *info()
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).

Private Functions

void _triggerChanged()

Private Members

QColor _color
sh::actions::ActionExecutionInfo *_info
qint64 _id
QString _label
bool _isProgressDeterminate
quint64 _progressDone
quint64 _progressAll
bool _forceForeground
bool _panelVisible
int _width

Friends

friend class WebActionManager