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