All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TerraView.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 TerraView - A Free and Open Source GIS Application.
4 
5  TerraView is free software: you can redistribute it and/or modify
6  it under the terms of the GNU 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  TerraView 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 General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with TerraLib Code Editor. See COPYING. If not, write to
17  TerraLib Team at <terralib-team@dpi.inpe.br>.
18  */
19 
20 /*!
21  \file terraview/TerraView.h
22 
23  \brief The main class of TerraView.
24 */
25 
26 #ifndef __TERRAVIEW_INTERNAL_TERRAVIEW_H
27 #define __TERRAVIEW_INTERNAL_TERRAVIEW_H
28 
29 // TerraLib
30 #include "../terralib/qt/af/BaseApplication.h"
31 
32 // STL
33 #include <string>
34 
35 // Forward declarations
36 class QWidget;
37 
38 namespace te
39 {
40  namespace qt
41  {
42  namespace widgets
43  {
44  class HelpManagerImpl;
45  }
46  }
47 }
48 
49 /*!
50  \brief The main class of TerraView.
51 
52  \sa te::qt::af::BaseApplication
53 */
55 {
56  Q_OBJECT
57 
58  public:
59 
60  TerraView(QWidget* parent = 0);
61 
62  ~TerraView();
63 
64  void init();
65 
66  void init(const std::string& configFile);
67 
68  protected:
69 
70  void makeDialog();
71 
72  protected slots:
73 
74  void showAboutDialog();
75 
76  void onHelpTriggered();
77 
78  protected:
79 
81 };
82 
83 #endif // __TERRAVIEW_INTERNAL_TERRAVIEW_H
A QMainWindow to be used as the basis for TerraLib applications.
te::qt::widgets::HelpManagerImpl * m_helpManager
Definition: TerraView.h:80
void makeDialog()
Definition: TerraView.cpp:70
An interface for help managers implementations.
void onHelpTriggered()
Definition: TerraView.cpp:91
TerraView(QWidget *parent=0)
Definition: TerraView.cpp:43
void showAboutDialog()
Definition: TerraView.cpp:84
void init()
Definition: TerraView.cpp:52
The main class of TerraView.
Definition: TerraView.h:54