25 #ifndef ACTIONSTATEVIEWER_H
26 #define ACTIONSTATEVIEWER_H
30 #include <QStackedWidget>
56 virtual void refresh(Viewer* whoIsAsking =
nullptr) {};
70 QStackedWidget* actionStateWidgetStack;
75 int emptyActionWidgetIndex;
The current action state viewer.
Definition: ActionStateViewer.h:45
virtual QWidget * getWidget()
get the viewer widget.
Definition: ActionStateViewer.cpp:44
virtual void refresh(Viewer *whoIsAsking=nullptr)
refresh the view (can be interesting to know which other viewer is calling this)
Definition: ActionStateViewer.h:56
void setState(ActionState *actionState)
set the current state
Definition: ActionStateViewer.cpp:68
Q_INVOKABLE ActionStateViewer(QString name)
Definition: ActionStateViewer.cpp:37
The state (in a state machine point of view) corresponding to the current processed action.
Definition: ActionState.h:48
Viewer is an abstract class that is the base class for all viewers.
Definition: Viewer.h:181