26 #ifndef __TERRALIB_VP_QT_INTERNAL_UNIONDIALOG_H
27 #define __TERRALIB_VP_QT_INTERNAL_UNIONDIALOG_H
30 #include "../../dataaccess/datasource/DataSourceInfo.h"
31 #include "../../maptools/AbstractLayer.h"
32 #include "../AlgorithmParams.h"
33 #include "../Config.h"
41 namespace Ui {
class UnionDialogForm; }
49 class DoubleListWidget;
66 UnionDialog(QWidget* parent = 0, Qt::WindowFlags f = 0);
87 void setLayers(std::list<te::map::AbstractLayerPtr> layers);
93 bool onlySelectedObjects,
97 bool onlySelectedObjects,
100 std::vector<std::pair<std::string, std::string> >
101 getSelectedProperties();
103 void updateFirstLayerComboBox();
105 void updateSecondLayerComboBox();
107 void updateDoubleListWidget();
111 void onFirstLayerComboBoxChanged(
int index);
113 void onSecondLayerComboBoxChanged(
int index);
115 void onTargetDatasourceToolButtonPressed();
117 void onTargetFileToolButtonPressed();
119 void onOkPushButtonClicked();
121 void onCancelPushButtonClicked();
125 std::auto_ptr<Ui::UnionDialogForm>
m_ui;
143 #endif // __TERRALIB_VP_QT_INTERNAL_UNIONDIALOG_H
#define TEVPEXPORT
You can use this macro in order to export/import classes and functions from this module.
te::map::AbstractLayerPtr m_firstSelectedLayer
Input layer selected.
te::map::AbstractLayerPtr m_outputLayer
Generated Layer.
bool m_toFile
The result is in a file?
A class that models the description of a dataset.
te::da::DataSet * m_dataSet
te::da::DataSourceInfoPtr m_outputDatasource
DataSource information.
std::vector< te::vp::InputParams > m_inputParams
A vector of input parameters.
std::auto_ptr< Ui::UnionDialogForm > m_ui
std::unique_ptr< te::qt::widgets::DoubleListWidget > m_doubleListWidget
te::da::DataSetType * m_dataSetType
A dialog used to execute vector union.
A Select models a query to be used when retrieving data from a DataSource.
te::map::AbstractLayerPtr m_secondSelectedLayer
Union layer selected.
A dataset is the unit of information manipulated by the data access module of TerraLib.
std::list< te::map::AbstractLayerPtr > m_layers
The vector layers in Layer Explorer.
te::vp::AlgorithmParams * m_params
Algorithm parameters.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
boost::shared_ptr< DataSourceInfo > DataSourceInfoPtr