26 #ifndef OPEN_WORKSPACE_H
27 #define OPEN_WORKSPACE_H
61 QLineEdit* fileBrowserLineEdit;
When triggered, the OpenFile automatically opens the given file.
Definition: OpenWorkspace.h:40
virtual QWidget * getWidget()
Returns NULL: no permanent widget for this action. The GUI is shown as a one-shot dialog in apply.
Definition: OpenWorkspace.cpp:70
virtual camitk::Action::ApplyStatus apply()
apply the action i.e. show a file dialog and open the selected file(s)
Definition: OpenWorkspace.cpp:112
void selectFile()
open a file dialog and set the corresponding property
Definition: OpenWorkspace.cpp:133
virtual ~OpenWorkspace()
Default Destructor.
Definition: OpenWorkspace.cpp:66
OpenWorkspace(camitk::ActionExtension *)
Default Constructor.
Definition: OpenWorkspace.cpp:44
This class describes what is a generic Action extension.
Definition: ActionExtension.h:57
Action class is an abstract class that enables you to build a action (generally on a component).
Definition: Action.h:209
ApplyStatus
describes what happened during the application of an algorithm (i.e. results of the apply method)
Definition: Action.h:225