26 #ifndef __TERRALIB_VP_INTERNAL_AGGREGATIONDIALOG_H
27 #define __TERRALIB_VP_INTERNAL_AGGREGATIONDIALOG_H
30 #include "../../dataaccess/datasource/DataSourceInfo.h"
31 #include "../../datatype/Property.h"
32 #include "../../maptools/AbstractLayer.h"
33 #include "../../statistics/core/Enums.h"
34 #include "../Config.h"
43 #include <QtGui/QDialog>
45 namespace Ui {
class AggregationDialogForm; }
48 class QListWidgetItem;
50 class QTreeWidgetItem;
74 void setLayers(std::list<te::map::AbstractLayerPtr> layers);
81 std::map<te::dt::Property*, std::vector<te::stat::StatisticalSummary> > getStatisticalSummary();
95 std::vector<te::dt::Property*> getSelectedProperties();
107 void setStatisticalSummary();
112 void setStatisticalSummaryMap();
117 void setFunctionsByLayer(std::vector<te::dt::Property*> properties);
123 void onLayerComboBoxChanged(
int index);
125 void onFilterLineEditTextChanged(
const QString& text);
127 void onCalculateStatistics(
bool visible);
129 void onSelectAllComboBoxChanged(
int index);
131 void onRejectAllComboBoxChanged(
int index);
133 void onOutputListWidgetClicked(QListWidgetItem * item);
135 void onTargetDatasourceToolButtonPressed();
137 void onTargetFileToolButtonPressed();
139 void onHelpPushButtonClicked();
141 void onOkPushButtonClicked();
143 void onCancelPushButtonClicked();
149 std::auto_ptr<Ui::AggregationDialogForm>
m_ui;
161 #endif // __TERRALIB_VP_INTERNAL_AGGREGATIONDIALOG_H
StaticalSummaryMap m_StatisticalSummaryMap
Maping of Statistical Summary enum.
te::map::AbstractLayerPtr m_selectedLayer
Layer used for aggregation.
std::vector< te::dt::Property * > m_properties
Properties related to the selected Layer.
te::map::AbstractLayerPtr m_layer
Generated Layer.
std::map< te::stat::StatisticalSummary, std::string > StaticalSummaryMap
#define TEVPEXPORT
You can use this macro in order to export/import classes and functions from this module.
te::da::DataSourceInfoPtr m_outputDatasource
DataSource information.
std::list< te::map::AbstractLayerPtr > m_layers
List of layers.
It models a property definition.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
std::auto_ptr< Ui::AggregationDialogForm > m_ui
boost::shared_ptr< DataSourceInfo > DataSourceInfoPtr