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; }
71 void setLayers(std::list<te::map::AbstractLayerPtr> layers);
112 std::unique_ptr<Ui::MergeDialogForm>
m_ui;
It models a property definition.
void onCancelPushButtonClicked()
void setLayers(std::list< te::map::AbstractLayerPtr > layers)
Set the layer that can be used.
void onOutputGroupBoxToggled(bool on)
void onTargetDatasourceToolButtonPressed()
std::vector< std::pair< std::string, std::string > > getTablePropertiesNames()
void updateOriginLayerComboBox()
void onOriginLayerComboBoxChanged(int index)
MergeDialog(QWidget *parent=0, Qt::WindowFlags f=0)
QComboBox * getAllAttributesComboBox(std::vector< te::dt::Property * > props)
te::da::DataSourceInfoPtr m_outputDatasource
DataSource information.
te::map::AbstractLayerPtr m_targetSelectedLayer
Target layer selected.
void onOkPushButtonClicked()
std::unique_ptr< Ui::MergeDialogForm > m_ui
std::list< te::map::AbstractLayerPtr > m_layers
List of layers.
void onTargetLayerComboBoxChanged(int index)
te::map::AbstractLayerPtr m_outputLayer
Generated Layer.
void updateAttrTableWidget()
void onTargetFileToolButtonPressed()
void updateTargetLayerComboBox()
te::map::AbstractLayerPtr getLayer()
Get the generated layer.
QComboBox * getPossibleAttributesComboBox(te::dt::Property *mainProp, std::vector< te::dt::Property * > props)
te::map::AbstractLayerPtr m_originSelectedLayer
Second layer selected.
boost::shared_ptr< DataSourceInfo > DataSourceInfoPtr
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
#define TEVPEXPORT
You can use this macro in order to export/import classes and functions from this module.