ClearSelectionAction.h 1.72 KB
Newer Older
1
2
3
4
/*****************************************************************************
 * $CAMITK_LICENCE_BEGIN$
 *
 * CamiTK - Computer Assisted Medical Intervention ToolKit
promayon's avatar
promayon committed
5
 * (c) 2001-2014 UJF-Grenoble 1, CNRS, TIMC-IMAG UMR 5525 (GMCAO)
6
 *
7
8
 * Visit http://camitk.imag.fr for more information
 *
9
10
11
12
13
 * This file is part of CamiTK.
 *
 * CamiTK is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License version 3
 * 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
18
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License version 3 for more details.
19
 *
20
21
 * You should have received a copy of the GNU Lesser General Public License
 * version 3 along with CamiTK.  If not, see <http://www.gnu.org/licenses/>.
22
23
 *
 * $CAMITK_LICENCE_END$
24
 ****************************************************************************/
25
26
27
28
29
30

#ifndef CLEARSELECTION_ACTION_H
#define CLEARSELECTION_ACTION_H

#include <Action.h>

31
32
/**
 * @ingroup group_sdk_actions_application
33
34
 *
 * @brief
35
 * The ClearSelectionAction allows user to clear the selected components in the components explorer.
36
 *
37
 **/
38
class ClearSelectionAction : public camitk::Action {
promayon's avatar
promayon committed
39
    Q_OBJECT
40
public:
41
42
    /// Default Constructor
    ClearSelectionAction(camitk::ActionExtension *);
43

44
45
    /// Default Destructor
    virtual ~ClearSelectionAction();
46

47
48
    /// Returns NULL: no widget at all for this action
    virtual QWidget * getWidget();
49
50

public slots:
51
52
    /// apply the action select the last instanciated component
    virtual ApplyStatus apply();
53
54
55

};
#endif // CLEARSELECTION_ACTION_H