Loading...
Searching...
No Matches
DissolveSubdivisionParametersWidget.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 * \file src/terralib/vp/qt/DissolveSubdivisionParametersWidget.h
22 *
23 * \brief Implements a widget used to return the specific parameters for dissolve subdivision operation.
24 */
25
26#ifndef __TERRALIB_VP_QT_INTERNAL_DISSOLVESUBDIVISIONPARAMETERSWIDGET_H
27#define __TERRALIB_VP_QT_INTERNAL_DISSOLVESUBDIVISIONPARAMETERSWIDGET_H
28
30#include "../Config.h"
31
32 // STL Includes
33#include <memory>
34
35 // Qt Includes
36#include <QWidget>
37
38namespace Ui { class DissolveSubdivisionParametersWidgetForm; }
39
40namespace te
41{
42 namespace da
43 {
44 class DataAccessPtr;
45 }
46
47 namespace vp
48 {
49 namespace qt
50 {
51 /*!
52 \class DissolveSubdivisionParametersWidget
53
54 \brief Implements a widget used to return the specific parameters for dissolve subdivision operation.
55 */
57 {
58 Q_OBJECT
59
60 public:
61
62 /*!
63 \brief Constructor.
64 */
65 DissolveSubdivisionParametersWidget(QWidget* parent = 0, Qt::WindowFlags f = 0);
66
67 /*!
68 \brief Destructor.
69 */
71
72 virtual void setInputData(const std::vector<te::da::DataAccessPtr>& vecDataAccess) override;
73
74 public:
75
76 virtual QWidget* getWidget() override;
77
78 virtual void setValuesToParameters(te::vp::AbstractParameters* parameters) override;
79
80 private:
81
82 std::unique_ptr<Ui::DissolveSubdivisionParametersWidgetForm> m_ui; //!< Pointer to Qt widget
83 };
84 } // end namespace qt
85 } // end namespace qt
86} // end namespace qt
87
88
89#endif // __TERRALIB_VP_QT_INTERNAL_DISSOLVESUBDIVISIONPARAMETERSWIDGET_H
90
Abstract class used do define a component to set specific parameters for each operation.
Abstract class used to define the input/ ouptut parameters for TerraAmazon Operations.
Implements a widget used to return the specific parameters for dissolve subdivision operation.
DissolveSubdivisionParametersWidget(QWidget *parent=0, Qt::WindowFlags f=0)
Constructor.
virtual void setInputData(const std::vector< te::da::DataAccessPtr > &vecDataAccess) override
virtual void setValuesToParameters(te::vp::AbstractParameters *parameters) override
std::unique_ptr< Ui::DissolveSubdivisionParametersWidgetForm > m_ui
Pointer to Qt widget.
Abstract class used do define a component to set specific parameters for each operation.
TerraLib.
#define TEVPEXPORT
You can use this macro in order to export/import classes and functions from this module.
Definition: Config.h:61