Loading...
Searching...
No Matches
VolumeResultDialog.h
Go to the documentation of this file.
1/* Copyright(C) 2008 National Institute For Space Research(INPE) - Brazil.
2
3This file is part of the TerraLib - a Framework for building GIS enabled applications.
4
5TerraLib is free software : you can redistribute it and / or modify
6it under the terms of the GNU Lesser General Public License as published by
7the Free Software Foundation, either version 3 of the License,
8or(at your option) any later version.
9
10TerraLib is distributed in the hope that it will be useful,
11but WITHOUT ANY WARRANTY; without even the implied warranty of
12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
13GNU Lesser General Public License for more details.
14
15You should have received a copy of the GNU Lesser General Public License
16along with TerraLib.See COPYING.If not, write to
17TerraLib 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
41namespace Ui { class VolumeResultDialogForm; }
42
43namespace 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
69
70 private:
71
72 std::unique_ptr<Ui::VolumeResultDialogForm> m_ui;
73
74 }; //class VolumeResultDialog
75 } //mnt
76} //te
77
78
79
80#endif //__TERRALIB_MNT_INTERNAL_VOLUMERESULTDIALOG_H
std::unique_ptr< Ui::VolumeResultDialogForm > m_ui
void saveVolume(const std::string &path)
VolumeResultDialog(std::vector< std::string > &polyvec, std::vector< std::string > &cortevec, std::vector< std::string > &aterrovec, std::vector< std::string > &areavec, std::vector< std::string > &iquotavec, std::string &attr, QWidget *parent=0, Qt::WindowFlags f=0)
TerraLib.
#define slots
#define TEMNTEXPORT
You can use this macro in order to export/import classes and functions from this module.
Definition: Config.h:41