Main Page
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
ProjectInfoWidget.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 ProjectInfoWidget.h
22
23
\brief Contains a widget for define Project informations.
24
*/
25
26
#ifndef __TERRAVIEW_INTERNAL_PROJECTINFOWIDGET_H
27
#define __TERRAVIEW_INTERNAL_PROJECTINFOWIDGET_H
28
29
#include <QWidget>
30
31
// Forward declaration
32
namespace
Ui
33
{
34
class
ProjectInfoWidgetForm;
35
}
36
37
// Forward declaration
38
struct
ProjectMetadata
;
39
40
/*!
41
\class ProjectInfoWidget
42
43
\brief A widget for present te::qt::af::Project informations.
44
*/
45
class
ProjectInfoWidget
:
public
QWidget
46
{
47
public
:
48
49
/*!
50
\brief Constructor.
51
52
\param parent QWidget parent.
53
*/
54
ProjectInfoWidget
(QWidget* parent=0);
55
56
/*!
57
\brief Destructor.
58
*/
59
~ProjectInfoWidget
();
60
61
/*!
62
\brief Updates the te::qt::af::Project being visualized.
63
64
\param proj The te::qt::af::Project to be presented.
65
*/
66
void
setProject
(
ProjectMetadata
* proj);
67
68
/*!
69
\brief Updates the te::qt::af::Project informations.
70
*/
71
void
updateProjectInfo
();
72
73
protected
:
74
75
ProjectMetadata
*
m_proj
;
//!< te::qt::af::Project being presented.
76
77
private
:
78
79
Ui::ProjectInfoWidgetForm*
m_ui
;
//!< Pointer to the form.
80
};
81
82
#endif //__TERRAVIEW_INTERNAL_PROJECTINFOWIDGET_H
ProjectInfoWidget::setProject
void setProject(ProjectMetadata *proj)
Updates the te::qt::af::Project being visualized.
ProjectInfoWidget::updateProjectInfo
void updateProjectInfo()
Updates the te::qt::af::Project informations.
ProjectMetadata
Definition:
Project.h:39
ProjectInfoWidget::ProjectInfoWidget
ProjectInfoWidget(QWidget *parent=0)
Constructor.
ProjectInfoWidget
A widget for present te::qt::af::Project informations.
Definition:
ProjectInfoWidget.h:45
ProjectInfoWidget::m_proj
ProjectMetadata * m_proj
te::qt::af::Project being presented.
Definition:
ProjectInfoWidget.h:75
ProjectInfoWidget::m_ui
Ui::ProjectInfoWidgetForm * m_ui
Pointer to the form.
Definition:
ProjectInfoWidget.h:79
ProjectInfoWidget::~ProjectInfoWidget
~ProjectInfoWidget()
Destructor.
AA_TL5_master
terralib5
src
terraview
ProjectInfoWidget.h
Generated on Wed Mar 16 2016 15:42:36 for TerraLib by
1.8.7