26 #ifndef ACTIONVIEWER_H 
   27 #define ACTIONVIEWER_H 
   33 #include <Component.h> 
   38 #include <QVBoxLayout> 
   39 #include <QPushButton> 
   40 #include <QStackedWidget> 
   78     virtual void refresh(Viewer* whoIsAsking = 
nullptr) 
override;
 
   86     virtual void setSearchPanelVisible(
bool);
 
  101     enum UpdateReason {ActionFamilyChanged, ActionNameChanged, ActionTagChanged, ViewerRefresh};
 
  109     void updateSearchPanel(UpdateReason);
 
  115     QComboBox* familyComboBox;
 
  118     QComboBox* nameComboBox;
 
  124     QLineEdit* tagLineEdit;
 
  127     QStackedWidget* actionWidgetStack;
 
  130     QFrame* searchFramePanel;
 
  133     int emptyActionWidgetIndex;
 
  136     QMap<camitk::ComponentList, camitk::Action*> widgetHistory;
 
#define ACTIONVIEWER_API
Definition: ActionViewerAPI.h:54
ActionViewer is the viewer used to manage the actions.
Definition: ActionViewer.h:63
Action class is an abstract class that enables you to build a action (generally on a component).
Definition: Action.h:209
Viewer is an abstract class that is the base class for all viewers.
Definition: Viewer.h:181
virtual QWidget * getWidget()=0
get the viewer widget.
virtual void refresh(Viewer *whoIsAsking=nullptr)=0
refresh the view (can be interesting to know which other viewer is calling this)