te::vp::IntersectionDialog Class Reference

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

#include <IntersectionDialog.h>

Inheritance diagram for te::vp::IntersectionDialog:

Public Member Functions

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

Protected Slots

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

Protected Member Functions

std::vector< std::pair< std::string, std::string > > getSelectedProperties ()
 
void updateDoubleListWidget ()
 
void updateFirstLayerComboBox ()
 
void updateSecondLayerComboBox ()
 

Private Attributes

std::auto_ptr< te::qt::widgets::DoubleListWidgetm_doubleListWidget
 
te::map::AbstractLayerPtr m_firstSelectedLayer
 First layer selected. More...
 
te::map::AbstractLayerPtr m_layerResult
 Generated Layer. More...
 
std::list< te::map::AbstractLayerPtrm_layers
 First layer selected. More...
 
std::string m_outputArchive
 Archive information. More...
 
te::da::DataSourceInfoPtr m_outputDatasource
 DataSource information. More...
 
te::map::AbstractLayerPtr m_secondSelectedLayer
 Second layer selected. More...
 
bool m_toFile
 
std::auto_ptr< Ui::IntersectionDialogForm > m_ui
 

Detailed Description

A dialog used to execute vector intersection.

Definition at line 62 of file IntersectionDialog.h.

Constructor & Destructor Documentation

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

Member Function Documentation

te::map::AbstractLayerPtr te::vp::IntersectionDialog::getLayer ( )
std::vector<std::pair<std::string, std::string> > te::vp::IntersectionDialog::getSelectedProperties ( )
protected
void te::vp::IntersectionDialog::onFirstLayerComboBoxChanged ( int  index)
protectedslot
void te::vp::IntersectionDialog::onOkPushButtonClicked ( )
protectedslot
void te::vp::IntersectionDialog::onSecondLayerComboBoxChanged ( int  index)
protectedslot
void te::vp::IntersectionDialog::onTargetDatasourceToolButtonPressed ( )
protectedslot
void te::vp::IntersectionDialog::onTargetFileToolButtonPressed ( )
protectedslot
void te::vp::IntersectionDialog::setLayers ( std::list< te::map::AbstractLayerPtr layers)

Set the layer that can be used.

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

Member Data Documentation

std::auto_ptr<te::qt::widgets::DoubleListWidget> te::vp::IntersectionDialog::m_doubleListWidget
private

Definition at line 113 of file IntersectionDialog.h.

te::map::AbstractLayerPtr te::vp::IntersectionDialog::m_firstSelectedLayer
private

First layer selected.

Definition at line 107 of file IntersectionDialog.h.

te::map::AbstractLayerPtr te::vp::IntersectionDialog::m_layerResult
private

Generated Layer.

Definition at line 111 of file IntersectionDialog.h.

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

First layer selected.

Definition at line 106 of file IntersectionDialog.h.

std::string te::vp::IntersectionDialog::m_outputArchive
private

Archive information.

Definition at line 110 of file IntersectionDialog.h.

te::da::DataSourceInfoPtr te::vp::IntersectionDialog::m_outputDatasource
private

DataSource information.

Definition at line 109 of file IntersectionDialog.h.

te::map::AbstractLayerPtr te::vp::IntersectionDialog::m_secondSelectedLayer
private

Second layer selected.

Definition at line 108 of file IntersectionDialog.h.

bool te::vp::IntersectionDialog::m_toFile
private

Definition at line 112 of file IntersectionDialog.h.

std::auto_ptr<Ui::IntersectionDialogForm> te::vp::IntersectionDialog::m_ui
private

Definition at line 105 of file IntersectionDialog.h.


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