|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
25 #ifndef ACTIONSTATEVIEWER_H
26 #define ACTIONSTATEVIEWER_H
30 #include <QStackedWidget>
56 virtual void refresh(Viewer* whoIsAsking =
nullptr) {};
79 #endif // ACTIONSTATEVIEWER_H
ActionStateWidget * getWidget()
Definition: ActionState.cpp:76
The state (in a state machine point of view) corresponding to the current processed action.
Definition: ActionState.h:48
void setComponents(QStringList)
set the list of component class names managed by this viewer
Definition: Viewer.cpp:94
Q_INVOKABLE ActionStateViewer(QString name)
Definition: ActionStateViewer.cpp:37
QString name
the viewer's name
Definition: ActionStateViewer.h:90
void setState(ActionState *actionState)
set the current state
Definition: ActionStateViewer.cpp:68
int emptyActionWidgetIndex
index of the empty widget, used when no action is active or when no action has been used for the curr...
Definition: ActionStateViewer.h:98
virtual QWidget * getWidget()
get the viewer widget.
Definition: ActionStateViewer.cpp:44
QStackedWidget * actionStateWidgetStack
actions stacked widget of the viewer
Definition: ActionStateViewer.h:93
The current action state viewer.
Definition: ActionStateViewer.h:45
Viewer is an abstract class that is the base class for all viewers.
Definition: Viewer.h:180
QWidget * myWidget
the viewer's widget
Definition: ActionStateViewer.h:87
virtual void refresh(Viewer *whoIsAsking=nullptr)
refresh the view (can be interesting to know which other viewer is calling this)
Definition: ActionStateViewer.h:79