Main Page
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
MainLayout.h
Go to the documentation of this file.
1
/* Copyright (C) 2001-2013 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 MainLayout.h
22
23
\brief A class
24
*/
25
26
#ifndef __TERRALIB_LAYOUT_INTERNAL_MAINLAYOUT_H
27
#define __TERRALIB_LAYOUT_INTERNAL_MAINLAYOUT_H
28
29
// TerraLib
30
#include "../../../../common/Singleton.h"
31
#include "../../../include/core/Config.h"
32
33
class
QWidget;
34
class
QGroupBox;
35
class
QStatusBar;
36
class
QMenu;
37
38
namespace
te
39
{
40
namespace
layout
41
{
42
class
View;
43
class
DisplayOutside;
44
class
BuildContext;
45
class
OutsideArea;
46
47
/*!
48
\class
49
50
\brief A class ...within TerraLib environment.
51
52
*/
53
class
TELAYOUTEXPORT
MainLayout
:
public
te::common::Singleton
<MainLayout>
54
{
55
friend
class
te::common::Singleton
<
MainLayout
>;
56
57
public
:
58
59
//! Destructor.
60
~
MainLayout
();
61
62
/*!
63
\brief Inializes
64
65
This methods
66
\exception te::layout::Exception if the
67
*/
68
virtual
void
init(QWidget* mainWindow = 0, QMenu* mnuLayout = 0);
69
70
protected
:
71
72
/*! \brief Constructor. */
73
MainLayout
();
74
void
createDockLayoutDisplay(QWidget* mainWindow,
View
* view);
75
void
createLayoutContext(
int
width,
int
height);
76
void
finish();
77
78
View
*
m_view
;
79
DisplayOutside
*
m_dockLayoutDisplay
;
80
QGroupBox*
m_groupBox
;
81
QStatusBar*
m_statusBar
;
82
BuildContext
*
m_buildContext
;
83
OutsideArea
*
m_outsideArea
;
84
85
private
:
86
87
/*!
88
\brief Copy constructor not allowed.
89
90
\param rhs The right-hand-side copy that would be used to copy from.
91
*/
92
MainLayout
(
const
MainLayout
& rhs);
93
94
/*!
95
\brief Assignment operator not allowed.
96
97
\param rhs The right-hand-side copy that would be used to copy from.
98
99
\return A reference to this object.
100
*/
101
MainLayout
& operator=(
const
MainLayout
& rhs);
102
};
103
}
104
}
105
#endif // __TERRALIB_LAYOUT_INTERNAL_MAINLAYOUT_H
te::layout::MainLayout::m_dockLayoutDisplay
DisplayOutside * m_dockLayoutDisplay
Definition:
MainLayout.h:79
TELAYOUTEXPORT
#define TELAYOUTEXPORT
You can use this macro in order to export/import classes and functions from this module.
Definition:
Config.h:99
te::layout::MainLayout::m_buildContext
BuildContext * m_buildContext
Definition:
MainLayout.h:82
te::layout::MainLayout::m_outsideArea
OutsideArea * m_outsideArea
Definition:
MainLayout.h:83
te::layout::DisplayOutside
Definition:
DisplayOutside.h:45
te::layout::View
Definition:
View.h:59
te::layout::OutsideArea
Definition:
OutsideArea.h:49
te::layout::BuildContext
Definition:
BuildContext.h:46
te::layout::MainLayout
Definition:
MainLayout.h:53
te::layout::MainLayout::m_groupBox
QGroupBox * m_groupBox
Definition:
MainLayout.h:80
te::layout::MainLayout::m_statusBar
QStatusBar * m_statusBar
Definition:
MainLayout.h:81
te::layout::MainLayout::m_view
View * m_view
Definition:
MainLayout.h:78
te::common::Singleton
Template support for singleton pattern.
Definition:
Singleton.h:100
BB_TL5
terralib5
src
terralib
layout
qt
include
main
MainLayout.h
Generated on Mon Sep 29 2014 13:46:33 for TerraLib by
1.8.7