26 #ifndef __TERRALIB_ATTRIBUTEFILL_INTERNAL_VECTORTOVECTORDIALOG_H
27 #define __TERRALIB_ATTRIBUTEFILL_INTERNAL_VECTORTOVECTORDIALOG_H
31 #include "../../dataaccess/datasource/DataSourceInfo.h"
32 #include "../../datatype/Property.h"
33 #include "../../maptools/AbstractLayer.h"
34 #include "../../statistics/core/Utils.h"
36 #include "../Config.h"
48 namespace Ui {
class VectorToVectorDialogForm; }
51 class QListWidgetItem;
53 class QTreeWidgetItem;
57 namespace attributefill
75 void setLayers(std::list<te::map::AbstractLayerPtr> layers);
84 void setLogPath(
const std::string& path);
90 void setStatisticalSummary();
96 std::map<std::string, std::vector<te::attributefill::OperationType> > getSelections();
102 bool isValidPropertyType(
const int type);
104 bool isClassType(
const int type);
108 bool isNumProperty(
const int type);
112 void onTargetDatasourceToolButtonPressed();
114 void onTargetFileToolButtonPressed();
116 void onFromLayerComboBoxCurrentIndexChanged(
int index);
118 void onToLayerComboBoxCurrentIndexChanged(
int index);
120 void onOkPushButtonClicked();
122 void onCancelPushButtonClicked();
124 void onSelectAttrToolButtonPressed();
126 void onSelectAllComboBoxChanged(
int index);
128 void onRejectAllComboBoxChanged(
int index);
130 void onStatisticsListWidgetItemPressed(QListWidgetItem * item);
136 std::auto_ptr<Ui::VectorToVectorDialogForm>
m_ui;
148 #endif // __TERRALIB_ATTRIBUTEFILL_INTERNAL_VECTORTOVECTORDIALOG_H
std::string m_path
Output layer path;.
GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code.
std::list< te::map::AbstractLayerPtr > m_layers
List of layers.
#define TEATTRIBUTEFILLEXPORT
You can use this macro in order to export/import classes and functions from this module.
std::vector< std::string > m_outputAttributes
std::auto_ptr< Ui::VectorToVectorDialogForm > m_ui
User interface.
te::map::AbstractLayerPtr m_outLayer
te::da::DataSourceInfoPtr m_outputDatasource
DataSource information.
std::map< te::stat::StatisticalSummary, std::string > StaticalSummaryMap
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
boost::shared_ptr< DataSourceInfo > DataSourceInfoPtr