All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ProjectInfoDialog.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 terralib/qt/af/ProjectInfoDialog.h
22 
23  \brief A dialog for edition of te::qt::af::Project informations.
24 */
25 
26 #ifndef __TERRALIB_QT_AF_INTERNAL_PROJECTINFODIALOG_H
27 #define __TERRALIB_QT_AF_INTERNAL_PROJECTINFODIALOG_H
28 
29 #include <QDialog>
30 
31 #include "Config.h"
32 
33 namespace te
34 {
35  namespace qt
36  {
37  namespace af
38  {
39  // Forward declaration
40  class Project;
41  class ProjectInfoWidget;
42 
43  /*!
44  \class
45 
46  \brief
47  */
48  class TEQTAFEXPORT ProjectInfoDialog : public QDialog
49  {
50  Q_OBJECT
51 
52  public:
53 
54  /*!
55  \brief Constructor.
56 
57  \param parent QWidget parent.
58  */
59  ProjectInfoDialog(QWidget* parent=0);
60 
61  /*!
62  \brief Destructor.
63  */
65 
66  /*!
67  \brief Sets the project to be inspected.
68 
69  \param proj The te::qt::af::Project to be presented.
70  */
71  void setProject(Project* proj);
72 
73  protected slots:
74 
75  /*!
76  \brief Called on ok button pressed.
77  */
78  void onOkPushButtonPressed();
79 
80  /*!
81  \brief Called on help button pressed.
82  */
83  void onHelpPushButtonPressed();
84 
85  protected:
86 
87  ProjectInfoWidget* m_info; //!< Pointer to the widget that contains information about te::qt::af::Project.
88  };
89  }
90  }
91 }
92 
93 
94 #endif //__TERRALIB_QT_AF_INTERNAL_PROJECTINFODIALOG_H
A widget for present te::qt::af::Project informations.
Configuration flags for the TerraLib Application Framework.
ProjectInfoWidget * m_info
Pointer to the widget that contains information about te::qt::af::Project.
#define TEQTAFEXPORT
You can use this macro in order to export/import classes and functions from this module.
Definition: Config.h:81
This class models the concept of a project for the TerraLib Application Framework.
Definition: Project.h:50