te::vp::BufferDialog Class Reference

#include <BufferDialog.h>

Inheritance diagram for te::vp::BufferDialog:
QDialog

Public Member Functions

 BufferDialog (QWidget *parent=0, Qt::WindowFlags f=0)
 
int getBoundariesRule ()
 
te::map::AbstractLayerPtr getLayer ()
 
int getPolygonRule ()
 
void setAttributesForDistance (std::vector< te::dt::Property * > properties)
 
void setLayers (std::list< te::map::AbstractLayerPtr > layers)
 Set the layer that can be used. More...
 
void setPossibleLevels ()
 
 ~BufferDialog ()
 

Protected Slots

void onAttDistanceToggled ()
 
void onCancelPushButtonClicked ()
 
void onFixedDistanceToggled ()
 
void onLayerComboBoxChanged (int index)
 
void onOkPushButtonClicked ()
 
void onRuleInOutToggled ()
 
void onRuleInToggled ()
 
void onRuleOutToggled ()
 
void onSrsToolButtonClicked ()
 
void onTargetDatasourceToolButtonPressed ()
 
void onTargetFileToolButtonPressed ()
 
void onWithBoundToggled ()
 
void onWithoutBoundToggled ()
 

Private Attributes

std::list< te::map::AbstractLayerPtrm_layers
 List of layers. More...
 
int m_newSRID
 newSRID to compure buffer Area. More...
 
std::string m_outputArchive
 Archive information. More...
 
te::da::DataSourceInfoPtr m_outputDatasource
 DataSource information. More...
 
te::map::AbstractLayerPtr m_outputLayer
 Generated Layer. More...
 
std::vector< te::dt::Property * > m_properties
 Properties related to the selected Layer. More...
 
te::map::AbstractLayerPtr m_selectedLayer
 Layer used for buffer. More...
 
bool m_toFile
 
std::unique_ptr< Ui::BufferDialogForm > m_ui
 

Detailed Description

Definition at line 59 of file BufferDialog.h.

Constructor & Destructor Documentation

te::vp::BufferDialog::~BufferDialog ( )
default

Referenced by BufferDialog().

Member Function Documentation

int te::vp::BufferDialog::getBoundariesRule ( )

Definition at line 192 of file BufferDialog.cpp.

References te::vp::DISSOLVE, m_ui, and te::vp::NOT_DISSOLVE.

Referenced by onOkPushButtonClicked().

te::map::AbstractLayerPtr te::vp::BufferDialog::getLayer ( )

Definition at line 200 of file BufferDialog.cpp.

References m_outputLayer.

Referenced by te::qt::plugins::vp::BufferAction::onActionActivated().

int te::vp::BufferDialog::getPolygonRule ( )
void te::vp::BufferDialog::onAttDistanceToggled ( )
protectedslot

Definition at line 307 of file BufferDialog.cpp.

References m_ui.

Referenced by BufferDialog().

void te::vp::BufferDialog::onCancelPushButtonClicked ( )
protectedslot

Definition at line 686 of file BufferDialog.cpp.

Referenced by BufferDialog().

void te::vp::BufferDialog::onFixedDistanceToggled ( )
protectedslot

Definition at line 301 of file BufferDialog.cpp.

References m_ui.

Referenced by BufferDialog().

void te::vp::BufferDialog::onRuleInOutToggled ( )
protectedslot

Definition at line 338 of file BufferDialog.cpp.

References m_ui.

Referenced by BufferDialog().

void te::vp::BufferDialog::onRuleInToggled ( )
protectedslot

Definition at line 367 of file BufferDialog.cpp.

References m_ui.

Referenced by BufferDialog().

void te::vp::BufferDialog::onSrsToolButtonClicked ( )
protectedslot
void te::vp::BufferDialog::onTargetDatasourceToolButtonPressed ( )
protectedslot
void te::vp::BufferDialog::onTargetFileToolButtonPressed ( )
protectedslot
void te::vp::BufferDialog::onWithBoundToggled ( )
protectedslot

Definition at line 378 of file BufferDialog.cpp.

References m_ui.

Referenced by BufferDialog().

void te::vp::BufferDialog::onWithoutBoundToggled ( )
protectedslot

Definition at line 372 of file BufferDialog.cpp.

References m_ui.

Referenced by BufferDialog().

void te::vp::BufferDialog::setLayers ( std::list< te::map::AbstractLayerPtr layers)

Set the layer that can be used.

Parameters
layersList of AbstractLayerPtr

Definition at line 132 of file BufferDialog.cpp.

References m_layers, and m_ui.

Referenced by te::qt::plugins::vp::BufferAction::onActionActivated().

void te::vp::BufferDialog::setPossibleLevels ( )

Definition at line 147 of file BufferDialog.cpp.

References m_ui.

Referenced by BufferDialog().

Member Data Documentation

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

List of layers.

Definition at line 119 of file BufferDialog.h.

Referenced by onLayerComboBoxChanged(), and setLayers().

int te::vp::BufferDialog::m_newSRID
private

newSRID to compure buffer Area.

Definition at line 123 of file BufferDialog.h.

Referenced by onLayerComboBoxChanged(), onOkPushButtonClicked(), and onSrsToolButtonClicked().

std::string te::vp::BufferDialog::m_outputArchive
private

Archive information.

Definition at line 118 of file BufferDialog.h.

te::da::DataSourceInfoPtr te::vp::BufferDialog::m_outputDatasource
private

DataSource information.

Definition at line 117 of file BufferDialog.h.

Referenced by onOkPushButtonClicked(), and onTargetDatasourceToolButtonPressed().

te::map::AbstractLayerPtr te::vp::BufferDialog::m_outputLayer
private

Generated Layer.

Definition at line 121 of file BufferDialog.h.

Referenced by getLayer(), and onOkPushButtonClicked().

std::vector<te::dt::Property*> te::vp::BufferDialog::m_properties
private

Properties related to the selected Layer.

Definition at line 122 of file BufferDialog.h.

Referenced by onLayerComboBoxChanged(), and onRuleOutToggled().

te::map::AbstractLayerPtr te::vp::BufferDialog::m_selectedLayer
private

Layer used for buffer.

Definition at line 120 of file BufferDialog.h.

Referenced by onLayerComboBoxChanged(), and onOkPushButtonClicked().

bool te::vp::BufferDialog::m_toFile
private

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