te::vp::UnionDialog Class Reference

A dialog used to execute vector union. More...

#include <UnionDialog.h>

Inheritance diagram for te::vp::UnionDialog:

Classes

struct  DataStruct
 

Public Member Functions

te::map::AbstractLayerPtr getLayer ()
 
void setLayers (std::list< te::map::AbstractLayerPtr > layers)
 Set the layer that can be used. More...
 
 UnionDialog (QWidget *parent=0, Qt::WindowFlags f=0)
 
 ~UnionDialog ()
 

Protected Slots

void onCancelPushButtonClicked ()
 
void onFirstLayerComboBoxChanged (int index)
 
void onOkPushButtonClicked ()
 
void onSecondLayerComboBoxChanged (int index)
 
void onTargetDatasourceToolButtonPressed ()
 
void onTargetFileToolButtonPressed ()
 

Protected Member Functions

DataStruct getDataStructFromLayer (te::map::AbstractLayerPtr layer, bool onlySelectedObjects, int srid=0)
 
std::vector< std::pair< std::string, std::string > > getSelectedProperties ()
 
te::da::SelectgetSelectQueryFromLayer (te::map::AbstractLayerPtr layer, bool onlySelectedObjects, int srid=0)
 
void updateDoubleListWidget ()
 
void updateFirstLayerComboBox ()
 
void updateSecondLayerComboBox ()
 

Private Attributes

std::unique_ptr< te::qt::widgets::DoubleListWidgetm_doubleListWidget
 
te::map::AbstractLayerPtr m_firstSelectedLayer
 Input layer selected. More...
 
std::vector< te::vp::InputParamsm_inputParams
 A vector of input parameters. More...
 
std::list< te::map::AbstractLayerPtrm_layers
 The vector layers in Layer Explorer. More...
 
te::da::DataSourceInfoPtr m_outputDatasource
 DataSource information. More...
 
te::map::AbstractLayerPtr m_outputLayer
 Generated Layer. More...
 
te::vp::AlgorithmParamsm_params
 Algorithm parameters. More...
 
te::map::AbstractLayerPtr m_secondSelectedLayer
 Union layer selected. More...
 
bool m_toFile
 The result is in a file? More...
 
std::auto_ptr< Ui::UnionDialogForm > m_ui
 

Detailed Description

A dialog used to execute vector union.

Definition at line 60 of file UnionDialog.h.

Constructor & Destructor Documentation

te::vp::UnionDialog::UnionDialog ( QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)
te::vp::UnionDialog::~UnionDialog ( )

Member Function Documentation

DataStruct te::vp::UnionDialog::getDataStructFromLayer ( te::map::AbstractLayerPtr  layer,
bool  onlySelectedObjects,
int  srid = 0 
)
protected
te::map::AbstractLayerPtr te::vp::UnionDialog::getLayer ( )
std::vector<std::pair<std::string, std::string> > te::vp::UnionDialog::getSelectedProperties ( )
protected
te::da::Select* te::vp::UnionDialog::getSelectQueryFromLayer ( te::map::AbstractLayerPtr  layer,
bool  onlySelectedObjects,
int  srid = 0 
)
protected
void te::vp::UnionDialog::onCancelPushButtonClicked ( )
protectedslot
void te::vp::UnionDialog::onFirstLayerComboBoxChanged ( int  index)
protectedslot
void te::vp::UnionDialog::onOkPushButtonClicked ( )
protectedslot
void te::vp::UnionDialog::onSecondLayerComboBoxChanged ( int  index)
protectedslot
void te::vp::UnionDialog::onTargetDatasourceToolButtonPressed ( )
protectedslot
void te::vp::UnionDialog::onTargetFileToolButtonPressed ( )
protectedslot
void te::vp::UnionDialog::setLayers ( std::list< te::map::AbstractLayerPtr layers)

Set the layer that can be used.

Parameters
layersList of AbstractLayerPtr
void te::vp::UnionDialog::updateDoubleListWidget ( )
protected
void te::vp::UnionDialog::updateFirstLayerComboBox ( )
protected
void te::vp::UnionDialog::updateSecondLayerComboBox ( )
protected

Member Data Documentation

std::unique_ptr<te::qt::widgets::DoubleListWidget> te::vp::UnionDialog::m_doubleListWidget
private

Definition at line 138 of file UnionDialog.h.

te::map::AbstractLayerPtr te::vp::UnionDialog::m_firstSelectedLayer
private

Input layer selected.

Definition at line 127 of file UnionDialog.h.

std::vector<te::vp::InputParams> te::vp::UnionDialog::m_inputParams
private

A vector of input parameters.

Definition at line 130 of file UnionDialog.h.

std::list<te::map::AbstractLayerPtr> te::vp::UnionDialog::m_layers
private

The vector layers in Layer Explorer.

Definition at line 126 of file UnionDialog.h.

te::da::DataSourceInfoPtr te::vp::UnionDialog::m_outputDatasource
private

DataSource information.

Definition at line 133 of file UnionDialog.h.

te::map::AbstractLayerPtr te::vp::UnionDialog::m_outputLayer
private

Generated Layer.

Definition at line 134 of file UnionDialog.h.

te::vp::AlgorithmParams* te::vp::UnionDialog::m_params
private

Algorithm parameters.

Definition at line 131 of file UnionDialog.h.

te::map::AbstractLayerPtr te::vp::UnionDialog::m_secondSelectedLayer
private

Union layer selected.

Definition at line 128 of file UnionDialog.h.

bool te::vp::UnionDialog::m_toFile
private

The result is in a file?

Definition at line 136 of file UnionDialog.h.

std::auto_ptr<Ui::UnionDialogForm> te::vp::UnionDialog::m_ui
private

Definition at line 125 of file UnionDialog.h.


The documentation for this class was generated from the following file: