te::vp::DissolveDialog Class Reference

#include <DissolveDialog.h>

Inheritance diagram for te::vp::DissolveDialog:

Public Member Functions

 DissolveDialog (QWidget *parent=0, Qt::WindowFlags f=0)
 
te::map::AbstractLayerPtr getLayer ()
 Get the generated layer. More...
 
te::dt::PropertygetSelectedPropertyByName (std::string propertyName)
 Get the selected property based on selected QListWidgetItem using the name of property. More...
 
std::vector< std::string > getSelectedPropertyNames ()
 Get the selected properties based on selected QListWidgetItem. More...
 
std::map< te::dt::Property *, std::vector< te::stat::StatisticalSummary > > getStatisticalSummary ()
 Get the Grouping Functions Type based on selected QListWidgetItem. More...
 
std::vector< std::string > getWarnings ()
 Get warning messages. More...
 
bool isCollection ()
 Verify if the output result is a collection or single geometry. More...
 
void setFunctionsByLayer (std::vector< te::dt::Property * > properties)
 Set Grouping Functions Type for 'm_outputListWidget' based on Selected Layer. More...
 
void setLayers (std::list< te::map::AbstractLayerPtr > layers)
 Set the layer that can be used. More...
 
void setStatisticalSummary ()
 Set Statistical Summary Type for combobox 'm_selectAllComboBox' and 'm_rejectAllComboBox' based on a enum. More...
 
void setStatisticalSummaryMap ()
 Map Statistical Summary Type enum for an intuitive name. More...
 
 ~DissolveDialog ()
 

Protected Slots

void onAdvanced (bool visible)
 
void onCancelPushButtonClicked ()
 
void onFilterLineEditTextChanged (const QString &text)
 
void onLayerComboBoxChanged (int index)
 
void onMultiGeometryChecked (bool checked)
 
void onOkPushButtonClicked ()
 
void onOutputListWidgetClicked (QListWidgetItem *item)
 
void onRejectAllComboBoxChanged (int index)
 
void onSelectAllComboBoxChanged (int index)
 
void onTargetDatasourceToolButtonPressed ()
 
void onTargetFileToolButtonPressed ()
 

Private Types

typedef std::map< te::stat::StatisticalSummary, std::string > StaticalSummaryMap
 

Private Attributes

te::map::AbstractLayerPtr m_inputLayer
 Layer used for dissolve. More...
 
std::vector< te::vp::InputParamsm_inputParams
 A vector of input parameters. More...
 
te::map::AbstractLayerPtr m_layer
 Generated Layer. More...
 
std::list< te::map::AbstractLayerPtrm_layers
 List of layers. More...
 
te::da::DataSourceInfoPtr m_outputDatasource
 DataSource information. More...
 
te::vp::AlgorithmParamsm_params
 Algorithm parameters. More...
 
std::vector< te::dt::Property * > m_properties
 Properties related to the selected Layer. More...
 
StaticalSummaryMap m_StatisticalSummaryMap
 Maping of Statistical Summary enum. More...
 
bool m_toFile
 The output file is in a file. More...
 
std::auto_ptr< Ui::DissolveDialogForm > m_ui
 DialogForm. More...
 
std::vector< std::string > m_warnings
 Warnings during the operation. More...
 

Detailed Description

Definition at line 64 of file DissolveDialog.h.

Member Typedef Documentation

Definition at line 165 of file DissolveDialog.h.

Constructor & Destructor Documentation

te::vp::DissolveDialog::DissolveDialog ( QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)
te::vp::DissolveDialog::~DissolveDialog ( )

Member Function Documentation

te::map::AbstractLayerPtr te::vp::DissolveDialog::getLayer ( )

Get the generated layer.

Returns
the generated layer.
te::dt::Property* te::vp::DissolveDialog::getSelectedPropertyByName ( std::string  propertyName)

Get the selected property based on selected QListWidgetItem using the name of property.

Returns
a property.
std::vector<std::string> te::vp::DissolveDialog::getSelectedPropertyNames ( )

Get the selected properties based on selected QListWidgetItem.

Returns
a Vector with selected properties.
std::map<te::dt::Property*, std::vector<te::stat::StatisticalSummary> > te::vp::DissolveDialog::getStatisticalSummary ( )

