All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
BuildGraphicsOutside.h
Go to the documentation of this file.
1 /* Copyright (C) 2008 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 BuildGraphicsOutside.h
22 
23  \brief Class responsible for creating or building widgets. All objects are children of Qwidget and OutsideObserver.
24  Only place where the model and the controller is instantiated and the MVC outside is created.
25 
26  \ingroup layout
27 */
28 
29 #ifndef __TERRALIB_LAYOUT_INTERNAL_BUILD_GRAPHICS_OUTSIDE_H
30 #define __TERRALIB_LAYOUT_INTERNAL_BUILD_GRAPHICS_OUTSIDE_H
31 
32 //TerraLib
33 #include "../../core/AbstractBuildGraphicsOutside.h"
34 #include "../../core/Config.h"
35 #include "../../core/enum/EnumType.h"
36 
37 class QWidget;
38 
39 namespace te
40 {
41  namespace layout
42  {
43  /*!
44  \brief Class responsible for creating or building widgets. All objects are children of Qwidget and OutsideObserver.
45  Only place where the model and the controller is instantiated and the MVC outside is created.
46 
47  \ingroup layout
48  */
50  {
51  public:
52 
53  /*!
54  \brief Constructor
55  */
57 
58  /*!
59  \brief Destructor
60  */
61  virtual ~BuildGraphicsOutside();
62 
63 
64  /*!
65  \brief Method to create a widget from the type.
66 
67  \param mode type of the object will created
68 
69  \return item value
70  */
71  QWidget* createOuside(te::layout::EnumType* type);
72 
73  protected:
74 
75  /*!
76  \brief Create a widget of GridSettings type
77 
78  \return new object
79  */
80  QWidget* createGridSettings();
81 
82  /*!
83  \brief Create a widget of Toolbar type
84 
85  \return new object
86  */
87  QWidget* createToolbar();
88 
89  /*!
90  \brief Create a widget of Properties Browser type
91 
92  \return new object
93  */
94  QWidget* createProperties();
95 
96  /*!
97  \brief Create a widget of Object Inspector type
98 
99  \return new object
100  */
101  QWidget* createObjectInspector();
102 
103  /*!
104  \brief Create a widget of Page Setup type
105 
106  \return new object
107  */
108  QWidget* createPageSetup();
109 
110  /*!
111  \brief Create a widget of Systematic Scale type
112 
113  \return new object
114  */
115  QWidget* createSystematicScale();
116 
117  /*!
118  \brief Create a widget of EditTemplate type
119 
120  \return new object
121  */
122  QWidget* createEditTemplate();
123 
124  /*!
125  \brief Create a widget of Text Grid Settings type
126 
127  \return new object
128  */
129  QWidget* createTextGridSettingss();
130 
131  /*!
132  \brief Create a widget of Map Layer Choice type
133 
134  \return new object
135  */
136  QWidget* createMapLayerChoice();
137  };
138  }
139 }
140 
141 #endif
142 
143 
#define TELAYOUTEXPORT
You can use this macro in order to export/import classes and functions from this module.
Definition: Config.h:99
Abstract class for build MVC widgets.
Class responsible for creating or building widgets. All objects are children of Qwidget and OutsideOb...
Class that represents the value of an enumeration. An enumeration is made of "1..n" objects EnumType...
Definition: EnumType.h:48