26 #ifndef ACTIONVIEWER_H 27 #define ACTIONVIEWER_H 32 #include <QVBoxLayout> 33 #include <QPushButton> 34 #include <QStackedWidget> 40 #include "Component.h" 76 virtual unsigned int numberOfViewedComponent() {
82 virtual void refresh(
Viewer *whoIsAsking = NULL);
85 virtual QWidget * getWidget(QWidget * parent = NULL);
90 void embedActionWidget(
Action *);
94 void setSearchPanelVisible(
bool);
117 enum UpdateReason {ActionFamilyChanged, ActionNameChanged, ActionTagChanged, ViewerRefresh};
151 #endif // ACTIONVIEWER_H
QComboBox * familyComboBox
Family combo box.
Definition: ActionViewer.h:126
Action class is an abstract class that enables you to build a action (generally on a component)...
Definition: Action.h:208
Viewer is an abstract viewer.
Definition: Viewer.h:55
QFrame * searchFramePanel
the search panel
Definition: ActionViewer.h:141
Definition: Action.cpp:40
#define CAMITK_API
Definition: CamiTKAPI.h:49
QWidget * myWidget
Main action widget of the viewer.
Definition: ActionViewer.h:123
QLineEdit * tagLineEdit
action tags line edit
Definition: ActionViewer.h:135
ActionViewer is the viewer used to manage the actions.
Definition: ActionViewer.h:57
QComboBox * nameComboBox
Action name combo box.
Definition: ActionViewer.h:129
int emptyActionWidgetIndex
index of the empty widget, used when no action is active or when no action has been used for the curr...
Definition: ActionViewer.h:144
Action * action
Current action.
Definition: ActionViewer.h:132
QMap< ComponentList, Action * > widgetHistory
this map stores the list of selected component and the corresponding stack index of their embedded ac...
Definition: ActionViewer.h:147
QStackedWidget * actionWidgetStack
actions stacked widget of the viewer
Definition: ActionViewer.h:138
UpdateReason
Enum the different fields of the action viewwer.
Definition: ActionViewer.h:117