Get the Grouping Functions Type based on selected QListWidgetItem.

Returns
Map with Properties and Grouping Functions Type.
std::vector<std::string> te::vp::DissolveDialog::getWarnings ( )

Get warning messages.

Returns
a vector of warnings.
bool te::vp::DissolveDialog::isCollection ( )

Verify if the output result is a collection or single geometry.

Returns
bool isCollection.
void te::vp::DissolveDialog::onAdvanced ( bool  visible)
protectedslot
void te::vp::DissolveDialog::onCancelPushButtonClicked ( )
protectedslot
void te::vp::DissolveDialog::onFilterLineEditTextChanged ( const QString &  text)
protectedslot
void te::vp::DissolveDialog::onLayerComboBoxChanged ( int  index)
protectedslot
void te::vp::DissolveDialog::onMultiGeometryChecked ( bool  checked)
protectedslot
void te::vp::DissolveDialog::onOkPushButtonClicked ( )
protectedslot
void te::vp::DissolveDialog::onOutputListWidgetClicked ( QListWidgetItem *  item)
protectedslot
void te::vp::DissolveDialog::onRejectAllComboBoxChanged ( int  index)
protectedslot
void te::vp::DissolveDialog::onSelectAllComboBoxChanged ( int  index)
protectedslot
void te::vp::DissolveDialog::onTargetDatasourceToolButtonPressed ( )
protectedslot
void te::vp::DissolveDialog::onTargetFileToolButtonPressed ( )
protectedslot
void te::vp::DissolveDialog::setFunctionsByLayer ( std::vector< te::dt::Property * >  properties)

Set Grouping Functions Type for 'm_outputListWidget' based on Selected Layer.

void te::vp::DissolveDialog::setLayers ( std::list< te::map::AbstractLayerPtr layers)

Set the layer that can be used.

Parameters
layersList of AbstractLayerPtr
selectedLayerSelected AbstractLayerPtr
void te::vp::DissolveDialog::setStatisticalSummary ( )

Set Statistical Summary Type for combobox 'm_selectAllComboBox' and 'm_rejectAllComboBox' based on a enum.

void te::vp::DissolveDialog::setStatisticalSummaryMap ( )

Map Statistical Summary Type enum for an intuitive name.

Member Data Documentation

te::map::AbstractLayerPtr te::vp::DissolveDialog::m_inputLayer
private

Layer used for dissolve.

Definition at line 169 of file DissolveDialog.h.

std::vector<te::vp::InputParams> te::vp::DissolveDialog::m_inputParams
private

A vector of input parameters.

Definition at line 171 of file DissolveDialog.h.

te::map::AbstractLayerPtr te::vp::DissolveDialog::m_layer
private

Generated Layer.

Definition at line 178 of file DissolveDialog.h.

std::list<te::map::AbstractLayerPtr> te::vp::DissolveDialog::m_layers
private

List of layers.

Definition at line 168 of file DissolveDialog.h.

te::da::DataSourceInfoPtr te::vp::DissolveDialog::m_outputDatasource
private

DataSource information.

Definition at line 177 of file DissolveDialog.h.

te::vp::AlgorithmParams* te::vp::DissolveDialog::m_params
private

Algorithm parameters.

Definition at line 172 of file DissolveDialog.h.

std::vector<te::dt::Property*> te::vp::DissolveDialog::m_properties
private

Properties related to the selected Layer.

Definition at line 174 of file DissolveDialog.h.

StaticalSummaryMap te::vp::DissolveDialog::m_StatisticalSummaryMap
private

Maping of Statistical Summary enum.

Definition at line 175 of file DissolveDialog.h.

bool te::vp::DissolveDialog::m_toFile
private

The output file is in a file.

Definition at line 180 of file DissolveDialog.h.

std::auto_ptr<Ui::DissolveDialogForm> te::vp::DissolveDialog::m_ui
private

DialogForm.

Definition at line 167 of file DissolveDialog.h.

std::vector<std::string> te::vp::DissolveDialog::m_warnings
private

Warnings during the operation.

Definition at line 181 of file DissolveDialog.h.


The documentation for this class was generated from the following file: