te::vp::AggregationDialog Class Reference

#include <AggregationDialog.h>

Inheritance diagram for te::vp::AggregationDialog:

Public Member Functions

 AggregationDialog (QWidget *parent=0, Qt::WindowFlags f=0)
 
te::map::AbstractLayerPtr getLayer ()
 Get the generated layer. More...
 
std::vector< te::dt::Property * > getSelectedProperties ()
 Get the selected properties based on selected QListWidgetItem. More...
 
te::dt::PropertygetSelectedPropertyByName (std::string propertyName)
 Get the selected property based on selected QListWidgetItem using the name of property. More...
 
std::map< te::dt::Property *, std::vector< te::stat::StatisticalSummary > > getStatisticalSummary ()
 Get the Grouping Functions Type based on selected QListWidgetItem. 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...
 
 ~AggregationDialog ()
 

Protected Slots

void onCalculateStatistics (bool visible)
 
void onCancelPushButtonClicked ()
 
void onFilterLineEditTextChanged (const QString &text)
 
void onLayerComboBoxChanged (int index)
 
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_layer
 Generated Layer. More...
 
std::list< te::map::AbstractLayerPtrm_layers
 List of layers. More...
 
te::da::DataSourceInfoPtr m_outputDatasource
 DataSource information. More...
 
std::vector< te::dt::Property * > m_properties
 Properties related to the selected Layer. More...
 
te::map::AbstractLayerPtr m_selectedLayer
 Layer used for aggregation. More...
 
StaticalSummaryMap m_StatisticalSummaryMap
 Maping of Statistical Summary enum. More...
 
bool m_toFile
 
std::auto_ptr< Ui::AggregationDialogForm > m_ui
 

Detailed Description

Definition at line 59 of file AggregationDialog.h.

Member Typedef Documentation

Definition at line 144 of file AggregationDialog.h.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Get the generated layer.

Returns
the generated layer.
std::vector<te::dt::Property*> te::vp::AggregationDialog::getSelectedProperties ( )

Get the selected properties based on selected QListWidgetItem.

Returns
a Vector with selected properties.
te::dt::Property* te::vp::AggregationDialog::getSelectedPropertyByName ( std::string  propertyName)

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

Returns
a property.
std::map<te::dt::Property*, std::vector<te::stat::StatisticalSummary> > te::vp::AggregationDialog::getStatisticalSummary ( )

Get the Grouping Functions Type based on selected QListWidgetItem.

Returns
Map with Properties and Grouping Functions Type.
void te::vp::AggregationDialog::onCalculateStatistics ( bool  visible)
protectedslot
void te::vp::AggregationDialog::onCancelPushButtonClicked ( )
protectedslot
void te::vp::AggregationDialog::onFilterLineEditTextChanged ( const QString &  text)
protectedslot
void te::vp::AggregationDialog::onLayerComboBoxChanged ( int  index)
protectedslot
void te::vp::AggregationDialog::onOkPushButtonClicked ( )
protectedslot
void te::vp::AggregationDialog::onOutputListWidgetClicked ( QListWidgetItem *  item)
protectedslot
void te::vp::AggregationDialog::onRejectAllComboBoxChanged ( int  index)
protectedslot
void te::vp::AggregationDialog::onSelectAllComboBoxChanged ( int  index)
protectedslot
void te::vp::AggregationDialog::onTargetDatasourceToolButtonPressed ( )
protectedslot
void te::vp::AggregationDialog::onTargetFileToolButtonPressed ( )
protectedslot
void te::vp::AggregationDialog::setFunctionsByLayer ( std::vector< te::dt::Property * >  properties)

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

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

Set the layer that can be used.

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

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

void te::vp::AggregationDialog::setStatisticalSummaryMap ( )

Map Statistical Summary Type enum for an intuitive name.

Member Data Documentation

te::map::AbstractLayerPtr te::vp::AggregationDialog::m_layer
private

Generated Layer.

Definition at line 152 of file AggregationDialog.h.

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

List of layers.

Definition at line 148 of file AggregationDialog.h.

te::da::DataSourceInfoPtr te::vp::AggregationDialog::m_outputDatasource
private

DataSource information.

Definition at line 147 of file AggregationDialog.h.

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

Properties related to the selected Layer.

Definition at line 150 of file AggregationDialog.h.

te::map::AbstractLayerPtr te::vp::AggregationDialog::m_selectedLayer
private

Layer used for aggregation.

Definition at line 149 of file AggregationDialog.h.

StaticalSummaryMap te::vp::AggregationDialog::m_StatisticalSummaryMap
private

Maping of Statistical Summary enum.

Definition at line 151 of file AggregationDialog.h.

bool te::vp::AggregationDialog::m_toFile
private

Definition at line 153 of file AggregationDialog.h.

std::auto_ptr<Ui::AggregationDialogForm> te::vp::AggregationDialog::m_ui
private

Definition at line 146 of file AggregationDialog.h.


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