VolumeResultDialog.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 /*!
22 \file terralib/mnt/qt/VolumeResultDialog.h
23 
24 \brief A dialog Show Calculate Volume Results
25 */
26 
27 #ifndef __TERRALIB_MNT_INTERNAL_VOLUMERESULTDIALOG_H
28 #define __TERRALIB_MNT_INTERNAL_VOLUMERESULTDIALOG_H
29 
30 // Terralib
31 #include "../core/Config.h"
32 #include "../core/Enums.h"
33 
34 // STL
35 #include <list>
36 #include <memory>
37 
38 // Qt
39 #include <QDialog>
40 
41 namespace Ui { class VolumeResultDialogForm; }
42 
43 namespace te
44 {
45  namespace mnt
46  {
47  class TEMNTEXPORT VolumeResultDialog : public QDialog
48  {
49  Q_OBJECT
50 
51  public:
52  VolumeResultDialog(std::vector<std::string> &polyvec,
53  std::vector<std::string> &cortevec,
54  std::vector<std::string> &aterrovec,
55  std::vector<std::string> &areavec,
56  std::vector<std::string> &iquotavec,
57  std::string &attr,
58  QWidget* parent = 0,
59  Qt::WindowFlags f = 0);
60 
62 
63  void saveVolume(const std::string& path);
64 
65  protected slots:
66 
67  void onHelpPushButtonClicked();
68  void onSavePushButtonClicked();
69  void onCancelPushButtonClicked();
70 
71  private:
72 
73  std::auto_ptr<Ui::VolumeResultDialogForm> m_ui;
74 
75  }; //class VolumeResultDialog
76  } //mnt
77 } //te
78 
79 
80 
81 #endif //__TERRALIB_MNT_INTERNAL_VOLUMERESULTDIALOG_H
#define TEMNTEXPORT
You can use this macro in order to export/import classes and functions from this module.
Definition: Config.h:41
std::auto_ptr< Ui::VolumeResultDialogForm > m_ui
URI C++ Library.