Computer Assited Medical Intervention Tool Kit  version 4.1
ApplicationActionExtension.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * $CAMITK_LICENCE_BEGIN$
3  *
4  * CamiTK - Computer Assisted Medical Intervention ToolKit
5  * (c) 2001-2018 Univ. Grenoble Alpes, CNRS, TIMC-IMAG UMR 5525 (GMCAO)
6  *
7  * Visit http://camitk.imag.fr for more information
8  *
9  * This file is part of CamiTK.
10  *
11  * CamiTK is free software: you can redistribute it and/or modify
12  * it under the terms of the GNU Lesser General Public License version 3
13  * only, as published by the Free Software Foundation.
14  *
15  * CamiTK is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU Lesser General Public License version 3 for more details.
19  *
20  * You should have received a copy of the GNU Lesser General Public License
21  * version 3 along with CamiTK. If not, see <http://www.gnu.org/licenses/>.
22  *
23  * $CAMITK_LICENCE_END$
24  ****************************************************************************/
25 
26 
27 
28 #ifndef APPLICATION_ACTION_EXTENSION_H
29 #define APPLICATION_ACTION_EXTENSION_H
30 
31 
32 #include <ActionExtension.h>
33 #include <QPushButton>
34 #include <QDialogButtonBox>
35 
44  Q_OBJECT
45  Q_INTERFACES(camitk::ActionExtension)
46  Q_PLUGIN_METADATA(IID "fr.imag.camitk.sdk.action.application")
47 
48 public:
51 
53  virtual ~ApplicationActionExtension() = default;
54 
56  virtual void init();
57 
59  virtual QString getName() {
60  return "Application Level Actions";
61  };
62 
64  virtual QString getDescription() {
65  return "This extension provides various actions to manipulate components at the application level (open, close, save...)";
66  };
67 
68 };
69 
70 #endif // APPLICATION_ACTION_EXTENSION_H
QuitAction.h
ClearSelectionAction.h
ShowAxialViewer
Within the MedicalImageViewer, display the axial viewer.
Definition: ShowAxialViewer.h:36
ApplicationActionExtension::~ApplicationActionExtension
virtual ~ApplicationActionExtension()=default
the destructor
SaveAction.h
ApplicationActionExtension::init
virtual void init()
initialize all the actions
Definition: ApplicationActionExtension.cpp:56
ShowAxialViewer.h
OpenAction
When triggered, open a file open dialog box. the OpenAction display a file open dialog....
Definition: OpenAction.h:38
OpenAction.h
ApplicationActionExtension.h
SelectLastInstanciatedAction.h
SaveAction
Save the current selected component.
Definition: SaveAction.h:37
CloseAllAction
The CloseAllAction class allows one to close all selected component in the current application.
Definition: CloseAllAction.h:38
ApplicationActionExtension::ApplicationActionExtension
ApplicationActionExtension()
the constructor (needed to initialize the icon resources)
Definition: ApplicationActionExtension.cpp:53
ShowCoronalViewer.h
Action.h
Show3DViewer
Set the visibility of the MedicalImageViewer in order to only show the 3D viewer.
Definition: Show3DViewer.h:36
ActionExtension.h
SelectLastInstanciatedAction
Save the current selected component. This action allows one to select the last instantiated component...
Definition: SelectLastInstanciatedAction.h:42
ChangeLanguage.h
ShowArbitraryViewer.h
SaveAllAction
Save all the current selected components.
Definition: SaveAllAction.h:37
AboutAction
The AboutAction class handles the pop-up "About CamiTK" with information about CamiTK.
Definition: AboutAction.h:36
RemoveLastInstanciatedAction.h
ClearSelectionAction
The ClearSelectionAction allows user to clear the selected components in the components explorer.
Definition: ClearSelectionAction.h:37
CloseAction
The CloseAction class closes the selected component.
Definition: CloseAction.h:38
registerNewAction
#define registerNewAction(X)
Definition: ActionExtension.h:63
LoggerParameters
The AboutAction class handles the pop-up "About CamiTK" with information about CamiTK.
Definition: LoggerParameters.h:39
SaveAsAction.h
ToggleConsoleAction
Display the console application widget, which, by default, prints the standard output and log....
Definition: ToggleConsoleAction.h:37
ApplicationActionExtension::getDescription
virtual QString getDescription()
Method that return the action extension descrption.
Definition: ApplicationActionExtension.h:85
ApplicationActionExtension
The ApplicationActionExtension class features all the application actions.
Definition: ApplicationActionExtension.h:42
ToggleConsoleAction.h
ChangeLanguage
When triggered, the ChangeLanguage automatically opens the given setting file language.
Definition: ChangeLanguage.h:40
CloseAllAction.h
ShowSagittalViewer.h
camitk::ActionExtension
This class describes what is a generic Action extension. To add a ActionExtension to CamiTK core,...
Definition: ActionExtension.h:80
OpenFile
When triggered, the OpenFile automatically opens the given file.
Definition: OpenFile.h:39
SetPathToTestData
Specify the current directory to the test data directory.
Definition: SetPathToTestData.h:38
ShowAllViewers.h
ShowAllViewers
Within the MedicalImageViewer, display all viewers (except arbitrary).
Definition: ShowAllViewers.h:36
OpenFile.h
LoggerParameters.h
AboutAction.h
QuitAction
When triggered, quit the current application.
Definition: QuitAction.h:36
CloseAction.h
SaveAsAction
Save as the current selected component.
Definition: SaveAsAction.h:37
ApplicationActionExtension::getName
virtual QString getName()
Method that return the action extension name.
Definition: ApplicationActionExtension.h:80
RemoveLastInstanciatedAction
Remove the last top-level selected component (if several top level components were selected,...
Definition: RemoveLastInstanciatedAction.h:40
ShowSagittalViewer
Within the MedicalImageViewer, display the sagittal viewer.
Definition: ShowSagittalViewer.h:36
ShowCoronalViewer
Within the MedicalImageViewer, display the coronal viewer.
Definition: ShowCoronalViewer.h:36
Show3DViewer.h
SetPathToTestData.h
SaveAllAction.h