TL4ThemeSelectionWizardPage.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/plugins/TL4RasterFolderSelectionWizardPage.h
22 
23  \brief A wizard page for selecting converted datasets to layers in TerraLib 5.
24 */
25 
26 #ifndef __TERRALIB_PLUGINS_TERRALIB4_INTERNAL_TL4THEMESELECTIONWIZARDPAGE_H
27 #define __TERRALIB_PLUGINS_TERRALIB4_INTERNAL_TL4THEMESELECTIONWIZARDPAGE_H
28 
29 // TerraLib
30 #include "../../../../terralib4/ThemeInfo.h"
31 #include "Config.h"
32 
33 // STL
34 #include <memory>
35 
36 // Qt
37 #include <QWizardPage>
38 
39 // Forward declaration
40 namespace Ui { class TL4ThemeSelectionWizardPageForm; }
41 
42 struct ThemeInfo;
43 
44 namespace te
45 {
46  namespace qt
47  {
48  namespace plugins
49  {
50  namespace terralib4
51  {
52  class TL4ThemeSelectionWizardPage : public QWizardPage
53  {
54  Q_OBJECT
55 
56  public:
57 
58  TL4ThemeSelectionWizardPage(QWidget* parent = 0);
59 
61 
62  void setThemes(const std::vector<::terralib4::ThemeInfo>& themes);
63 
64  std::vector<::terralib4::ThemeInfo> getThemes();
65 
66  private:
67 
68  std::vector<std::string> getNames(const std::string& names);
69 
70  protected slots:
71 
73 
75 
76  private:
77 
78  std::auto_ptr<Ui::TL4ThemeSelectionWizardPageForm> m_ui;
79  };
80  } // end namespace terralib4
81  } // end namespace plugins
82  } // end namespace qt
83 } // end namespace te
84 
85 #endif // __TERRALIB_PLUGINS_TERRALIB4_INTERNAL_TL4THEMESELECTIONWIZARDPAGE_H
std::vector< std::string > getNames(const std::string &names)
Definition: Band.h:34
URI C++ Library.
void setThemes(const std::vector<::terralib4::ThemeInfo > &themes)
std::vector<::terralib4::ThemeInfo > getThemes()
std::auto_ptr< Ui::TL4ThemeSelectionWizardPageForm > m_ui