26 #ifndef __TERRALIB_VP_QT_INTERNAL_UNIONDIALOG_H 27 #define __TERRALIB_VP_QT_INTERNAL_UNIONDIALOG_H 31 #include "../../dataaccess/datasource/DataSourceInfo.h" 32 #include "../../maptools/AbstractLayer.h" 33 #include "../AlgorithmParams.h" 35 #include "../Config.h" 43 namespace Ui {
class UnionDialogForm; }
51 class DoubleListWidget;
68 UnionDialog(QWidget* parent = 0, Qt::WindowFlags f = 0);
89 void setLayers(std::list<te::map::AbstractLayerPtr> layers);
95 std::vector<std::pair<std::string, std::string> >
96 getSelectedProperties();
98 void updateFirstLayerComboBox();
100 void updateSecondLayerComboBox();
102 void updateDoubleListWidget();
106 void onFirstLayerComboBoxChanged(
int index);
108 void onSecondLayerComboBoxChanged(
int index);
110 void onTargetDatasourceToolButtonPressed();
112 void onTargetFileToolButtonPressed();
114 void onOkPushButtonClicked();
116 void onCancelPushButtonClicked();
120 std::unique_ptr<Ui::UnionDialogForm>
m_ui;
138 #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::unique_ptr< te::qt::widgets::DoubleListWidget > m_doubleListWidget
te::da::DataSetType * m_dataSetType
std::unique_ptr< Ui::UnionDialogForm > m_ui
A dialog used to execute vector union.
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