#include <SamplePointsGeneratorDialog.h>
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 |
Definition at line 51 of file SamplePointsGeneratorDialog.h.
| te::sa::SamplePointsGeneratorDialog::SamplePointsGeneratorDialog | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0 |
||
| ) |
|
default |
Referenced by Q_DECLARE_METATYPE().
|
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 | ( | ) |
Definition at line 113 of file SamplePointsGeneratorDialog.cpp.
References m_outputLayer.
Referenced by te::qt::plugins::sa::SamplePointsGeneratorAction::onActionActivated().
|
protectedslot |
Definition at line 118 of file SamplePointsGeneratorDialog.cpp.
References m_ui, and te::dt::STRING_TYPE.
Referenced by setLayers().
|
protectedslot |
Definition at line 139 of file SamplePointsGeneratorDialog.cpp.
References te::sa::CreateLayer(), te::sa::CreateOGRDataSource(), te::sa::CreateSampleGeneratorStratifiedGrouping(), te::sa::SamplePointsGeneratorAbstract::execute(), te::da::GetDataSource(), te::da::GetFirstGeomProperty(), te::gm::GeometryProperty::getSRID(), m_outputDatasource, m_outputLayer, m_toFile, m_ui, te::sa::Random, te::sa::SamplePointsGeneratorAbstract::setEnvelope(), te::sa::SamplePointsGeneratorAbstract::setOutputDataSetName(), te::sa::SamplePointsGeneratorAbstract::setOutputDataSource(), te::sa::SamplePointsGeneratorAbstract::setSRID(), and te::sa::Stratified.
|
protectedslot |
Definition at line 288 of file SamplePointsGeneratorDialog.cpp.
References te::qt::widgets::DataSourceSelectorDialog::getSelecteds(), m_outputDatasource, m_toFile, and m_ui.
|
protectedslot |
Definition at line 310 of file SamplePointsGeneratorDialog.cpp.
| void te::sa::SamplePointsGeneratorDialog::setLayers | ( | std::list< te::map::AbstractLayerPtr > | layers | ) |
Set the layer that can be used.
| layers | List of AbstractLayerPtr |
Definition at line 89 of file SamplePointsGeneratorDialog.cpp.
References m_ui, and onInputLayerComboBoxActivated().
Referenced by te::qt::plugins::sa::SamplePointsGeneratorAction::onActionActivated().
|
private |
Definition at line 88 of file SamplePointsGeneratorDialog.h.
Referenced by onOkPushButtonClicked(), and onTargetDatasourceToolButtonPressed().
|
private |
Generated Layer.
Definition at line 90 of file SamplePointsGeneratorDialog.h.
Referenced by getOutputLayer(), and onOkPushButtonClicked().
|
private |
Definition at line 92 of file SamplePointsGeneratorDialog.h.
Referenced by onOkPushButtonClicked(), onTargetDatasourceToolButtonPressed(), and onTargetFileToolButtonPressed().
|
private |
Definition at line 86 of file SamplePointsGeneratorDialog.h.
Referenced by fillGeneratorTypes(), onInputLayerComboBoxActivated(), onOkPushButtonClicked(), onTargetDatasourceToolButtonPressed(), onTargetFileToolButtonPressed(), and setLayers().