All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
LayoutEditorAction.h
Go to the documentation of this file.
1 /* Copyright (C) 2011-2012 National Institute For Space Research (INPE) - Brazil.
2 
3  This file is part of the TerraLib - a Framework for building GIS enabled applications.
4 
5  TerraLib is free software: you can redistribute it and/or modify
6  it under the terms of the GNU Lesser General Public License as published by
7  the Free Software Foundation, either version 3 of the License,
8  or (at your option) any later version.
9 
10  TerraLib is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public License
16  along with TerraLib. See COPYING. If not, write to
17  TerraLib Team at <terralib-team@terralib.org>.
18  */
19 
20 /*!
21  \file terralib/qt/plugins/layout/LayoutEditorAction.h
22 
23  \brief This file defines the Transformation class
24 */
25 
26 #ifndef __TE_QT_PLUGINS_LAYOUT2_INTERNAL_LAYOUTEDITOR_H
27 #define __TE_QT_PLUGINS_LAYOUT2_INTERNAL_LAYOUTEDITOR_H
28 
29 // TerraLib
30 #include "Config.h"
31 #include "AbstractAction.h"
32 #include "../../../qt/af/connectors/LayoutEditor.h"
33 #include "../../../layout/qt/include/main/MainLayout.h"
34 
35 namespace te
36 {
37  namespace qt
38  {
39  namespace widgets
40  {
41  class LayoutEditor;
42  }
43 
44  namespace plugins
45  {
46  namespace layout2
47  {
48  /*!
49  \class LayoutEditorAction
50 
51  \brief This class register the contrast action into VP Plugin.
52 
53  */
55  {
56  Q_OBJECT
57 
58  public:
59 
60  LayoutEditorAction(QMenu* menu);
61 
62  virtual ~LayoutEditorAction();
63 
64  protected slots:
65 
66  virtual void onActionActivated(bool checked);
67 
68  private:
70  };
71 
72  } // end namespace layout
73  } // end namespace plugins
74  } // end namespace qt
75 } // end namespace te
76 
77 #endif //__TE_QT_PLUGINS_LAYOUT2_INTERNAL_LAYOUTEDITOR_H
This is an abstract class used to register actions into vp pluging.
This class register the contrast action into VP Plugin.