All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TerraView.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 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
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  void startProject(const QString& projectFileName);
69 
70  protected:
71 
72  void makeDialog();
73 
74  protected slots:
75 
76  void showAboutDialog();
77 
78  void onHelpTriggered();
79 
80  protected:
81 
83 };
84 
85 #endif // __TERRAVIEW_INTERNAL_TERRAVIEW_H
The main class of TerraView.
Definition: TerraView.h:54
A QMainWindow to be used as the basis for TerraLib applications.
void makeDialog()
Definition: TerraView.cpp:71
void startProject(const QString &projectFileName)
Definition: TerraView.cpp:97
void showAboutDialog()
Definition: TerraView.cpp:85
TerraView(QWidget *parent=0)
Definition: TerraView.cpp:43
void onHelpTriggered()
Definition: TerraView.cpp:92
A QMainWindow to be used as the basis for TerraLib applications.
An interface for help managers implementations.
te::qt::widgets::HelpManagerImpl * m_helpManager
Definition: TerraView.h:82
void init()
Definition: TerraView.cpp:53