te::attributefill::VectorToRasterDialog Class Reference

#include <VectorToRasterDialog.h>

Inheritance diagram for te::attributefill::VectorToRasterDialog:
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...
 
 VectorToRasterDialog (QWidget *parent=0, Qt::WindowFlags f=0)
 
 ~VectorToRasterDialog ()
 

Protected Slots

void onCancelPushButtonClicked ()
 
void onOkPushButtonClicked ()
 
void onResXLineEditEditingFinished ()
 
void onResYLineEditEditingFinished ()
 
void onTargetFileToolButtonPressed ()
 
void onVectorComboBoxChanged (int index)
 

Private Member Functions

void showSRS ()
 

Private Attributes

std::list< te::map::AbstractLayerPtrm_layers
 List of layers. More...
 
te::map::AbstractLayerPtr m_outLayer
 Generated Layer. More...
 
te::da::DataSourceInfoPtr m_outputDatasource
 DataSource information. More...
 
std::string m_path
 Output layer path;. More...
 
std::vector< te::dt::Property * > m_properties
 Properties related to the selected Layer. More...
 
te::map::AbstractLayerPtr m_selectedLayer
 Selected layer. More...
 
int m_srid
 SRID of selected layer. More...
 
bool m_toFile
 
std::unique_ptr< Ui::VectorToRasterDialogForm > m_ui
 
std::unique_ptr< te::qt::widgets::DoubleListWidgetm_widget
 Double list widget. More...
 

Detailed Description

Definition at line 53 of file VectorToRasterDialog.h.

Constructor & Destructor Documentation

te::attributefill::VectorToRasterDialog::VectorToRasterDialog ( QWidget parent = 0,
Qt::WindowFlags  f = 0 
)
te::attributefill::VectorToRasterDialog::~VectorToRasterDialog ( )
default

Referenced by VectorToRasterDialog().

Member Function Documentation

te::map::AbstractLayerPtr te::attributefill::VectorToRasterDialog::getLayer ( )

Get the generated layer.

Returns
the generated layer.

Definition at line 132 of file VectorToRasterDialog.cpp.

References m_outLayer.

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

void te::attributefill::VectorToRasterDialog::onCancelPushButtonClicked ( )
protectedslot

Definition at line 434 of file VectorToRasterDialog.cpp.

Referenced by VectorToRasterDialog().

void te::attributefill::VectorToRasterDialog::onResXLineEditEditingFinished ( )
protectedslot
void te::attributefill::VectorToRasterDialog::onResYLineEditEditingFinished ( )
protectedslot
void te::attributefill::VectorToRasterDialog::onTargetFileToolButtonPressed ( )
protectedslot
void te::attributefill::VectorToRasterDialog::setLayers ( std::list< te::map::AbstractLayerPtr layers)

Set the layer that can be used.

Parameters
layersList of AbstractLayerPtr

Definition at line 117 of file VectorToRasterDialog.cpp.

References m_layers, and m_ui.

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

void te::attributefill::VectorToRasterDialog::showSRS ( )
private

Member Data Documentation

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

List of layers.

Definition at line 98 of file VectorToRasterDialog.h.

Referenced by onVectorComboBoxChanged(), and setLayers().

te::map::AbstractLayerPtr te::attributefill::VectorToRasterDialog::m_outLayer
private

Generated Layer.

Definition at line 104 of file VectorToRasterDialog.h.

Referenced by getLayer(), and onOkPushButtonClicked().

te::da::DataSourceInfoPtr te::attributefill::VectorToRasterDialog::m_outputDatasource
private

DataSource information.

Definition at line 101 of file VectorToRasterDialog.h.

Referenced by onOkPushButtonClicked().

std::string te::attributefill::VectorToRasterDialog::m_path
private

Output layer path;.

Definition at line 105 of file VectorToRasterDialog.h.

std::vector<te::dt::Property*> te::attributefill::VectorToRasterDialog::m_properties
private

Properties related to the selected Layer.

Definition at line 102 of file VectorToRasterDialog.h.

Referenced by onVectorComboBoxChanged().

te::map::AbstractLayerPtr te::attributefill::VectorToRasterDialog::m_selectedLayer
private
int te::attributefill::VectorToRasterDialog::m_srid
private

SRID of selected layer.

Definition at line 99 of file VectorToRasterDialog.h.

Referenced by onVectorComboBoxChanged(), and showSRS().

bool te::attributefill::VectorToRasterDialog::m_toFile
private

Definition at line 106 of file VectorToRasterDialog.h.

Referenced by onTargetFileToolButtonPressed().

std::unique_ptr<Ui::VectorToRasterDialogForm> te::attributefill::VectorToRasterDialog::m_ui
private
std::unique_ptr<te::qt::widgets::DoubleListWidget> te::attributefill::VectorToRasterDialog::m_widget
private

Double list widget.

Definition at line 100 of file VectorToRasterDialog.h.

Referenced by onOkPushButtonClicked(), onVectorComboBoxChanged(), and VectorToRasterDialog().


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