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 bool onlySelectedObjects,
99 bool onlySelectedObjects,
102 std::vector<std::pair<std::string, std::string> >
103 getSelectedProperties();
105 void updateFirstLayerComboBox();
107 void updateSecondLayerComboBox();
109 void updateDoubleListWidget();
113 void onFirstLayerComboBoxChanged(
int index);
115 void onSecondLayerComboBoxChanged(
int index);
117 void onTargetDatasourceToolButtonPressed();
119 void onTargetFileToolButtonPressed();
121 void onOkPushButtonClicked();
123 void onCancelPushButtonClicked();
127 std::auto_ptr<Ui::UnionDialogForm>
m_ui;
145 #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