te::attributefill::VectorToVectorDialog Class Reference

#include <VectorToVectorDialog.h>

Inheritance diagram for te::attributefill::VectorToVectorDialog:
QDialog

Public Member Functions

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

Protected Slots

void onCancelPushButtonClicked ()
 
void onFromLayerComboBoxCurrentIndexChanged (int index)
 
void onOkPushButtonClicked ()
 
void onRejectAllComboBoxChanged (int index)
 
void onSelectAllComboBoxChanged (int index)
 
void onSelectAttrToolButtonPressed ()
 
void onStatisticsListWidgetItemPressed (QListWidgetItem *item)
 
void onTargetDatasourceToolButtonPressed ()
 
void onTargetFileToolButtonPressed ()
 
void onToLayerComboBoxCurrentIndexChanged (int index)
 

Private Types

typedef std::map< te::stat::StatisticalSummary, std::string > StaticalSummaryMap
 

Private Member Functions

te::map::AbstractLayerPtr getCurrentFromLayer ()
 
te::map::AbstractLayerPtr getCurrentToLayer ()
 
te::gm::GeomType getCurrentToLayerGeomType ()
 
std::map< std::string, std::vector< te::attributefill::OperationType > > getSelections ()
 
bool isClassType (const int type)
 
bool isNumProperty (const int type)
 
bool isPoint (te::gm::GeomType type)
 
bool isPolygon (te::gm::GeomType type)
 
bool isValidPropertyType (const int type)
 
void setFunctionsByLayer (te::map::AbstractLayerPtr layer)
 
void setStatisticalSummary ()
 

Private Attributes

std::list< te::map::AbstractLayerPtrm_layers
 List of layers. More...
 
te::map::AbstractLayerPtr m_outLayer
 
std::vector< std::string > m_outputAttributes
 
te::da::DataSourceInfoPtr m_outputDatasource
 DataSource information. More...
 
std::string m_path
 Output layer path;. More...
 
bool m_toFile
 
std::unique_ptr< Ui::VectorToVectorDialogForm > m_ui
 User interface. More...
 

Detailed Description

Definition at line 59 of file VectorToVectorDialog.h.

Member Typedef Documentation

Constructor & Destructor Documentation

te::attributefill::VectorToVectorDialog::~VectorToVectorDialog ( )
default

Referenced by VectorToVectorDialog().

Member Function Documentation

te::map::AbstractLayerPtr te::attributefill::VectorToVectorDialog::getCurrentFromLayer ( )
private
te::map::AbstractLayerPtr te::attributefill::VectorToVectorDialog::getCurrentToLayer ( )
private
te::gm::GeomType te::attributefill::VectorToVectorDialog::getCurrentToLayerGeomType ( )
private
te::map::AbstractLayerPtr te::attributefill::VectorToVectorDialog::getLayer ( )

Get the generated layer.

Returns
the generated layer.

Definition at line 149 of file VectorToVectorDialog.cpp.

References m_outLayer.

Referenced by te::qt::plugins::attributefill::VectorToVectorAction::onActionActivated().

std::map< std::string, std::vector< te::attributefill::OperationType > > te::attributefill::VectorToVectorDialog::getSelections ( )
private

Definition at line 581 of file VectorToVectorDialog.cpp.

References getCurrentFromLayer(), m_ui, and te::common::Tokenize().

Referenced by onOkPushButtonClicked().

bool te::attributefill::VectorToVectorDialog::isClassType ( const int  type)
private
bool te::attributefill::VectorToVectorDialog::isNumProperty ( const int  type)
private
void te::attributefill::VectorToVectorDialog::onCancelPushButtonClicked ( )
protectedslot

Definition at line 323 of file VectorToVectorDialog.cpp.

Referenced by VectorToVectorDialog().

void te::attributefill::VectorToVectorDialog::onFromLayerComboBoxCurrentIndexChanged ( int  index)
protectedslot
void te::attributefill::VectorToVectorDialog::onRejectAllComboBoxChanged ( int  index)
protectedslot

Definition at line 510 of file VectorToVectorDialog.cpp.

References m_ui, and te::common::Tokenize().

Referenced by VectorToVectorDialog().

void te::attributefill::VectorToVectorDialog::onSelectAllComboBoxChanged ( int  index)
protectedslot

Definition at line 482 of file VectorToVectorDialog.cpp.

References m_ui, and te::common::Tokenize().

Referenced by VectorToVectorDialog().

void te::attributefill::VectorToVectorDialog::onStatisticsListWidgetItemPressed ( QListWidgetItem *  item)
protectedslot

Definition at line 476 of file VectorToVectorDialog.cpp.

Referenced by VectorToVectorDialog().

void te::attributefill::VectorToVectorDialog::onTargetDatasourceToolButtonPressed ( )
protectedslot
void te::attributefill::VectorToVectorDialog::onTargetFileToolButtonPressed ( )
protectedslot
void te::attributefill::VectorToVectorDialog::onToLayerComboBoxCurrentIndexChanged ( int  index)
protectedslot
void te::attributefill::VectorToVectorDialog::setLayers ( std::list< te::map::AbstractLayerPtr layers)

Set the layer that can be used.

Parameters
layersList of AbstractLayerPtr

Definition at line 121 of file VectorToVectorDialog.cpp.

References m_layers, m_ui, and onFromLayerComboBoxCurrentIndexChanged().

Referenced by te::qt::plugins::attributefill::VectorToVectorAction::onActionActivated().

Member Data Documentation

std::list<te::map::AbstractLayerPtr> te::attributefill::VectorToVectorDialog::m_layers
private

List of layers.

Definition at line 136 of file VectorToVectorDialog.h.

Referenced by getCurrentFromLayer(), getCurrentToLayer(), and setLayers().

te::map::AbstractLayerPtr te::attributefill::VectorToVectorDialog::m_outLayer
private

Definition at line 138 of file VectorToVectorDialog.h.

Referenced by getLayer(), and onOkPushButtonClicked().

std::vector<std::string> te::attributefill::VectorToVectorDialog::m_outputAttributes
private
te::da::DataSourceInfoPtr te::attributefill::VectorToVectorDialog::m_outputDatasource
private

DataSource information.

Definition at line 135 of file VectorToVectorDialog.h.

Referenced by onOkPushButtonClicked(), and onTargetDatasourceToolButtonPressed().

std::string te::attributefill::VectorToVectorDialog::m_path
private

Output layer path;.

Definition at line 139 of file VectorToVectorDialog.h.

bool te::attributefill::VectorToVectorDialog::m_toFile
private

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