AboutDialog.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/AboutDialog.h
22 
23  \brief A Qt dialog showing MGis about window.
24 */
25 
26 #ifndef __TERRAVIEW_INTERNAL_ABOUTDIALOG_H
27 #define __TERRAVIEW_INTERNAL_ABOUTDIALOG_H
28 
29 // STL
30 #include <memory>
31 
32 // Qt
33 #include <QDialog>
34 
35 // Forward declaration
36 namespace Ui { class AboutDialogForm; }
37 
38 class AboutDialog : public QDialog
39 {
40  public:
41 
42  AboutDialog(QWidget* parent = 0, Qt::WindowFlags f = 0);
43 
44  ~AboutDialog();
45 
46  void setTerraViewLogoFilePath(std::string path);
47 
48  void setTerraLibLogoFilePath(std::string path);
49 
50  private:
51 
52  std::auto_ptr<Ui::AboutDialogForm> m_ui;
53 };
54 
55 #endif // __TERRAVIEW_INTERNAL_ABOUTDIALOG_H
AboutDialog(QWidget *parent=0, Qt::WindowFlags f=0)
void setTerraViewLogoFilePath(std::string path)
std::auto_ptr< Ui::AboutDialogForm > m_ui
Definition: AboutDialog.h:52
void setTerraLibLogoFilePath(std::string path)