te::sa::SamplePointsGeneratorDialog Class Reference

#include <SamplePointsGeneratorDialog.h>

Inheritance diagram for te::sa::SamplePointsGeneratorDialog:
QDialog

Public Member Functions

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

Protected Slots

void onInputLayerComboBoxActivated (int index)
 
void onOkPushButtonClicked ()
 
void onTargetDatasourceToolButtonPressed ()
 
void onTargetFileToolButtonPressed ()
 

Protected Member Functions

void fillGeneratorTypes ()
 

Private Attributes

te::da::DataSourceInfoPtr m_outputDatasource
 
te::map::AbstractLayerPtr m_outputLayer
 Generated Layer. More...
 
bool m_toFile
 
std::unique_ptr< Ui::SamplePointsGeneratorDialogForm > m_ui
 

Detailed Description

Definition at line 51 of file SamplePointsGeneratorDialog.h.

Constructor & Destructor Documentation

te::sa::SamplePointsGeneratorDialog::SamplePointsGeneratorDialog ( QWidget parent = 0,
Qt::WindowFlags  f = 0 
)
te::sa::SamplePointsGeneratorDialog::~SamplePointsGeneratorDialog ( )
default

Referenced by Q_DECLARE_METATYPE().

Member Function Documentation

void te::sa::SamplePointsGeneratorDialog::fillGeneratorTypes ( )
protected

Definition at line 331 of file SamplePointsGeneratorDialog.cpp.

References m_ui, te::sa::Random, and te::sa::Stratified.

te::map::AbstractLayerPtr te::sa::SamplePointsGeneratorDialog::getOutputLayer ( )
void te::sa::SamplePointsGeneratorDialog::onInputLayerComboBoxActivated ( int  index)
protectedslot

Definition at line 118 of file SamplePointsGeneratorDialog.cpp.

References m_ui, and te::dt::STRING_TYPE.

Referenced by setLayers().

void te::sa::SamplePointsGeneratorDialog::onTargetDatasourceToolButtonPressed ( )
protectedslot
void te::sa::SamplePointsGeneratorDialog::onTargetFileToolButtonPressed ( )
protectedslot

Definition at line 310 of file SamplePointsGeneratorDialog.cpp.

References m_toFile, and m_ui.

void te::sa::SamplePointsGeneratorDialog::setLayers ( std::list< te::map::AbstractLayerPtr layers)

Set the layer that can be used.

Parameters
layersList of AbstractLayerPtr

Definition at line 89 of file SamplePointsGeneratorDialog.cpp.

References m_ui, and onInputLayerComboBoxActivated().

Referenced by te::qt::plugins::sa::SamplePointsGeneratorAction::onActionActivated().

Member Data Documentation

te::da::DataSourceInfoPtr te::sa::SamplePointsGeneratorDialog::m_outputDatasource
private
te::map::AbstractLayerPtr te::sa::SamplePointsGeneratorDialog::m_outputLayer
private

Generated Layer.

Definition at line 90 of file SamplePointsGeneratorDialog.h.

Referenced by getOutputLayer(), and onOkPushButtonClicked().

bool te::sa::SamplePointsGeneratorDialog::m_toFile
private
std::unique_ptr<Ui::SamplePointsGeneratorDialogForm> te::sa::SamplePointsGeneratorDialog::m_ui
private

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