26 #ifndef __TERRALIB_VP_INTERNAL_DISSOLVEDIALOG_H
27 #define __TERRALIB_VP_INTERNAL_DISSOLVEDIALOG_H
31 #include "../../dataaccess/datasource/DataSourceInfo.h"
32 #include "../../datatype/Property.h"
33 #include "../../maptools/AbstractLayer.h"
34 #include "../AlgorithmParams.h"
37 #include "../../statistics/core/Enums.h"
39 #include "../Config.h"
50 namespace Ui {
class DissolveDialogForm; }
53 class QListWidgetItem;
55 class QTreeWidgetItem;
80 void setLayers(std::list<te::map::AbstractLayerPtr> layers);
167 std::unique_ptr<Ui::DissolveDialogForm>
m_ui;
It models a property definition.
void onAdvanced(bool visible)
DissolveDialog(QWidget *parent=0, Qt::WindowFlags f=0)
void setLayers(std::list< te::map::AbstractLayerPtr > layers)
Set the layer that can be used.
bool m_toFile
The output file is in a file.
te::dt::Property * getSelectedPropertyByName(std::string propertyName)
Get the selected property based on selected QListWidgetItem using the name of property.
void onFilterLineEditTextChanged(const QString &text)
te::vp::AlgorithmParams * m_params
Algorithm parameters.
std::list< te::map::AbstractLayerPtr > m_layers
List of layers.
std::map< te::dt::Property *, std::vector< te::stat::StatisticalSummary > > getStatisticalSummary()
Get the Grouping Functions Type based on selected QListWidgetItem.
void onCancelPushButtonClicked()
std::vector< std::string > getWarnings()
Get warning messages.
void onRejectAllComboBoxChanged(int index)
std::map< te::stat::StatisticalSummary, std::string > StaticalSummaryMap
void setStatisticalSummary()
Set Statistical Summary Type for combobox 'm_selectAllComboBox' and 'm_rejectAllComboBox' based on a ...
bool isCollection()
Verify if the output result is a collection or single geometry.
te::map::AbstractLayerPtr m_inputLayer
Layer used for dissolve.
void onOutputListWidgetClicked(QListWidgetItem *item)
void onLayerComboBoxChanged(int index)
StaticalSummaryMap m_StatisticalSummaryMap
Maping of Statistical Summary enum.
void setFunctionsByLayer(std::vector< te::dt::Property * > properties)
Set Grouping Functions Type for 'm_outputListWidget' based on Selected Layer.
void onSelectAllComboBoxChanged(int index)
std::vector< te::vp::InputParams > m_inputParams
A vector of input parameters.
te::map::AbstractLayerPtr getLayer()
Get the generated layer.
void onOkPushButtonClicked()
std::vector< std::string > m_warnings
Warnings during the operation.
void onTargetDatasourceToolButtonPressed()
std::vector< std::string > getSelectedPropertyNames()
Get the selected properties based on selected QListWidgetItem.
void onTargetFileToolButtonPressed()
std::unique_ptr< Ui::DissolveDialogForm > m_ui
DialogForm.
void onMultiGeometryChecked(bool checked)
std::vector< te::dt::Property * > m_properties
Properties related to the selected Layer.
void setStatisticalSummaryMap()
Map Statistical Summary Type enum for an intuitive name.
te::da::DataSourceInfoPtr m_outputDatasource
DataSource information.
te::map::AbstractLayerPtr m_layer
Generated Layer.
boost::shared_ptr< DataSourceInfo > DataSourceInfoPtr
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
#define TEVPEXPORT
You can use this macro in order to export/import classes and functions from this module.