26 #ifndef __TERRALIB_VP_INTERNAL_MERGEDIALOG_H    27 #define __TERRALIB_VP_INTERNAL_MERGEDIALOG_H    31 #include "../../dataaccess/datasource/DataSourceInfo.h"    32 #include "../../maptools/AbstractLayer.h"    34 #include "../Config.h"    42 namespace Ui { 
class MergeDialogForm; }
    49   namespace dt { 
class Property; }
    61         MergeDialog(QWidget* parent = 0, Qt::WindowFlags f = 0);
    71         void setLayers(std::list<te::map::AbstractLayerPtr> layers);
    82         void updateTargetLayerComboBox();
    84         void updateOriginLayerComboBox();
    86         void updateAttrTableWidget();
    88         QComboBox* getPossibleAttributesComboBox(
te::dt::Property* mainProp, std::vector<te::dt::Property*> props);
    90         QComboBox* getAllAttributesComboBox(std::vector<te::dt::Property*> props);
    92         std::vector<std::pair<std::string, std::string> > getTablePropertiesNames();
    96         void onTargetLayerComboBoxChanged(
int index);
    98         void onOriginLayerComboBoxChanged(
int index);
   100         void onTargetDatasourceToolButtonPressed();
   102         void onTargetFileToolButtonPressed();
   104         void onOutputGroupBoxToggled(
bool on);
   106         void onOkPushButtonClicked();
   108         void onCancelPushButtonClicked();
   112         std::unique_ptr<Ui::MergeDialogForm> 
m_ui;
   125 #endif  // __TERRALIB_VP_INTERNAL_MERGEDIALOG_H #define TEVPEXPORT
You can use this macro in order to export/import classes and functions from this module. 
 
std::list< te::map::AbstractLayerPtr > m_layers
List of layers. 
 
std::unique_ptr< Ui::MergeDialogForm > m_ui
 
te::map::AbstractLayerPtr m_originSelectedLayer
Second layer selected. 
 
It models a property definition. 
 
te::map::AbstractLayerPtr m_outputLayer
Generated Layer. 
 
te::map::AbstractLayerPtr m_targetSelectedLayer
Target layer selected. 
 
te::da::DataSourceInfoPtr m_outputDatasource
DataSource information. 
 
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
 
boost::shared_ptr< DataSourceInfo > DataSourceInfoPtr