40#include <QStackedWidget>
83 virtual void refresh(Viewer* whoIsAsking =
nullptr)
override;
96 void setSearchPanelVisible(
bool);
111 enum UpdateReason {ActionFamilyChanged, ActionNameChanged, ActionTagChanged, ViewerRefresh};
119 void updateSearchPanel(UpdateReason);
125 QComboBox* familyComboBox;
128 QComboBox* nameComboBox;
134 QLineEdit* tagLineEdit;
137 QStackedWidget* actionWidgetStack;
140 QFrame* searchFramePanel;
146 int emptyActionWidgetIndex;
149 QMap<camitk::ComponentList, camitk::Action*> widgetHistory;
168 bool eventFilter(QObject*
object, QEvent* event)
override;
#define ACTIONVIEWER_API
Definition ActionViewerAPI.h:53
ActionViewer is the viewer used to manage the actions.
Definition ActionViewer.h:67
Action class is an abstract class that enables you to build a action (generally an algorithm that wor...
Definition Action.h:215
This class describes a property object.
Definition PropertyObject.h:72
Viewer is an abstract class that is the base class for all viewers.
Definition Viewer.h:182
virtual PropertyObject * getPropertyObject()
get the viewer property object (returns nullptr by default, i.e. there are no property to edit)
Definition Viewer.h:261
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)
virtual QMenu * getMenu()
get the viewer menu (returns nullptr by default, i.e. there are no default edit menu)
Definition Viewer.h:266