#include <SkaterDialog.h>
Public Member Functions | |
| te::map::AbstractLayerPtr | getOutputLayer () |
| void | setLayers (std::list< te::map::AbstractLayerPtr > layers) |
| Set the layer that can be used. More... | |
| SkaterDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
| ~SkaterDialog () | |
Protected Slots | |
| void | onGPMToolButtonClicked () |
| void | onInputLayerComboBoxActivated (int index) |
| void | onOkPushButtonClicked () |
| void | onTargetDatasourceToolButtonPressed () |
| void | onTargetFileToolButtonPressed () |
Protected Member Functions | |
| std::unique_ptr< te::sa::GeneralizedProximityMatrix > | loadGPM () |
Private Attributes | |
| te::qt::widgets::DoubleListWidget * | m_doubleListWidget |
| Widget used to select attributes. More... | |
| te::da::DataSourceInfoPtr | m_outputDatasource |
| te::map::AbstractLayerPtr | m_outputLayer |
| Generated Layer. More... | |
| bool | m_toFile |
| std::unique_ptr< Ui::SkaterDialogForm > | m_ui |
Definition at line 51 of file SkaterDialog.h.
| te::sa::SkaterDialog::SkaterDialog | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0 |
||
| ) |
|
default |
Referenced by Q_DECLARE_METATYPE().
| te::map::AbstractLayerPtr te::sa::SkaterDialog::getOutputLayer | ( | ) |
Definition at line 122 of file SkaterDialog.cpp.
References m_outputLayer.
Referenced by te::qt::plugins::sa::SkaterAction::onActionActivated().
|
protected |
Definition at line 412 of file SkaterDialog.cpp.
References te::sa::GPMBuilder::build(), ds, file(), te::map::AbstractLayer::getDataSetName(), te::da::GetDataSource(), te::map::AbstractLayer::getDataSourceId(), te::sa::GPMBuilder::getGPM(), te::map::DataSetLayer::getSchema(), te::sa::SpatialWeightsExchanger::importFromGAL(), te::sa::SpatialWeightsExchanger::importFromGWT(), m_ui, and te::sa::GPMBuilder::setGPMInfo().
Referenced by onOkPushButtonClicked().
|
protectedslot |
Definition at line 378 of file SkaterDialog.cpp.
References te::sa::SpatialWeightsExchanger::getSpatialWeightsFileInfo(), and m_ui.
|
protectedslot |
Definition at line 127 of file SkaterDialog.cpp.
References te::qt::widgets::DoubleListWidget::clearInputValues(), te::qt::widgets::DoubleListWidget::clearOutputValues(), te::dt::DOUBLE_TYPE, te::dt::FLOAT_TYPE, te::dt::INT16_TYPE, te::dt::INT32_TYPE, te::dt::INT64_TYPE, m_doubleListWidget, m_ui, te::qt::widgets::DoubleListWidget::setInputValues(), te::dt::UINT16_TYPE, te::dt::UINT32_TYPE, and te::dt::UINT64_TYPE.
Referenced by setLayers().
|
protectedslot |
Definition at line 167 of file SkaterDialog.cpp.
References te::sa::Both, te::sa::Clusters, te::sa::CreateLayer(), te::sa::CreateOGRDataSource(), te::sa::CreateSkaterGrouping(), te::sa::SkaterOperation::execute(), te::da::GetDataSource(), te::sa::SkaterOperation::getNumberOfClasses(), te::qt::widgets::DoubleListWidget::getOutputValues(), loadGPM(), te::sa::SkaterOutputParams::m_dataSource, m_doubleListWidget, te::sa::SkaterOutputParams::m_outputDataSetName, m_outputDatasource, m_outputLayer, m_toFile, m_ui, te::sa::Population, and te::sa::SkaterOperation::setParameters().
|
protectedslot |
Definition at line 335 of file SkaterDialog.cpp.
References te::qt::widgets::DataSourceSelectorDialog::getSelecteds(), m_outputDatasource, m_toFile, and m_ui.
|
protectedslot |
Definition at line 357 of file SkaterDialog.cpp.
| void te::sa::SkaterDialog::setLayers | ( | std::list< te::map::AbstractLayerPtr > | layers | ) |
Set the layer that can be used.
| layers | List of AbstractLayerPtr |
Definition at line 97 of file SkaterDialog.cpp.
References m_ui, and onInputLayerComboBoxActivated().
Referenced by te::qt::plugins::sa::SkaterAction::onActionActivated().
|
private |
Widget used to select attributes.
Definition at line 90 of file SkaterDialog.h.
Referenced by onInputLayerComboBoxActivated(), and onOkPushButtonClicked().
|
private |
Definition at line 92 of file SkaterDialog.h.
Referenced by onOkPushButtonClicked(), and onTargetDatasourceToolButtonPressed().
|
private |
Generated Layer.
Definition at line 94 of file SkaterDialog.h.
Referenced by getOutputLayer(), and onOkPushButtonClicked().
|
private |
Definition at line 96 of file SkaterDialog.h.
Referenced by onOkPushButtonClicked(), onTargetDatasourceToolButtonPressed(), and onTargetFileToolButtonPressed().
|
private |
Definition at line 88 of file SkaterDialog.h.
Referenced by loadGPM(), onGPMToolButtonClicked(), onInputLayerComboBoxActivated(), onOkPushButtonClicked(), onTargetDatasourceToolButtonPressed(), onTargetFileToolButtonPressed(), and setLayers().