57 #endif // OPENACTION_H virtual ~OpenAction()
Default Destructor.
Definition: OpenAction.cpp:56
Action class is an abstract class that enables you to build a action (generally on a component)...
Definition: Action.h:207
This class describes what is a generic Action extension.
Definition: ActionExtension.h:59
ApplyStatus
describes what happened during the application of an algorithm (i.e. results of the apply method) ...
Definition: Action.h:223
When triggered, open a file open dialog box.
Definition: OpenAction.h:39
OpenAction(camitk::ActionExtension *)
Default Constructor.
Definition: OpenAction.cpp:38
virtual QWidget * getWidget()
Returns NULL: no permanent widget for this action. The GUI is shown as a one-shot dialog in apply...
Definition: OpenAction.cpp:60
virtual ApplyStatus apply()
apply the action i.e. show a file dialog and open the selected file(s)
Definition: OpenAction.cpp:65